/* ==========================================================================
   Isha Herbs – main stylesheet (light default + dark theme)
   ========================================================================== */
:root {
	--bg: #ffffff;
	--bg-soft: #f5f9f2;
	--bg-mint: #e9f3e3;
	--card: #ffffff;
	--text: #26302a;
	--muted: #5f6d63;
	--heading: #0d4a24;
	--primary: #0f6b2f;
	--primary-hover: #0b5826;
	--primary-ink: #ffffff;
	--accent: #c9a54a;
	--wa: #128c3e;
	--wa-ink: #ffffff;
	--border: #e1ebdc;
	--footer-bg: #0c3a20;
	--footer-text: #d8e6dc;
	--shadow: 0 8px 28px rgba(18, 70, 35, .08);
	--shadow-lg: 0 18px 50px rgba(18, 70, 35, .14);
	--radius: 16px;
	--radius-sm: 10px;
	--font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-head: "Playfair Display", Georgia, "Times New Roman", serif;
	--font-script: "Great Vibes", cursive;
	--container: 1240px;
	color-scheme: light;
}
[data-theme="dark"] {
	--bg: #08140d;
	--bg-soft: #0c1d13;
	--bg-mint: #11281a;
	--card: #0e2116;
	--text: #ece6d6;
	--muted: #b3b09f;
	--heading: #f3e7c4;
	--primary: #e2bf65;
	--primary-hover: #f0d07c;
	--primary-ink: #1b1607;
	--accent: #e2bf65;
	--wa: #e2bf65;
	--wa-ink: #1b1607;
	--border: #24402c;
	--footer-bg: #050d08;
	--footer-text: #cfc9b6;
	--shadow: 0 8px 28px rgba(0, 0, 0, .35);
	--shadow-lg: 0 18px 50px rgba(0, 0, 0, .5);
	color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
	margin: 0; background: var(--bg); color: var(--text);
	font: 400 16px/1.7 var(--font); overflow-x: hidden;
	transition: background-color .3s ease, color .3s ease;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-hover); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--primary); color: var(--primary-ink); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.section { padding: clamp(48px, 7vw, 84px) 0; }
.script { font-family: var(--font-script); font-weight: 400; color: var(--heading); line-height: 1; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .8em 1.4em; border-radius: 12px; border: 2px solid transparent;
	font-weight: 600; font-size: .95rem; line-height: 1.2; text-align: center;
	transition: transform .15s ease, background-color .2s, color .2s, box-shadow .2s, border-color .2s;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-primary:hover { background: var(--primary-hover); color: var(--primary-ink); }
.btn-wa { background: var(--wa); color: var(--wa-ink); box-shadow: 0 6px 18px rgba(18, 140, 62, .22); }
.btn-wa:hover { background: var(--primary-hover); color: var(--wa-ink); }
[data-theme="dark"] .btn-wa { box-shadow: 0 6px 18px rgba(226, 191, 101, .2); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--primary-ink); }
.btn-lg { padding: 1em 1.7em; font-size: 1rem; }
.btn-sm { padding: .6em 1em; font-size: .85rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); background: var(--card); color: var(--heading); transition: .2s; }
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.icon-btn .icon { width: 20px; height: 20px; }
.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; }
.link-btn { background: none; border: 0; padding: 0; display: inline-flex; align-items: center; gap: .45em; color: var(--text); font-size: .92rem; }
.link-btn:hover { color: var(--primary); }
.chip-btn { display: inline-flex; align-items: center; gap: .4em; font-size: .78rem; font-weight: 600; padding: .45em .9em; border-radius: 999px; background: var(--card); color: var(--heading); box-shadow: 0 2px 8px rgba(0,0,0,.06); border: 1px solid var(--border); }
.chip-btn .icon { width: 14px; height: 14px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--border); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.site-logo, .footer-logo { display: block; flex: none; }
.site-logo img { height: 58px; width: auto; }
.logo-dark { display: none !important; }
[data-theme="dark"] .logo-light { display: none !important; }
[data-theme="dark"] .logo-dark { display: block !important; }
.main-nav { margin-left: auto; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.main-nav .menu > li { position: relative; }
.main-nav .menu a { display: block; padding: 10px 14px; color: var(--text); font-weight: 500; font-size: .93rem; border-radius: 8px; }
.main-nav .menu > li > a { position: relative; }
.main-nav .menu > .current-menu-item > a, .main-nav .menu > .current-menu-ancestor > a, .main-nav .menu a:hover { color: var(--primary); }
.main-nav .menu > .menu-item-type-custom.current-menu-item > a { color: var(--text); }
.main-nav .menu > .menu-item-type-custom.current-menu-item > a::after { display: none; }
.main-nav .menu > .current-menu-item:not(.menu-item-type-custom) > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--primary); border-radius: 2px; }
.main-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 210px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .menu-item-has-children > a::after { content: "▾"; margin-left: 4px; font-size: .75em; position: static; background: none; }
.nav-wa { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }
[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.nav-toggle { display: none; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-close { display: block; }
.nav-open .nav-toggle .i-menu { display: none; }

.search-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(5, 20, 10, .55); backdrop-filter: blur(4px); padding-top: 120px; }
.search-overlay[hidden] { display: none; }
.search-form { display: flex; gap: 8px; align-items: center; }
.search-form input[type="search"] { flex: 1; min-width: 0; padding: .85em 1.1em; border: 1px solid var(--border); border-radius: 12px; background: var(--card); }
.search-form.big { background: var(--card); padding: 12px; border-radius: 18px; box-shadow: var(--shadow-lg); max-width: 760px; margin: 0 auto; }
.search-form.big input[type="search"] { font-size: 1.1rem; border: 0; }
.search-form .btn { padding: .8em 1em; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 10% 0%, var(--bg-mint), transparent 60%), linear-gradient(180deg, var(--bg-soft), var(--bg)); padding: clamp(36px, 6vw, 72px) 0 clamp(36px, 5vw, 60px); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.eyebrow { display: block; font-family: var(--font); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--primary); font-weight: 600; margin-bottom: 14px; }
.hero-title { font-size: clamp(2.5rem, 5.6vw, 4.4rem); line-height: 1.05; margin-bottom: 20px; }
.hero-lead { font-size: 1.06rem; color: var(--muted); max-width: 520px; }
.hero-features { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 520px; }
.hero-features li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; font-size: .8rem; font-weight: 500; color: var(--text); line-height: 1.3; }
.ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--primary); color: var(--primary); background: var(--card); flex: none; }
.ic .icon { width: 24px; height: 24px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-media { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.hero-img { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(0,0,0,.28), transparent 45%); pointer-events: none; }
.hero-script { position: absolute; top: 22px; right: 26px; z-index: 2; font-size: clamp(2rem, 3.6vw, 3rem); color: #fff; text-align: right; text-shadow: 0 2px 12px rgba(0,0,0,.35); transform: rotate(-6deg); }
.hero-cats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hero-cats a { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--heading); padding: 6px 0 6px 14px; border-left: 2px solid var(--primary); }
.hero-cats a:hover { color: var(--primary); }

/* ---------- Category cards ---------- */
.cat-section { padding-top: 28px; padding-bottom: 20px; }
.cat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.cat-card { position: relative; display: flex; flex-direction: column; background: var(--bg-mint); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: transform .2s, box-shadow .2s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--text); }
.cat-card__img { aspect-ratio: 4/3; overflow: hidden; }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover .cat-card__img img { transform: scale(1.06); }
.cat-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; flex: 1; }
.cat-card__title { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--heading); line-height: 1.15; }
.cat-card__text { font-size: .82rem; color: var(--muted); line-height: 1.4; margin-bottom: 8px; }
.cat-card .chip-btn { margin-top: auto; }

/* ---------- Section heads ---------- */
.section-head { text-align: center; margin-bottom: 32px; }
.section-title { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.section-title .orn { width: 28px; height: 28px; color: var(--primary); }
.section-title .orn.flip { transform: scaleX(-1); }
.section-sub { color: var(--muted); margin: 0; }
.h-left { text-align: left; }

/* ---------- Filter tabs / chips ---------- */
.filter-tabs, .cat-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.tab { padding: .5em 1.15em; border-radius: 999px; border: 1px solid var(--border); background: var(--card); color: var(--text); font-size: .88rem; font-weight: 500; transition: .2s; }
.tab:hover { border-color: var(--primary); color: var(--primary); }
.tab.active { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }

/* ---------- Product card ---------- */
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.p-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.p-card[hidden] { display: none; }
.p-card__img { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--bg-mint); }
.p-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.p-card:hover .p-card__img img { transform: scale(1.05); }
.badges { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.badge { display: inline-block; font-size: .7rem; font-weight: 600; padding: .3em .7em; border-radius: 6px; line-height: 1.3; }
.badge-best { background: #f29f1f; color: #fff; }
.badge-sale { background: #dff1d6; color: #135b29; }
[data-theme="dark"] .badge-sale { background: #3a3215; color: #f0d27f; }
.p-card__body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.p-card__title { font-family: var(--font); font-size: .98rem; font-weight: 600; margin: 0; line-height: 1.35; }
.p-card__title a { color: var(--heading); }
[data-theme="dark"] .p-card__title a { color: var(--text); }
.p-card__title a:hover { color: var(--primary); }
.p-card__rating { font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.p-card__price { font-weight: 700; font-size: 1.15rem; color: var(--heading); margin-top: auto; }
.p-card__price del { color: var(--muted); font-weight: 400; font-size: .85rem; margin-right: 6px; }
.p-card__price ins { text-decoration: none; }
.stars { color: #f2a91f; letter-spacing: 1px; display: inline-flex; }
.star { font-style: normal; }
.star.empty { color: #d6d6d6; }
.star.half { background: linear-gradient(90deg, #f2a91f 50%, #d6d6d6 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Trust strip ---------- */
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--bg-mint); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 10px; margin-top: 10px; margin-bottom: clamp(40px, 6vw, 70px); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 4px 18px; }
.trust-item + .trust-item { border-left: 1px solid var(--border); }
.trust-item > .icon { width: 40px; height: 40px; color: var(--primary); }
.trust-item strong { display: block; font-size: .9rem; color: var(--heading); }
.trust-item span { font-size: .8rem; color: var(--muted); }

/* ---------- Why ---------- */
.why { position: relative; overflow: hidden; min-height: 420px; display: flex; align-items: center; }
.why-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.why::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--bg-soft) 0%, color-mix(in srgb, var(--bg-soft) 85%, transparent) 38%, transparent 70%); }
.why-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding-top: 60px; padding-bottom: 60px; }
.why-card { max-width: 460px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; color: var(--text); font-weight: 500; }
.check-list .icon { color: var(--primary); width: 24px; height: 24px; }
.why-script { font-size: clamp(2.4rem, 5vw, 4rem); color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.4); transform: rotate(-8deg); text-align: center; }

/* ---------- About home ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr auto; gap: 36px; align-items: center; }
.about-text p { color: var(--muted); }
.about-media img { border-radius: 24px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.about-points { list-style: none; padding: 0 0 0 26px; margin: 0; display: grid; gap: 16px; border-left: 1px solid var(--border); }
.about-points li { display: flex; align-items: center; gap: 12px; font-size: .9rem; font-weight: 500; }
.about-points .ic { width: 46px; height: 46px; }

/* ---------- Reviews ---------- */
.reviews-section { background: var(--bg-soft); }
.review-card { margin: 0; flex: 0 0 calc((100% - 40px) / 3); display: flex; gap: 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); scroll-snap-align: start; }
.avatar { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--primary-ink); font-weight: 700; font-size: 1.3rem; }
.review-card blockquote { margin: 8px 0; font-size: .95rem; }
.review-card figcaption { font-size: .82rem; color: var(--muted); }
.review-empty { max-width: 640px; margin: 0 auto; text-align: center; background: var(--card); border: 1px dashed var(--border); border-radius: var(--radius); padding: 30px; }
.review-empty > .icon { width: 40px; height: 40px; color: #f2a91f; margin: 0 auto 10px; }

/* ---------- Slider ---------- */
.slider { position: relative; display: flex; align-items: center; gap: 10px; }
.slider-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 2px 14px; flex: 1; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > .p-card { flex: 0 0 calc((100% - 60px) / 4); scroll-snap-align: start; }
.slider-btn { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); background: var(--card); color: var(--heading); display: grid; place-items: center; box-shadow: var(--shadow); }
.slider-btn:hover { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }

/* ---------- How to order ---------- */
.how { position: relative; }
.steps { list-style: none; padding: 0; margin: 0 auto; max-width: 1000px; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.step { flex: 1; text-align: center; position: relative; padding: 0 10px; }
.step-no { position: absolute; left: calc(50% - 74px); top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: var(--primary-ink); display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.step-ic { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: var(--bg-mint); color: var(--primary); }
.step-ic .icon { width: 36px; height: 36px; }
.step h3 { font-family: var(--font); font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .9rem; margin: 0; }
.step-arrow { color: var(--primary); padding-top: 26px; }

/* ---------- Gallery ---------- */
.gallery-track { gap: 16px; }
.gallery-item { flex: 0 0 calc((100% - 64px) / 5); scroll-snap-align: start; position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: .8rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.65)); opacity: 0; transition: .25s; }
.gallery-item:hover span, .gallery-item:focus span { opacity: 1; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: start; }
.faq-list { display: grid; gap: 12px; margin-bottom: 16px; }
.faq { background: var(--card); border: 1px solid var(--border); border-radius: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq-ic { transition: transform .2s; color: var(--primary); display: grid; }
.faq[open] .faq-ic { transform: rotate(45deg); }
.faq p { padding: 0 18px 16px; margin: 0; color: var(--muted); font-size: .93rem; }
.ask-card { position: relative; overflow: hidden; background: var(--bg-mint); border: 1px solid var(--border); border-radius: 22px; padding: 32px 28px 0; }
.ask-card h2 { font-size: 1.7rem; }
.ask-card p { color: var(--muted); max-width: 320px; }
.ask-ic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: var(--wa-ink); margin-bottom: 14px; }
.ask-ic .icon { width: 30px; height: 30px; }
.ask-img { width: 70%; margin: 24px 0 0 auto; border-radius: 18px 18px 0 0; }

/* ---------- Community / footer ---------- */
.community { background: var(--bg-mint); border-top: 1px solid var(--border); }
.community-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; padding-bottom: 28px; flex-wrap: wrap; }
.community-text { display: flex; align-items: center; gap: 16px; }
.community-text h2 { font-size: 1.35rem; margin-bottom: 4px; }
.community-text p { margin: 0; color: var(--muted); font-size: .9rem; }
.community-leaf { width: 46px; height: 46px; color: var(--primary); }
.community-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding-top: 56px; font-size: .92rem; }
.site-footer a { color: var(--footer-text); }
.site-footer a:hover { color: #fff; }
[data-theme="dark"] .site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 40px; }
.footer-logo img { height: 74px; width: auto; }
.footer-logo .logo-light { display: none !important; }
.footer-logo .logo-dark { display: block !important; }
.footer-brand p { margin: 16px 0; opacity: .9; }
.footer-title { font-family: var(--font); font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 16px; }
[data-theme="dark"] .footer-title { color: var(--accent); }
.footer-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-contact ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { color: #8fd19e; margin-top: 3px; }
[data-theme="dark"] .footer-contact .icon { color: var(--accent); }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); }
.socials a:hover { background: rgba(255,255,255,.2); }
.socials .icon { width: 19px; height: 19px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .82rem; }
.footer-bottom-inner { padding-right: 90px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.legal-menu { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.legal-menu li + li::before { content: "|"; margin: 0 10px; opacity: .4; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0,0,0,.25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float .icon { width: 32px; height: 32px; }
.to-top { position: fixed; right: 26px; bottom: 90px; z-index: 59; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--card); color: var(--heading); display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: .2s; }
.to-top.show { opacity: 1; visibility: visible; }

/* ---------- Inner pages ---------- */
.page-hero { background: linear-gradient(180deg, var(--bg-mint), var(--bg)); padding: 26px 0 30px; border-bottom: 1px solid var(--border); }
.page-title { margin: 10px 0 8px; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-intro { color: var(--muted); max-width: 760px; }
.page-intro p:last-child { margin-bottom: 0; }
.breadcrumbs, .rank-math-breadcrumb { font-size: .84rem; color: var(--muted); padding-top: 14px; }
.breadcrumbs p, .rank-math-breadcrumb p { margin: 0; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .separator, .breadcrumbs .sep { margin: 0 6px; opacity: .6; }
.prose { font-size: 1.02rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.4em; }
.prose ul li { margin-bottom: .4em; }
.prose .lead { font-size: 1.15rem; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.cta-box { margin-top: 40px; text-align: center; background: var(--bg-mint); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.empty-state { text-align: center; padding: 40px 0; }
.big-404 { font-family: var(--font-head); font-size: 6rem; color: var(--primary); margin: 0; line-height: 1; }
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text); transition: .2s; }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--text); }
.contact-card strong { color: var(--heading); }
.contact-card span:last-child { font-size: .9rem; color: var(--muted); word-break: break-word; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.post-card__img img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.post-card__body { padding: 18px; }
.post-card__body time { font-size: .8rem; color: var(--muted); }
.post-card__title { font-size: 1.25rem; margin: 6px 0 8px; }
.post-card__title a { color: var(--heading); }
.post-meta { color: var(--muted); font-size: .9rem; }
.post-hero-img img { border-radius: var(--radius); margin-bottom: 24px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--card); color: var(--text); }
.pagination .page-numbers.current { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }

/* ---------- Shop ---------- */
.shop-section { padding-top: 32px; }
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.shop-bar .cat-chips { justify-content: flex-start; margin: 0; }
.shop-sort { display: flex; align-items: center; gap: 14px; font-size: .88rem; color: var(--muted); }
.shop-sort .woocommerce-result-count { margin: 0; }
.shop-sort form { margin: 0; }
.shop-sort select { padding: .55em 2em .55em .9em; border: 1px solid var(--border); border-radius: 10px; background: var(--card); }
.seo-content { background: var(--bg-soft); border-top: 1px solid var(--border); }

/* ---------- Single product ---------- */
.product-top { padding-top: 22px; padding-bottom: 30px; }
.product-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 52px); align-items: start; }
.pgallery { display: grid; grid-template-columns: 84px 1fr; gap: 14px; position: sticky; top: 96px; }
.pgallery-thumbs { display: flex; flex-direction: column; gap: 10px; }
.pthumb { padding: 0; border: 2px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--card); aspect-ratio: 1; transition: border-color .2s; }
.pthumb.active, .pthumb:hover { border-color: var(--primary); }
.pthumb img { width: 100%; height: 100%; object-fit: cover; }
.pgallery-main { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--border); background: var(--bg-mint); aspect-ratio: 1; grid-column: 2; }
.pgallery:not(:has(.pgallery-thumbs)) { grid-template-columns: 1fr; }
.pgallery:not(:has(.pgallery-thumbs)) .pgallery-main { grid-column: 1; }
.pmain-img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.pgallery-main .badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: #13321e; display: grid; place-items: center; box-shadow: var(--shadow); }
.g-nav.prev { left: 12px; } .g-nav.next { right: 12px; }
.product-title { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 10px; }
.prating { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
.prating .sep { opacity: .4; }
.pprice { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 8px 0 6px; }
.pprice .now { font-size: 2.2rem; font-weight: 700; color: var(--heading); font-family: var(--font); line-height: 1; }
.pprice .was { color: var(--muted); font-size: 1.1rem; }
.pprice .badge { font-size: .8rem; }
.psize { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
.pshort { color: var(--muted); }
.porder { display: flex; gap: 12px; margin: 20px 0 14px; align-items: stretch; }
.qty { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 12px; background: var(--card); }
.qty button { width: 42px; height: 100%; min-height: 50px; border: 0; background: none; display: grid; place-items: center; color: var(--heading); }
.qty input { width: 46px; text-align: center; border: 0; background: none; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.porder-btn { flex: 1; }
.pactions { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
.pfeatures { list-style: none; padding: 16px 10px; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; background: var(--bg-mint); border: 1px solid var(--border); border-radius: var(--radius); }
.pfeatures li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; font-size: .78rem; font-weight: 500; line-height: 1.3; }
.pfeatures .ic { width: 46px; height: 46px; }
.ptags { list-style: none; padding: 18px 20px; margin: 30px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); }
.ptags li { display: flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 500; justify-content: center; }
.ptags .icon { width: 30px; height: 30px; color: var(--primary); }
.ptabs-section { padding-top: 10px; }
.ptabs-grid { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start; }
.ptabs-nav { display: flex; gap: 6px; border-bottom: 1px solid var(--border); margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.ptabs-nav button { flex: none; background: none; border: 0; padding: 12px 16px; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.ptabs-nav button.active { color: var(--primary); border-bottom-color: var(--primary); }
.ptab-panel[hidden] { display: none; }
.ptab-panel .note { font-size: .85rem; color: var(--muted); font-style: italic; }
.check-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.check-grid li { display: flex; gap: 10px; align-items: center; }
.check-grid .icon { color: var(--primary); }
.prose ul { padding-left: 1.2em; }
.pside { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 20px; }
.pside-item { display: flex; gap: 14px; align-items: center; padding: 16px 0; }
.pside-item + .pside-item { border-top: 1px solid var(--border); }
.pside-item > .icon { width: 34px; height: 34px; color: var(--primary); }
.pside-item strong { display: block; font-size: .92rem; color: var(--heading); }
.pside-item span { font-size: .82rem; color: var(--muted); }
.related { padding-top: 20px; }
.mobile-order-bar { display: none; }

/* WooCommerce reviews */
#reviews .woocommerce-Reviews-title { font-size: 1.3rem; }
#reviews ol.commentlist { list-style: none; padding: 0; }
#reviews .comment_container { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
#reviews .avatar { width: 48px; height: 48px; }
#reviews .star-rating { color: #f2a91f; }
.star-rating { overflow: hidden; position: relative; height: 1.2em; line-height: 1.2; font-size: .9em; width: 5.4em; font-family: sans-serif; }
.star-rating::before { content: "★★★★★"; color: #d6d6d6; float: left; top: 0; left: 0; position: absolute; letter-spacing: .1em; }
.star-rating span { overflow: hidden; float: left; top: 0; left: 0; position: absolute; padding-top: 1.5em; }
.star-rating span::before { content: "★★★★★"; top: 0; position: absolute; left: 0; color: #f2a91f; letter-spacing: .1em; }
p.stars a { position: relative; height: 1em; width: 1em; text-indent: -999em; display: inline-block; text-decoration: none; margin-right: 2px; }
p.stars a::before { content: "★"; position: absolute; top: 0; left: 0; width: 1em; height: 1em; line-height: 1; text-indent: 0; color: #d6d6d6; font-size: 1.4em; }
p.stars:hover a::before, p.stars.selected a::before { color: #f2a91f; }
p.stars.selected a.active ~ a::before, p.stars a:hover ~ a::before { color: #d6d6d6; }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; font-weight: 500; margin-bottom: 4px; font-size: .9rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form textarea, #rating { width: 100%; padding: .75em 1em; border: 1px solid var(--border); border-radius: 10px; background: var(--card); }
.woocommerce-noreviews { color: var(--muted); }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; padding: 14px 18px; border-radius: 12px; background: var(--bg-mint); border: 1px solid var(--border); margin: 16px 0; }

/* Prevent grid blow-out from scrollable children */
.product-grid > *, .ptabs-grid > *, .faq-grid > *, .about-grid > *, .hero-grid > *, .footer-grid > * { min-width: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.header-wa span { display: none; }
	.header-wa { padding: .7em; border-radius: 50%; }
	.about-grid { grid-template-columns: 1fr 1fr; }
	.about-points { grid-column: 1 / -1; border-left: 0; padding: 0; grid-template-columns: repeat(4, 1fr); }
	.slider-track > .p-card { flex-basis: calc((100% - 40px) / 3); }
	.gallery-item { flex-basis: calc((100% - 48px) / 4); }
	.ptabs-grid { grid-template-columns: 1fr; }
	.pside { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 20px; }
	.pside-item + .pside-item { border-top: 0; }
}
@media (max-width: 960px) {
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
	.cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.nav-toggle { display: inline-grid; }
	.header-wa { display: none; }
	.main-nav { position: fixed; top: 76px; left: 0; right: 0; bottom: 0; background: var(--bg); padding: 18px 20px 40px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility .28s; margin: 0; z-index: 49; }
	.nav-open .main-nav { transform: none; visibility: visible; }
	.nav-open { overflow: hidden; }
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav .menu a { padding: 14px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--border); border-radius: 0; }
	.main-nav .menu > .current-menu-item > a::after { display: none; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; background: none; }
	.nav-wa { display: flex; margin-top: 22px; width: 100%; }
	.header-actions { margin-left: auto; }
	.hero-grid { grid-template-columns: 1fr; }
	.hero-media { order: -1; grid-template-columns: 1fr; }
	.hero-cats { display: none; }
	.hero-img { aspect-ratio: 16/10; }
	.trust-strip { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
	.trust-item:nth-child(3) { border-left: 0; }
	.faq-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.product-grid { grid-template-columns: 1fr; }
	.pgallery { position: static; }
	.ptags { grid-template-columns: repeat(3, 1fr); }
	.contact-cards { grid-template-columns: repeat(2, 1fr); }
	.why::before { background: linear-gradient(180deg, color-mix(in srgb, var(--bg-soft) 92%, transparent) 0%, color-mix(in srgb, var(--bg-soft) 70%, transparent) 60%, transparent 100%); }
	.why-script { display: none; }
}
@media (max-width: 720px) {
	body { font-size: 15px; }
	.header-inner { min-height: 66px; gap: 12px; }
	.main-nav { top: 66px; }
	.site-logo img { height: 48px; }
	.icon-btn { width: 40px; height: 40px; }
	.hero-features { grid-template-columns: repeat(2, 1fr); }
	.hero-cta .btn { flex: 1; }
	.cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.cat-card__body { padding: 12px; }
	.footer-bottom-inner { padding-right: 0; padding-bottom: 50px; }
	.cat-card__title { font-size: 1.05rem; }
	.p-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.p-card__body { padding: 10px 10px 12px; }
	.p-card__title { font-size: .88rem; }
	.p-card__price { font-size: 1rem; }
	.p-card .btn-sm { font-size: .74rem; padding: .6em .4em; gap: .35em; }
	.slider-btn { display: none; }
	.slider-track > .p-card { flex-basis: 66%; }
	.review-card { flex-basis: 88%; }
	.gallery-item { flex-basis: 70%; }
	.trust-strip { grid-template-columns: 1fr 1fr; padding: 16px 6px; }
	.trust-item { padding: 4px 10px; gap: 10px; flex-direction: column; align-items: flex-start; }
	.trust-item > .icon { width: 30px; height: 30px; }
	.about-grid { grid-template-columns: 1fr; }
	.about-points { grid-template-columns: 1fr 1fr; }
	.steps { flex-direction: column; align-items: stretch; gap: 26px; }
	.step-arrow { display: none; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.footer-bottom-inner { flex-direction: column; text-align: center; }
	.community-inner { flex-direction: column; align-items: flex-start; }
	.pgallery { grid-template-columns: 1fr; }
	.pgallery-thumbs { flex-direction: row; order: 2; overflow-x: auto; }
	.pthumb { flex: 0 0 64px; }
	.pgallery-main { grid-column: 1; }
	.pprice .now { font-size: 1.9rem; }
	.pfeatures { grid-template-columns: repeat(2, 1fr); }
	.ptags { grid-template-columns: repeat(2, 1fr); }
	.check-grid { grid-template-columns: 1fr; }
	.pside { grid-template-columns: 1fr; }
	.porder { flex-wrap: wrap; }
	.porder-btn { flex-basis: 100%; }
	.shop-bar { flex-direction: column; align-items: stretch; }
	.cat-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
	.cat-chips .tab { flex: none; }
	.filter-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; padding-bottom: 4px; }
	.filter-tabs .tab { flex: none; }
	.contact-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
	.mobile-order-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; background: var(--card); border-top: 1px solid var(--border); padding: 10px 16px; gap: 12px; align-items: center; justify-content: space-between; box-shadow: 0 -6px 20px rgba(0,0,0,.08); }
	.mobile-order-bar > div { display: flex; flex-direction: column; min-width: 0; }
	.mob-name { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.mob-price { font-weight: 700; color: var(--heading); }
	.single-product .wa-float { display: none; }
	.single-product .to-top { bottom: 84px; }
	.cat-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.cat-card:last-child:nth-child(odd) .cat-card__img { aspect-ratio: 16/7; }
	.single-product .site-footer { padding-bottom: 70px; }
	.wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
	.to-top { right: 18px; bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
