/* AmarHut BD — theme.css */

/* ─── Custom Bengali Font: Li Ador Noirrit ──────────────────────────────────── */
/* NOTE: path uses ../fonts/ which resolves to assets/fonts/ relative to this CSS file */
@font-face {
  font-family: 'LiAdorNoirrit';
  src: url('../fonts/LiAdorNoirrit-Light.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'LiAdorNoirrit';
  src: url('../fonts/LiAdorNoirrit-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'LiAdorNoirrit';
  src: url('../fonts/LiAdorNoirrit-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'LiAdorNoirrit';
  src: url('../fonts/LiAdorNoirrit-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ─── Design Tokens ─────────────────────────────────────────────────────────── */
:root {
  --primary:      #0c5d63;
  --primary-dark: #083f44;
  --accent:       #f4a531;
  --accent-deep:  #d98512;
  --ink:          #10211f;
  --muted:        #5d706e;
  --surface:      #ffffff;
  --bg:           #f5f1e9;
  --bg-soft:      #efe9dc;
  --line:         #e2dccf;
  --ok:           #1f9d57;
  --radius:       14px;
  --shadow:       0 8px 30px rgba(8,63,68,.10);
  --shadow-sm:    0 3px 12px rgba(8,63,68,.08);
}

/* ─── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── Accessibility: visually-hidden text (WP core pattern) ─────────────────── */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute !important; word-wrap: normal !important;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'LiAdorNoirrit', 'Plus Jakarta Sans', 'Noto Sans Bengali', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'LiAdorNoirrit', 'Sora', 'Noto Sans Bengali', sans-serif;
  line-height: 1.2;
  letter-spacing: -.01em;
}
img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }

/* ─── Layout ─────────────────────────────────────────────────────────────────── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ─── Buttons — all share the same rounded-rectangle style as login/signup ──── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 700;
  font-family: 'Sora', 'Noto Sans Bengali', sans-serif;
  border: none; cursor: pointer; border-radius: 11px;
  padding: 13px 26px; font-size: 15px; transition: .2s; line-height: 1;
}
.btn-primary { background: var(--accent); color: #3a2400; }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(217,133,18,.3); }
.btn-ghost  { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-dark   { background: var(--primary); color: #fff; }
.btn-dark:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ─── Announce Bar — static, centered single message ─────────────────────── */
.announce {
  background: var(--primary-dark); color: #ffe9c4;
  font-size: 13px; font-weight: 600; letter-spacing: .03em;
  text-align: center; padding: 9px 18px; line-height: 1.5;
}
.announce-msg b { color: var(--accent); }
@media (max-width: 600px) {
  .announce { font-size: 11.5px; padding: 8px 12px; }
}

/* ─── Header ─────────────────────────────────────────────────────────────────── */
header.site {
  position: sticky; top: 0; z-index: 60;
  background: #fff; box-shadow: 0 2px 12px rgba(8,63,68,.06);
}
/* Admin bar pushes header down */
body.admin-bar header.site { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar header.site { top: 46px; }
}
.head-top {
  display: flex; align-items: center; gap: 24px; height: 78px;
}
.logo { display: flex; align-items: center; cursor: pointer; flex-shrink: 0; }
.logo img { height: 48px; width: auto; }
.ah-logo-text { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 22px; color: var(--primary); }
.ah-logo-text em { color: var(--accent-deep); font-style: normal; }

/* Search bar */
.search-bar {
  flex: 1; display: flex; align-items: center;
  background: #f0f3fb; border: 1px solid #e3e8f5;
  border-radius: 11px; overflow: hidden; max-width: 680px;
}
.search-bar input {
  flex: 1; border: none; background: none;
  padding: 13px 18px; font-family: inherit; font-size: 15px; color: var(--ink);
}
.search-bar input:focus { outline: none; }
.search-bar button {
  background: var(--accent); color: #3a2400; border: none;
  width: 54px; align-self: stretch; cursor: pointer; font-size: 18px; transition: .16s;
}
.search-bar button:hover { background: var(--accent-deep); }

.login-btn {
  background: var(--accent); color: #3a2400;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 14px;
  padding: 12px 26px; border-radius: 11px; cursor: pointer;
  border: none; white-space: nowrap; transition: .16s; text-decoration: none;
}
.login-btn:hover { background: var(--accent-deep); }

.cart-ico {
  position: relative; cursor: pointer; font-size: 26px;
  color: var(--ink); background: none; border: none; flex-shrink: 0;
}
.cart-ico .badge, .ah-cart-count {
  position: absolute; top: -6px; right: -8px;
  background: var(--accent); color: #3a2400; font-size: 11px; font-weight: 800;
  min-width: 18px; height: 18px; border-radius: 9px;
  display: grid; place-items: center; padding: 0 4px;
}
.search-ico {
  display: none; font-size: 22px; background: none;
  border: none; cursor: pointer; flex-shrink: 0; color: var(--ink);
}

/* ─── Navigation ─────────────────────────────────────────────────────────────── */
.head-nav { background: var(--ink); }
nav.main {
  display: flex; justify-content: center; gap: 6px;
  height: 52px; align-items: center;
}
nav.main .nav-item { position: relative; }
nav.main a {
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: 14.5px;
  color: #fff; padding: 9px 18px; border-radius: 8px; transition: .16s;
  cursor: pointer; display: flex; align-items: center; gap: 6px;
}
nav.main a:hover { background: rgba(255,255,255,.1); color: var(--accent); }
nav.main a.current-menu-item,
nav.main a.current_page_item { color: var(--accent); }
.caret { font-size: 10px; opacity: .8; }

.dropdown {
  position: absolute; top: 100%; left: 0;
  background: #fff; min-width: 230px;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 12px 32px rgba(8,63,68,.18);
  padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: .2s; z-index: 65;
}
nav.main .nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
/* higher specificity to beat nav.main a white colour */
nav.main .dropdown a {
  color: var(--ink) !important; font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500; font-size: 14px; padding: 10px 14px; border-radius: 8px; display: block;
  background: transparent;
}
nav.main .dropdown a:hover { background: var(--bg-soft) !important; color: var(--primary) !important; }

/* ─── Hamburger ──────────────────────────────────────────────────────────────── */
.hamburger {
  display: none; width: 42px; height: 42px; border-radius: 11px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  flex-direction: column; gap: 4px; align-items: center; justify-content: center; flex-shrink: 0;
}
.hamburger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ─── Overlay ────────────────────────────────────────────────────────────────── */
.ah-overlay {
  position: fixed; inset: 0;
  background: rgba(8,30,30,.45); z-index: 100100;
  opacity: 0; pointer-events: none; transition: .3s;
}
.ah-overlay.open { opacity: 1; pointer-events: auto; }

/* ─── Mobile Menu ────────────────────────────────────────────────────────────── */
/* z-index above #wpadminbar (99999) so the close button isn't hidden under it
   for logged-in admins/staff viewing the site with the admin bar visible. */
.ah-mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
  background: #fff; z-index: 100110;
  transform: translateX(100%); transition: .3s;
  box-shadow: -10px 0 40px rgba(0,0,0,.2);
  display: flex; flex-direction: column; padding: 22px; overflow-y: auto;
}
.ah-mobile-menu.open { transform: translateX(0); }
.mm-head {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;
}
.mm-head img { height: 40px; }
.mm-close {
  font-size: 26px; background: none; border: none; cursor: pointer; color: var(--muted);
}
.mm-nav { list-style: none; }
.mm-nav li a,
.ah-mobile-menu > a {
  display: block; padding: 14px 6px; font-weight: 600; font-size: 17px;
  border-bottom: 1px solid var(--line); color: var(--ink);
}
.mm-cart-btn { margin-top: 16px; justify-content: center; }
.mm-cart-count {
  background: var(--accent); color: #3a2400; font-size: 11px; font-weight: 800;
  min-width: 18px; height: 18px; border-radius: 9px;
  display: inline-grid; place-items: center; padding: 0 4px; margin-left: 4px;
}

/* ─── Trust Bar ──────────────────────────────────────────────────────────────── */
.trust { background: var(--primary-dark); color: #fff; }
.trust .wrap {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px; padding: 22px 20px;
}
.trust .t { display: flex; align-items: center; gap: 13px; min-width: 0; }
.trust .t .ic {
  width: 44px; height: 44px; border-radius: 11px;
  background: rgba(244,165,49,.15); display: grid; place-items: center;
  font-size: 20px; color: var(--accent); flex-shrink: 0;
}
.trust .t b { font-family: 'Sora', sans-serif; font-size: 15px; display: block; }
.trust .t small { color: #aecdc9; font-size: 12.5px; }

/* ─── Hero Slider ────────────────────────────────────────────────────────────── */
.hero-slider { padding: 18px 18px 22px; }

/* .slider has NO overflow:hidden so arrows aren't clipped */
.slider {
  position: relative;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(8,63,68,.18);
}
/* .slides is the clipping viewport — must NOT carry the transform itself,
   otherwise the clip box moves together with its content and nothing new
   ever scrolls into view. */
.slides {
  border-radius: 20px;
  overflow: hidden;
}
.slides-track {
  display: flex;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
}
.slide { flex: 0 0 100%; position: relative; min-width: 0; }
/* Stretched link covers the whole slide (sits above the overlay) */
.slide-link { position: absolute; inset: 0; z-index: 3; }
.slide img,
.slide-img {
  width: 100%;
  /* Controlled banner height — object-fit:cover crops any image cleanly */
  height: clamp(300px, 40vw, 460px);
  object-fit: cover;
  display: block;
}

/* Text overlay */
.slide-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to right, rgba(8,30,30,.75) 0%, rgba(8,30,30,.35) 55%, transparent 85%);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 0 52px; color: #fff; pointer-events: none;
}
.slide-eyebrow {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  color: var(--accent); margin-bottom: 14px; display: block;
}
.slide-title {
  display: block;
  font-family: 'LiAdorNoirrit', 'Sora', 'Noto Sans Bengali', sans-serif; font-weight: 800;
  font-size: clamp(22px, 3.2vw, 42px); line-height: 1.15;
  margin-bottom: 14px; color: #fff;
}
.slide-sub {
  display: block;
  font-size: clamp(13px, 1.4vw, 16px); color: rgba(255,255,255,.84);
  max-width: 420px; margin-bottom: 24px; line-height: 1.6;
}
.slide-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #3a2400;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px;
  padding: 14px 30px; border-radius: 11px; transition: .2s;
  box-shadow: 0 6px 20px rgba(244,165,49,.35);
}
.slide:hover .slide-cta { background: var(--accent-deep); transform: translateY(-2px); }

/* Arrows: position: absolute inside .slider (won't be clipped since .slider has no overflow:hidden) */
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--primary); border: none; cursor: pointer;
  font-size: 30px; display: grid; place-items: center; z-index: 10;
  transition: .2s; box-shadow: 0 4px 20px rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
}
.slider-arrow:hover { background: var(--accent); color: #3a2400; transform: translateY(-50%) scale(1.08); }
.slider-arrow.prev { left: 22px; }
.slider-arrow.next { right: 22px; }
.slider-dots {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.slider-dots button {
  width: 32px; height: 4px; border-radius: 3px; border: none;
  background: rgba(255,255,255,.45); cursor: pointer; transition: .25s; padding: 0;
}
.slider-dots button.active { background: var(--accent); width: 46px; }

/* ─── Sections ───────────────────────────────────────────────────────────────── */
.section { padding: 66px 0; }
.section.tight { padding: 50px 0; }
.sec-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 34px; gap: 20px; flex-wrap: wrap;
}
.sec-head .eyebrow { color: var(--accent-deep); margin-bottom: 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.sec-head h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; }
.sec-head p { color: var(--muted); margin-top: 6px; max-width: 460px; }
.sec-head .link { color: var(--primary); font-weight: 700; font-size: 14px; white-space: nowrap; }
.eyebrow { color: var(--accent-deep); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; display: block; }

.center { text-align: center; align-items: center; justify-content: center; flex-direction: column; }
.center p { margin-inline: auto; }

h2.deco { display: inline-flex; align-items: center; gap: 18px; }
h2.deco::before, h2.deco::after { content: ""; width: 48px; height: 2px; background: var(--accent); }

/* ─── Category Carousel — small circular items, arrow controls ───────────── */
.cat-section { background: var(--surface); padding-bottom: 52px; }

.cat-slider-wrap { position: relative; }
.cat-circle-track {
  display: flex; gap: 20px; overflow-x: auto;
  padding: 8px 6px 12px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cat-circle-track::-webkit-scrollbar { display: none; }
.cat-circle {
  position: relative; flex: 0 0 116px; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-align: center;
}
.cat-circle-link { position: absolute; inset: 0; z-index: 2; text-indent: -9999px; overflow: hidden; }
.cat-circle-img {
  width: 104px; height: 104px; border-radius: 50%; overflow: hidden;
  border: 2.5px solid var(--line); background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.cat-circle:hover .cat-circle-img {
  border-color: var(--primary); transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(8,63,68,.16);
}
.cat-circle-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-circle-initial {
  font-family: 'LiAdorNoirrit', 'Sora', sans-serif; font-weight: 800;
  font-size: 38px; color: #fff; line-height: 1;
}
.cat-circle-name {
  font-family: 'LiAdorNoirrit', 'Sora', sans-serif; font-weight: 700;
  font-size: 13.5px; line-height: 1.3; color: var(--ink);
}
.cat-circle-count { font-size: 11.5px; color: var(--muted); font-weight: 500; }
/* wpautop sometimes wraps the inline parts in <p> — make those wrappers transparent
   so name/count always stack on their own lines */
.cat-circle p { display: contents; margin: 0; }

/* arrow centered on the circle (8px track padding + 104/2) */
.cat-nav {
  position: absolute; top: 60px; transform: translateY(-50%); z-index: 5;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--primary);
  font-size: 22px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(8,63,68,.16); transition: .18s;
}
.cat-nav:hover { background: var(--primary); color: #fff; }
.cat-prev { left: -14px; }
.cat-next { right: -14px; }

/* ─── Product Grid ───────────────────────────────────────────────────────────── */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.product {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; flex-direction: column; transition: .22s; cursor: pointer;
  overflow: hidden;   /* needed for rounded image corners at top */
}
.product:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

/* card-btns must not be clipped — solved by flex column layout always expanding */
.card-btns { flex-shrink: 0; }

.pimg-wrap { display: block; }
.pimg {
  position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg-soft);
}
.pimg img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.product:hover .pimg img { transform: scale(1.06); }

.tag {
  position: absolute; top: 11px; left: 11px;
  background: var(--accent); color: #3a2400;
  font-size: 11px; font-weight: 800; padding: 4px 10px;
  border-radius: 999px; text-transform: uppercase; z-index: 2;
}
.tag.hot { background: #e0492f; color: #fff; }

.view-hint {
  position: absolute; inset: 0;
  background: rgba(8,63,68,.55); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 14px;
  opacity: 0; transition: .2s;
}
.product:hover .view-hint { opacity: 1; }

/* Discount badge */
.disc {
  position: absolute; top: 10px; right: 10px;
  width: 54px; height: 54px; border-radius: 50%;
  background: #fff; border: 2px solid var(--accent); color: var(--accent-deep);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-weight: 800; line-height: 1;
  box-shadow: var(--shadow-sm); z-index: 2;
}
.disc b { font-size: 12px; }
.disc small { font-size: 8px; font-weight: 700; }
.disc .woocommerce-Price-amount { font-size: 11px; }

.pbody {
  padding: 15px 16px 18px; display: flex; flex-direction: column; flex: 1;
}
.cat-name {
  font-size: 11.5px; color: var(--accent-deep); font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 5px; display: block;
}
.product h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 8px; }
.product h3 a { color: var(--ink); }
.product h3 a:hover { color: var(--primary); }

/* Stars */
.product .stars,
.woocommerce-product-rating .star-rating { color: var(--accent); font-size: 13px; margin-bottom: 10px; letter-spacing: 1px; }
.product .stars span { color: var(--muted); }
.review-count { color: var(--muted); font-size: 12px; margin-left: 4px; }

/* Price */
.prow { display: flex; align-items: center; justify-content: space-between; margin-top: auto; gap: 10px; }
.product .price,
.product .woocommerce-Price-amount {
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 19px; color: var(--primary);
}
.product .price del,
.product del .woocommerce-Price-amount { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 6px; }

/* Card buttons */
.card-btns { display: flex; flex-direction: column; gap: 8px; padding: 0 14px 16px; }
.cb {
  width: 100%; padding: 11px; border-radius: 10px;
  font-family: 'Sora', 'Noto Sans Bengali', sans-serif; font-weight: 700; font-size: 13px;
  cursor: pointer; border: none;
  display: flex; align-items: center; justify-content: center; gap: 7px; transition: .16s;
}
.cb-order { background: var(--accent); color: #3a2400; }
.cb-order:hover { background: var(--accent-deep); }
.cb-cart { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); }
.cb-cart:hover { background: var(--primary); color: #fff; }
.cb.loading { opacity: .7; cursor: wait; }

/* ─── Category Grid (full cards) ─────────────────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3/3.6; cursor: pointer; box-shadow: var(--shadow-sm); display: block;
}
.cat img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.cat:hover img { transform: scale(1.07); }
.cat::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,30,30,.82) 8%, rgba(8,30,30,0) 55%);
}
.cat .lbl { position: absolute; left: 16px; right: 16px; bottom: 15px; z-index: 2; color: #fff; }
.cat .lbl b { font-family: 'Sora', sans-serif; font-size: 17px; display: block; }
.cat .lbl span { font-size: 12.5px; color: #cfe6e2; }

/* ─── Promo Banner ───────────────────────────────────────────────────────────── */
.promo {
  background: linear-gradient(120deg, var(--accent), var(--accent-deep));
  border-radius: 20px; padding: 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; color: #3a2400; position: relative; overflow: hidden;
}
.promo::before {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.18);
}
.promo h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; position: relative; }
.promo p { margin-top: 8px; font-weight: 600; position: relative; max-width: 480px; }
.promo .code {
  background: #3a2400; color: #fff;
  font-family: 'Sora', sans-serif; font-weight: 700;
  padding: 5px 12px; border-radius: 8px;
}

/* ─── Testimonials ───────────────────────────────────────────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* Testimonials carousel — auto-moving track with arrows (same pattern as categories) */
.testi-slider-wrap { position: relative; }
.testi-track {
  display: flex; gap: 20px; overflow-x: auto;
  padding: 6px 4px 12px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-track .testi { flex: 0 0 min(340px, 82vw); scroll-snap-align: start; }
.testi-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--primary);
  font-size: 22px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(8,63,68,.16); transition: .18s;
}
.testi-nav:hover { background: var(--primary); color: #fff; }
.testi-prev { left: -14px; }
.testi-next { right: -14px; }

.testi {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.testi .stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 14px; }
.testi p { font-size: 15px; margin-bottom: 18px; }
.testi .who { display: flex; align-items: center; gap: 12px; }
.testi .who .av {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: grid; place-items: center;
  font-family: 'Sora', sans-serif; font-weight: 700; flex-shrink: 0;
}
.testi .who b { font-family: 'Sora', sans-serif; font-size: 14.5px; display: block; }
.testi .who small { color: var(--muted); font-size: 12.5px; }

/* ─── Benefits ───────────────────────────────────────────────────────────────── */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px; transition: .22s;
}
.benefit:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.benefit .ic {
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #0a7a82);
  color: #fff; display: grid; place-items: center; font-size: 24px; margin-bottom: 18px;
}
.benefit h3 { font-size: 19px; margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: 14.5px; }

/* ─── How-to Steps ───────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px;
}
.step .num {
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 15px; color: #fff;
  background: var(--primary); width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center; margin-bottom: 16px;
}
.step h3 { font-size: 17px; margin-bottom: 7px; }
.step p { color: var(--muted); font-size: 14px; }

/* ─── Split Layout ───────────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .imgwrap { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3.2; }
.split .imgwrap img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; margin-bottom: 16px; }
.split p { color: var(--muted); margin-bottom: 14px; }
.split ul { list-style: none; margin: 18px 0 26px; }
.split ul li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 11px; font-weight: 500; }
.split ul li .ck { color: var(--ok); font-weight: 800; flex-shrink: 0; }

/* ─── Final CTA ──────────────────────────────────────────────────────────────── */
.final-cta {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff; border-radius: 22px; padding: 56px;
  text-align: center; position: relative; overflow: hidden;
}
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1556742502-ec7c0e9f34b1?auto=format&fit=crop&w=1400&q=70') center/cover;
  opacity: .1;
}
.final-cta h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; position: relative; margin-bottom: 14px; }
.final-cta p { position: relative; color: #cfe6e2; max-width: 540px; margin: 0 auto 26px; font-size: 17px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; position: relative; justify-content: center; }

/* ─── Page Hero ──────────────────────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff; padding: 54px 0;
}
.page-hero .eyebrow { color: var(--accent); margin-bottom: 10px; }
.page-hero h1 { font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: #cfe6e2; max-width: 560px; font-size: 17px; }
.crumb { font-size: 13px; color: #9fc3be; margin-bottom: 18px; }
.crumb a { cursor: pointer; }
.crumb a:hover { color: #fff; }

/* ─── FAQ ────────────────────────────────────────────────────────────────────── */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 13px; overflow: hidden;
}
.faq-q {
  padding: 19px 22px; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 16px;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-q .pm { color: var(--primary); font-size: 22px; transition: .2s; flex-shrink: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: .3s; color: var(--muted); }
.faq-a p { padding: 0 22px 19px; }
.faq-item.open .faq-a { max-height: 260px; }
.faq-item.open .pm { transform: rotate(45deg); }

/* ─── Contact ────────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.info-card { background: var(--primary-dark); color: #fff; border-radius: 18px; padding: 32px; }
.info-card h3 { font-size: 20px; margin-bottom: 20px; }
.info-row { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.info-row .ic {
  width: 42px; height: 42px; border-radius: 11px;
  background: rgba(244,165,49,.16); color: var(--accent);
  display: grid; place-items: center; font-size: 18px; flex-shrink: 0;
}
.info-row b { font-family: 'Sora', sans-serif; font-size: 14px; display: block; }
.info-row small { color: #aecdc9; font-size: 13px; }
.info-row a { color: #aecdc9; }
.info-row a:hover { color: #fff; }
.map-embed { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); height: 280px; margin-top: 30px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 42px; height: 42px; border-radius: 11px;
  background: rgba(255,255,255,.1); display: grid; place-items: center;
  color: #fff; font-weight: 700; transition: .18s; font-size: 15px;
}
.socials a:hover { background: var(--accent); color: #3a2400; }
.form-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 34px; box-shadow: var(--shadow-sm);
}
.form-card h2 { font-size: 24px; margin-bottom: 6px; }
.form-card .sub { color: var(--muted); margin-bottom: 24px; font-size: 14.5px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ─── Form Fields ────────────────────────────────────────────────────────────── */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 11px;
  padding: 13px 15px; font-family: inherit; font-size: 15px; background: var(--bg); transition: .18s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--primary); background: #fff;
}
.field textarea { resize: vertical; min-height: 80px; }
.field.err input, .field.err textarea { border-color: #e0492f; }

/* ─── Cart Drawer ────────────────────────────────────────────────────────────── */
.ah-cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: auto;
  width: min(92vw, 420px);
  /* must sit ABOVE .ah-overlay (100100), like the mobile menu (100110) */
  background: var(--bg); z-index: 100120;
  transform: translateX(100%); transition: .32s;
  box-shadow: -10px 0 40px rgba(0,0,0,.2); display: flex; flex-direction: column;
}
/* account for WP admin bar */
body.admin-bar .ah-cart-drawer { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .ah-cart-drawer { top: 46px; }
}
body.admin-bar .ah-overlay { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .ah-overlay { top: 46px; }
}
.ah-cart-drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 22px; border-bottom: 1px solid var(--line); background: #fff;
}
.drawer-head h3 { font-size: 18px; }
.drawer-close { font-size: 26px; background: none; border: none; cursor: pointer; color: var(--muted); }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.drawer-empty { text-align: center; color: var(--muted); padding: 60px 0; }
.drawer-empty .big { font-size: 46px; margin-bottom: 14px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 20px 22px; background: #fff; }

.cart-item { display: flex; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 74px; height: 74px; border-radius: 11px; object-fit: cover; background: var(--bg-soft); flex-shrink: 0; }
.ci-info { flex: 1; min-width: 0; }
.ci-info b { font-family: 'Sora', sans-serif; font-size: 14.5px; display: block; margin-bottom: 3px; }
.ci-var { font-size: 12.5px; color: var(--muted); }
.ci-price { font-family: 'Sora', sans-serif; font-weight: 700; color: var(--primary); margin-top: 6px; }
.ci-ctrl { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qbtn {
  width: 26px; height: 26px; border: 1px solid var(--line);
  background: #fff; border-radius: 7px; cursor: pointer; font-size: 14px; color: var(--primary);
}
.ci-ctrl span { font-weight: 700; min-width: 20px; text-align: center; }
.rm { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 13px; margin-left: auto; text-decoration: underline; }

.drawer-foot .row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; color: var(--muted); }
.drawer-foot .row.total { font-family: 'Sora', sans-serif; font-size: 20px; font-weight: 800; color: var(--ink); margin: 14px 0 16px; }

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
footer.site { background: var(--ink); color: #cdd9d7; padding: 56px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.foot-brand .logo { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 22px; color: #fff; margin-bottom: 16px; }
.foot-brand .logo em { color: var(--accent); font-style: normal; }
.foot-brand p { font-size: 14px; color: #9fb0ad; margin-bottom: 18px; max-width: 280px; }
footer h4 { color: #fff; font-family: 'Sora', sans-serif; font-size: 15px; margin-bottom: 16px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 11px; }
footer ul li a { font-size: 14px; color: #9fb0ad; transition: .15s; }
footer ul li a:hover { color: var(--accent); }
.foot-contact div { display: flex; gap: 10px; margin-bottom: 13px; font-size: 14px; color: #9fb0ad; align-items: flex-start; }
.foot-contact div a { color: #9fb0ad; }
.foot-contact div a:hover { color: var(--accent); }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: 13px; color: #7c8d8a;
}
.foot-socials { display: flex; gap: 9px; margin-top: 16px; }
.foot-socials a {
  width: 40px; height: 40px; border-radius: 11px;
  background: rgba(255,255,255,.09); display: grid; place-items: center;
  color: #cdd9d7; transition: .18s;
}
.foot-socials a:hover { transform: translateY(-2px); }
.foot-socials a.social-wa:hover { background: #25D366; color: #fff; }
.foot-socials a.social-fb:hover { background: #1877F2; color: #fff; }
.foot-socials a.social-ig:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); color: #fff; }

/* ─── Bottom Mobile Nav ──────────────────────────────────────────────────────── */
.bottom-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--line); z-index: 90;
  padding: 8px 0 max(8px, env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(8,63,68,.08);
}
.bn-row { display: flex; justify-content: space-around; align-items: center; }
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 10.5px; font-weight: 600; color: var(--muted); position: relative; flex: 1;
}
.bi { font-size: 20px; }
.bottom-nav a.active { color: var(--primary); }
.bn-badge {
  position: absolute; top: -4px; right: 24%;
  background: var(--accent); color: #3a2400; font-size: 9px; font-weight: 800;
  min-width: 16px; height: 16px; border-radius: 8px;
  display: grid; place-items: center; padding: 0 3px;
}

/* ─── Toast ──────────────────────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--ink); color: #fff;
  padding: 14px 22px; border-radius: 12px;
  font-weight: 600; font-size: 14px; z-index: 200;
  transition: .35s; box-shadow: 0 10px 30px rgba(0,0,0,.3);
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast .ck { color: var(--accent); }

/* ─── WooCommerce Toolbar ────────────────────────────────────────────────────── */
.ah-shop-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.ah-result-count { color: var(--muted); font-size: 14px; }
.woocommerce-ordering select {
  border: 1.5px solid var(--line); border-radius: 10px;
  padding: 9px 14px; font-family: inherit; font-size: 14px;
  background: #fff; color: var(--ink); cursor: pointer;
}

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .head-nav { display: none; }
  .hamburger { display: flex; }
  .cat-grid, .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .benefits, .testi-grid, .steps { grid-template-columns: 1fr 1fr; }
  .trust .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .login-btn { display: none; }
  .head-top { height: 62px; gap: 10px; flex-wrap: wrap; align-items: center; }
  .hamburger { display: flex; width: 40px; height: 40px; border: none; order: 1; }
  .logo { order: 2; flex: 1; justify-content: center; }
  .logo img { height: 40px; }
  .search-ico { display: block; order: 3; }
  .cart-ico { font-size: 24px; order: 4; }
  .search-bar {
    order: 5; flex: 1 0 100%; max-width: none;
    max-height: 0; opacity: 0; overflow: hidden;
    padding: 0; border: none; margin: 0; transition: .25s;
  }
  .search-bar.open { max-height: 64px; opacity: 1; margin-bottom: 10px; border: 1px solid #e3e8f5; }
  .benefits, .testi-grid, .steps { grid-template-columns: 1fr; }
  /* footer: brand full-width, then 2-col for link sections, contact full-width */
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-contact { grid-column: 1 / -1; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .prod-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  /* trust bar: compact — icon stacked over title, no description */
  .trust .t small { display: none; }
  .trust .wrap { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 13px 10px; }
  .trust .t { flex-direction: column; gap: 6px; text-align: center; }
  .trust .t .ic { width: 34px; height: 34px; font-size: 15px; }
  .trust .t b { font-size: 11px; line-height: 1.3; }
  .section { padding: 36px 0; }
  .final-cta, .form-card, .info-card { padding: 30px 20px; }
  .product h3 { font-size: 13.5px; }
  .pbody { padding: 12px 12px 14px; }
  .cat-name { font-size: 10.5px; }
  .product .price,
  .product .woocommerce-Price-amount { font-size: 16px; }
  .disc { width: 46px; height: 46px; }
  .disc b { font-size: 11px; }
  .card-btns { padding: 0 10px 12px; }
  .cb { font-size: 11.5px; padding: 9px; }
  /* category carousel mobile — smaller circles, arrows tucked in */
  .cat-circle { flex: 0 0 92px; }
  .cat-circle-img { width: 82px; height: 82px; }
  .cat-circle-initial { font-size: 30px; }
  .cat-circle-name { font-size: 12.5px; }
  .cat-nav { top: 49px; width: 32px; height: 32px; font-size: 18px; }
  .cat-prev { left: -6px; }
  .cat-next { right: -6px; }
  /* slider mobile height */
  .slide img { height: clamp(200px, 52vw, 300px); }
  .slider-arrow { width: 36px; height: 36px; font-size: 20px; }
  .slider-arrow.prev { left: 10px; }
  .slider-arrow.next { right: 10px; }
  .hero-slider { padding: 12px 12px 16px; }
  .slide-overlay { padding: 0 20px; }
  .slide-cta { padding: 10px 18px; font-size: 13px; }
  .bottom-nav { display: block; }
  body { padding-bottom: 64px; }
  .toast { bottom: 78px; }
  .wrap { padding: 0 14px; }
  h2.deco::before, h2.deco::after { width: 24px; }
  .promo { flex-direction: column; padding: 30px 20px; }
}

/* ─── Woo product loop rating override ──────────────────────────────────────── */
.woocommerce-loop-product__title { display: none; }
.star-rating span::before { color: var(--accent); }
