/* ==========================================================
   CutX Studio — Storefront Stylesheet v2
   Palette: White / Black / Gold only (+ minimal red/green for
   form validation states, which are a UX/accessibility necessity).
   Mobile-first, no framework, no emoji — icons only.
   ========================================================== */

:root {
  --white: #FFFFFF;      /* page/card background — dashboard-controlled */
  --cream: #FAF8F4;      /* alt/surface background — dashboard-controlled */
  --surface: #FAF8F4;    /* alias of --cream, used for a few newer sections */
  --gold: #B8912F;       /* accent — dashboard-controlled */
  --gold-dark: #93711F;
  --gold-light: #E8D9B5;
  --border: #E7E2D6;     /* dashboard-controlled */
  --text: #1A1A1A;       /* primary text — dashboard-controlled */
  --text-muted: #6E6A61; /* secondary text — dashboard-controlled */
  --ink: #1A1A1A;        /* FIXED near-black, always readable on a gold fill — not theme-controlled */
  --black: #111111;      /* legacy alias, kept for any third-party overrides */
  --black-soft: #1E1E1E;
  --danger: #B3261E;
  --success: #256B3F;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 4px 24px rgba(17,17,17,.08);
  --shadow-lg: 0 12px 40px rgba(17,17,17,.16);
  --container: 1280px;
  --font: 'Helvetica Neue', Arial, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 28px; height: 28px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
@media (max-width: 480px) { .container { padding: 0 16px; } }
.section { padding-top: 56px; padding-bottom: 56px; }
.section-tight { padding-top: 32px; padding-bottom: 32px; }
.eyebrow { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; margin-bottom: 8px; display: block; }
.section-title { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; gap: 12px; flex-wrap: wrap; }
.section-title h2 { font-size: 26px; margin: 0; }
.section-title .view-all { font-size: 12.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--text); display: inline-flex; align-items: center; gap: 6px; border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius); border: 1.5px solid transparent;
  font-weight: 700; font-size: 13px; letter-spacing: .03em; text-transform: uppercase;
  transition: all .18s ease; white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn-outline { background: transparent; border-color: var(--text); color: var(--text); }
.btn-outline:hover { background: var(--text); color: var(--white); }
.btn-whatsapp { background: #25D366; color: #FFFFFF; border-color: #25D366; margin-top: 10px; }
.btn-whatsapp:hover { background: #1EBE5A; border-color: #1EBE5A; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 11.5px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn .icon { width: 16px; height: 16px; }

/* ---------------- Announcement bar ---------------- */
.topbar {
  background: var(--gold); color: var(--ink); font-size: 12px; letter-spacing: .03em;
  text-align: center; padding: 9px 16px; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.topbar .icon { color: var(--gold); width: 15px; height: 15px; }
.topbar a { color: var(--gold-light); font-weight: 700; border-bottom: 1px solid var(--gold-light); }
.topbar .sep { opacity: .35; }

/* ---------------- Header ---------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: 0 1px 3px rgba(17,17,17,.03); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo { font-size: 22px; font-weight: 800; letter-spacing: -.01em; color: var(--text); }
.logo span { color: var(--gold); }
.logo-img { width: auto; display: block; }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav li { position: relative; }
.main-nav a { font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--text); padding: 8px 0; position: relative; display: flex; align-items: center; gap: 4px; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .2s ease; }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a .icon-sm { width: 12px; height: 12px; margin-top: 1px; transition: transform .15s ease; }
.main-nav li.has-dropdown:hover a .icon-sm { transform: rotate(180deg); }

.mega-dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); min-width: 200px; padding: 10px; z-index: 90;
  opacity: 0; visibility: hidden; transition: opacity .15s ease, transform .15s ease;
}
.main-nav li.has-dropdown:hover .mega-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-dropdown a { display: block; padding: 9px 12px; font-size: 13px; font-weight: 500; border-radius: 6px; }
.mega-dropdown a::after { display: none; }
.mega-dropdown a:hover { background: var(--cream); color: var(--gold-dark); }

.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--text); transition: background .15s ease;
}
.icon-btn:hover { background: var(--cream); }
.cart-count {
  position: absolute; top: 2px; right: 2px; background: var(--gold); color: var(--ink);
  font-size: 9.5px; font-weight: 800; width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}

.search-toggle { display: flex; }
.search-overlay {
  position: fixed; inset: 0; background: rgba(17,17,17,.5); z-index: 199; display: none;
  align-items: flex-start; justify-content: center; padding-top: 90px;
}
.search-overlay.open { display: flex; }
.search-overlay-box { width: min(560px, 92vw); background: var(--white); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-lg); }
.search-overlay-box form { display: flex; gap: 8px; }
.search-overlay-box input { flex: 1; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 12px 14px; font-size: 14px; background: var(--white); color: var(--text); }
.search-overlay-box button { width: 46px; border: 1.5px solid var(--gold); background: var(--gold); color: var(--ink); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }

.mobile-menu-toggle {
  display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; color: var(--text);
}

/* Mobile off-canvas nav */
.mobile-nav {
  position: fixed; top: 0; left: -300px; width: 288px; height: 100%; background: var(--white);
  box-shadow: var(--shadow-lg); z-index: 200; transition: left .25s ease; overflow-y: auto; padding: 22px;
}
.mobile-nav.open { left: 0; }
.mobile-nav-overlay { position: fixed; inset: 0; background: rgba(17,17,17,.45); z-index: 190; display: none; }
.mobile-nav-overlay.open { display: block; }
.mobile-nav-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mobile-nav-close { color: var(--text); }
.mobile-nav h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin: 20px 0 8px; }
.mobile-nav li a { display: flex; align-items: center; gap: 10px; padding: 11px 0; font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--border); }

@media (min-width: 960px) {
  .main-nav { display: block; }
  .mobile-menu-toggle { display: none; }
}

/* ---------------- Hero ---------------- */
.hero { background: var(--cream); }
.hero-inner { display: grid; gap: 28px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.hero-content .eyebrow { display: flex; align-items: center; gap: 8px; }
.hero-content h1 { font-size: 32px; }
.hero-content p { color: var(--text-muted); margin-bottom: 24px; font-size: 15.5px; max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { display: flex; align-items: center; justify-content: center; padding: 0; width: 100%; margin-top: 24px; }
.hero-collage {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 100px 100px;
  gap: 10px; width: 100%; max-width: 340px;
}
.collage-box { border-radius: var(--radius-lg); overflow: hidden; background: var(--cream); border: 1px solid var(--gold-light); }
.collage-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.collage-box-1 { grid-column: 1; grid-row: 1; }
.collage-box-2 { grid-column: 2; grid-row: 1 / span 2; }
.collage-box-3 { grid-column: 1; grid-row: 2; }
.collage-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--gold-light); }

@media (min-width: 640px) {
  .hero-art { margin-top: 0; }
  .hero-collage { grid-template-rows: 130px 130px; max-width: 380px; }
}
@media (min-width: 860px) {
  .hero-collage { grid-template-rows: 150px 150px; max-width: 420px; }
}

@media (min-width: 860px) {
  .hero-inner { grid-template-columns: 1fr 1fr; padding-top: 64px; padding-bottom: 64px; }
  .hero-content h1 { font-size: 46px; }
}

/* ---------------- Hero Slider (admin-managed banners) ---------------- */
.hero-slider { position: relative; width: 100%; aspect-ratio: 16/6; min-height: 240px; overflow: hidden; background: var(--cream); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; display: block; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slider-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; z-index: 5; }
.hero-slider-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; }
.hero-slider-dots .dot.active { background: var(--gold); width: 22px; border-radius: 4px; }
.hero-slider-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--ink); display: flex; align-items: center; justify-content: center;
  z-index: 6; box-shadow: var(--shadow); transition: background .15s ease;
}
.hero-slider-nav:hover { background: var(--white); color: var(--gold-dark); }
.hero-slider-nav.prev { left: 18px; }
.hero-slider-nav.next { right: 18px; }
@media (max-width: 640px) { .hero-slider { aspect-ratio: 3/4; } .hero-slider-nav { width: 36px; height: 36px; } }

/* ---------------- Trust Bar ---------------- */
.trust-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--white); }
.trust-bar-inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item .icon { color: var(--gold); width: 26px; height: 26px; }
.trust-item .label { font-size: 12.5px; font-weight: 700; }
.trust-item .sub { font-size: 11px; color: var(--text-muted); }
@media (min-width: 760px) { .trust-bar-inner { grid-template-columns: repeat(4, 1fr); } }

/* ---------------- Category Scroller ---------------- */
.cat-scroller-wrap { position: relative; }
.cat-scroller { display: flex; gap: 22px; overflow-x: auto; scroll-behavior: smooth; padding: 6px 2px 14px; scrollbar-width: none; }
.cat-scroller::-webkit-scrollbar { display: none; }
.cat-scroller-item { flex: 0 0 auto; width: 108px; text-align: center; }
.cat-scroller-circle { width: 108px; height: 108px; border-radius: 50%; overflow: hidden; border: 2px solid var(--gold-light); margin-bottom: 10px; background: var(--cream); transition: border-color .2s ease; }
.cat-scroller-item:hover .cat-scroller-circle { border-color: var(--gold); }
.cat-scroller-circle img { width: 100%; height: 100%; object-fit: cover; }
.cat-scroller-item .name { font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.cat-scroller-nav { position: absolute; top: 40%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--border); display: none; align-items: center; justify-content: center; box-shadow: var(--shadow); z-index: 5; color: var(--text); }
.cat-scroller-nav.prev { left: -14px; } .cat-scroller-nav.next { right: -14px; }
@media (min-width: 860px) { .cat-scroller-nav { display: flex; } }

/* ---------------- Product Grid & Card ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1020px) { .product-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
@media (min-width: 1280px) { .product-grid.grid-5 { grid-template-columns: repeat(5, 1fr); } }

.product-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; display: flex; flex-direction: column; position: relative; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--gold-light); }
.product-thumb { position: relative; aspect-ratio: 1/1; background: var(--cream); overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.product-card:hover .product-thumb img { transform: scale(1.04); }
.badge { position: absolute; top: 10px; left: 10px; background: var(--gold); color: var(--ink); font-size: 10px; font-weight: 800; letter-spacing: .04em; padding: 4px 9px; border-radius: 20px; text-transform: uppercase; }
.badge.badge-sale { background: var(--gold); }
.wishlist-quick { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; color: var(--ink); box-shadow: var(--shadow); }
.wishlist-quick.active { color: var(--gold); }

.product-info { padding: 10px; flex: 1; display: flex; flex-direction: column; }
.product-info h3 { font-size: 12.5px; font-weight: 600; margin: 0 0 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 32px; line-height: 1.35; }
.price-row { display: flex; align-items: baseline; gap: 7px; margin-top: auto; margin-bottom: 8px; }
.price { font-weight: 800; font-size: 14px; color: var(--text); }
.price-strike { font-size: 11.5px; color: var(--text-muted); text-decoration: line-through; }
.rating-row { display: flex; align-items: center; gap: 4px; font-size: 10.5px; color: var(--text-muted); margin-bottom: 4px; }
.stars { display: inline-flex; gap: 1px; color: var(--gold); }
.stars .icon { width: 11px; height: 11px; }
.card-actions { display: flex; gap: 6px; }
.add-to-cart-mini { flex: 0 0 auto; width: 36px; padding: 8px; font-size: 10.5px; font-weight: 700; border-radius: var(--radius); border: 1.5px solid var(--border); background: var(--white); color: var(--text); display: flex; align-items: center; justify-content: center; }
.add-to-cart-mini:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.add-to-cart-mini .icon { width: 15px; height: 15px; }
.buy-now-mini { flex: 1; padding: 8px 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; border-radius: var(--radius); border: 1.5px solid var(--gold); background: var(--gold); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.buy-now-mini:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

/* ---------------- Testimonials ---------------- */
.testimonial-scroller { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.testimonial-scroller::-webkit-scrollbar { display: none; }
.testimonial-card { flex: 0 0 280px; scroll-snap-align: start; background: var(--cream); border-radius: var(--radius-lg); padding: 22px; border: 1px solid var(--border); }
.testimonial-card .stars { margin-bottom: 12px; }
.testimonial-card .stars .icon { width: 15px; height: 15px; }
.testimonial-card p { font-size: 13.5px; color: var(--text); margin-bottom: 14px; font-style: italic; }
.testimonial-card .name { font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .03em; }

/* ---------------- Newsletter band ---------------- */
.newsletter-band { background: var(--surface); color: var(--text); margin-top: 60px; position: relative; border-top: 1px solid var(--border); }
.newsletter-band::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: var(--gold); }
.newsletter-inner { display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; padding-top: 60px; padding-bottom: 56px; }
.newsletter-icon { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--gold); display: flex; align-items: center; justify-content: center; color: var(--gold); margin-bottom: 4px; }
.newsletter-inner h2 { font-size: 24px; margin: 0; }
.newsletter-inner p { color: #C9C4B7; font-size: 13.5px; max-width: 440px; margin: 0; line-height: 1.6; }
.newsletter-form { display: flex; width: 100%; max-width: 420px; gap: 8px; margin-top: 6px; }
.newsletter-form input { flex: 1; padding: 14px 16px; border-radius: var(--radius); border: 1.5px solid transparent; font-size: 13.5px; }
.newsletter-form input:focus { outline: none; border-color: var(--gold); }
.newsletter-form button { background: var(--gold); color: var(--ink); padding: 14px 24px; border-radius: var(--radius); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.newsletter-form button:hover { background: var(--gold-dark); }

/* ---------------- Breadcrumbs ---------------- */
.breadcrumbs { font-size: 12px; color: var(--text-muted); padding: 16px 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--gold-dark); }
.breadcrumbs .icon { width: 12px; height: 12px; }

/* ---------------- User-uploaded content images (prevents layout breaking from oversized uploads) ---------------- */
.builder-img { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--radius-lg); display: block; }
.blog-hero-img { width: 100%; aspect-ratio: 16/8; max-height: 400px; object-fit: cover; border-radius: var(--radius); margin-bottom: 20px; }

/* ---------------- Category / Listing Page ---------------- */
.category-banner { width: 100%; aspect-ratio: 21/6; max-height: 280px; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 20px; background: var(--cream); }
.category-banner img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .category-banner { aspect-ratio: 4/3; max-height: 220px; } }
.listing-layout { display: grid; gap: 26px; }
.filter-sidebar {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px; height: fit-content; position: sticky; top: 90px;
}
.filter-sidebar h4 {
  font-size: 11px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; color: var(--text-muted);
  font-weight: 800; padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.filter-group { margin-bottom: 24px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13.5px;
  padding: 8px 10px; margin-bottom: 3px; border-radius: 6px; color: var(--text); transition: background .12s ease;
}
.filter-group a:hover { background: var(--cream); }
.filter-group a.filter-active { background: var(--gold); color: var(--ink); font-weight: 700; }
.filter-group a .count { font-size: 11px; color: var(--text-muted); }
.filter-group a.filter-active .count { color: rgba(255,255,255,.6); }
.filter-group label { display: flex; align-items: center; gap: 8px; font-size: 13.5px; margin-bottom: 10px; cursor: pointer; }
.filter-group label input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--gold); }

.listing-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.listing-toolbar select { border: 1.5px solid var(--border); border-radius: var(--radius); padding: 10px 12px; font-size: 12.5px; background: var(--white); color: var(--text); }

@media (min-width: 940px) { .listing-layout { grid-template-columns: 250px 1fr; } }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 32px; }
.pagination a, .pagination span { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 13px; font-weight: 600; }
.pagination .active { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ---------------- Product Detail Page ---------------- */
.pdp-layout { display: grid; gap: 36px; }
@media (min-width: 940px) { .pdp-layout { grid-template-columns: 1fr 1fr; } }

.pdp-gallery-main { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 1/1; position: relative; }
.pdp-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.pdp-thumbs .thumb-box {
  aspect-ratio: 1/1; border-radius: var(--radius); border: 2px solid var(--border); overflow: hidden;
  cursor: pointer; transition: border-color .15s ease; background: var(--cream);
}
.pdp-thumbs .thumb-box img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs .thumb-box:hover { border-color: var(--gold-light); }
.pdp-thumbs .thumb-box.active { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }

.pdp-info h1 { font-size: 26px; }
.pdp-price-row { display: flex; align-items: baseline; gap: 14px; margin: 14px 0; }
.pdp-price-row .price { font-size: 28px; }
.pdp-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; margin-bottom: 18px; padding: 5px 12px; border-radius: 20px; }
.pdp-stock.in { color: var(--success); background: #EAF4EE; }
.pdp-stock.low { color: var(--gold-dark); background: var(--gold-light); }
.pdp-stock.out { color: var(--danger); background: #FBE9E7; }

.variant-group { margin-bottom: 18px; }
.variant-group label.title { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 10px; }
.variant-options { display: flex; gap: 8px; flex-wrap: wrap; }
.variant-options span { padding: 9px 16px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 13px; cursor: pointer; font-weight: 600; }
.variant-options span.active { border-color: var(--gold); background: var(--gold); color: var(--ink); }

.qty-selector { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--radius); width: fit-content; margin-bottom: 18px; }
.qty-selector button { width: 40px; height: 42px; display: flex; align-items: center; justify-content: center; color: var(--text); }
.qty-selector input { width: 46px; text-align: center; border: none; font-size: 14px; font-weight: 700; }

.pdp-actions { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.pdp-actions .btn { flex: 1; min-width: 160px; }
.pdp-actions .icon-btn-outline { width: 50px; height: 50px; border: 1.5px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.pdp-actions .icon-btn-outline.active { border-color: var(--gold); color: var(--gold); }

.trust-badges { display: flex; gap: 20px; flex-wrap: wrap; font-size: 12px; color: var(--text-muted); margin-top: 18px; }
.trust-badges span { display: flex; align-items: center; gap: 7px; }
.trust-badges .icon { color: var(--gold); width: 18px; height: 18px; }

.pdp-tabs { margin-top: 36px; border-top: 1px solid var(--border); padding-top: 26px; }
.pdp-tabs h3 { font-size: 17px; margin-bottom: 12px; }
.pdp-tabs .desc { font-size: 14px; color: var(--text); line-height: 1.75; }
.pdp-meta-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 16px; font-size: 13px; }
.pdp-meta-grid .meta-item { padding: 10px 0; border-bottom: 1px solid var(--border); }
.pdp-meta-grid .meta-item .k { color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; display: block; margin-bottom: 3px; }

.review-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
.review-item .name { font-weight: 700; font-size: 13px; }
.review-item .stars { margin: 4px 0; }
.review-item .stars .icon { width: 13px; height: 13px; }

/* ---------------- Cart Page ---------------- */
.cart-line { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); align-items: center; }
.cart-line img { width: 76px; height: 76px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }
.cart-line .title { font-weight: 600; font-size: 14px; }
.cart-line .meta { font-size: 12px; color: var(--text-muted); }
.cart-line .row-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; flex-wrap: wrap; gap: 10px; }
.remove-link { font-size: 12px; color: var(--danger); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }

.cart-summary { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; height: fit-content; }
.summary-row { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 12px; }
.summary-row.total { font-weight: 800; font-size: 18px; border-top: 1px solid var(--border); padding-top: 12px; }

.cart-layout { display: grid; gap: 26px; }
@media (min-width: 940px) { .cart-layout { grid-template-columns: 1fr 360px; } }

/* ---------------- Generic CMS Page Hero ---------------- */
.page-hero { background: var(--cream); border-bottom: 1px solid var(--border); }
.page-hero-inner { padding-top: 36px; padding-bottom: 36px; text-align: center; }
.page-hero-inner h1 { font-size: 28px; margin: 0; }

/* ---------------- Feature Grid (About Us) ---------------- */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-card { text-align: center; padding: 28px 18px; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.feature-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--cream); color: var(--gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.feature-icon .icon { width: 24px; height: 24px; }
.feature-card h4 { font-size: 15px; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ---------------- Contact Page ---------------- */
.contact-layout { display: grid; gap: 24px; }
@media (min-width: 860px) { .contact-layout { grid-template-columns: 280px 1fr; } }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.contact-card:hover { border-color: var(--gold-light); background: var(--cream); }
.contact-card-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--cream); color: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card div strong { display: block; font-size: 12.5px; margin-bottom: 2px; }
.contact-card div span { font-size: 12px; color: var(--text-muted); word-break: break-word; }
.contact-form-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; }

/* ---------------- Checkout Page ---------------- */
.checkout-layout { display: grid; gap: 26px; padding-bottom: 60px; }
@media (min-width: 940px) { .checkout-layout { grid-template-columns: 1fr 380px; align-items: start; } }

.checkout-section { border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 18px; overflow: hidden; background: var(--white); }
.checkout-section-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--cream); border-bottom: 1px solid var(--border); }
.checkout-section-head div { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.checkout-step-num { width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.checkout-section-body { padding: 20px; }

.required-mark { color: var(--danger); }
.optional-mark { color: var(--text-muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
.field-hint { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--text-muted); margin: 6px 0 0; }

.checkout-summary { position: sticky; top: 84px; }
.checkout-summary-items { max-height: 320px; overflow-y: auto; padding-right: 4px; }
.checkout-summary-line { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.checkout-summary-thumb { position: relative; }
.checkout-summary-thumb img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }
.checkout-summary-qty { position: absolute; top: -8px; right: -8px; background: var(--gold); color: var(--ink); font-size: 10px; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.checkout-summary-info { display: flex; flex-direction: column; min-width: 0; }
.checkout-summary-info .title { font-size: 12.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.checkout-summary-info .meta { font-size: 11px; color: var(--text-muted); }
.checkout-summary-line .price { font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.checkout-trust-row { display: flex; gap: 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 11.5px; color: var(--text-muted); }
.checkout-trust-row span { display: flex; align-items: center; gap: 6px; }
.checkout-trust-row .icon-sm { color: var(--gold); }

/* ---------------- Forms ---------------- */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 8px; }
.form-control { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 14px; font-family: inherit; background: var(--white); color: var(--text); }
.form-control::placeholder { color: var(--text-muted); opacity: 1; }
.form-control:focus { outline: none; border-color: var(--gold); }
textarea.form-control { resize: vertical; min-height: 96px; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } }
.checkbox-row { display: flex; align-items: center; gap: 8px; font-size: 13px; }

.payment-options { display: grid; gap: 10px; margin-bottom: 22px; }
.payment-option { border: 1.5px solid var(--border); border-radius: var(--radius); padding: 14px 16px; display: flex; align-items: center; gap: 12px; cursor: pointer; }
.payment-option.selected { border-color: var(--gold); background: var(--cream); }
.payment-option .icon { color: var(--gold); }

.alert { padding: 13px 18px; border-radius: var(--radius); font-size: 13px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.alert-success { background: #EAF4EE; color: var(--success); border: 1px solid #C7E4D2; }
.alert-error { background: #FBE9E7; color: var(--danger); border: 1px solid #F2C4BE; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: #C9C4B7; }
.footer-grid { display: grid; gap: 30px; padding-top: 48px; padding-bottom: 26px; grid-template-columns: 1fr; }
.footer-grid h4 { color: #FFFFFF; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a { font-size: 13px; color: #B7B2A4; display: flex; align-items: center; gap: 8px; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-grid .icon-sm { color: var(--gold); }
.footer-brand p { font-size: 13px; color: #B7B2A4; line-height: 1.7; max-width: 280px; }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; color: #FFFFFF; }
.social-row a:hover { background: var(--gold); border-color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; padding-bottom: 18px; font-size: 12px; color: #8B8677; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }

/* ---------------- WhatsApp Floating Button ---------------- */
.whatsapp-float { position: fixed; bottom: 22px; right: 22px; z-index: 150; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); color: #FFFFFF; border: none; transition: background .15s ease; }
.whatsapp-float:hover { background: #1EBE5A; }

/* ---------------- Misc ---------------- */
.empty-state { text-align: center; padding: 70px 20px; color: var(--text-muted); }
.empty-state .icon-lg { color: var(--gold-light); width: 56px; height: 56px; margin: 0 auto 16px; }
.empty-state h3 { color: var(--text); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
