/* ==========================================================================
   Cloth Xpress — main stylesheet
   Theme by Trendora Soft
   All colors come from CSS variables set by the built-in editor.
   ========================================================================== */

:root {
	--cx-primary: #F6C445;
	--cx-dark: #14161A;
	--cx-cream: #FBF7F1;
	--cx-accent: #B4556E;
	--cx-text: #2A2C31;
	--cx-radius: 18px;

	--cx-primary-d: #e8b32c;
	--cx-primary-l: #fdf1cd;
	--cx-muted: #6b6f76;
	--cx-line: #e8e3da;
	--cx-white: #ffffff;
	--cx-ink-soft: #33383f;
	--cx-wa: #25d366;
	--cx-wa-d: #12b558;
	--cx-shadow-sm: 0 2px 10px rgba(20, 22, 26, .06);
	--cx-shadow: 0 14px 40px rgba(20, 22, 26, .10);
	--cx-shadow-lg: 0 26px 70px rgba(20, 22, 26, .16);
	--cx-font: 'Hind Siliguri', 'Noto Sans Bengali', 'SolaimanLipi', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
	--cx-ease: cubic-bezier(.22, .61, .36, 1);
	--cx-max: 1200px;
}

/* -------------------------------------------------- base ------------------ */
*, *::before, *::after { box-sizing: border-box; }

/* The `hidden` attribute must always win — even over display:grid/flex rules
   (this is what keeps the mobile drawer closed by default). */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.cx-body {
	margin: 0;
	background: var(--cx-cream);
	color: var(--cx-text);
	font-family: var(--cx-font);
	font-size: 16.5px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body.cx-body.admin-bar .cx-header { top: 32px; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--cx-accent); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
svg.cx-i { flex: 0 0 auto; }
.cx-hidden { display: none; }

.cx-wrap { width: 100%; max-width: var(--cx-max); margin: 0 auto; padding: 0 20px; }

.cx-skip {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--cx-dark); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.cx-skip:focus { left: 0; color: #fff; }

:focus-visible { outline: 3px solid var(--cx-accent); outline-offset: 3px; }

/* -------------------------------------------------- buttons -------------- */
.cx-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 22px; border: 0; border-radius: 999px;
	font-size: 16px; font-weight: 600; line-height: 1.2; cursor: pointer;
	transition: transform .18s var(--cx-ease), box-shadow .18s var(--cx-ease), background .18s, color .18s;
	text-align: center; white-space: nowrap;
}
.cx-btn:hover { transform: translateY(-2px); color: inherit; }
.cx-btn:active { transform: translateY(0); }
.cx-btn--dark { background: var(--cx-dark); color: #fff; box-shadow: 0 12px 26px rgba(20, 22, 26, .18); }
.cx-btn--dark:hover { background: #000; color: #fff; }
.cx-btn--gold { background: linear-gradient(135deg, var(--cx-primary), var(--cx-primary-d)); color: #211a03; box-shadow: 0 14px 30px rgba(246, 196, 69, .38); }
.cx-btn--gold:hover { color: #211a03; box-shadow: 0 18px 38px rgba(246, 196, 69, .5); }
.cx-btn--wa { background: var(--cx-wa); color: #fff; box-shadow: 0 12px 26px rgba(37, 211, 102, .28); }
.cx-btn--wa:hover { background: var(--cx-wa-d); color: #fff; }
.cx-btn--ghost { background: transparent; border: 1.5px solid var(--cx-line); color: var(--cx-text); }
.cx-btn--ghost:hover { border-color: var(--cx-dark); }
.cx-btn--block { width: 100%; }
.cx-btn--lg { padding: 16px 30px; font-size: 17.5px; }
.cx-btn--sm { padding: 10px 18px; font-size: 15px; }

.cx-icobtn {
	width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	background: var(--cx-primary-l); color: var(--cx-dark); transition: background .2s, transform .2s;
}
.cx-icobtn:hover { background: var(--cx-primary); transform: translateY(-2px); }

/* -------------------------------------------------- topbar --------------- */
.cx-topbar {
	background: var(--cx-dark); color: #f3efe6; font-size: 14.5px; padding: 9px 0;
}
.cx-topbar__in { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; text-align: center; }
.cx-topbar a { color: var(--cx-primary); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.cx-topbar a:hover { color: #fff; }

/* -------------------------------------------------- header --------------- */
.cx-header {
	position: sticky; top: 0; z-index: 90;
	background: rgba(251, 247, 241, .88);
	backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--cx-line);
	transition: box-shadow .25s, background .25s;
}
.cx-header.is-stuck { box-shadow: 0 10px 30px rgba(20, 22, 26, .08); background: rgba(251, 247, 241, .97); }
.cx-header__in { display: flex; align-items: center; gap: 18px; min-height: 74px; }

.cx-brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.cx-brand__logo { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; box-shadow: var(--cx-shadow-sm); }
.cx-brand__txt strong { display: block; font-size: 21px; line-height: 1.15; letter-spacing: -.02em; }
.cx-brand__txt small { display: block; font-size: 12.5px; color: var(--cx-muted); line-height: 1.3; }

.cx-nav { margin-left: auto; }
.cx-nav__list { display: flex; align-items: center; gap: 6px; }
.cx-nav__list li a {
	position: relative; padding: 9px 13px; border-radius: 999px; font-weight: 500; font-size: 16px; color: var(--cx-ink-soft);
}
.cx-nav__list li a:hover, .cx-nav__list .current-menu-item > a { background: rgba(20, 22, 26, .06); color: var(--cx-dark); }
.cx-nav__list .sub-menu {
	position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--cx-shadow);
	padding: 8px; min-width: 190px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.cx-nav__list li { position: relative; }
.cx-nav__list li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.cx-nav__list .sub-menu a { display: block; }

.cx-header__cta { display: flex; align-items: center; gap: 10px; margin-left: 6px; }

.cx-burger {
	display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--cx-line);
	background: #fff; color: var(--cx-dark); align-items: center; justify-content: center; cursor: pointer;
}

.cx-drawer { display: none; } /* hard default: the drawer is CLOSED */
.cx-drawer.is-open {
	border-top: 1px solid var(--cx-line); background: var(--cx-cream); padding: 16px 20px 22px;
	display: grid; gap: 10px;
}
.cx-drawer__list { display: grid; gap: 4px; margin-bottom: 8px; }
.cx-drawer__list a { display: block; padding: 12px 14px; border-radius: 12px; background: #fff; font-weight: 500; box-shadow: var(--cx-shadow-sm); }
.cx-drawer .sub-menu a { padding-left: 26px; }

/* -------------------------------------------------- hero ----------------- */
.cx-hero { position: relative; overflow: hidden; padding: 62px 0 74px; }
.cx-hero__glow {
	position: absolute; inset: -30% -10% auto auto; width: 780px; height: 780px; border-radius: 50%;
	background: radial-gradient(circle at 50% 50%, rgba(246, 196, 69, .40), rgba(246, 196, 69, 0) 62%);
	filter: blur(6px); pointer-events: none;
}
.cx-hero__in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }

.cx-hero__badge {
	display: inline-block; background: #fff; border: 1px solid var(--cx-line); color: var(--cx-ink-soft);
	padding: 8px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; box-shadow: var(--cx-shadow-sm); margin-bottom: 20px;
}
.cx-hero__title { font-size: clamp(31px, 4.5vw, 54px); line-height: 1.16; margin-bottom: 18px; }
.cx-hero__title span {
	background: linear-gradient(120deg, var(--cx-accent), #7d3d52 70%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.cx-hero__text { font-size: 18px; color: #4b5058; max-width: 54ch; }

.cx-hero__points { display: grid; gap: 8px; margin: 22px 0 28px; }
.cx-hero__points li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.cx-hero__points .cx-i { color: var(--cx-wa-d); background: rgba(37, 211, 102, .13); border-radius: 50%; padding: 3px; }

.cx-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

.cx-hero__stats { display: flex; gap: 14px; flex-wrap: wrap; }
.cx-stat {
	background: #fff; border: 1px solid var(--cx-line); border-radius: 16px; padding: 12px 18px;
	box-shadow: var(--cx-shadow-sm); min-width: 128px;
}
.cx-stat strong { display: block; font-size: 25px; line-height: 1.15; }
.cx-stat span { font-size: 13.5px; color: var(--cx-muted); }

.cx-hero__media { position: relative; }
.cx-hero__frame {
	position: relative; border-radius: calc(var(--cx-radius) + 10px); overflow: hidden;
	box-shadow: var(--cx-shadow-lg); background: #ddd; aspect-ratio: 4 / 5;
}
.cx-hero__frame > img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.cx-pricecard {
	position: absolute; left: 16px; bottom: 16px; right: 16px;
	background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px);
	border-radius: 18px; padding: 14px 16px; box-shadow: var(--cx-shadow);
}
.cx-pricecard small { display: block; font-size: 12.5px; color: var(--cx-muted); }
.cx-pricecard__row { display: flex; align-items: baseline; gap: 10px; margin: 2px 0 10px; }
.cx-pricecard__row strong { font-size: 30px; line-height: 1; letter-spacing: -.02em; }
.cx-pricecard__row del { color: var(--cx-muted); font-size: 17px; }

.cx-hero__chip {
	position: absolute; display: inline-flex; align-items: center; gap: 8px;
	background: #fff; border-radius: 999px; padding: 10px 16px; font-weight: 600; font-size: 14px;
	box-shadow: var(--cx-shadow); border: 1px solid var(--cx-line);
}
.cx-hero__chip .cx-i { color: var(--cx-accent); }
.cx-hero__chip--1 { top: 26px; left: -26px; animation: cx-float 5.5s ease-in-out infinite; }
.cx-hero__chip--2 { bottom: 96px; right: -22px; animation: cx-float 6.5s ease-in-out infinite .8s; }

@keyframes cx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* -------------------------------------------------- trust bar ------------ */
.cx-trust { background: #fff; border-top: 1px solid var(--cx-line); border-bottom: 1px solid var(--cx-line); padding: 22px 0; }
.cx-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cx-trust__item { display: flex; align-items: center; gap: 12px; }
.cx-trust__icon {
	width: 46px; height: 46px; flex: 0 0 auto; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
	background: var(--cx-primary-l); color: #7a5a05;
}
.cx-trust__item strong { display: block; font-size: 15.5px; }
.cx-trust__item small { color: var(--cx-muted); font-size: 13.5px; }

/* -------------------------------------------------- section heads -------- */
.cx-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.cx-head--left { text-align: left; margin-left: 0; }
.cx-head__kicker {
	display: inline-block; font-size: 13.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--cx-accent); margin-bottom: 10px;
}
.cx-head__title { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 12px; }
.cx-head__sub { color: var(--cx-muted); font-size: 17px; }
.cx-head--light .cx-head__title { color: #fff; }
.cx-head--light .cx-head__sub { color: rgba(255, 255, 255, .72); }
.cx-head--light .cx-head__kicker { color: var(--cx-primary); }

/* -------------------------------------------------- products ------------- */
.cx-products { padding: 74px 0 80px; }

.cx-filters { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.cx-filter {
	background: #fff; border: 1.5px solid var(--cx-line); border-radius: 999px; padding: 9px 20px;
	font-size: 15.5px; font-weight: 600; color: var(--cx-ink-soft); cursor: pointer; transition: .2s;
}
.cx-filter:hover { border-color: var(--cx-dark); }
.cx-filter.is-active { background: var(--cx-dark); border-color: var(--cx-dark); color: #fff; }

.cx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 26px; }

.cx-card {
	background: #fff; border-radius: var(--cx-radius); overflow: hidden; border: 1px solid var(--cx-line);
	box-shadow: var(--cx-shadow-sm); display: flex; flex-direction: column;
	transition: transform .3s var(--cx-ease), box-shadow .3s var(--cx-ease);
}
.cx-card:hover { transform: translateY(-6px); box-shadow: var(--cx-shadow); }
.cx-card__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #f1ece3; }
.cx-card--oil .cx-card__media { aspect-ratio: 1 / 1; }
.cx-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--cx-ease); }
.cx-card:hover .cx-card__media img { transform: scale(1.05); }

.cx-card__badge, .cx-card__off, .cx-card__cat {
	position: absolute; font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 5px 12px; line-height: 1.4;
}
.cx-card__badge { top: 12px; left: 12px; background: var(--cx-dark); color: #fff; }
.cx-card__off { top: 12px; right: 12px; background: var(--cx-accent); color: #fff; }
.cx-card__cat { bottom: 12px; left: 12px; background: rgba(255, 255, 255, .94); color: var(--cx-ink-soft); }

.cx-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1 1 auto; }
.cx-card__title { font-size: 18px; margin-bottom: 6px; }
.cx-card__title a:hover { color: var(--cx-accent); }
.cx-card__rating { margin-bottom: 8px; }
.cx-card__desc { color: var(--cx-muted); font-size: 14.5px; flex: 1 1 auto; margin-bottom: 10px; }
.cx-card__sizes { font-size: 13.5px; color: var(--cx-ink-soft); background: var(--cx-cream); border-radius: 10px; padding: 6px 10px; display: inline-block; margin-bottom: 12px; }
.cx-card__price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.cx-card__price strong { font-size: 25px; letter-spacing: -.02em; }
.cx-card__price del { color: var(--cx-muted); font-size: 15.5px; }
.cx-card__actions { display: grid; gap: 8px; }
.cx-card__wa {
	display: inline-flex; align-items: center; justify-content: center; gap: 7px;
	font-size: 14px; font-weight: 600; color: var(--cx-wa-d);
}
.cx-card__wa:hover { color: var(--cx-wa-d); text-decoration: underline; }

.cx-stars { display: inline-flex; gap: 2px; }
.cx-star { width: 15px; height: 15px; fill: #dcdfe4; }
.cx-star.is-on { fill: var(--cx-primary-d); }

/* grid filter animation */
.cx-grid__item.is-out { display: none; }

/* -------------------------------------------------- why (dark) ---------- */
.cx-why {
	background: radial-gradient(120% 120% at 90% -10%, #23262c 0%, var(--cx-dark) 55%);
	color: #f2efe9; padding: 78px 0 84px;
}
.cx-why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cx-why__item {
	background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09);
	border-radius: var(--cx-radius); padding: 26px 24px; transition: .3s var(--cx-ease);
}
.cx-why__item:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.cx-why__icon {
	width: 52px; height: 52px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--cx-primary), var(--cx-primary-d)); color: #221b04; margin-bottom: 16px;
}
.cx-why__item h3 { font-size: 19px; color: #fff; }
.cx-why__item p { color: rgba(255, 255, 255, .72); font-size: 15px; margin: 0; }

/* -------------------------------------------------- reviews -------------- */
.cx-reviews { padding: 76px 0 80px; }
.cx-reviews__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.cx-review {
	position: relative; background: #fff; border: 1px solid var(--cx-line); border-radius: var(--cx-radius);
	padding: 26px 24px 22px; margin: 0; box-shadow: var(--cx-shadow-sm); display: flex; flex-direction: column; gap: 12px;
}
.cx-review__quote { position: absolute; top: 18px; right: 20px; color: var(--cx-primary); opacity: .75; }
.cx-review blockquote { margin: 0; font-size: 16px; color: var(--cx-ink-soft); flex: 1 1 auto; }
.cx-review figcaption { display: flex; align-items: center; gap: 12px; margin: 0; padding-top: 14px; border-top: 1px dashed var(--cx-line); }
.cx-review figcaption strong { display: block; font-size: 15.5px; }
.cx-review figcaption small { color: var(--cx-muted); font-size: 13px; }
.cx-review__avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.cx-review__avatar--txt {
	display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 19px;
	background: var(--cx-primary-l); color: #7a5a05;
}

/* -------------------------------------------------- order form ----------- */
.cx-order { padding: 0 0 84px; }
.cx-order__in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: start; }

.cx-order__copy h2 { font-size: clamp(26px, 3.2vw, 38px); }
.cx-order__copy p { color: var(--cx-muted); font-size: 17px; }
.cx-order__trust { display: grid; gap: 11px; margin: 24px 0 26px; }
.cx-order__trust li { display: flex; align-items: center; gap: 11px; font-weight: 500; }
.cx-order__trust .cx-i { color: var(--cx-accent); background: #fff; border: 1px solid var(--cx-line); border-radius: 12px; padding: 8px; width: 38px; height: 38px; }

.cx-order__wa { background: #fff; border: 1px solid var(--cx-line); border-radius: var(--cx-radius); padding: 18px; box-shadow: var(--cx-shadow-sm); }
.cx-order__wa p { margin: 0 0 10px; font-size: 15px; color: var(--cx-muted); }

.cx-order__card {
	position: relative; background: #fff; border: 1px solid var(--cx-line); border-radius: calc(var(--cx-radius) + 6px);
	padding: 28px 26px 26px; box-shadow: var(--cx-shadow);
}
.cx-order__card::before {
	content: ''; position: absolute; inset: 0 0 auto; height: 6px; border-radius: inherit;
	background: linear-gradient(90deg, var(--cx-primary), var(--cx-accent), var(--cx-primary));
}

.cx-form { display: grid; gap: 15px; }
.cx-fieldrow { display: grid; gap: 6px; }
.cx-fieldrow label { font-weight: 600; font-size: 15px; }
.cx-fieldrow label em { color: var(--cx-accent); font-style: normal; }
.cx-fieldrow input[type="text"], .cx-fieldrow input[type="tel"], .cx-fieldrow input[type="number"],
.cx-fieldrow select, .cx-fieldrow textarea {
	width: 100%; padding: 13px 15px; border: 1.5px solid var(--cx-line); border-radius: 13px;
	background: var(--cx-cream); font-family: inherit; font-size: 16px; color: var(--cx-text); transition: border-color .2s, box-shadow .2s, background .2s;
}
.cx-fieldrow textarea { resize: vertical; }
.cx-fieldrow input:focus, .cx-fieldrow select:focus, .cx-fieldrow textarea:focus {
	outline: none; border-color: var(--cx-primary); background: #fff; box-shadow: 0 0 0 4px rgba(246, 196, 69, .22);
}
.cx-fieldrow.has-error input, .cx-fieldrow.has-error select, .cx-fieldrow.has-error textarea { border-color: var(--cx-accent); background: #fff6f8; }
.cx-err { color: var(--cx-accent); font-size: 13.5px; font-weight: 500; min-height: 0; }

.cx-fieldrow--qty .cx-qty { display: inline-flex; align-items: center; gap: 0; border: 1.5px solid var(--cx-line); border-radius: 13px; overflow: hidden; background: var(--cx-cream); width: max-content; }
.cx-qty__btn { width: 46px; height: 48px; border: 0; background: #fff; font-size: 22px; cursor: pointer; color: var(--cx-dark); }
.cx-qty__btn:hover { background: var(--cx-primary-l); }
.cx-qty input { width: 66px; text-align: center; border: 0 !important; background: transparent !important; font-weight: 700; }
.cx-qty input::-webkit-outer-spin-button, .cx-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.cx-summary { background: var(--cx-cream); border: 1px dashed var(--cx-line); border-radius: 15px; padding: 16px 18px; display: grid; gap: 8px; }
.cx-summary__row { display: flex; align-items: center; justify-content: space-between; font-size: 15.5px; }
.cx-summary__row--total { border-top: 1px solid var(--cx-line); padding-top: 9px; margin-top: 2px; font-size: 18px; }
.cx-summary__row--total strong { font-size: 24px; letter-spacing: -.02em; }
.cx-summary__method { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; font-weight: 600; font-size: 15px; }
.cx-summary__method .cx-i { color: var(--cx-accent); }
.cx-summary__note { margin: 0; font-size: 13.5px; color: var(--cx-muted); }

.cx-formnote { font-size: 14px; color: var(--cx-muted); text-align: center; margin: 4px 0 0; }

.cx-success { text-align: center; padding: 12px 4px 6px; }
.cx-success__icon {
	width: 78px; height: 78px; margin: 0 auto 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	background: rgba(37, 211, 102, .14); color: var(--cx-wa-d);
}
.cx-success h3 { font-size: 23px; }
.cx-success__list { display: grid; gap: 6px; margin: 14px 0 20px; font-size: 15.5px; }
.cx-success__list strong { color: var(--cx-dark); }
.cx-success .cx-btn { margin-top: 10px; }

/* -------------------------------------------------- FAQ ------------------ */
.cx-faq { padding: 0 0 88px; }
.cx-faq__list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.cx-faq__item {
	background: #fff; border: 1px solid var(--cx-line); border-radius: 16px; padding: 4px 20px; box-shadow: var(--cx-shadow-sm);
}
.cx-faq__item[open] { border-color: var(--cx-primary); box-shadow: 0 12px 30px rgba(246, 196, 69, .18); }
.cx-faq__item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 14px;
	cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 17px; list-style: none;
}
.cx-faq__item summary::-webkit-details-marker { display: none; }
.cx-faq__item summary .cx-i { color: var(--cx-muted); transition: transform .25s; }
.cx-faq__item[open] summary .cx-i { transform: rotate(180deg); color: var(--cx-accent); }
.cx-faq__a { color: var(--cx-muted); font-size: 15.5px; padding: 0 0 18px; }

/* -------------------------------------------------- CTA band ------------- */
.cx-band { background: linear-gradient(120deg, var(--cx-primary), #f7d478 45%, var(--cx-primary-d)); padding: 42px 0; }
.cx-band__in { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.cx-band__title { font-size: clamp(22px, 2.6vw, 31px); margin: 0 0 6px; color: #211a03; }
.cx-band__text { margin: 0; color: #4a3d10; font-weight: 500; }
.cx-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* -------------------------------------------------- footer --------------- */
.cx-footer { background: var(--cx-dark); color: rgba(255, 255, 255, .74); padding: 62px 0 0; }
.cx-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 34px; padding-bottom: 40px; }
.cx-footer h3 { color: #fff; font-size: 20px; margin-bottom: 10px; }
.cx-footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; letter-spacing: .01em; }
.cx-footer p { font-size: 15px; }
.cx-footer__logo { width: 64px; height: 64px; border-radius: 16px; margin-bottom: 14px; }
.cx-footer__note { color: var(--cx-primary); font-weight: 600; font-size: 14px; }
.cx-footer__links li, .cx-footer__contact li, .cx-footer__trust li { margin-bottom: 10px; display: flex; align-items: center; gap: 9px; font-size: 15px; }
.cx-footer a:hover { color: var(--cx-primary); }
.cx-footer__contact .cx-i, .cx-footer__trust .cx-i { color: var(--cx-primary); }
.cx-footer__widgets { padding-bottom: 30px; }
.cx-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: 14.5px; }
.cx-footer__bottom-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.cx-footer__bottom p { margin: 0; }
.cx-credit a { color: var(--cx-primary); text-decoration: underline; text-underline-offset: 3px; }

/* -------------------------------------------------- floating ------------ */
.cx-float-wa {
	position: fixed; right: 20px; bottom: 22px; z-index: 95;
	width: 58px; height: 58px; border-radius: 50%; background: var(--cx-wa); color: #fff;
	display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px rgba(37, 211, 102, .42);
	animation: cx-pulse 2.6s infinite;
}
.cx-float-wa:hover { color: #fff; background: var(--cx-wa-d); }
.cx-float-wa__tip {
	position: absolute; right: 70px; white-space: nowrap; background: var(--cx-dark); color: #fff;
	font-size: 13.5px; font-weight: 600; padding: 8px 12px; border-radius: 10px; opacity: 0; transform: translateX(6px);
	transition: .22s; pointer-events: none;
}
.cx-float-wa:hover .cx-float-wa__tip { opacity: 1; transform: translateX(0); }
@keyframes cx-pulse {
	0%, 100% { box-shadow: 0 14px 30px rgba(37, 211, 102, .42), 0 0 0 0 rgba(37, 211, 102, .5); }
	50% { box-shadow: 0 14px 30px rgba(37, 211, 102, .42), 0 0 0 16px rgba(37, 211, 102, 0); }
}

.cx-stickybar { display: none; }

/* -------------------------------------------------- entries / blog ------ */
.cx-blog { padding: 54px 0 80px; display: grid; gap: 34px; }
.cx-blog__grid { display: grid; grid-template-columns: 1fr 300px; gap: 34px; }
.cx-blog__list { display: grid; gap: 26px; }
.cx-post { background: #fff; border: 1px solid var(--cx-line); border-radius: var(--cx-radius); overflow: hidden; box-shadow: var(--cx-shadow-sm); display: grid; grid-template-columns: 240px 1fr; }
.cx-post__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cx-post__body { padding: 22px 24px; }
.cx-post__meta { font-size: 13.5px; color: var(--cx-muted); margin-bottom: 6px; }
.cx-post__title { font-size: 22px; }
.cx-widget { background: #fff; border: 1px solid var(--cx-line); border-radius: var(--cx-radius); padding: 20px; margin-bottom: 20px; }
.cx-widget-title { font-size: 17px; }
.cx-pagination { margin-top: 26px; }
.cx-single { padding: 48px 0 84px; max-width: 860px; }
.cx-page__title { font-size: clamp(26px, 3.4vw, 38px); }
.cx-page__thumb { border-radius: var(--cx-radius); overflow: hidden; margin-bottom: 24px; }
.cx-page__cta { margin-top: 30px; background: #fff; border: 1px solid var(--cx-line); border-radius: var(--cx-radius); padding: 22px; text-align: center; }
.cx-404 { text-align: center; padding: 90px 20px 110px; }
.cx-404 h1 { font-size: 82px; margin-bottom: 0; }
.cx-404__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.cx-empty { background: #fff; border: 1px dashed var(--cx-line); border-radius: var(--cx-radius); padding: 40px; text-align: center; }

/* WooCommerce tweaks */
.cx-wc { padding: 40px 0 70px; }
.woocommerce ul.products li.product { background: #fff; border: 1px solid var(--cx-line); border-radius: var(--cx-radius); overflow: hidden; padding: 0 0 16px !important; box-shadow: var(--cx-shadow-sm); }
.woocommerce ul.products li.product img { margin: 0 !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 12px 16px 0; font-size: 17px; }
.woocommerce ul.products li.product .price { padding: 0 16px; color: var(--cx-dark); font-weight: 700; }
.woocommerce ul.products li.product .button { margin: 12px 16px 0 !important; background: var(--cx-dark) !important; color: #fff !important; border-radius: 999px !important; }
.cx-checkout-note { background: var(--cx-cream); border: 1px dashed var(--cx-line); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; margin-bottom: 14px; }

/* -------------------------------------------------- reveal animation ---- */
.cx-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--cx-ease), transform .6s var(--cx-ease); }
.cx-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
	html { scroll-behavior: auto; }
	.cx-reveal { opacity: 1; transform: none; }
}

/* -------------------------------------------------- responsive --------- */
@media (max-width: 1060px) {
	.cx-hero__in { grid-template-columns: 1fr; gap: 40px; }
	.cx-hero__media { max-width: 520px; }
	.cx-hero__chip--1 { left: 0; }
	.cx-hero__chip--2 { right: 0; }
	.cx-why__grid { grid-template-columns: repeat(2, 1fr); }
	.cx-trust__grid { grid-template-columns: repeat(2, 1fr); }
	.cx-order__in { grid-template-columns: 1fr; }
	.cx-blog__grid { grid-template-columns: 1fr; }
	.cx-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
	.cx-nav { display: none; }
	.cx-burger { display: inline-flex; }
	.cx-header__cta .cx-btn { display: none; }
	body.cx-body.admin-bar .cx-header { top: 46px; }
}

@media (max-width: 640px) {
	body.cx-body { font-size: 16px; }
	.cx-wrap { padding: 0 16px; }
	.cx-hero { padding: 40px 0 56px; }
	.cx-hero__actions .cx-btn { width: 100%; }
	.cx-hero__stats { gap: 10px; }
	.cx-stat { flex: 1 1 30%; min-width: 0; padding: 10px 12px; }
	.cx-stat strong { font-size: 21px; }
	.cx-trust__grid { grid-template-columns: 1fr; }
	.cx-why__grid { grid-template-columns: 1fr; }
	.cx-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
	.cx-order__card { padding: 22px 18px; }
	.cx-band__in { flex-direction: column; align-items: flex-start; }
	.cx-band__actions { width: 100%; }
	.cx-band__actions .cx-btn { flex: 1 1 100%; }
	.cx-footer__grid { grid-template-columns: 1fr; gap: 26px; }
	.cx-float-wa { bottom: 84px; right: 14px; width: 52px; height: 52px; }
	.cx-post { grid-template-columns: 1fr; }

	.cx-stickybar {
		display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 96;
		padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
		border-top: 1px solid var(--cx-line); box-shadow: 0 -10px 30px rgba(20, 22, 26, .08);
	}
	.cx-stickybar__btn {
		display: inline-flex; align-items: center; justify-content: center; gap: 8px;
		padding: 12px 10px; border-radius: 999px; font-weight: 600; font-size: 15px;
	}
	.cx-stickybar__btn--order { background: var(--cx-dark); color: #fff; }
	.cx-stickybar__btn--order:hover { color: #fff; }
	.cx-stickybar__btn--wa { background: var(--cx-wa); color: #fff; }
	.cx-stickybar__btn--wa:hover { color: #fff; }
	body { padding-bottom: 72px; }
}

/* -------------------------------------------------- print -------------- */
@media print {
	.cx-header, .cx-topbar, .cx-float-wa, .cx-stickybar, .cx-band, .cx-footer { display: none !important; }
}
