/* ===================================================
   O.M Beauty — Home Page Styles
   =================================================== */

:root {
  --cream:        #fbf6f4;
  --cream-2:      #fbf6f4;
  --cream-3:      #F0E4D2;
  --gold:         #C79A54;
  --gold-dark:    #B07C2E;
  --bronze-1:     #B8722C;
  --bronze-2:     #C89A5B;
  --ink:          #3B342C;
  --ink-soft:     #6B6155;
  --line:         #E3D6C3;
  --white:        #FFFFFF;
  --radius:       10px;
  --shadow:       0 10px 30px rgba(90, 66, 34, 0.08);
  --shadow-sm:    0 4px 14px rgba(90, 66, 34, 0.07);
  --maxw:         1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', sans-serif;
  color: var(--ink);
  background: white;
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
  width: 100%;
}

.section { padding-block: 56px; }

.section-title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 40px;
}
/* decorative line + diamond under section titles */
.section-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 12px;
  margin: 16px auto 0;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='120'%20height='12'%20viewBox='0%200%20120%2012'%3E%3Cline%20x1='2'%20y1='6'%20x2='48'%20y2='6'%20stroke='%23C79A54'%20stroke-width='1'/%3E%3Cpath%20d='M60%201.5%20L64.5%206%20L60%2010.5%20L55.5%206%20Z'%20fill='none'%20stroke='%23C79A54'%20stroke-width='1'/%3E%3Cline%20x1='72'%20y1='6'%20x2='118'%20y2='6'%20stroke='%23C79A54'%20stroke-width='1'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  padding: 13px 30px;
  transition: all .22s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--bronze-1), var(--gold-dark));
  color: #fff;
  box-shadow: 0 6px 16px rgba(176, 124, 46, 0.28);
}
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--gold-dark);
  border: 1px solid var(--gold);
  padding: 9px 22px;
  font-size: 14px;
}
.btn-outline:hover { background: var(--gold); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ===================================================
   HEADER
   =================================================== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  min-height: 92px;
  padding-block: 8px;
  gap: 50px;
}
/* Natural RTL flow: nav-right (right) → logo (center) → header-left (left) */
.nav-right { flex: 1; display: flex; justify-content: space-between;}
.header-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.header-icons { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  color: var(--ink);
  font-size: 17px;
  border-radius: 50%;
  transition: background .2s;
}
.icon-btn:hover { background: var(--cream-2); color: var(--gold-dark); }
.icon-btn svg { width: 22px; height: 22px; stroke-width: 1.6; }
/* The wishlist heart is a Font Awesome glyph (not a Lucide svg like the other header
   icons), so it doesn't pick up the rule above — match it to the same visual size. */
.wishlist-btn i { font-size: 22px; }
.cart-badge {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--bronze-1);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px; height: 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  padding: 0 3px;
}
button.icon-btn { background: none; border: none; cursor: pointer; font-family: inherit; }
.wishlist-badge {
  position: absolute;
  top: 2px; right: 2px;
  background: #d0546a;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px; height: 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  padding: 0 3px;
}
.wishlist-btn.active { color: #d0546a; }

/* Search flyout — same overlay + slide pattern as the mini-cart, but a horizontal
   bar under the header instead of a side drawer. */
.search-overlay {
  position: fixed; inset: 0; background: rgba(20,15,10,.45);
  z-index: 300; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.search-overlay.open { opacity: 1; pointer-events: auto; }
.search-flyout {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 301;
  background: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,.15);
  transform: translateY(-100%); transition: transform .28s ease;
}
.search-flyout.open { transform: translateY(0); }
.search-flyout-inner { padding: 22px 0; }
.header-search-form { display: flex; align-items: center; gap: 12px; }
.header-search-form input[type="search"] {
  flex: 1; border: none; border-bottom: 2px solid var(--line); background: none;
  font-family: inherit; font-size: 20px; color: var(--ink); padding: 8px 4px;
  outline: none; text-align: right;
}
.header-search-form input[type="search"]:focus { border-color: var(--gold); }
.header-search-submit, .header-search-close {
  background: none; border: none; cursor: pointer; color: var(--ink-soft);
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-size: 16px; flex: 0 0 auto; transition: all .2s;
}
.header-search-submit:hover { color: var(--gold-dark); }
.header-search-close:hover { background: var(--cream-2); color: var(--ink); }

/* Logo */
.logo { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
/* grows with the viewport: 64px on standard screens → up to 124px on big screens.
   Selector is ".logo .logo-img" (not just ".logo-img") on purpose: WooCommerce's own
   woocommerce-layout.css ships ".woocommerce img, .woocommerce-page img { height:auto;
   max-width:100% }", which only activates on shop/product/cart/checkout (their body
   carries those classes) and otherwise outranks a single-class ".logo-img" rule,
   letting the logo render at native size and blow out the header on those pages only. */
.logo .logo-img { height: clamp(64px, 4.6vw, 124px); width: auto; object-fit: contain; }

/* Nav */
.main-nav ul { display: flex; gap: 30px; justify-content: space-between;
    width: 100%;}
.nav-left ul { gap: 30px; }
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.main-nav a:hover { color: var(--gold-dark); }
.main-nav a.active { color: var(--gold-dark); font-weight: 600; }
.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -2px; right: 0; left: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.mobile-toggle {
  display: none;
  order: 1;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--ink);
  cursor: pointer;
}

/* ===================================================
   HERO SLIDER (full-bleed background image + right-side text)
   =================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream-2);
}
.hero-slides {
  position: relative;
  height: clamp(440px, 40vw, 560px);
}
.hero-slide {
  position: absolute;
  inset: 0;
  /* fallback tint shows if the product image hasn't been added yet */
  background-color: var(--cream-2);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
/* soft cream veil on the right so the overlaid text stays readable */
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(250,244,236,.92) 0%, rgba(250,244,236,.55) 32%, rgba(250,244,236,0) 58%);
  pointer-events: none;
}
.hero-slide .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* flex-start = RIGHT in RTL */
}
.hero-content { text-align: right; max-width: 460px; }
.hero-title {
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}
.hero-title .accent { color: var(--gold-dark); }
/* Ornamental divider (diamond flanked by short lines) — self-contained and always
   centered as its own element, independent of whichever way the surrounding heading
   block itself is aligned (right for the hero/page-banner text columns, center for
   the cart/checkout headers). Page-specific rules below only ever touch margin-block
   (vertical spacing) so they never clobber this horizontal centering. */
.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  margin-inline: auto;
  margin-block: 18px;
  color: var(--gold);
  font-size: 12px;
}
.hero-divider::before,
.hero-divider::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
  opacity: .55;
}
/* Hero slider + generic page banners (Shop/About/Contact/FAQ/Blog/Wishlist/Search):
   their title and description are right-aligned, so the divider stays flush right
   with them instead of centering — centering it created a mismatch where the diamond
   sat mid-column while the text above/below it stayed flush right. The cart/checkout
   headers are the one banner variant that's genuinely centered end-to-end, so their
   own .hero-divider override (further down) is intentionally left on the centered rule. */
.hero-content .hero-divider,
.page-banner-content .hero-divider {
  margin-inline: 0;
}
.hero-text {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 440px;
  margin-inline-start: auto;
  margin-bottom: 28px;
}
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-bottom: 22px;
}
/* in-section dot rows (products / testimonials) get breathing room above */
.section .hero-dots { margin-top: 34px; padding-bottom: 0; }
/* hero slider dots overlay the slide */
.hero > .hero-dots {
  position: absolute;
  bottom: 20px; left: 0; right: 0;
  z-index: 3;
  padding-bottom: 0;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(176,124,46,.35);
  cursor: pointer;
  transition: all .2s;
}
.dot.is-active, .dot.active { background: var(--gold); width: 22px; border-radius: 5px; }

/* ===================================================
   PLACEHOLDERS (swap for real images later)
   =================================================== */
.placeholder {
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.55), transparent 55%),
    linear-gradient(135deg, var(--cream-2), var(--cream-3));
  border-radius: var(--radius);
  position: relative;
}
.placeholder::after {
  content: "O·M";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  letter-spacing: 3px;
  color: rgba(176, 124, 46, .35);
}
.placeholder-hero { aspect-ratio: 16/11; box-shadow: var(--shadow); }
.placeholder-product { aspect-ratio: 3/4; }
.placeholder-banner { aspect-ratio: 4/3; }

/* ===================================================
   FEATURES STRIP
   =================================================== */
.features { background: var(--white); border-block: 1px solid var(--line); }
.features-inner {
  display: flex;
  padding-block: 34px;
  text-align: center;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  /* vertical divider between items (design), inset from top/bottom */
  border-inline-start: 1px solid var(--line);
}
.feature:first-child { border-inline-start: none; }
/* line-style Lucide icons — no circle, thin stroke, orange */
.feature svg {
  width: 44px;
  height: 44px;
  stroke-width: 1.4;
  color: #C67C33;
}

/* ===================================================
   CATEGORIES
   =================================================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.category-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden; /* clip full-bleed image to the rounded corners */
  text-align: center;
  transition: transform .22s, box-shadow .22s;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
/* top section — image, edge to edge, no padding */
.category-media .placeholder {
  border-radius: 0;
  aspect-ratio: 4 / 5;
}
.category-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
/* lower section — content on white, divided from the image */
.category-body {
  padding: 18px 16px 22px;
  border-top: 1px solid var(--line);
}
.category-body h3 { font-size: 16px; font-weight: 600; margin-bottom: 14px; }

/* ===================================================
   FEATURED PRODUCTS
   =================================================== */
.product-carousel { position: relative; }
/* viewport clips the track; the track (3 copies of the product set) is slid via translateX() by JS */
.product-viewport { overflow: hidden; }
.product-track {
  display: flex;
  gap: 22px;
  transition: transform .45s ease;
}
/* 4 cards per view on desktop */
.product-track .product-card { flex: 0 0 calc((100% - 3 * 22px) / 4); min-width: 0; }
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden; /* clip full-bleed image to the rounded corners */
  text-align: center;
  transition: transform .22s, box-shadow .22s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
/* top section — image, edge to edge, no padding */
.product-media .placeholder {
  border-radius: 0;
  aspect-ratio: 1 / 1;
}
.product-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
/* lower section — content on white, divided from the image */
.product-body {
  padding: 16px 16px 20px;
  border-top: 1px solid var(--line);
}
.product-title-link { display: block; }
.product-title-link:hover h3 { color: var(--gold-dark); }
.product-body h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; transition: color .15s; }
.price { color: var(--gold-dark); font-weight: 700; font-size: 17px; margin-bottom: 14px; }
.product-actions { display: flex; align-items: center; gap: 8px; }
.product-actions .btn { flex: 1; }
.wish-btn {
  width: 40px; height: 38px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .2s;
}
.wish-btn:hover { color: #d0546a; border-color: #d0546a; }
/* floating circular arrows, vertically centered on the product image */
.carousel-arrow {
  position: absolute;
  top: 34%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 6px 18px rgba(90, 66, 34, 0.16);
}
.carousel-arrow.prev { right: -20px; }
.carousel-arrow.next { left: -20px; }
.carousel-arrow:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

/* ===================================================
   10 IN 1 BANNER
   =================================================== */
.banner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream-2) center / cover no-repeat url("../images/cta-bg.png");
  min-height: clamp(240px, 22vw, 300px);
  display: flex;
  align-items: center;
  justify-content: flex-end;   /* flex-end = LEFT in RTL → text sits on the left */
  padding: 40px 56px;
}
/* soft cream veil on the left so the overlaid text stays readable */
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(250,244,236,.9) 0%, rgba(250,244,236,.45) 28%, rgba(250,244,236,0) 52%);
  pointer-events: none;
}
.banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 420px;
}
.banner-title {
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
.banner-subtitle { font-size: clamp(18px, 1.6vw, 24px); font-weight: 600; margin: 8px 0 4px; }
.banner-content .hero-divider { margin-block: 10px 12px; }
.banner-text { color: var(--ink-soft); margin-bottom: 22px; }

/* ===================================================
   TESTIMONIALS
   =================================================== */
.testimonials { background: var(--white); }
.testimonial-carousel { position: relative; }
.testimonial-viewport { overflow: hidden; }
.testimonial-track {
  display: flex;
  gap: 22px;
  transition: transform .45s ease;
}
/* 3 cards per view on desktop */
.testimonial-track .testimonial-card { flex: 0 0 calc((100% - 2 * 22px) / 3); min-width: 0; }
.testimonial-card {
  background: linear-gradient(160deg, #fbf6ee, var(--cream));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 26px 24px;
  position: relative;
  text-align: center;   /* stars + text centered as in design */
}
/* stars centered on the row; quote icon pinned to the right of the same line */
.testimonial-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.quote-icon {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  color: var(--gold);
  opacity: .4;
  line-height: 1;
}
.stars { color: var(--gold); font-size: 15px; letter-spacing: 3px; }
.testimonial-text { color: var(--ink); font-size: 15px; font-weight: 600; margin-bottom: 24px; }
/* author block sits on the RIGHT: avatar(right) + name(left) */
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  text-align: right;
}
.testimonial-author .avatar {
  width: 54px; height: 54px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
  border: 2px solid var(--white);
  box-shadow: 0 2px 8px rgba(90,66,34,.14);
  background: linear-gradient(135deg, var(--cream-3), #d9c8ad);
}
.testimonial-author .avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.testimonial-author strong { display: block; font-size: 15px; }
.testimonial-author span { font-size: 13px; color: var(--ink-soft); }

/* ===================================================
   NEWSLETTER
   =================================================== */
.section-newsletter { padding-bottom: 0; }
/* Home page only: section order here is newsletter -> trust bar (the reverse of every
   other page's footer.php default), and the shared padding-bottom:0 above — needed
   elsewhere so newsletter doesn't double up on space right before the footer — left the
   newsletter card butted directly against the trust bar with no gap between them. */
.home .section-newsletter { padding-bottom: 40px; }
.newsletter {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.newsletter-text h3 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.newsletter-text p { color: var(--ink-soft); }
/* envelope icon between the text and the form */
.newsletter-icon { flex: 0 0 auto; display: grid; place-items: center; }
.newsletter-icon svg { width: 58px; height: 58px; stroke-width: 1.3; color: #C67C33; }
.newsletter-form { display: flex; gap: 10px; flex: 1; min-width: 320px; max-width: 460px; }
.newsletter-form input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 15px;
  background: var(--white);
  color: var(--ink);
}
.newsletter-form input:focus { outline: none; border-color: var(--gold); }

/* ===================================================
   TRUST BAR
   =================================================== */
.trust-bar { background: var(--white); }
.trust-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 26px;
  flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 12px; }
/* line-style Lucide icons, orange, no chip */
.trust-item svg { width: 45px; height: 45px; stroke-width: 1.5; color: #C67C33; flex: 0 0 auto; }
.trust-item strong { display: block; font-size: 14px; }
.trust-item span { font-size: 12px; color: var(--ink-soft); }

/* ===================================================
   FOOTER
   =================================================== */
.site-footer { background: var(--cream-2); border-top: 1px solid var(--line); padding-top: 50px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.6fr; /* link cols · brand(LEFT, widest) */
  gap: 30px;
  padding-bottom: 40px;
}
/* link columns centered (design) */
.footer-col:not(.footer-brand) { text-align: center; }
/* subtle vertical dividers between columns (design) */
.footer-col:not(:first-child) { border-inline-start: 1px solid var(--line); }
/* brand column on the left, content left-aligned */
.footer-brand { text-align: center; }
.footer-logo { align-items: center; margin-bottom: 16px; }
.footer-brand p { color: var(--ink-soft); font-size: 14px; max-width: 300px; margin: 0 auto 18px; }
.social { display: flex; gap: 10px; justify-content: center; }
.social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--gold-dark);
  background: var(--white);
  transition: all .2s;
}
.social a:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.footer-col h4 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 14px; color: var(--ink-soft); transition: color .2s; }
.footer-col ul a:hover { color: var(--gold-dark); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 992px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  /* 2 cards per view on tablet */
  .product-track .product-card { flex-basis: calc((100% - 22px) / 2); }
  .testimonial-track .testimonial-card { flex-basis: calc((100% - 22px) / 2); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  /* The vertical dividers between footer columns only make sense across a single row
     of 4 — once the grid wraps to 2 columns (here) or 1 (at 560px below), ":not(:first-
     child)" still matches every column after the very first regardless of which row
     it wrapped onto, leaving a stray divider floating at the start of each wrapped row. */
  .footer-col:not(:first-child) { border-inline-start: none; }
  .footer-col { padding-top: 24px; border-top: 1px solid var(--line); }
  .footer-col:nth-child(-n+2) { padding-top: 0; border-top: none; }
  .features-inner { flex-wrap: wrap; }
  .feature { flex: 0 0 30%; }
}

@media (max-width: 768px) {
  /* Mobile header: 3 real grid columns (auto | 1fr | auto) instead of an absolutely-
     centered logo over normal flex flow — with 4 icons (search/wishlist/account/cart)
     the icon cluster got wide enough to collide with that old centered-logo trick, since
     centering it via left:50% never accounted for how much room the icons actually
     needed. Grid columns can't overlap by construction, so this can't regress the same
     way: column 1 (rightmost in RTL) = icons, column 2 = logo (truly centered in the
     remaining flexible space), column 3 (leftmost) = hamburger.
     .header-left becomes `display:contents` so its own children (nav-left, header-icons,
     mobile-toggle) place directly into the grid instead of staying boxed together. */
  .nav-right, .nav-left { display: none; }
  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    height: 72px;
    min-height: 0; /* the desktop rule's min-height:92px otherwise clamps this back up */
    gap: 8px;
  }
  /* Explicit grid-row:1 on all three is load-bearing, not decorative: CSS Grid's
     auto-placement cursor scans columns left-to-right (in RTL: right-to-left) and never
     backtracks. Logo (2nd in DOM) claims column 2 first; icons (3rd in DOM, wanting
     column 1) then find the cursor already past column 1 and get pushed onto an
     implicit second row instead of backfilling row 1 — which is exactly the 2-row
     wrap this was producing. Pinning every positioned item to row 1 sidesteps that
     scan-order dependency entirely. */
  .logo { grid-column: 2; grid-row: 1; justify-self: center; }
  .logo .logo-img { height: 44px; }
  .header-left { display: contents; }
  .header-icons { grid-column: 1; grid-row: 1; gap: 2px; }
  .icon-btn { width: 36px; height: 36px; }
  .icon-btn svg { width: 25px; height: 25px; }
  .wishlist-btn { display: none; } /* hidden on mobile to keep the header to 3 icons */
  .mobile-toggle { display: block; grid-column: 3; grid-row: 1; }
  /* Icon cluster reads right-to-left in the source (search, account, cart) same as
     desktop; row-reverse flips the visual order for mobile specifically, without
     touching the DOM or desktop layout. */
  .header-icons { flex-direction: row-reverse; }

  /* hamburger -> X while the drawer is open (drawer markup/styling itself is with the
     other slide-in drawers further down — .mobile-nav-overlay / .mobile-nav-drawer) */
  .mobile-toggle i { transition: transform .2s; }
  body.mobile-nav-open .mobile-toggle i { transform: rotate(90deg); }
  body.mobile-nav-open .mobile-toggle i::before { content: "\f00d"; } /* fa-xmark */
  /* mobile: stronger veil so right-aligned text stays readable over the photo */
  .hero-slide::after { background: linear-gradient(270deg, rgba(250,244,236,.94) 0%, rgba(250,244,236,.75) 55%, rgba(250,244,236,.35) 100%); }
  .hero-content { max-width: 100%; }
  .hero-text { margin-inline-start: auto; }
  .banner { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; }
  .banner-content { text-align: center; }
  .banner-text { margin-inline: auto; }
  .testimonial-track .testimonial-card { flex-basis: 100%; }
  /* Newsletter card, mobile: was the same row layout as desktop just wrapped, which left
     the icon squeezed between two centered text blocks and the input+button pair capped
     at min-width:320px — cramped against the card's own side padding on a narrow phone.
     Redesigned as a proper compact stacked card: icon in a soft circle up top, tighter
     padding, and a full-width stacked form so the input/button aren't fighting for room. */
  .newsletter { flex-direction: column; text-align: center; padding: 30px 22px; gap: 14px; border-radius: 16px; }
  .newsletter-icon { order: -1; width: 60px; height: 60px; background: rgba(198,124,51,.1); border-radius: 50%; }
  .newsletter-icon svg { width: 28px; height: 28px; }
  .newsletter-text h3 { font-size: 19px; }
  .newsletter-text p { font-size: 14px; }
  .newsletter-form { flex-direction: column; width: 100%; min-width: 0; max-width: none; gap: 10px; margin-top: 4px; }
  .newsletter-form input { width: 100%; padding: 14px 16px; }
  .newsletter-form button { width: 100%; }
  .section-title { font-size: 24px; }

  /* Footer mobile layout: "about" nav column dropped entirely (least useful footer link
     list on a small screen), categories + customer service sit side by side as one row,
     and the brand/social column keeps spanning full width below them. */
  .footer-col:first-child { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-col:nth-child(2), .footer-col:nth-child(3) { padding-top: 0; border-top: none; }
  .footer-brand { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); }
}

@media (max-width: 560px) {
  /* Categories, mobile: was a 2-col grid that just wrapped downward into extra rows —
     turned into an actual horizontal slider instead (native scroll-snap, no JS needed),
     showing exactly 2 cards per view and swiped sideways for the rest. */
  .category-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 14px;
    margin-inline: -24px;
    padding: 0 24px 6px;
  }
  .category-grid::-webkit-scrollbar { display: none; }
  .category-card { flex: 0 0 calc((100% - 14px) / 2); scroll-snap-align: start; }
  /* 1 card per view on mobile */
  .product-track .product-card { flex-basis: 100%; }
  .feature { flex: 0 0 33%; margin-bottom:20px; border-inline-start: none; }
  /* Trust bar, mobile: redesigned as centered badge cards in a 2-col grid — icon in a
     soft circle on top, title + subtitle centered below (column-reverse flips the DOM's
     text-then-icon order visually without touching the markup). If the item count is
     odd, the last card spans both columns instead of leaving one slot empty. */
  .trust-bar { background: var(--cream-2); }
  .trust-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-block: 20px; }
  .trust-item {
    flex-direction: column-reverse; align-items: center; text-align: center; gap: 10px;
    background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 20px 10px;
  }
  .trust-item:nth-last-child(1):nth-child(odd) { grid-column: 1 / -1; }
  .trust-item svg { width: 42px; height: 42px; padding: 10px; background: rgba(198,124,51,.12); border-radius: 50%; }
  .trust-item strong { font-size: 14px; }
  .trust-item span { font-size: 12px; }
}

/* ===================================================
   CONTACT PAGE
   =================================================== */

/* ---- Page banner (static full-bleed bg, text on the RIGHT) ---- */
.page-banner {
  position: relative;
  overflow: hidden;
  background: var(--cream-2) center right / cover no-repeat;
  min-height: clamp(360px, 32vw, 440px);
  display: flex;
  align-items: center;
}
.page-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(270deg, rgba(250,244,236,.94) 0%, rgba(250,244,236,.6) 34%, rgba(250,244,236,0) 60%);
  pointer-events: none;
}
.page-banner .container { position: relative; z-index: 2; display: flex; justify-content: flex-start; }
.page-banner-content { text-align: right; max-width: 560px; }
.page-banner-title { font-size: clamp(34px, 3.4vw, 48px); font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.page-banner-text { color: var(--ink-soft); font-size: 17px; margin-bottom: 30px; }

.banner-contacts { display: flex; gap: 26px; flex-wrap: wrap; }
.bc-item { flex: 1; min-width: 150px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.bc-icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--gold-dark);
  font-size: 18px; background: rgba(255,255,255,.5);
}
.bc-item strong { font-size: 15px; color: var(--ink); }
.bc-item small { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

/* ---- Contact grid: quick-contact (RIGHT) + form (LEFT) ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 30px; align-items: start; }
.block-title { text-align: center; font-size: 24px; font-weight: 700; color: var(--ink); margin-bottom: 22px; }

/* quick contact card — sticks while the taller form scrolls */
.quick-contact {
  background: var(--cream-2); border: 1px solid var(--line); border-radius: 14px; padding: 28px 26px;
  position: sticky;
  top: 120px;
  align-self: start;
}
.quick-item { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.quick-item:last-child { border-bottom: none; padding-bottom: 4px; }
.quick-item:first-of-type { padding-top: 4px; }
.quick-icon { flex: 0 0 auto; color: #C67C33; }
.quick-icon svg { width: 40px; height: 40px; stroke-width: 1.4; }
.quick-text { flex: 1; text-align: right; }
.quick-text h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.quick-text p { font-size: 14px; color: var(--ink-soft); }

/* message form card */
.contact-form-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 28px 26px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 14px; color: var(--ink); margin-bottom: 6px; text-align: right; }
.form-field .req { color: #d0546a; }
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  background: var(--white);
  color: var(--ink);
  resize: vertical;
  /* email/tel/url/number inputs render LTR by browser default even inside a dir="rtl"
     page — force RTL so placeholder/typed text align consistently with every other field. */
  direction: rtl;
  text-align: right;
}
.form-field input:focus,
.form-field textarea:focus { outline: none; border-color: var(--gold); }
.form-check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft); margin: 4px 0 18px; }
.form-check input { width: 16px; height: 16px; accent-color: var(--gold-dark); }
.btn-block { width: 100%; }

/* ---- AR LAB (RIGHT) + Map (LEFT) ---- */
.section--tight { padding-top: 0; }
.arlab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.arlab-card {
  background: var(--cream-2); border: 1px solid var(--line); border-radius: 16px;
  padding: 30px; display: flex; align-items: center; gap: 22px;
}
.arlab-text { flex: 1; text-align: right; }
.arlab-text .block-title { text-align: right; margin-bottom: 14px; }
.arlab-text p { color: var(--ink-soft); font-size: 14px; margin-bottom: 12px; }
.arlab-text .btn { margin-top: 6px; }
.arlab-media { flex: 0 0 40%; }
.arlab-media img { width: 100%; border-radius: 12px; object-fit: cover; box-shadow: var(--shadow-sm); }
.arlab-map { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); min-height: 300px; }
.arlab-map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; filter: saturate(.9); }

/* ---- Contact features (icon + title + description) ---- */
.contact-features .feature { gap: 10px; }
.contact-features .feature strong { font-size: 15px; font-weight: 700; color: var(--ink); }
.contact-features .feature span { font-size: 13px; color: var(--ink-soft); font-weight: 400; }

/* ---- Contact responsive ---- */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .quick-contact { position: static; }
  .arlab-grid { grid-template-columns: 1fr; }
  .arlab-card { flex-direction: column-reverse; text-align: center; }
  .arlab-text, .arlab-text .block-title { text-align: center; }
  .arlab-media { flex: 0 0 auto; width: 100%; max-width: 320px; }
}
@media (max-width: 560px) {
  .contact-form .form-row { grid-template-columns: 1fr; }
  .banner-contacts { gap: 18px; }
  .bc-item { flex: 0 0 45%; }
}

/* ===================================================
   ABOUT PAGE
   =================================================== */
.breadcrumb { font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb .sep { margin: 0 8px; color: var(--gold); }
.page-banner-content .hero-divider { margin-block: 10px 16px; }
.banner-script {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 30px;
  font-weight: 600;
  color: var(--gold-dark);
  margin-top: 18px;
}

/* ---- Split sections (content RIGHT · media LEFT) ---- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-content { text-align: right; }
.about-content > p { color: var(--ink-soft); font-size: 15px; margin-bottom: 14px; }
.about-media img { width: 100%; border-radius: 16px; object-fit: cover; box-shadow: var(--shadow); }
.about-heading {
  font-size: 26px; font-weight: 700; color: var(--ink); margin-bottom: 16px; position: relative;
}
.about-heading .accent { color: var(--gold-dark); }
.about-heading::after {
  content: ""; display: block; width: 56px; height: 2px; background: var(--gold);
  border-radius: 2px; margin-top: 10px;
}

/* ---- Mini feature rows (line icon + title + desc) ---- */
.mini-features { display: flex; gap: 8px; margin-top: 26px; text-align: center; }
.mini-features--grid { flex-wrap: wrap; }
.mini-feature { flex: 1; min-width: 110px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px 8px; }
.mini-feature + .mini-feature { border-inline-start: 1px solid var(--line); }
.mini-features--grid .mini-feature { border-inline-start: none; }
.mini-feature svg { width: 34px; height: 34px; stroke-width: 1.4; color: #C67C33; }
.mini-feature strong { font-size: 14px; font-weight: 700; color: var(--ink); }
.mini-feature span { font-size: 12px; color: var(--ink-soft); }

/* ---- Why choose us (circular icon badges) ---- */
.choose-grid { display: flex; justify-content: space-between; gap: 14px; text-align: center; flex-wrap: wrap; }
.choose-item { flex: 1; min-width: 120px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.choose-icon {
  width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream); border: 1px solid var(--line);
}
.choose-icon svg { width: 34px; height: 34px; stroke-width: 1.4; color: #C67C33; }
.choose-item strong { font-size: 15px; font-weight: 700; color: var(--ink); margin-top: 4px; }
.choose-item > span { font-size: 13px; color: var(--ink-soft); }

/* ---- CTA banner ---- */
.cta-banner {
  position: relative; overflow: hidden; border-radius: 16px;
  background: var(--cream-2) center / cover no-repeat;
  min-height: 260px; display: flex; align-items: center; justify-content: flex-start;
  padding: 40px 56px;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(270deg, rgba(250,244,236,.92) 0%, rgba(250,244,236,.5) 34%, rgba(250,244,236,0) 60%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 2; text-align: right; max-width: 460px; }
.cta-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.cta-head h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; color: var(--ink); }
.cta-icon svg { width: 46px; height: 46px; stroke-width: 1.3; color: #C67C33; }
.cta-content p { color: var(--ink-soft); font-size: 16px; margin-bottom: 22px; }

/* ---- About responsive ---- */
@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; gap: 26px; }
  .about-content { order: 2; }
  .about-media { order: 1; }
  .about-content, .about-heading { text-align: center; }
  .about-heading::after { margin-inline: auto; }
  .choose-item { flex: 0 0 30%; }
}
@media (max-width: 560px) {
  .mini-features { flex-wrap: wrap; }
  .mini-feature { flex: 0 0 45%; }
  .mini-feature + .mini-feature { border-inline-start: none; }
  .choose-item { flex: 0 0 45%; }
  .cta-banner { padding: 30px 24px; }
}

/* ===================================================
   SHOP PAGE
   =================================================== */
.shop-layout { display: grid; grid-template-columns: 1fr 280px; gap: 30px; align-items: start; }

/* ---- Sidebar ---- */
.filter-card { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px; }
.sidebar-title { text-align: center; font-size: 18px; font-weight: 700; color: var(--ink); padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.filter-block { border-bottom: 1px solid var(--line); padding: 16px 0; }
.filter-block:last-of-type { border-bottom: none; }
.filter-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; cursor: pointer; padding: 0;
  font-family: inherit; font-size: 15px; font-weight: 700; color: var(--ink);
}
.filter-head svg { width: 18px; height: 18px; color: var(--gold-dark); transition: transform .2s; }
.filter-block.collapsed .filter-body { display: none; }
.filter-body { margin-top: 14px; }
.opt { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; font-size: 14px; color: var(--ink-soft); cursor: pointer; }
.opt input { width: 16px; height: 16px; accent-color: var(--gold-dark); cursor: pointer; }
.opt input[type="radio"]:checked + span, .opt:has(input:checked) span { color: var(--gold-dark); font-weight: 600; }

/* price slider */
.price-slider { position: relative; height: 30px; }
.price-track { position: absolute; top: 13px; left: 4px; right: 4px; height: 4px; background: var(--line); border-radius: 2px; }
.price-fill { position: absolute; height: 100%; background: var(--gold); border-radius: 2px; }
.price-slider input[type="range"] {
  position: absolute; top: 6px; left: 0; width: 100%; height: 18px; margin: 0;
  -webkit-appearance: none; appearance: none; background: none; pointer-events: none;
}
.price-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 2px solid var(--gold-dark); cursor: pointer; pointer-events: auto;
  box-shadow: var(--shadow-sm);
}
.price-slider input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--gold-dark); cursor: pointer; pointer-events: auto;
}
.price-labels { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--gold-dark); margin-top: 8px; }
.clear-filter { width: 100%; margin-top: 18px; gap: 8px; }
.clear-filter svg { width: 16px; height: 16px; }

/* free shipping card — gift (LEFT) + text (RIGHT), button below */
.ship-card { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 22px; text-align: center; margin-top: 20px; }
.ship-top { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 16px; }
.ship-gift { width: 72px; height: auto; flex: 0 0 auto; }
.ship-text { text-align: right; }
.ship-text strong { display: block; font-size: 17px; color: var(--ink); }
.ship-text span { display: block; font-size: 13px; color: var(--ink-soft); }
.ship-card .btn { width: 100%; }

/* ---- Products area ---- */
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; flex-wrap: wrap; gap: 12px; }
.toolbar-right { display: flex; align-items: center; gap: 14px; }
.count { font-size: 14px; color: var(--ink-soft); }
.view-toggle { display: flex; gap: 6px; }
.view-toggle button {
  width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 6px; background: var(--white);
  color: var(--ink-soft); cursor: pointer; display: grid; place-items: center;
}
.view-toggle button svg { width: 18px; height: 18px; }
.view-toggle button.active { background: var(--gold); color: #fff; border-color: var(--gold); }
.sort-select select {
  /* The native <select> arrow (RTL renders it on the left) sits flush against the
     box edge regardless of padding-left, since browsers reserve that space themselves
     rather than respecting our padding — swap it for a custom chevron with real
     breathing room instead of fighting the native one. */
  -webkit-appearance: none; appearance: none;
  border: 1px solid var(--line); border-radius: 6px; padding: 9px 40px 9px 16px; font-family: inherit; font-size: 14px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat left 14px center;
  background-size: 15px;
  color: var(--ink); cursor: pointer;
}
.shop-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
/* list view — one column, cards laid out horizontally (image RIGHT · content LEFT) */
.shop-products.list-view { grid-template-columns: 1fr; }
.shop-products.list-view .product-card { display: flex; align-items: stretch; }
.shop-products.list-view .product-media { flex: 0 0 200px; }
.shop-products.list-view .product-media img,
.shop-products.list-view .product-media .placeholder { aspect-ratio: auto; height: 100%; }
.shop-products.list-view .product-body {
  flex: 1; border-top: none; border-inline-start: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center; text-align: right; padding: 20px 24px;
}
.shop-products.list-view .product-actions { justify-content: flex-start; max-width: 260px; }

/* ---- Shop responsive ---- */
@media (max-width: 992px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .shop-products { grid-template-columns: 1fr; }
}

/* ===================================================
   CART PAGE
   =================================================== */

/* ---- Lightweight header (no bg image), right-aligned ---- */
.cart-page-header { padding: 36px 0 30px; border-bottom: 1px solid var(--line); text-align: right; }
.cart-page-header .page-banner-title { font-size: clamp(28px, 2.8vw, 38px); margin: 10px 0 0; }
.cart-page-header .hero-divider { margin-block: 12px; }
.cart-count { color: var(--ink-soft); font-size: 15px; }

/* ---- Grid: summary (RIGHT, first) · items (LEFT) ---- */
.cart-grid { display: grid; grid-template-columns: 340px 1fr; gap: 30px; align-items: start; }

/* ---- Order summary card ---- */
.cart-summary { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 26px; position: sticky; top: 120px; }
.cart-summary .block-title { margin-bottom: 18px; }
.sum-row { display: flex; align-items: center; justify-content: space-between; font-size: 15px; color: var(--ink); padding: 8px 0; }
.sum-row span:first-child { color: var(--ink-soft); }
.sum-note { color: #4a8a5c; font-size: 13px; text-align: right; margin: 2px 0 12px; }
.sum-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; font-size: 18px; font-weight: 700; }
.sum-total span:first-child { color: var(--ink); font-weight: 700; }
.sum-total span:last-child { color: var(--gold-dark); }
.sum-vat { color: var(--ink-soft); font-size: 12px; text-align: right; margin-bottom: 18px; }
.btn-block { width: 100%; margin-top: 10px; }
.btn-applepay { color: var(--ink); }
.btn-applepay i { font-size: 20px; }

.sum-trust { display: flex; justify-content: space-between; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; }
.sum-trust-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sum-trust-item svg { width: 26px; height: 26px; stroke-width: 1.5; color: #C67C33; }
.sum-trust-item strong { font-size: 11.5px; font-weight: 700; color: var(--ink); }
.sum-trust-item span { font-size: 11px; color: var(--ink-soft); }

/* ---- Items table ---- */
.cart-items { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 6px 22px; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table thead th { font-size: 13px; font-weight: 700; color: var(--ink-soft); text-align: center; padding: 16px 8px; border-bottom: 1px solid var(--line); }
.cart-table thead th.cell-product { text-align: right; }
.cart-table tbody td { padding: 20px 8px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cart-table tbody tr:last-child td { border-bottom: none; }
.cart-table .cell-price { color: var(--ink-soft); font-size: 14px; }
.cart-table .cell-total { font-weight: 700; color: var(--ink); font-size: 15px; }

.cart-product { display: flex; align-items: center; gap: 14px; text-align: right; }
.cart-product img { width: 74px; height: 74px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; background: var(--cream); }
.cart-product strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.cart-product .size { display: block; font-size: 12.5px; color: var(--ink-soft); margin-bottom: 6px; }
.cart-remove {
  display: inline-flex; align-items: center; gap: 5px; background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 12.5px; color: #b5473f; padding: 0;
}
.cart-remove:hover { text-decoration: underline; }

.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.qty-stepper button {
  width: 30px; height: 32px; border: none; background: var(--cream); color: var(--ink);
  font-size: 16px; cursor: pointer; line-height: 1;
}
.qty-stepper button:hover { background: var(--gold); color: #fff; }
.qty-stepper input {
  width: 34px; height: 32px; border: none; border-inline: 1px solid var(--line); text-align: center;
  font-family: inherit; font-size: 14px; background: var(--white); color: var(--ink);
}

/* ---- empty state ---- */
.wishlist-loading, .wishlist-empty-msg { text-align: center; padding: 60px 20px; color: var(--ink-soft); font-size: 15px; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--ink-soft); }
.cart-empty svg { width: 54px; height: 54px; color: var(--gold); stroke-width: 1.3; margin-bottom: 14px; }
.cart-empty p { margin-bottom: 18px; font-size: 15px; }

/* ---- actions row under the table ---- */
.cart-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 4px 22px; flex-wrap: wrap; }
.btn-ghost { background: var(--cream); color: var(--ink-soft); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--cream-2); }
.btn-ghost svg { width: 16px; height: 16px; }

/* ---- shipping promo strip ---- */
.ship-promo {
  margin-top: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--cream);
  display: flex; overflow: hidden;
}
.ship-promo-item { flex: 1; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 22px; }
.ship-promo-item + .ship-promo-item { border-inline-start: 1px solid var(--line); }
.ship-promo-icon svg { width: 34px; height: 34px; stroke-width: 1.4; color: #C67C33; }
.ship-promo-item strong { display: block; font-size: 15px; color: var(--ink); }
.ship-promo-item span { font-size: 13px; color: var(--ink-soft); }

/* ---- Cart responsive ---- */
@media (max-width: 900px) {
  .cart-grid { grid-template-columns: 1fr; }
  /* Mobile: order details (cart-items) first, order summary last — order:1 pushes the
     summary (first in DOM, so it'd otherwise stack on top) below cart-items instead. */
  .cart-summary { position: static; order: 1; }
  .cart-table thead { display: none; }
  .cart-table tbody td { display: block; text-align: right; border-bottom: none; padding: 6px 4px; }
  .cart-table tbody tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .cart-table .cell-price, .cart-table .cell-total { display: flex; justify-content: space-between; }
  .cart-table .cell-price::before { content: attr(data-label); color: var(--ink-soft); }
  .cart-table .cell-total::before { content: attr(data-label); color: var(--ink-soft); font-weight: 400; }
  .cart-table .cell-qty { display: flex; justify-content: flex-end; }
  .ship-promo { flex-direction: column; }
  .ship-promo-item + .ship-promo-item { border-inline-start: none; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .cart-actions { flex-direction: column; align-items: stretch; }
  .sum-trust { flex-wrap: wrap; }
}

/* ===================================================
   CHECKOUT PAGE
   =================================================== */

/* ---- Centered page header ---- */
.checkout-page-header { padding: 36px 0 30px; border-bottom: 1px solid var(--line); text-align: center; }
.checkout-page-header .breadcrumb { justify-content: center; display: flex; }
.checkout-page-header .page-banner-title { font-size: clamp(28px, 2.8vw, 38px); margin: 10px 0 0; }
.checkout-page-header .hero-divider { margin-block: 12px; }
.checkout-sub { color: var(--ink-soft); font-size: 15px; }

/* ---- Grid: form (RIGHT, first) · summary (LEFT) ---- */
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: start; }

/* ---- Form cards ---- */
.checkout-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 26px; margin-bottom: 22px; }
.step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.step-head h2 { font-size: 19px; font-weight: 700; color: var(--ink); }
.step-num {
  width: 28px; height: 28px; border-radius: 50%; background: var(--gold-dark); color: #fff;
  font-size: 14px; font-weight: 700; display: grid; place-items: center; flex: 0 0 auto;
}
.checkout-card .checkout-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkout-card .form-field select {
  /* same native-arrow-crowds-the-edge issue as .sort-select — see its comment */
  -webkit-appearance: none; appearance: none;
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px 38px 12px 14px;
  font-family: inherit; font-size: 15px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat left 14px center;
  background-size: 15px;
  color: var(--ink); cursor: pointer;
}
.checkout-card .form-field select:focus { outline: none; border-color: var(--gold); }
.checkout-card .form-check { margin-top: 4px; }

/* ---- Selectable option cards (shipping / payment) ---- */
.option-list { display: flex; flex-direction: column; gap: 12px; }
.opt-card {
  display: flex; align-items: center; gap: 14px; justify-content: space-between;
  border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; cursor: pointer; transition: all .18s;
}
.opt-card.selected { border-color: var(--gold); background: var(--cream); }
.opt-card input[type="radio"] { width: 18px; height: 18px; accent-color: var(--gold-dark); flex: 0 0 auto; order: 4; }
.opt-icon { flex: 0 0 auto; order: 1; }
.opt-icon svg { width: 26px; height: 26px; stroke-width: 1.4; color: #C67C33; }
.opt-text { flex: 1; text-align: right; order: 2; }
.opt-text strong { display: block; font-size: 15px; color: var(--ink); }
.opt-text small { font-size: 12.5px; color: var(--ink-soft); }
.opt-price { font-weight: 700; color: var(--ink); font-size: 15px; order: 3; }
.opt-logos { display: flex; align-items: center; gap: 8px; order: 3; font-size: 24px; color: var(--ink-soft); }
.opt-logos .fa-cc-visa { color: #1a1f71; }
.opt-logos .fa-cc-mastercard { color: #eb001b; }
.opt-logos .fa-cc-amex { color: #2e77bc; }
.opt-logos .fa-apple-pay, .opt-logos .fa-google-pay { color: var(--ink); }

.ssl-note { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--ink-soft); font-size: 13px; margin-top: 18px; }
.checkout-consent { text-align: center; font-size: 12.5px; color: var(--ink-soft); margin-top: 12px; }
.checkout-consent a { color: var(--gold-dark); text-decoration: underline; }

/* ---- Order summary (left column) ---- */
.checkout-summary { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 24px; position: sticky; top: 120px; }
.cs-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cs-head .block-title { margin-bottom: 0; }
.cs-edit { font-size: 12.5px; color: var(--gold-dark); display: flex; align-items: center; gap: 5px; }
.cs-edit:hover { text-decoration: underline; }
.cs-edit i { font-size: 11px; }

.co-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.co-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.co-item-text { text-align: right; display: flex; flex-direction: column; }
.co-item-text strong { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.co-item-text small { font-size: 12px; color: var(--ink-soft); }
.co-item-price { font-size: 13.5px; font-weight: 700; color: var(--ink); margin-top: 4px; }
.co-item-qty { font-size: 11.5px; }
.co-item img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; background: var(--white); }

/* ---- promo strip: single-item variant ---- */
.ship-promo--single { justify-content: center; gap: 16px; padding: 22px; }

/* ---- Checkout responsive ---- */
@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: 1fr; }
  /* Mobile order: details + shipping-method form first, order summary next, payment
     card last. Payment lives inside the same real <form> as the rest (WooCommerce's
     checkout.js binds to form.checkout as a whole, not to any particular internal
     layout), so display:contents promotes the form's children into .checkout-grid's
     own grid — same trick as .header-left elsewhere — letting each card get its own
     `order` right alongside .checkout-summary instead of being stuck wherever it sits
     in the DOM. */
  .checkout-form { display: contents; }
  .checkout-form > * { order: 5; } /* submit button / terms / consent text: after payment */
  .checkout-card--details { order: 1; }
  .checkout-card--shipping { order: 2; }
  .checkout-summary { position: static; order: 3; }
  .checkout-card--payment { order: 4; }
  .checkout-card .checkout-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .opt-card { flex-wrap: wrap; }
}

/* ===================================================
   PRODUCT PAGE
   =================================================== */
.product-breadcrumb-bar { padding: 20px 0; border-bottom: 1px solid var(--line); }

/* ---- Grid: info (RIGHT, first) · gallery (LEFT) ---- */
.pdp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }

/* ---- Product info ---- */
.product-info { text-align: right; }
.product-flag {
  display: inline-block; border: 1px solid var(--gold); color: var(--gold-dark); background: var(--cream);
  font-size: 12.5px; font-weight: 600; padding: 5px 14px; border-radius: 20px; margin-bottom: 14px;
}
.product-title { font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.rating-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.rating-count { font-size: 13.5px; color: var(--ink-soft); }
.stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; }
.product-price { font-size: 30px; font-weight: 800; color: var(--gold-dark); }
.product-size { font-size: 14px; color: var(--ink-soft); margin-bottom: 16px; }
.product-desc { font-size: 15px; color: var(--ink-soft); margin-bottom: 6px; }

.product-divider { text-align: center; color: var(--gold); font-size: 10px; margin: 20px 0; position: relative; }
.product-divider::before, .product-divider::after {
  content: ""; position: absolute; top: 50%; width: calc(50% - 20px); height: 1px; background: var(--line);
}
.product-divider::before { right: 0; }
.product-divider::after { left: 0; }

.product-buy-row { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.product-add-btn { flex: 1; }
.wish-btn-lg { width: 46px; height: 46px; border-radius: 8px; border: 1px solid var(--line); background: var(--white); color: var(--ink-soft); cursor: pointer; font-size: 17px; transition: all .2s; }
.wish-btn-lg:hover, .wish-btn-lg.active { color: #d0546a; border-color: #d0546a; }
.product-buy-row .qty-stepper button { width: 36px; height: 38px; }
.product-buy-row .qty-stepper input { width: 42px; height: 38px; }

.product-mini-features { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 24px; text-align: center; }
.pmf-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pmf-item svg { width: 32px; height: 32px; stroke-width: 1.4; color: #C67C33; }
.pmf-item span { font-size: 12.5px; color: var(--ink); font-weight: 500; }

.product-ship-cards { display: flex; gap: 10px; }
.pship-card { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; text-align: right; }
.pship-card--accent { background: var(--cream); border-color: var(--gold); }
.pship-icon svg { width: 26px; height: 26px; stroke-width: 1.4; color: #C67C33; }
.pship-card strong { display: block; font-size: 14px; color: var(--ink); }
.pship-card span { font-size: 12.5px; color: var(--ink-soft); }

/* ---- Gallery ---- */
.product-gallery { display: flex; gap: 14px; }
.gallery-main { position: relative; flex: 1; border-radius: 14px; overflow: hidden; background: var(--cream); order: 1; }
.gallery-main img { width: 100%; height: 100%; aspect-ratio: 4/4.6; object-fit: cover; }
.gallery-zoom {
  position: absolute; bottom: 16px; left: 16px; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); color: var(--ink); cursor: pointer; box-shadow: var(--shadow-sm);
}
.gallery-thumbs { display: flex; flex-direction: column; gap: 10px; order: 2; }
.thumb { width: 86px; height: 86px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--cream); flex: 0 0 auto; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active { border-color: var(--gold); }

/* ---- Tabs ---- */
.product-tabs { display: flex; justify-content: flex-end; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 30px; flex-wrap: wrap; }
.ptab {
  background: none; border: none; font-family: inherit; font-size: 15px; color: var(--ink-soft); cursor: pointer;
  padding: 14px 2px; position: relative;
}
.ptab.active { color: var(--gold-dark); font-weight: 700; }
.ptab.active::after { content: ""; position: absolute; bottom: -1px; right: 0; left: 0; height: 2px; background: var(--gold); border-radius: 2px; }
.pd-placeholder { color: var(--ink-soft); text-align: center; padding: 40px 0; }

.product-detail-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.pd-text { text-align: right; }
.pd-text > p { color: var(--ink-soft); font-size: 15px; margin-bottom: 24px; }
.pd-heading { font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.pd-heading .accent { color: var(--gold-dark); }
.adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 22px; }
.adv-item { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.adv-num { color: var(--gold-dark); font-weight: 700; font-size: 13px; }
.pd-media img { width: 100%; border-radius: 14px; object-fit: cover; box-shadow: var(--shadow-sm); }

/* ---- Product responsive ---- */
@media (max-width: 900px) {
  .pdp-grid { grid-template-columns: 1fr; }
  .product-gallery { order: -1; flex-direction: column-reverse; }
  .gallery-thumbs { flex-direction: row; overflow-x: auto; }
  .product-detail-split { grid-template-columns: 1fr; }
  .pd-media { order: -1; }
}
@media (max-width: 560px) {
  .adv-grid { grid-template-columns: 1fr; }
  .product-mini-features { flex-wrap: wrap; }
  .pmf-item { flex: 0 0 45%; }
  .product-tabs { justify-content: center; gap: 18px; }
  .product-ship-cards { flex-direction: column; }
}

/* ===================================================
   MINI CART DRAWER (global — opens from the header cart icon)
   =================================================== */
.minicart-overlay {
  position: fixed; inset: 0; background: rgba(20,15,10,.45);
  z-index: 300; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.minicart-overlay.open { opacity: 1; pointer-events: auto; }

.minicart {
  position: fixed; top: 0; left: 0; height: 100vh; width: 400px; max-width: 92vw;
  background: var(--white); z-index: 301; box-shadow: 10px 0 30px rgba(0,0,0,.15);
  display: flex; flex-direction: column;
  transform: translateX(-100%); transition: transform .3s ease;
}
.minicart.open { transform: translateX(0); }

.minicart-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.minicart-head h3 { font-size: 18px; font-weight: 700; color: var(--ink); }
.minicart-close {
  background: none; border: none; font-size: 16px; color: var(--ink-soft); cursor: pointer;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
}
.minicart-close:hover { background: var(--cream); color: var(--ink); }

.minicart-items { flex: 1; overflow-y: auto; padding: 0 24px; }
/* row = image(right) · body(middle) · remove(left) — plain flex children, no overlap */
.mc-item { display: flex; align-items: flex-start; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.mc-item:last-child { border-bottom: none; }
.mc-item img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; background: var(--cream); }
.mc-item-body { flex: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; min-width: 0; }
.mc-item-text { text-align: right; display: flex; flex-direction: column; gap: 6px; }
.mc-item-text strong { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.mc-item-price { font-size: 14px; font-weight: 700; color: var(--gold-dark); }
.mc-qty { flex: 0 0 auto; }
.mc-qty button { width: 26px; height: 28px; font-size: 14px; }
.mc-qty input { width: 28px; height: 28px; font-size: 13px; }
.mc-item-remove {
  flex: 0 0 auto; background: none; border: none; color: var(--ink-soft);
  cursor: pointer; font-size: 12px; width: 22px; height: 22px; margin-top: 2px;
}
.mc-item-remove:hover { color: #b5473f; }

.minicart-footer { padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.mc-subtotal-row { display: flex; align-items: center; justify-content: space-between; font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.mc-subtotal-row span:last-child { color: var(--gold-dark); }
.mc-note { font-size: 12.5px; color: var(--ink-soft); text-align: right; margin-bottom: 16px; }
.minicart-footer .btn { width: 100%; margin-bottom: 10px; }
.mc-trust { display: flex; justify-content: space-between; gap: 6px; margin-top: 14px; font-size: 11px; color: var(--ink-soft); flex-wrap: wrap; }
.mc-trust span { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.mc-trust i { color: var(--gold-dark); font-size: 12px; }

@media (max-width: 420px) {
  .minicart { width: 100vw; }
}

/* Mobile nav drawer — same overlay + slide-in-panel pattern as .minicart, and now also
   anchored to the LEFT edge same as .minicart (both are real full-height fixed panels;
   only the CSS class differentiates them). */
.mobile-nav-overlay {
  position: fixed; inset: 0; background: rgba(20,15,10,.45);
  z-index: 300; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: auto; }

.mobile-nav-drawer {
  position: fixed; top: 0; left: 0; height: 100vh; width: 320px; max-width: 88vw;
  background: var(--white); z-index: 301; box-shadow: 10px 0 30px rgba(0,0,0,.15);
  display: flex; flex-direction: column;
  transform: translateX(-100%); transition: transform .3s ease;
  overflow-y: auto;
}
.mobile-nav-drawer.open { transform: translateX(0); }

.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.mobile-nav-head h3 { font-size: 18px; font-weight: 700; color: var(--ink); }
.mobile-nav-close {
  background: none; border: none; font-size: 16px; color: var(--ink-soft); cursor: pointer;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
}
.mobile-nav-close:hover { background: var(--cream); color: var(--ink); }

.mobile-nav-links { padding: 8px 24px 24px; }
.mobile-nav-links ul { list-style: none; }
/* header.php renders nav-right and nav-left as two separate <ul>s back to back in the
   same drawer — a plain li:last-child would strip the border off the last item of EACH
   list (leaving a gap mid-list after nav-right's last item), so only the last item of
   the last list loses its border, keeping the divider consistent all the way down. */
.mobile-nav-links li { border-bottom: 1px solid var(--line); }
.mobile-nav-links ul:last-of-type li:last-child { border-bottom: none; }
.mobile-nav-links a { display: block; padding: 14px 2px; font-size: 15.5px; color: var(--ink); }
.mobile-nav-links a:hover, .mobile-nav-links a.active { color: var(--gold-dark); }

@media (max-width: 380px) {
  .mobile-nav-drawer { width: 100vw; max-width: 100vw; }
}

/* ===================================================
   PRODUCT IMAGE LIGHTBOX
   =================================================== */
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(10,8,6,.92); z-index: 400;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.lightbox-overlay.open { opacity: 1; pointer-events: auto; }

.lightbox-stage { position: relative; max-width: min(80vw, 900px); max-height: 80vh; }
.lightbox-stage img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 10px; display: block; margin: 0 auto; }
.lightbox-counter {
  position: absolute; bottom: -36px; left: 50%; transform: translateX(-50%);
  color: #f1e9dc; font-size: 13px; letter-spacing: .5px;
}

.lightbox-close, .lightbox-arrow {
  position: fixed; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25);
  color: #fff; font-size: 17px; cursor: pointer; display: grid; place-items: center;
  transition: background .2s;
}
.lightbox-close:hover, .lightbox-arrow:hover { background: rgba(255,255,255,.2); }
.lightbox-close { top: 22px; left: 22px; }
.lightbox-arrow { top: 50%; transform: translateY(-50%); }
.lightbox-prev { right: 30px; }
.lightbox-next { left: 30px; }

@media (max-width: 640px) {
  .lightbox-close { top: 14px; left: 14px; width: 40px; height: 40px; }
  .lightbox-arrow { width: 40px; height: 40px; }
  .lightbox-prev { right: 12px; }
  .lightbox-next { left: 12px; }
  .lightbox-stage { max-width: 90vw; }
}

/* ===================================================
   PRODUCT TABS — extra content (benefits / ingredients / how-to / reviews)
   =================================================== */
.product-benefits-grid { margin-top: 4px; }

/* ---- Ingredients ---- */
.ingredient-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ingredient-item { display: flex; align-items: flex-start; gap: 14px; text-align: right; }
.ingredient-icon {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: var(--cream);
  border: 1px solid var(--line); display: grid; place-items: center;
}
.ingredient-icon svg { width: 22px; height: 22px; stroke-width: 1.4; color: #C67C33; }
.ingredient-item strong { display: block; font-size: 14.5px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.ingredient-item p { font-size: 13.5px; color: var(--ink-soft); }
.ingredient-note { margin-top: 24px; font-size: 12.5px; color: var(--ink-soft); text-align: center; }

/* ---- How to use ---- */
.steps-list { display: flex; flex-direction: column; gap: 4px; max-width: 640px; margin: 0 auto; }
.step-item { display: flex; align-items: flex-start; gap: 16px; text-align: right; padding: 14px 0; border-bottom: 1px solid var(--line); }
.step-item:last-child { border-bottom: none; }
.step-circle {
  flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: var(--gold-dark); color: #fff;
  font-size: 14px; font-weight: 700; display: grid; place-items: center;
}
.step-item strong { display: block; font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.step-item p { font-size: 13.5px; color: var(--ink-soft); }
.howto-tip {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin: 26px auto 0; max-width: 640px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px;
  font-size: 13.5px; color: var(--ink); text-align: center;
}
.howto-tip svg { width: 18px; height: 18px; stroke-width: 1.5; color: var(--gold-dark); flex: 0 0 auto; }

/* ---- Reviews ---- */
.reviews-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }

.review-summary { text-align: center; border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px; background: var(--cream); position: sticky; top: 120px; }
.rs-score { font-size: 44px; font-weight: 800; color: var(--ink); line-height: 1; }
.rs-stars { color: var(--gold); font-size: 15px; letter-spacing: 2px; margin: 10px 0 6px; }
.rs-count { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 20px; }
.rs-bars { display: flex; flex-direction: column; gap: 8px; }
.rs-bar-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-soft); }
.rs-bar-label { flex: 0 0 10px; }
.rs-bar-track { flex: 1; height: 6px; background: var(--line); border-radius: 4px; overflow: hidden; }
.rs-bar-fill { height: 100%; background: var(--gold); border-radius: 4px; }
.rs-bar-pct { flex: 0 0 30px; text-align: left; }

.review-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 30px; }
.review-item { display: flex; align-items: flex-start; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.review-item:last-child { border-bottom: none; padding-bottom: 0; }
.review-avatar {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--cream-3); color: var(--gold-dark);
  font-size: 13px; font-weight: 700; display: grid; place-items: center;
}
.review-body { flex: 1; text-align: right; }
.review-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.review-top strong { font-size: 14.5px; color: var(--ink); }
.review-verified { font-size: 11.5px; color: #4a8a5c; display: flex; align-items: center; gap: 4px; }
.review-stars-sm { display: flex; align-items: center; gap: 8px; color: var(--gold); font-size: 12px; letter-spacing: 1.5px; margin-bottom: 8px; }
.review-date { color: var(--ink-soft); font-size: 12px; letter-spacing: 0; }
.review-body p { font-size: 14px; color: var(--ink-soft); }

.review-form-card { border: 1px solid var(--line); border-radius: 14px; padding: 26px; background: var(--white); }
.review-form-title { text-align: right; margin-bottom: 18px; }
.rf-stars { display: flex; gap: 6px; font-size: 20px; color: var(--gold); cursor: pointer; justify-content: flex-end; }
.rf-stars i { transition: transform .1s; }
.rf-stars i:hover { transform: scale(1.15); }

/* ---- Reviews / tabs responsive ---- */
@media (max-width: 900px) {
  .reviews-layout { grid-template-columns: 1fr; }
  .review-summary { position: static; }
  .ingredient-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ingredient-grid { grid-template-columns: 1fr; }
  .review-top { flex-direction: column; align-items: flex-end; gap: 2px; }
}

/* ===================================================
   WORDPRESS INTEGRATION (added when porting to the WP theme)
   =================================================== */
/* WP's nav-menu walker marks the current page on the <li>, not the <a> like our static
   .active class did — reuse the same visual treatment via the native current-item classes. */
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  color: var(--gold-dark);
  font-weight: 600;
}
.main-nav .current-menu-item > a::after,
.main-nav .current_page_item > a::after {
  content: "";
  position: absolute;
  bottom: -2px; right: 0; left: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* Contact Form 7's own markup (wpcf7-form-control-wrap / wpcf7-form-control) reuses our
   .form-field visual language without needing bespoke CF7 CSS. */
.contact-form-card .wpcf7-form p { margin: 0 0 16px; }
.contact-form-card .wpcf7-form label { display: block; font-size: 14px; color: var(--ink); margin-bottom: 6px; text-align: right; }
.contact-form-card .wpcf7-form-control:not([type="submit"]):not([type="checkbox"]) {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  background: var(--white);
  color: var(--ink);
  /* same LTR-by-default browser quirk as .form-field input — see that rule's comment */
  direction: rtl;
  text-align: right;
}
.contact-form-card .wpcf7-form-control:focus { outline: none; border-color: var(--gold); }

/* CF7's real [acceptance] markup (span.wpcf7-form-control-wrap > .wpcf7-acceptance >
   .wpcf7-list-item > label > input + span.wpcf7-list-item-label) doesn't use our
   .form-check class at all, so it previously had no spacing of its own and sat flush
   against the submit button below it — style it directly via CF7's real classes. */
.contact-form-card .wpcf7-acceptance { display: block; margin: 4px 0 18px; }
.contact-form-card .wpcf7-list-item { display: block; }
.contact-form-card .wpcf7-list-item label {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--ink-soft); cursor: pointer;
}
.contact-form-card .wpcf7-list-item input[type="checkbox"] {
  width: 16px; height: 16px; accent-color: var(--gold-dark); flex: 0 0 auto; margin: 0;
}
.contact-form-card .wpcf7-form-control[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  border: none; border-radius: 6px; padding: 13px 30px;
  background: linear-gradient(135deg, var(--bronze-1), var(--gold-dark));
  color: #fff; transition: all .22s ease;
}
.contact-form-card .wpcf7-form-control[type="submit"]:hover { filter: brightness(1.06); transform: translateY(-2px); }
.contact-form-card .wpcf7-response-output { border-radius: 8px; font-size: 13.5px; margin-top: 14px; }
.contact-form-card .wpcf7-not-valid-tip { color: #d0546a; font-size: 12.5px; margin-top: 4px; }

/* mini-cart empty state */
.mc-empty { text-align: center; color: var(--ink-soft); padding: 40px 0; font-size: 14px; }

/* newsletter submit button disabled state during AJAX */
.newsletter-form button[disabled] { opacity: .6; cursor: default; }

/* Inert state for cart-summary checkout buttons when the cart is empty */
.btn.disabled { opacity: .5; pointer-events: none; cursor: default; }

/* Checkout — real WooCommerce notices (e.g. "no shipping options yet") that don't
   have decorative markup of their own */
.woocommerce-notice { font-size: 13.5px; color: var(--ink-soft); background: var(--cream); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; }

/* Thank-you / order-received page */
.thankyou-icon { font-size: 46px; color: var(--gold-dark); margin-bottom: 6px; }
.thankyou-icon--failed { color: #b0433e; }
.thankyou-container { max-width: 760px; margin: 0 auto; }
.order-summary-card { border: 1px solid var(--line); border-radius: 14px; padding: 26px; background: var(--white); }
.order-summary-card + .order-summary-card { margin-top: 20px; }
.order-overview { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.oo-item { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.oo-item span { color: var(--ink-soft); font-size: 12.5px; }
.oo-item strong { color: var(--ink); }
.thankyou-actions { display: flex; gap: 14px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.order-instructions { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
.order-instructions p:last-child { margin-bottom: 0; }

/* My Account — nav(right) + content(left), matching .shop-layout's sidebar pattern.
   Selector specificity note: WooCommerce's own woocommerce-layout.css ships
   ".woocommerce-account .woocommerce-MyAccount-navigation { float:right; width:30% }"
   — our <nav> keeps that real WC class (functionality depends on it) alongside our own
   .account-nav-card, so a plain ".account-nav-card" rule (one class) loses to WC's two-
   class rule regardless of load order. ".account-layout .account-nav .account-nav-card"
   (three classes) unambiguously outranks it. */
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .account-layout { grid-template-columns: 1fr; } }

.account-layout .account-nav .account-nav-card { float: none; width: 100%; }
.account-nav-card { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.account-nav-card ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.account-nav-card a {
  display: block; padding: 12px 14px; border-radius: 9px; font-size: 14.5px; font-weight: 500;
  color: var(--ink-soft); transition: all .2s;
}
.account-nav-card a:hover { background: var(--white); color: var(--ink); }
.account-nav-card li.is-active a { background: var(--white); color: var(--gold-dark); font-weight: 700; box-shadow: 0 1px 4px rgba(0,0,0,.06); }

.account-content { min-width: 0; }
.account-section-title { font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.account-section-subtitle { font-size: 16px; font-weight: 700; color: var(--ink); margin: 24px 0 12px; }
.account-welcome-text { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 24px; }
.account-welcome-text a { color: var(--gold-dark); text-decoration: underline; }
.account-empty-msg { color: var(--ink-soft); margin-bottom: 16px; }

.account-quicklinks { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.account-quicklink {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: var(--white);
  transition: all .2s;
}
.account-quicklink:hover { border-color: var(--gold); box-shadow: 0 6px 18px rgba(0,0,0,.06); transform: translateY(-2px); }
.account-quicklink svg { width: 22px; height: 22px; color: var(--gold-dark); stroke-width: 1.6; margin-bottom: 4px; }
.account-quicklink strong { font-size: 15px; color: var(--ink); }
.account-quicklink span { font-size: 13px; color: var(--ink-soft); }

.account-table { width: 100%; border-collapse: collapse; }
.account-table th, .account-table td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: center; font-size: 14px; }
.account-table thead th { color: var(--ink-soft); font-weight: 700; font-size: 13px; }
.account-table .woocommerce-orders-table__cell-order-number { text-align: right; }
.account-table .woocommerce-orders-table__cell-order-number a { color: var(--gold-dark); font-weight: 700; }
.account-order-status { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; background: var(--cream); color: var(--ink-soft); }
.account-order-status--completed, .account-order-status--processing { background: #e4f3e6; color: #2e7d32; }
.account-order-status--cancelled, .account-order-status--failed { background: #fbe6e6; color: #b5473f; }
.account-pagination { display: flex; gap: 10px; justify-content: center; margin-top: 20px; }

.account-auth-card .form-check { margin: 4px 0 18px; }
.account-lost-password { text-align: center; margin-top: 14px; font-size: 13.5px; }
.account-lost-password a { color: var(--gold-dark); text-decoration: underline; }
.account-auto-password-note { font-size: 13px; color: var(--ink-soft); margin-bottom: 16px; }

.account-order-intro mark { background: none; color: var(--gold-dark); font-weight: 700; }
.woocommerce-OrderUpdates { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.woocommerce-OrderUpdate-inner { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: var(--cream); }
.woocommerce-OrderUpdate-meta { font-size: 12px; color: var(--ink-soft); margin-bottom: 4px; }

/* Light reskin of WooCommerce's own real order-details table (do_action('woocommerce_view_order')) */
.woocommerce-table--order-details { width: 100%; border-collapse: collapse; margin: 20px 0; }
.woocommerce-table--order-details th, .woocommerce-table--order-details td { padding: 12px 10px; border-bottom: 1px solid var(--line); font-size: 14px; text-align: center; }
.woocommerce-table--order-details thead th { color: var(--ink-soft); font-weight: 700; font-size: 13px; }
.woocommerce-table--order-details tfoot th, .woocommerce-table--order-details tfoot td { font-weight: 700; }
/* The real two-address-columns element WooCommerce renders is the INNER
   .woocommerce-columns section (.col2-set > .col-1 / .col-2), not the outer
   .woocommerce-customer-details wrapper — that wrapper has only one child (this
   section), so putting display:grid on the wrapper itself created two 1fr tracks for
   a single grid item, leaving one track empty and squeezing both addresses into the
   other. Grid goes on the inner section instead, and WooCommerce's own real
   .col2-set .col-1/.col-2 float:right/left;width:48% (woocommerce-layout.css) is
   neutralized here since it would otherwise still apply alongside the grid. */
.woocommerce-customer-details { margin-top: 24px; }
.woocommerce-customer-details .woocommerce-columns--addresses {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; width: 100%;
}
.woocommerce-customer-details .woocommerce-columns--addresses .col-1,
.woocommerce-customer-details .woocommerce-columns--addresses .col-2 {
  float: none; width: auto;
}
/* WooCommerce's .col2-set::before/::after are a clearfix hack for the float layout
   above ("content:' '; display:table") — once that element is display:grid instead,
   those two generated boxes become real (empty) grid items too, so the auto-placement
   algorithm lays out 4 items across a 2x2 grid instead of 2 items side by side. They
   serve no purpose once floats are gone, so remove them outright. */
.woocommerce-customer-details .woocommerce-columns--addresses::before,
.woocommerce-customer-details .woocommerce-columns--addresses::after {
  content: none !important;
  display: none !important;
}
@media (max-width: 700px) {
  .woocommerce-customer-details .woocommerce-columns--addresses { grid-template-columns: 1fr; }
}
.woocommerce-column__title { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.woocommerce-customer-details address { font-style: normal; font-size: 14px; color: var(--ink-soft); line-height: 1.7; }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; cursor: pointer; padding: 20px 4px;
  font-family: inherit; font-size: 16px; font-weight: 600; color: var(--ink); text-align: right;
}
.faq-question svg { width: 18px; height: 18px; color: var(--gold-dark); flex: 0 0 auto; transition: transform .25s; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-answer > p { overflow: hidden; margin: 0; padding: 0 4px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer > p { padding-bottom: 20px; }

/* Info pages (Shipping/Returns/Terms) — native page content, styled for reading */
.info-page-content { color: var(--ink-soft); font-size: 15px; line-height: 1.8; text-align: right; }
.info-page-content h2 { font-size: 20px; font-weight: 700; color: var(--ink); margin: 28px 0 12px; }
.info-page-content h2:first-child { margin-top: 0; }
.info-page-content h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 20px 0 10px; }
.info-page-content p { margin-bottom: 14px; }
.info-page-content ul, .info-page-content ol { margin: 0 0 14px; padding-inline-start: 22px; }
.info-page-content li { margin-bottom: 6px; }
.info-page-content a { color: var(--gold-dark); text-decoration: underline; }

/* Blog listing — same two-part card pattern as .category-card (full-bleed image top,
   content on white below), just a wider 16:10 image ratio and blog-specific fields. */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; transition: transform .22s, box-shadow .22s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-media { display: block; }
.blog-media img { display: block; width: 100%; height: 190px; object-fit: cover; }
.blog-body { padding: 18px 18px 22px; border-top: 1px solid var(--line); text-align: right; }
.blog-date { font-size: 12px; color: var(--gold-dark); font-weight: 600; }
.blog-title-link h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 6px 0 10px; line-height: 1.4; }
.blog-excerpt { font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 16px; }

/* WP core utility — visually hides an element while keeping it available to
   screen readers/form submission (used for the real <select name="rating"> behind
   the review form's star-icon widget). */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
