
:root, html { color-scheme: light only; }

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Brand palette -- beige & mehroon (maroon), gold accent from the logo */
  --beige: #F3EAD8;
  --beige-soft: #FBF6EA;
  --sand: #E9DBB8;
  --sand-dark: #DCC89A;
  --maroon: #6B1220;
  --maroon-dark: #4A0D16;
  --maroon-deep: #33090F;
  --gold: #B8873B;
  --gold-light: #D9B876;
  --ink: #2B211A;
  --ink-soft: #6E5F49;
  --white: #FFFFFF;
  --green: #2FAE60;
  --green-dark: #1F8F4D;

  --line: rgba(107, 18, 32, 0.14);
  --shadow-sm: 0 4px 14px rgba(43, 33, 26, 0.08);
  --shadow-md: 0 10px 30px rgba(43, 33, 26, 0.14);
  --shadow-lg: 0 20px 48px rgba(43, 33, 26, 0.20);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Karla', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1240px;
  --nav-h: 82px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-smooth: cubic-bezier(.16,1,.3,1);

  /* Glossy / mirror surface language -- layered on top of the brand
     palette above. Everything here is additive: a soft sheen, a bright
     top highlight and a touch of blur so panels read like polished
     glass over the beige/maroon scheme, without changing any color. */
  --glass-sheen: linear-gradient(120deg, rgba(255,255,255,0) 28%, rgba(255,255,255,.65) 46%, rgba(255,255,255,0) 64%);
  --glass-top-highlight: inset 0 1px 0 rgba(255,255,255,.75), inset 0 -1px 0 rgba(255,255,255,.06);
  --glass-fill: linear-gradient(165deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,.08) 32%, rgba(255,255,255,0) 55%);
  --glass-border: rgba(255,255,255,.55);
  --glow-gold: 0 0 0 1px rgba(184,135,59,.3), 0 12px 30px rgba(184,135,59,.18);
  --ease-glide: cubic-bezier(.19,1,.22,1);
}

/* ---------- 2. RESET & BASE ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  font-family: var(--font-body);
  background: var(--beige);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--maroon-dark); line-height: 1.15; font-weight: 600; }

:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  /* The medallion rings are a decorative brand flourish, not motion the
     user needs to track, so they keep spinning at normal speed even
     when the visitor's OS/browser asks for reduced motion. */
  .medallion::before { animation-duration: 18s !important; }
  .medallion::after { animation-duration: 24s !important; }
}

/* ---------- 3. LAYOUT UTILITIES ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
main { display: block; }
section { padding: 84px 0; }
.section-tight { padding: 56px 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 14px;
}
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); font-size: 16.5px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; background: var(--maroon); color: var(--beige-soft);
  padding: 10px 18px; border-radius: var(--radius-sm); z-index: 2000; transition: top .3s var(--ease-smooth);
}
.skip-link:focus { top: 12px; }

/* ---------- 4. BUTTONS & FORM CONTROLS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 14.5px; letter-spacing: .3px;
  transition: transform .38s var(--ease-glide), box-shadow .38s var(--ease-glide), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--glass-sheen);
  transform: translateX(-120%); transition: transform .7s var(--ease-glide); pointer-events: none; z-index: 1;
}
.btn:hover::before { transform: translateX(120%); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .32s var(--ease-smooth); position: relative; z-index: 2; }
.btn span, .btn { position: relative; }
.btn:hover { transform: translateY(-3px) scale(1.015); }
.btn:active { transform: translateY(-1px) scale(1); transition-duration: .1s; }

.btn-primary { background: linear-gradient(155deg, var(--maroon) 0%, var(--maroon-dark) 100%); color: var(--beige-soft); box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary:hover { background: linear-gradient(155deg, #7c1526 0%, var(--maroon-dark) 100%); box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,.25); }

.btn-outline { background: rgba(255,255,255,.15); color: var(--maroon); border: 1.5px solid var(--maroon); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-outline:hover { background: var(--maroon); color: var(--beige-soft); box-shadow: var(--shadow-md); }

.btn-whatsapp { background: linear-gradient(155deg, #34c76f 0%, var(--green) 60%, var(--green-dark) 100%); color: #fff; box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.28); }
.btn-whatsapp:hover { background: linear-gradient(155deg, #34c76f 0%, var(--green-dark) 100%); box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,.3); }

.btn-ghost { background: rgba(107,18,32,0.06); color: var(--maroon-dark); }
.btn-ghost:hover { background: rgba(107,18,32,0.12); }

.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

.icon-btn {
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--maroon-dark); position: relative;
  transition: background .28s var(--ease), transform .28s var(--ease-smooth), color .28s var(--ease);
}
.icon-btn:hover { background: rgba(107,18,32,0.08); transform: scale(1.1); box-shadow: var(--glass-top-highlight), 0 6px 16px rgba(43,33,26,.12); }
.icon-btn:active { transform: scale(0.96); transition-duration: .1s; }
.icon-btn svg { width: 21px; height: 21px; transition: transform .28s var(--ease-smooth); }

.count-bubble {
  position: absolute; top: -1px; right: -1px; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--gold); color: var(--maroon-deep); font-size: 10.5px; font-weight: 800;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--beige-soft);
}
.count-bubble[data-count="0"] { display: none; }

/* ---------- 5. NAVBAR ---------- */
.navbar {
  position: sticky; top: 0; z-index: 900; height: var(--nav-h);
  background: linear-gradient(180deg, rgba(251,246,234,.92), rgba(251,246,234,.82));
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-top-highlight);
  transition: box-shadow .35s var(--ease-smooth), background .35s var(--ease-smooth);
}
.navbar.is-scrolled { box-shadow: var(--glass-top-highlight), 0 6px 24px rgba(43,33,26,0.10); }
.navbar .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: nowrap; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; min-width: 0; }
.brand img { height: 52px; width: auto; transition: transform .3s var(--ease-smooth); }
.brand:hover img { transform: scale(1.06); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--maroon-dark); line-height: 1.1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 10.5px; letter-spacing: 2.5px; color: var(--gold); text-transform: uppercase; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links button.nav-link {
  display: inline-flex; align-items: center; gap: 5px; padding: 10px 14px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 14.5px; color: var(--ink); transition: background .3s var(--ease), color .3s var(--ease);
}
.nav-links a:hover, .nav-links button.nav-link:hover, .nav-links a.active { background: var(--maroon); color: var(--beige-soft); }
.nav-links a.active { background: var(--maroon); color: var(--beige-soft); }
.nav-links button.nav-link svg { transition: transform .3s var(--ease-smooth); }
.nav-links button.nav-link:hover svg { transform: translateY(2px); }

.has-dropdown .dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(10px) scale(.98);
  width: 300px; background: linear-gradient(165deg, rgba(255,255,255,.7), rgba(251,246,234,.85));
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), var(--glass-top-highlight); padding: 10px; opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease-glide), transform .35s var(--ease-glide), visibility .35s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0) scale(1);
}
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 14px; transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease-smooth); }
.dropdown a:hover { background: var(--sand); color: var(--maroon-dark); transform: translateX(3px); }
.dropdown .dd-icon {
  width: 34px; height: 34px; border-radius: 50%; background: var(--maroon); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .25s var(--ease-smooth);
}
.dropdown a:hover .dd-icon { transform: scale(1.1); }
.dropdown .dd-icon svg { width: 18px; height: 18px; }

.nav-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.nav-actions .icon-btn, .nav-actions .hamburger { flex-shrink: 0; }

.nav-search { display: flex; align-items: center; }
.nav-search-form {
  display: flex; align-items: center; overflow: hidden; width: 0; opacity: 0;
  background: var(--sand); border-radius: var(--radius-pill); transition: width .38s var(--ease-smooth), opacity .3s var(--ease), padding .38s var(--ease-smooth);
}
.nav-search-form.is-open { width: 230px; opacity: 1; padding: 0 6px 0 16px; }
.nav-search-form input {
  flex: 1; background: transparent; border: 0; padding: 10px 4px; font-size: 14px; color: var(--ink); min-width: 0;
}
.nav-search-form input::placeholder { color: var(--ink-soft); }
.nav-search-form button { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .25s var(--ease), transform .25s var(--ease-smooth); }
.nav-search-form button:hover { background: rgba(107,18,32,0.1); transform: scale(1.1); }
.nav-search-form button svg { width: 16px; height: 16px; }

.hamburger { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; transition: background .28s var(--ease), transform .28s var(--ease-smooth); }
.hamburger:hover { background: rgba(107,18,32,0.08); transform: scale(1.08); }
.hamburger svg { width: 24px; height: 24px; }

/* Mobile nav drawer */
.mobile-nav-overlay {
  position: fixed; inset: 0; background: rgba(43,33,26,0.45); z-index: 1000;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease-smooth), visibility .35s;
}
.mobile-nav-overlay.is-open { opacity: 1; visibility: visible; }
.mobile-nav {
  position: fixed; top: 0; right: 0; height: 100%; width: min(340px, 86vw);
  background: linear-gradient(165deg, rgba(255,255,255,.5), var(--beige-soft) 30%);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  box-shadow: -8px 0 40px rgba(43,33,26,.16), var(--glass-top-highlight);
  z-index: 1001; transform: translateX(100%); transition: transform .48s var(--ease-glide);
  display: flex; flex-direction: column; padding: 22px; overflow-y: auto;
}
.mobile-nav-overlay.is-open .mobile-nav { transform: translateX(0); }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.mobile-nav-head .close-btn { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .28s var(--ease), transform .28s var(--ease-smooth); }
.mobile-nav-head .close-btn:hover { background: rgba(107,18,32,0.08); transform: rotate(90deg); }
.mobile-nav-head .close-btn svg { width: 20px; height: 20px; }
.mobile-nav a {
  display: block; padding: 14px 8px; font-weight: 700; font-size: 17px; border-bottom: 1px solid var(--line);
  transition: color .25s var(--ease), padding-left .25s var(--ease-smooth);
}
.mobile-nav a:hover { color: var(--maroon); padding-left: 14px; }
.mobile-nav .mobile-cats { padding-left: 14px; }
.mobile-nav .mobile-cats a { font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.mobile-nav-cta { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }

/* ---------- HERO ---------- */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 58px); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--maroon); }
.hero p.lead { font-size: 17.5px; color: var(--ink-soft); max-width: 480px; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 22px 30px; }
.trust-row .trust-item { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 700; color: var(--maroon-dark); }
.trust-row svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.medallion {
  position: relative; width: min(420px, 90%); aspect-ratio: 1/1; border-radius: 100%;
  background: radial-gradient(circle at 40% 30%, var(--beige-soft), var(--sand-dark) 78%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg), inset 0 2px 0 rgba(255,255,255,.5), inset 0 -12px 30px rgba(43,33,26,.08);
}
.medallion::before {
  content: ""; position: absolute; inset: 10%; border-radius: 80%;
  border: 2px dashed var(--gold); opacity: .8;
  animation: medallion-spin 18s linear infinite;
  z-index: 1;
}
.medallion::after {
  content: ""; position: absolute; inset: 6%; border-radius: 70%; border: 10px solid var(--maroon);
  animation: medallion-spin 24s linear infinite reverse;
  z-index: 1;
}
.medallion img { width: 82%; height: auto; position:relative; z-index: 2; filter: drop-shadow(0 12px 20px rgba(43,33,26,.25)); }
@keyframes medallion-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.medallion-badge {
  position: absolute; bottom: 2%; left: 50%; transform: translateX(-50%);
  background: var(--maroon); color: var(--beige-soft); font-size: 22px; font-weight: 800; letter-spacing: 2.4px;
  text-transform: uppercase; padding: 1px 40px; border-radius: var(--radius-pill); box-shadow: var(--shadow-md);
  white-space: nowrap; border: 3px solid var(--gold-light);
  z-index: 3;
}

/* ---------- 6. CATEGORY SEALS ---------- */
.categories { background: var(--sand); }
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cat-seal {
  background: linear-gradient(165deg, rgba(255,255,255,.55), var(--beige-soft) 40%);
  border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 26px 16px 20px; text-align: center; position: relative; overflow: hidden; isolation: isolate;
  box-shadow: var(--glass-top-highlight);
  transition: transform .45s var(--ease-glide), box-shadow .45s var(--ease-glide), border-color .3s var(--ease);
}
.cat-seal::before {
  content: ""; position: absolute; inset: 0; background: var(--glass-sheen);
  transform: translateX(-130%) rotate(8deg); transition: transform .8s var(--ease-glide); z-index: 1; pointer-events: none;
}
.cat-seal:hover::before { transform: translateX(130%) rotate(8deg); }
.cat-seal:hover { transform: translateY(-7px) scale(1.015); box-shadow: var(--glow-gold), var(--shadow-md), var(--glass-top-highlight); border-color: var(--gold); }
.cat-seal .ring {
  width: 66px; height: 66px; margin: 0 auto 14px; border-radius: 50%; background: var(--maroon);
  display: flex; align-items: center; justify-content: center; position: relative;
  transition: transform .35s var(--ease-smooth);
}
.cat-seal:hover .ring { transform: scale(1.08); }
.cat-seal .ring::after { content:""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px dashed var(--gold); transition: inset .35s var(--ease-smooth); }
.cat-seal:hover .ring::after { inset: -8px; }
.cat-seal .ring svg { width: 30px; height: 30px; color: var(--gold-light); }
.cat-seal h3 { font-size: 16px; margin-bottom: 6px; }
.cat-seal p { font-size: 12.5px; color: var(--ink-soft); line-height: 1.4; }
.cat-seal.active { border-color: var(--maroon); box-shadow: var(--shadow-md); }

.cat-grid-4 { grid-template-columns: repeat(4, 1fr); }
.cat-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- 7. SECTION DIVIDER ---------- */
.grain-divider {
  height: 40px; background-image: url("../images/icons/wheat-divider.svg"); background-repeat: repeat-x;
  background-position: center; background-size: 140px 40px; opacity: .9;
}

/* ---------- 8. PRODUCT GRID & CARDS ---------- */
.products-section { }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 26px; }

.product-card {
  background: linear-gradient(165deg, rgba(255,255,255,.6), var(--beige-soft) 38%);
  border: 1px solid var(--line); border-radius: var(--radius-md);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm), var(--glass-top-highlight);
  position: relative; isolation: isolate;
  transition: transform .55s var(--ease-glide), box-shadow .55s var(--ease-glide), border-color .4s var(--ease);
}
.product-card::after {
  /* mirror sheen -- a soft diagonal band of light that glides across the
     whole card on hover, like a reflection catching the light */
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: var(--glass-sheen);
  transform: translateX(-140%) rotate(6deg); transition: transform .9s var(--ease-glide);
}
.product-card:hover::after { transform: translateX(140%) rotate(6deg); }
.product-card:hover {
  transform: translateY(-9px) scale(1.015);
  box-shadow: var(--shadow-lg), var(--glow-gold), var(--glass-top-highlight);
  border-color: rgba(184,135,59,.45);
}

.pc-media {
  position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--sand);
  border-bottom: 3px solid transparent;
  border-image: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px) 3;
}
.pc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease-glide), transform .9s var(--ease-glide); }
.pc-media img.img-2 { opacity: 0; }
.product-card:hover .pc-media img.img-1 { opacity: 0; }
.product-card:hover .pc-media img.img-2 { opacity: 1; }
.pc-media img.img-1 { transition-property: opacity, transform; }
.product-card:hover .pc-media img { transform: scale(1.07); }

.pc-badge {
  position: absolute; top: 12px; left: 12px; background: var(--maroon); color: var(--gold-light);
  font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); z-index: 3;
}

.pc-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pc-cat { font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); }
.pc-name { font-size: 17px; font-weight: 600; }
.pc-name a { transition: color .28s var(--ease); }
.pc-name a:hover { color: var(--maroon); }
.pc-short { font-size: 13px; color: var(--ink-soft); flex: 1; margin-bottom: 6px; }
.pc-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.pc-price { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--maroon-dark); }
.pc-price span { font-family: var(--font-body); font-weight: 600; font-size: 12px; color: var(--ink-soft); }
.pc-view { font-size: 12.5px; font-weight: 800; color: var(--maroon); display: inline-flex; align-items: center; gap: 4px; }
.pc-view svg { width: 14px; height: 14px; transition: transform .3s var(--ease-smooth); }
.product-card:hover .pc-view svg { transform: translateX(4px); }

.pc-add-to-cart {
  width: 100%; margin-top: 14px; background: linear-gradient(155deg, var(--maroon) 0%, var(--maroon-dark) 100%); color: var(--beige-soft); padding: 11px;
  border-radius: var(--radius-pill); font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.18); transition: background .3s var(--ease), transform .35s var(--ease-glide), box-shadow .35s var(--ease-glide);
}
.pc-add-to-cart::before {
  content: ""; position: absolute; inset: 0; background: var(--glass-sheen); z-index: 0;
  transform: translateX(-120%); transition: transform .6s var(--ease-glide); pointer-events: none;
}
.pc-add-to-cart svg { width: 16px; height: 16px; position: relative; z-index: 1; }
.pc-add-to-cart:hover::before { transform: translateX(120%); }
.pc-add-to-cart:hover { background: linear-gradient(155deg, #7c1526 0%, var(--maroon-dark) 100%); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pc-add-to-cart:active { transform: translateY(0) scale(0.98); }

/* ---------- 9. FILTER / SEARCH BAR (listing) ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 32px; padding: 16px 20px;
  background: linear-gradient(165deg, rgba(255,255,255,.6), var(--beige-soft) 45%);
  border: 1px solid var(--line); border-radius: var(--radius-md);
  box-shadow: var(--glass-top-highlight);
}
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pill {
  padding: 9px 16px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 700;
  background: var(--sand); color: var(--maroon-dark); transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease-glide), box-shadow .35s var(--ease-glide);
}
.filter-pill:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.5); }
.filter-pill.active { background: var(--maroon); color: var(--beige-soft); }
.filter-search { display: flex; align-items: center; gap: 8px; background: var(--sand); border-radius: var(--radius-pill); padding: 8px 16px; min-width: 210px; transition: box-shadow .3s var(--ease); }
.filter-search:focus-within { box-shadow: 0 0 0 2.5px var(--gold); }
.filter-search svg { width: 16px; height: 16px; color: var(--maroon-dark); flex-shrink: 0; }
.filter-search input { background: transparent; border: 0; flex: 1; font-size: 13.5px; }
.filter-count { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-soft); }
.empty-state svg { width: 54px; height: 54px; color: var(--gold); margin: 0 auto 16px; }

/* ---------- 10. PRODUCT DETAIL PAGE ---------- */
.breadcrumb { font-size: 13px; color: var(--ink-soft); padding: 22px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { transition: color .25s var(--ease); }
.breadcrumb a:hover { color: var(--maroon); }
.breadcrumb .sep { color: var(--gold); }
.breadcrumb .current { color: var(--maroon-dark); font-weight: 700; }

.product-detail {
  padding: 32px 0 90px;
  position: relative;
  background-image: linear-gradient(rgba(243,234,216,0.88), rgba(243,234,216,0.88)), var(--pd-bg-image, none);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.pd-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; }

.pd-gallery-main {
  aspect-ratio: 1/1; border-radius: var(--radius-lg); overflow: hidden; background: var(--sand);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm), var(--glass-top-highlight); margin-bottom: 16px; position: relative;
  isolation: isolate;
}
.pd-gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-glide), opacity .4s var(--ease); }
.pd-gallery-main:hover img { transform: scale(1.06); }
/* thin glass reflection along the top edge of the frame */
.pd-gallery-main::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 22%);
}

/* ---- Picture-switch controls: prev/next buttons over the main image ---- */
.pd-nav {
  position: absolute; top: 50%; z-index: 5; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(165deg, rgba(255,255,255,.85), rgba(255,255,255,.45));
  -webkit-backdrop-filter: blur(10px) saturate(160%); backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid var(--glass-border); color: var(--maroon-dark);
  box-shadow: var(--shadow-sm), var(--glass-top-highlight);
  transition: transform .35s var(--ease-glide), box-shadow .35s var(--ease-glide), background .3s var(--ease), opacity .3s var(--ease);
}
.pd-nav svg { width: 20px; height: 20px; }
.pd-nav-prev { left: 14px; }
.pd-nav-next { right: 14px; }
.pd-nav:hover { transform: translateY(-50%) scale(1.1); background: rgba(255,255,255,.92); box-shadow: var(--shadow-md), var(--glow-gold); }
.pd-nav:active { transform: translateY(-50%) scale(0.96); transition-duration: .1s; }
.pd-nav[hidden] { display: none; }

.pd-img-counter {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 5;
  padding: 6px 14px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 700; letter-spacing: .3px;
  color: var(--beige-soft); background: rgba(43,33,26,.45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
}
.pd-img-counter[hidden] { display: none; }

.pd-thumbs { display: flex; gap: 12px; }
.pd-thumb {
  width: 88px; height: 88px; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent;
  background: var(--sand); position: relative; isolation: isolate;
  box-shadow: var(--glass-top-highlight);
  transition: border-color .3s var(--ease), transform .35s var(--ease-glide), box-shadow .35s var(--ease-glide);
}
.pd-thumb.active, .pd-thumb:hover { border-color: var(--maroon); }
.pd-thumb.active { box-shadow: var(--glow-gold), var(--glass-top-highlight); }
.pd-thumb:hover { transform: translateY(-3px); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease-glide); }
.pd-thumb:hover img { transform: scale(1.1); }

.pd-info .pc-cat { font-size: 12px; }
.pd-info h1 { font-size: clamp(26px, 3vw, 36px); margin: 8px 0 14px; }
.pd-info .pd-short { color: var(--ink-soft); font-size: 16px; margin-bottom: 20px; }
.pd-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 24px; }
.pd-price { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--maroon-dark); }
.pd-price-unit { color: var(--ink-soft); font-size: 14px; font-weight: 600; }

.pd-field { margin-bottom: 22px; }
.pd-field label.field-label { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--maroon); margin-bottom: 10px; }
.size-options { display: flex; gap: 10px; flex-wrap: wrap; }
.size-pill {
  padding: 10px 18px; border-radius: var(--radius-pill); border: 1.5px solid var(--line); font-weight: 700; font-size: 13.5px;
  background: linear-gradient(165deg, rgba(255,255,255,.6), var(--beige-soft) 60%);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .35s var(--ease-glide), box-shadow .35s var(--ease-glide);
}
.size-pill:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.5); }
.size-pill.active { background: var(--maroon); color: var(--beige-soft); border-color: var(--maroon); }

.qty-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-pill); overflow: hidden; background: linear-gradient(165deg, rgba(255,255,255,.5), var(--beige-soft) 60%); box-shadow: var(--glass-top-highlight); }
.qty-stepper button { width: 42px; height: 42px; font-size: 18px; font-weight: 700; color: var(--maroon-dark); transition: background .3s var(--ease), color .3s var(--ease); }
.qty-stepper button:hover { background: var(--sand); }
.qty-stepper input { width: 46px; text-align: center; border: 0; background: transparent; font-weight: 700; font-size: 15px; }

.pd-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.pd-ctas .btn { flex: 1; min-width: 200px; }

.pd-trust { display: flex; flex-wrap: wrap; gap: 18px 26px; padding: 18px 0; border-top: 1px solid var(--line); }
.pd-trust .trust-item { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--maroon-dark); }
.pd-trust svg { width: 18px; height: 18px; color: var(--gold); }

.pd-desc { margin-top: 60px; max-width: 780px; }
.pd-desc h2 { font-size: 22px; margin-bottom: 14px; }
.pd-desc p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 14px; }
.pd-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.pd-tags span { background: var(--sand); color: var(--maroon-dark); font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: var(--radius-pill); }

.related-section { margin-top: 80px; }

/* ---------- 11. CART DRAWER ---------- */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(43,33,26,0.45); z-index: 1100;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease-smooth), visibility .35s;
}
.cart-overlay.is-open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 92vw);
  background: linear-gradient(165deg, rgba(255,255,255,.5), var(--beige-soft) 30%);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  box-shadow: -8px 0 40px rgba(43,33,26,.16), var(--glass-top-highlight);
  z-index: 1101; transform: translateX(100%); transition: transform .48s var(--ease-glide);
  display: flex; flex-direction: column;
}
.cart-overlay.is-open .cart-drawer { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 20px; }
.cart-head .close-btn { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .28s var(--ease), transform .28s var(--ease-smooth); }
.cart-head .close-btn:hover { background: rgba(107,18,32,0.08); transform: rotate(90deg); }
.cart-head .close-btn svg { width: 20px; height: 20px; }

.cart-items { flex: 1; overflow-y: auto; padding: 16px 22px; display: flex; flex-direction: column; gap: 16px; }
.cart-item { display: grid; grid-template-columns: 66px 1fr auto; gap: 14px; align-items: center; }
.cart-item img { width: 66px; height: 66px; border-radius: var(--radius-sm); object-fit: cover; background: var(--sand); border: 1px solid var(--line); }
.ci-name { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.ci-meta { font-size: 12px; color: var(--ink-soft); margin-bottom: 8px; }
.ci-row { display: flex; align-items: center; gap: 10px; }
.ci-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-pill); }
.ci-qty button { width: 26px; height: 26px; font-size: 14px; transition: background .25s var(--ease), color .25s var(--ease); }
.ci-qty button:hover { background: var(--sand); }
.ci-qty span { width: 24px; text-align: center; font-size: 13px; font-weight: 700; }
.ci-remove { font-size: 11.5px; font-weight: 700; color: var(--maroon); text-decoration: underline; transition: color .25s var(--ease); }
.ci-remove:hover { color: var(--maroon-dark); }
.ci-price { font-weight: 800; font-size: 14px; color: var(--maroon-dark); white-space: nowrap; }

.cart-empty { text-align: center; padding: 60px 20px; color: var(--ink-soft); }
.cart-empty svg { width: 48px; height: 48px; color: var(--gold); margin: 0 auto 14px; }

.cart-foot { padding: 20px 22px 26px; border-top: 1px solid var(--line); }
.cart-subtotal { display: flex; align-items: center; justify-content: space-between; font-weight: 800; font-size: 17px; margin-bottom: 16px; color: var(--maroon-dark); }
.cart-foot .btn { margin-bottom: 10px; }
.cart-note { font-size: 11.5px; color: var(--ink-soft); text-align: center; }

.delivery-tip {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 14px; padding: 10px 14px;
  background: rgba(197,160,89,0.12); border: 1px solid rgba(197,160,89,0.35);
  border-radius: var(--radius-md, 10px);
  font-size: 12.5px; line-height: 1.5; color: var(--maroon-dark);
  max-width: 480px;
}
.delivery-tip svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; color: var(--gold); }
.delivery-tip strong { font-weight: 700; }

.cart-note.delivery-tip { max-width: none; margin-top: 10px; text-align: left; }

/* ---------- 12. WHATSAPP FLOAT BUTTON ---------- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(155deg, #34c76f 0%, var(--green) 55%, var(--green-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.35);
  overflow: hidden; isolation: isolate;
  z-index: 800; transition: transform .4s var(--ease-glide), background .3s var(--ease), box-shadow .4s var(--ease-glide);
}
.wa-float::before {
  content: ""; position: absolute; inset: 0; background: var(--glass-sheen);
  transform: translateX(-120%); transition: transform .8s var(--ease-glide); pointer-events: none;
}
.wa-float:hover::before { transform: translateX(120%); }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 22px 50px rgba(43,33,26,0.28), inset 0 1px 0 rgba(255,255,255,.4); }
.wa-float:active { transform: scale(1.02); }
.wa-float svg { width: 30px; height: 30px; color: #fff; position: relative; z-index: 1; }

/* ---------- 13. FOOTER ---------- */
.site-footer { background: var(--maroon-deep); color: var(--beige); padding: 70px 0 0; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(216,184,118,0.25); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 46px; }
.footer-brand span { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--gold-light); }
.footer-about p { font-size: 14px; color: rgba(243,234,216,0.75); max-width: 300px; margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(216,184,118,0.14); display: flex; align-items: center; justify-content: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.12); transition: background .35s var(--ease), transform .4s var(--ease-glide), box-shadow .4s var(--ease-glide); }
.footer-social a:hover { background: var(--gold); transform: translateY(-4px) scale(1.06); box-shadow: 0 10px 22px rgba(184,135,59,.35), inset 0 1px 0 rgba(255,255,255,.4); }
.footer-social svg { width: 17px; height: 17px; color: var(--gold-light); transition: color .3s var(--ease); }
.footer-social a:hover svg { color: var(--maroon-deep); }

.footer-col h4 { color: var(--gold-light); font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-body); font-weight: 800; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col span { font-size: 14.5px; color: rgba(243,234,216,0.8); transition: color .25s var(--ease), padding-left .25s var(--ease-smooth); }
.footer-col a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.footer-bottom { padding: 22px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; color: rgba(243,234,216,0.55); }
.footer-bottom a { transition: color .25s var(--ease); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- 14. TOAST ---------- */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(20px);
  background: linear-gradient(155deg, var(--maroon) 0%, var(--maroon-dark) 100%); color: var(--beige-soft); padding: 14px 24px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.2);
  z-index: 1300; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease-glide), transform .4s var(--ease-glide), visibility .4s;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.toast svg { width: 18px; height: 18px; color: var(--gold-light); }

/* ---------- 15. RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cat-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 10px; }
  .medallion { width: min(320px, 78vw); }
  .pd-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  section { padding: 56px 0; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cat-grid-3 { grid-template-columns: 1fr; }
  .nav-search-form.is-open { width: 160px; }
  .navbar { height: auto; min-height: var(--nav-h); }
  .navbar .container { padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .brand { gap: 8px; flex-shrink: 1; min-width: 0; }
  .brand img { height: 38px; }
  .brand-name { font-size: 15.5px; }
  .nav-actions { gap: 0; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .brand-name small { font-size: 8.5px; letter-spacing: 1.5px; }
  .brand-name { font-size: 14px; }
  .nav-search-form.is-open { width: 130px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pc-body { padding: 12px 12px 14px; gap: 4px; }
  .pc-name { font-size: 14.5px; }
  .pc-short { display: none; }
  .pc-price { font-size: 15px; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-search { width: 100%; }
  .hero-ctas .btn { flex: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 34px; }
  .wa-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .wa-float svg { width: 26px; height: 26px; }
  .pd-ctas .btn { min-width: 100%; }
  .cat-grid { gap: 12px; }
  .pd-nav { width: 38px; height: 38px; }
  .pd-nav svg { width: 17px; height: 17px; }
  .pd-nav-prev { left: 10px; }
  .pd-nav-next { right: 10px; }
  .pd-img-counter { bottom: 10px; font-size: 11px; padding: 5px 12px; }
}
