/* =====================================================
   VSC LABEL — Storefront Styles (v2)
   Black / Gold / Cream luxury fashion theme
   Mobile-first friendly: iPhone, Android, tablet, desktop
   ===================================================== */

:root {
  --black:      #1a1715;
  --ink:        #2a2622;
  --gold:       #c0975a;
  --gold-deep:  #a37f43;
  --gold-soft:  #e3cda3;
  --cream:      #f6efe6;
  --cream-deep: #efe4d6;
  --paper:      #fdfaf5;
  --white:      #ffffff;
  --muted:      #8a8178;
  --line:       #e6dccd;
  --green:      #4f8a5b;
  --red:        #b23a3a;

  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans:  'Jost', 'Montserrat', 'Helvetica Neue', sans-serif;

  --radius: 4px;
  --shadow: 0 18px 40px -18px rgba(26,23,21,.25);
  --header-h: 88px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--black); line-height: 1.15; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
img { display: block; max-width: 100%; }
button { font-family: inherit; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 16px; } /* 16px stops iOS zoom */

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.container.narrow { max-width: 760px; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 2.5px; text-transform: uppercase;
  padding: 15px 34px; min-height: 50px;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: all .3s ease; text-align: center;
}
.btn-dark { background: var(--black); color: var(--cream); }
.btn-dark:hover { background: var(--gold-deep); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-deep); }
.btn-light { background: var(--cream); color: var(--black); }
.btn-light:hover { background: var(--white); }
.btn-outline { background: transparent; border-color: var(--black); color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--cream); }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link-muted { display: inline-block; margin-top: 18px; font-size: 13px; letter-spacing: 1px; color: var(--muted); }
.link-muted:hover { color: var(--gold-deep); }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--black); color: var(--gold-soft);
  text-align: center; font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
  height: 36px; position: relative; overflow: hidden;
}
.announce-msg {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 0 16px; opacity: 0; transform: translateY(8px); transition: all .5s ease;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.announce-msg { transition: opacity .3s ease, transform .3s ease; }
.announce-msg.is-active { opacity: 1; transform: none; transition-delay: .3s; }

/* ---------- Header (logo left) ---------- */
.site-header {
  background: rgba(253,250,245,.94);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; align-items: center; gap: 32px;
  height: var(--header-h); padding: 0 28px;
  max-width: 1280px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 14px; line-height: 1; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; justify-content: center; }
.logo-img { height: 64px; max-width: 200px; width: auto; object-fit: contain; }
.logo-img.is-round {
  width: 72px; height: 72px; max-width: none; border-radius: 50%; object-fit: cover;
  background: var(--cream);
  box-shadow: 0 0 0 1px var(--gold-soft), 0 0 0 4px var(--paper), 0 0 0 5px rgba(192,151,90,.35), 0 8px 20px -10px rgba(26,23,21,.45);
  transition: transform .35s ease;
}
.logo:hover .logo-img.is-round { transform: scale(1.04) rotate(-2deg); }
.logo .logo-main { font-family: var(--serif); font-size: 26px; letter-spacing: 5px; font-weight: 600; color: var(--black); white-space: nowrap; }
.logo .logo-sub { font-size: 8px; letter-spacing: 3.5px; text-transform: uppercase; color: var(--gold-deep); margin-top: 4px; }

.main-nav { display: flex; gap: 30px; flex: 1; justify-content: center; }
.main-nav a {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink);
  position: relative; padding: 6px 0; white-space: nowrap;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--gold); transition: width .3s ease;
}
.main-nav a:hover { color: var(--gold-deep); }
.main-nav a:hover::after { width: 100%; }

.header-icons { display: flex; gap: 6px; align-items: center; margin-left: auto; }
.icon-link {
  display: inline-flex; align-items: center; gap: 6px; position: relative;
  background: none; border: 0; cursor: pointer; padding: 10px; border-radius: 50%;
  color: var(--ink); transition: background .2s, color .2s;
}
.icon-link:hover { color: var(--gold-deep); }
.icon-label { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; }
.cart-badge {
  background: var(--gold); color: #fff; font-size: 10px; font-weight: 600;
  border-radius: 50%; min-width: 18px; height: 18px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  position: absolute; top: 2px; left: 24px;
}
.menu-toggle { display: none; }

/* ---------- Drawer (mobile menu) ---------- */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(26,23,21,.45); z-index: 190;
  opacity: 0; visibility: hidden; transition: all .3s ease;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 360px);
  background: var(--paper); z-index: 200; padding: 18px 24px calc(24px + env(safe-area-inset-bottom));
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column; overflow-y: auto;
}
.drawer-open .drawer { transform: none; }
.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.drawer-title { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-deep); }
.drawer-nav { display: flex; flex-direction: column; margin-bottom: 24px; }
.drawer-nav a {
  font-family: var(--serif); font-size: 22px; padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.drawer-nav a:active, .drawer-nav a:hover { color: var(--gold-deep); }

/* ---------- Flash ---------- */
.flash-wrap { padding-top: 20px; }

/* ---------- Hero carousel ---------- */
.hero-carousel { position: relative; overflow: hidden; background: var(--cream-deep); }
.slides { position: relative; width: 100%; height: clamp(340px, 40.6vw, 720px); }
.slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .9s ease, visibility .9s;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide picture { display: block; width: 100%; height: 100%; }
.slide img { width: 100%; height: 100%; }
.slide img { object-fit: cover; transform: scale(1.04); transition: transform 6s ease; }
.slide.is-active img { transform: scale(1); }
.slide-link { position: absolute; inset: 0; z-index: 1; }
.slide.btn-only .slide-content { justify-content: flex-end; align-items: center; padding-bottom: 54px; }
.slide.btn-only .slide-content .btn { box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); }
.slide-content {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  color: var(--white); z-index: 2;
}
.slide.has-text::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(26,23,21,.55) 0%, rgba(26,23,21,.15) 55%, transparent 100%);
}
.slide-content .eyebrow { font-size: 12px; letter-spacing: 5px; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 14px; }
.slide-content h2 { color: var(--white); font-size: clamp(34px, 5.5vw, 68px); max-width: 640px; margin-bottom: 26px; }
.slide-content h2 em { font-style: italic; color: var(--gold-soft); }

.slide-default { background: linear-gradient(135deg, var(--cream) 0%, var(--cream-deep) 100%); }
.slide-default::before {
  content: 'VSC'; position: absolute; font-family: var(--serif); font-size: min(38vw, 460px); font-weight: 700;
  color: rgba(192,151,90,.07); top: 50%; left: 50%; transform: translate(-50%, -50%); letter-spacing: 20px;
}
.slide-default .slide-content { align-items: center; text-align: center; color: var(--ink); }
.slide-default .slide-content .eyebrow { color: var(--gold-deep); }
.slide-default .slide-content h2 { color: var(--black); }
.slide-default .slide-content h2 em { color: var(--gold-deep); }

.car-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(253,250,245,.85); color: var(--black); font-size: 26px; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.car-btn:hover { background: var(--white); }
.car-btn.prev { left: 20px; }
.car-btn.next { right: 20px; }
.car-dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 5; }
.car-dots button {
  width: 8px; height: 8px; border-radius: 8px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.6); transition: all .3s ease;
}
.car-dots button.is-active { width: 26px; background: var(--gold); }

.divider-mark { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 18px 0; }
.divider-mark span { width: 60px; height: 1px; background: var(--gold); }
.divider-mark i { color: var(--gold); font-style: normal; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-tight { padding: 48px 0 72px; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .eyebrow { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); }
.section-head p { color: var(--muted); margin-top: 10px; }
.center-cta { text-align: center; margin-top: 48px; }

/* ---------- Categories (below carousel) ---------- */
.cat-row {
  display: flex; gap: clamp(14px, 2.4vw, 32px); flex-wrap: nowrap;
  overflow-x: auto; padding: 10px 4px 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.cat-row::-webkit-scrollbar { display: none; }
.cat-tile:first-child { margin-left: auto; }
.cat-tile:last-child { margin-right: auto; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 16px; flex: 0 1 170px; min-width: 112px; text-align: center; }
.cat-img {
  width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: var(--cream-deep); border: 3px solid var(--paper);
  box-shadow: 0 0 0 1px var(--gold-soft);
  display: flex; align-items: center; justify-content: center; position: relative;
  transition: transform .4s ease, box-shadow .4s ease;
}
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat-initial { font-family: var(--serif); font-size: 64px; color: var(--gold); }
.cat-tile:hover .cat-img { transform: translateY(-6px); box-shadow: 0 0 0 2px var(--gold), var(--shadow); }
.cat-tile:hover .cat-img img { transform: scale(1.06); }
.cat-name { font-family: var(--serif); font-size: 20px; color: var(--black); }
.cat-tile:hover .cat-name { color: var(--gold-deep); }

/* ---------- Perks strip ---------- */
.perks { background: var(--black); color: var(--cream); }
.perks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; }
.perk { display: flex; align-items: center; gap: 14px; padding: 22px 18px; border-right: 1px solid rgba(246,239,230,.08); }
.perk:last-child { border-right: 0; }
.perk-ico { font-size: 24px; }
.perk strong { display: block; font-weight: 500; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-soft); }
.perk span { font-size: 13px; color: rgba(246,239,230,.6); }

/* ---------- Product grid & card ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.product-card { position: relative; }
.product-media {
  position: relative; display: block; overflow: hidden; background: var(--cream);
  aspect-ratio: 3 / 4; border-radius: var(--radius);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease, opacity .5s ease; }
.product-media .img-hover { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-card:hover .product-media.has-hover .img-hover { opacity: 1; }
.product-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--gold); color: #fff; border-radius: 2px;
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 10px;
}
.product-tag.tag-dark { background: var(--black); left: auto; right: 12px; }
.product-info { padding: 14px 4px 4px; text-align: center; }
.product-info .p-cat { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-deep); }
.product-info h3 { font-size: 20px; margin: 4px 0 6px; }
.product-info h3 a:hover { color: var(--gold-deep); }
.product-price { font-size: 15px; color: var(--ink); }
.product-price .old { color: var(--muted); text-decoration: line-through; margin-left: 6px; font-size: 13px; }
.product-price .sale { color: var(--gold-deep); font-weight: 500; }
.product-card { display: flex; flex-direction: column; }
.product-info { flex: 1; display: flex; flex-direction: column; }
.quick-add { margin-top: auto; padding-top: 12px; }
.qa-sizes { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-bottom: 10px; }
.qa-sizes label { cursor: pointer; }
.qa-sizes input { position: absolute; opacity: 0; pointer-events: none; }
.qa-sizes span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 28px; padding: 0 7px;
  border: 1px solid var(--line); border-radius: 3px; font-size: 11px; background: var(--white); transition: all .2s;
}
.qa-sizes label:hover span { border-color: var(--black); }
.qa-sizes input:checked + span { background: var(--black); border-color: var(--black); color: var(--cream); }
.qa-sizes input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 1px; }
.btn-cart {
  width: 100%; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--black); color: var(--cream); border: 1px solid var(--black); border-radius: var(--radius);
  font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: all .25s ease;
}
.btn-cart:hover:not([disabled]) { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.btn-cart.is-added { background: var(--green); border-color: var(--green); color: #fff; }
.btn-cart[disabled] { background: transparent; color: var(--muted); border-color: var(--line); cursor: not-allowed; }

/* toast after quick add */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 300;
  transform: translate(-50%, 140%); opacity: 0; transition: all .35s cubic-bezier(.2,.8,.2,1);
  background: var(--black); color: var(--cream); padding: 14px 20px; border-radius: 40px;
  display: flex; align-items: center; gap: 16px; font-size: 14px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.5);
  max-width: calc(100vw - 32px); width: max-content;
}
.toast.is-show { transform: translate(-50%, 0); opacity: 1; }
.toast.is-error { background: var(--red); }
.toast a { color: var(--gold-soft); white-space: nowrap; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.cart-badge.bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.4); } }

/* ---------- Quote band ---------- */
.quote-band { background: var(--black); color: var(--cream); text-align: center; padding: 84px 0; }
.quote-band .signature { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 4vw, 40px); color: var(--gold-soft); }
.quote-band p { color: rgba(246,239,230,.6); letter-spacing: 2px; text-transform: uppercase; font-size: 11px; margin-top: 16px; }

/* ---------- Page head & crumbs ---------- */
.page-head { background: var(--cream); text-align: center; padding: 56px 16px; border-bottom: 1px solid var(--line); }
.page-head-sm { padding: 38px 16px; }
.page-head h1 { font-size: clamp(32px, 5vw, 48px); }
.crumb { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.crumb a:hover { color: var(--gold-deep); }
.crumb-left { margin: 0 0 22px; }

/* ---------- Shop ---------- */
.chip-row {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 22px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; padding: 9px 20px; border: 1px solid var(--line); border-radius: 40px;
  font-size: 13px; letter-spacing: 1px; background: var(--white); transition: all .2s;
}
.chip:hover { border-color: var(--gold); }
.chip.active { background: var(--black); border-color: var(--black); color: var(--cream); }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.shop-search input {
  width: 280px; max-width: 100%; padding: 11px 16px; border: 1px solid var(--line); border-radius: 40px; background: var(--white);
}
.shop-search input:focus { outline: none; border-color: var(--gold); }
.shop-sort { display: flex; align-items: center; gap: 14px; }
.shop-sort .count { font-size: 13px; color: var(--muted); letter-spacing: 1px; white-space: nowrap; }
.shop-sort select { padding: 10px 14px; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); font-size: 14px; }

/* ---------- Product detail ---------- */
.pd-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
.pd-gallery { display: flex; flex-direction: row-reverse; gap: 14px; position: sticky; top: calc(var(--header-h) + 20px); }
.pd-main { position: relative; flex: 1; min-width: 0; border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.pd-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.pd-track::-webkit-scrollbar { display: none; }
.pd-slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 3 / 4; }
.pd-slide img { width: 100%; height: 100%; object-fit: cover; }
.pd-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: none; justify-content: center; gap: 6px; }
.pd-dots span { width: 7px; height: 7px; border-radius: 7px; background: rgba(255,255,255,.7); transition: all .3s; }
.pd-dots span.is-active { width: 20px; background: var(--gold); }
.pd-thumbs { display: flex; flex-direction: column; gap: 10px; width: 84px; flex-shrink: 0; max-height: 640px; overflow-y: auto; scrollbar-width: none; }
.pd-thumb { border: 1px solid transparent; padding: 0; background: var(--cream); cursor: pointer; aspect-ratio: 3 / 4; border-radius: 3px; overflow: hidden; opacity: .6; transition: all .2s; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.is-active, .pd-thumb:hover { opacity: 1; border-color: var(--black); }

.pd-cat { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-deep); }
.pd-info h1 { font-size: clamp(30px, 4vw, 44px); margin: 10px 0 14px; }
.pd-price { font-size: 26px; font-family: var(--serif); color: var(--black); }
.pd-price .old { text-decoration: line-through; color: var(--muted); margin-left: 10px; font-size: 19px; }
.pd-tax { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.gift-note {
  background: linear-gradient(90deg, #fbf4e6, var(--cream)); border: 1px dashed var(--gold);
  padding: 12px 16px; font-size: 14px; border-radius: var(--radius); margin-bottom: 24px;
}
.pd-row { margin-bottom: 22px; }
.pd-row label { display: block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.size-options { display: flex; gap: 10px; flex-wrap: wrap; }
.size-opt {
  min-width: 52px; border: 1px solid var(--line); background: var(--white); padding: 11px 16px;
  font-size: 14px; cursor: pointer; transition: all .2s ease; border-radius: var(--radius);
}
.size-opt:hover { border-color: var(--black); }
.size-opt.selected { border-color: var(--black); background: var(--black); color: var(--cream); }
.qty-box { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.qty-box button { width: 42px; height: 44px; background: none; border: none; cursor: pointer; font-size: 18px; color: var(--ink); }
.qty-box button:hover { background: var(--cream); }
.qty-box input { width: 46px; height: 44px; border: none; text-align: center; font-size: 15px; background: none; -moz-appearance: textfield; }
.qty-box input::-webkit-outer-spin-button, .qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pd-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 6px; }
.wa-ask { display: inline-block; margin-top: 16px; font-size: 14px; color: var(--green); }
.wa-ask:hover { text-decoration: underline; }
.pd-desc { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.pd-desc h4 { font-family: var(--sans); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.pd-desc p { color: #5e564d; line-height: 1.8; }
.pd-meta { list-style: none; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.pd-meta li { margin-bottom: 6px; }

/* ---------- Offer progress bars ---------- */
.offer-bars { display: grid; gap: 12px; margin-bottom: 28px; }
.offer-bar { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.offer-bar.is-done { border-color: var(--gold); background: #fbf4e6; }
.offer-text { font-size: 14px; margin-bottom: 8px; }
.offer-track { height: 6px; background: var(--cream-deep); border-radius: 6px; overflow: hidden; }
.offer-track span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-soft), var(--gold)); border-radius: 6px; transition: width .6s ease; }

/* ---------- Cart ---------- */
.cart-grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.cart-item {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: start;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.cart-item:first-child { border-top: 1px solid var(--line); }
.ci-img { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--cream); }
.ci-img img { width: 100%; height: 100%; object-fit: cover; }
.ci-name { font-family: var(--serif); font-size: 21px; line-height: 1.2; display: block; }
.ci-size { font-size: 13px; color: var(--muted); margin-top: 2px; }
.ci-price { font-size: 14px; color: var(--muted); margin-top: 2px; }
.ci-actions { display: flex; align-items: center; gap: 18px; margin-top: 12px; flex-wrap: wrap; }
.ci-actions .qty-box button { width: 36px; height: 38px; }
.ci-actions .qty-box input { width: 38px; height: 38px; }
.ci-total { font-family: var(--serif); font-size: 20px; white-space: nowrap; }
.cart-remove { background: none; border: 0; cursor: pointer; color: var(--muted); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; }
.cart-remove:hover { color: var(--red); }

.cart-summary { background: var(--cream); padding: 30px; border-radius: var(--radius); position: sticky; top: calc(var(--header-h) + 20px); }
.cart-summary h3 { font-size: 26px; margin-bottom: 16px; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
.summary-row.total { font-size: 21px; font-family: var(--serif); border-bottom: none; padding-top: 16px; margin-bottom: 18px; }
.gift-row { color: var(--gold-deep); }
.summary-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 12px; }

.empty-state { text-align: center; padding: 80px 0; }
.empty-state h2 { font-size: 32px; margin-bottom: 12px; }
.empty-state p { color: var(--muted); margin-bottom: 26px; }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); font-size: 16px; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238a8178' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(192,151,90,.15); }
.field textarea { resize: vertical; min-height: 84px; }
.field-hint { font-size: 13px; color: var(--muted); margin-top: -6px; }
.req { color: var(--red); }
.input-prefix { display: flex; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.input-prefix:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(192,151,90,.15); }
.input-prefix span { padding: 13px 0 13px 14px; color: var(--muted); }
.field .input-prefix input { border: 0; box-shadow: none; }

/* ---------- Checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: start; }
.co-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 20px; }
.co-contact { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(192,151,90,.08); }
.co-block h3 { font-size: 23px; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.step {
  width: 28px; height: 28px; border-radius: 50%; background: var(--black); color: var(--gold-soft);
  font-family: var(--sans); font-size: 13px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.pay-options { display: grid; gap: 12px; }
.pay-opt {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, background .2s;
}
.pay-opt:has(input:checked) { border-color: var(--black); background: var(--paper); }
.pay-opt input { margin-top: 4px; accent-color: var(--black); width: 18px; height: 18px; }
.pay-opt strong { display: block; font-weight: 500; }
.pay-opt small { color: var(--muted); font-size: 13px; }
.mini-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; font-size: 14px; }
.mini-img { position: relative; width: 56px; aspect-ratio: 3/4; }
.mini-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.mini-img b { position: absolute; top: -7px; right: -7px; background: var(--muted); color: #fff; font-size: 11px; font-weight: 500; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.mini-name small { display: block; color: var(--muted); font-size: 12px; }
.btn-place { min-height: 56px; font-size: 13px; }

/* ---------- Success ---------- */
.success-card { max-width: 640px; margin: 0 auto; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 48px 32px; }
.success-tick {
  width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 20px; background: var(--black); color: var(--gold-soft);
  font-size: 32px; display: flex; align-items: center; justify-content: center; animation: pop .5s ease;
}
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 80% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.success-card h1 { font-size: 40px; margin-bottom: 10px; }
.success-card > p { color: var(--muted); }
.success-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); margin: 26px 0; border: 1px solid var(--line); }
.success-meta div { background: var(--paper); padding: 16px 10px; }
.success-meta small, .track-head small, .courier-box small, .track-address small { display: block; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.success-meta strong { font-weight: 500; font-size: 15px; word-break: break-all; }
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.upi-box { background: var(--cream); padding: 22px; border-radius: var(--radius); margin: 18px 0; }
.upi-id { font-family: var(--serif); font-size: 24px; margin: 6px 0 14px; user-select: all; }

/* ---------- Track order ---------- */
.track-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; margin-bottom: 28px; }
.track-form .field { margin: 0; }
.track-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.track-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.track-head strong { display: block; font-family: var(--serif); font-size: 26px; font-weight: 500; }
.track-head .muted { font-size: 13px; }
.status-pill { padding: 6px 14px; border-radius: 30px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; background: var(--cream); white-space: nowrap; }
.status-pending { background: #fdf3e0; color: #a07620; }
.status-processing { background: #eaf1f8; color: #4a6a8f; }
.status-shipped { background: #eef5ee; color: var(--green); }
.status-delivered { background: var(--black); color: var(--gold-soft); }
.status-cancelled { background: #fbecec; color: var(--red); }
.stepper { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 28px; position: relative; }
.stepper li { text-align: center; position: relative; }
.stepper li::before { content: ''; position: absolute; top: 17px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.stepper li:first-child::before { display: none; }
.stepper li.done::before { background: var(--gold); }
.stepper .dot {
  position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
  background: var(--white); border: 2px solid var(--line); color: var(--muted);
}
.stepper li.done .dot { background: var(--gold); border-color: var(--gold); color: #fff; }
.stepper li.current .dot { box-shadow: 0 0 0 5px rgba(192,151,90,.2); }
.stepper .label { font-size: 12px; letter-spacing: .5px; }
.courier-box { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; background: var(--cream); padding: 18px 20px; border-radius: var(--radius); margin-bottom: 22px; }
.courier-box strong { font-weight: 500; }
.courier-box .btn { margin-left: auto; min-height: 44px; padding: 12px 22px; }
.copyable { cursor: pointer; border-bottom: 1px dashed var(--gold); }
.track-items { margin-bottom: 18px; }
.track-address p { font-size: 14px; line-height: 1.7; }

/* ---------- Alerts ---------- */
.alert { padding: 14px 18px; margin-bottom: 22px; font-size: 14px; border-left: 3px solid; border-radius: var(--radius); }
.alert-success { background: #f0f7f0; border-color: var(--green); color: #2f5a2f; }
.alert-error   { background: #fbf0f0; border-color: var(--red); color: #8a2a2a; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: rgba(246,239,230,.75); padding: 68px 0 calc(28px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 46px; }
.footer-logo .logo-main { font-family: var(--serif); font-size: 26px; letter-spacing: 6px; color: var(--cream); }
.footer-logo-img { max-height: 90px; max-width: 220px; width: auto; object-fit: contain; margin-bottom: 14px; }
.footer-logo-img.is-round { width: 110px; height: 110px; max-height: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--gold), 0 0 0 6px rgba(192,151,90,.12); }
.footer-logo .logo-sub { font-size: 8px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.footer-logo p { margin-top: 16px; font-size: 13px; line-height: 1.8; color: rgba(246,239,230,.55); max-width: 300px; }
.footer-social { display: flex; gap: 16px; margin-top: 18px; }
.footer-social a { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-soft); }
.footer-col h4 { color: var(--cream); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; font-family: var(--sans); font-weight: 500; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 13px; color: rgba(246,239,230,.6); }
.footer-col a { font-size: 13px; color: rgba(246,239,230,.6); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(246,239,230,.12); padding-top: 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; letter-spacing: 1px; color: rgba(246,239,230,.45); }
.footer-bottom .signature { font-family: var(--serif); font-style: italic; color: var(--gold-soft); font-size: 16px; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 150;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -6px rgba(37,211,102,.55); transition: transform .25s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* =====================================================
   Responsive
   ===================================================== */
/* big screens */
@media (min-width: 1600px) {
  .container, .header-inner { max-width: 1440px; }
}
/* keep text clear of the carousel arrows */
@media (min-width: 961px) {
  .slide-content { padding-left: 96px; padding-right: 96px; }
}
/* small laptops */
@media (max-width: 1100px) {
  .main-nav { gap: 20px; }
  .main-nav a:nth-child(n+5) { display: none; }
  .header-inner { gap: 20px; }
  .icon-label { display: none; }
  .logo .logo-sub { letter-spacing: 2.5px; }
}
/* tablets landscape & below: menu button instead of the nav bar */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .car-btn { display: none; }
}
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
  .perk:nth-child(2) { border-right: 0; }
  .cart-grid, .checkout-grid { grid-template-columns: 1fr 340px; gap: 32px; }
}

/* tablets & phones */
@media (max-width: 860px) {
  :root { --header-h: 70px; }
  .container { padding: 0 20px; }
  .header-inner { padding: 0 12px 0 20px; gap: 12px; }
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .icon-label { display: none; }
  .logo { gap: 10px; }
  .logo-img { height: 50px; max-width: 150px; }
  .logo-img.is-round { width: 54px; height: 54px; }
  .logo .logo-main { font-size: 20px; letter-spacing: 3px; }
  .logo .logo-sub { font-size: 7px; letter-spacing: 2.5px; }

  .section { padding: 60px 0; }
  .section-tight { padding: 32px 0 56px; }
  .section-head { margin-bottom: 30px; }

  .slides { height: min(56.25vw, 78vh); min-height: 300px; }
  .slide.has-text::after { background: linear-gradient(0deg, rgba(26,23,21,.65) 0%, rgba(26,23,21,.1) 55%, transparent 100%); }
  .slide-content { justify-content: flex-end; padding-bottom: 64px; }
  .car-btn { display: none; }

  /* categories: horizontal swipe row */
  .cat-row { gap: 16px; margin: 0 -20px; padding: 8px 20px 12px; scroll-snap-type: x proximity; }
  .cat-tile { flex: 0 0 96px; min-width: 0; scroll-snap-align: start; gap: 10px; }
  .cat-img { border-width: 2px; }
  .cat-name { font-size: 17px; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
  .product-info h3 { font-size: 17px; }

  .pd-wrap, .cart-grid, .checkout-grid { grid-template-columns: 1fr; gap: 28px; }
  .pd-gallery { position: static; flex-direction: column; margin: 0 -20px; }
  .pd-main { border-radius: 0; }
  .pd-dots { display: flex; }
  .pd-thumbs { display: none; }
  .pd-actions {
    position: sticky; bottom: 0; z-index: 50; background: var(--paper);
    margin: 0 -20px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
  }
  .cart-summary { position: static; }
  .track-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-logo { grid-column: 1 / -1; }
  .wa-float { width: 52px; height: 52px; }
  body:has(.pd-actions) .wa-float { bottom: calc(92px + env(safe-area-inset-bottom)); }
}

/* large phones & small tablets: 3 products per row */
@media (min-width: 641px) and (max-width: 860px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
/* tablets & phones without a phone banner image: show the whole wide banner */
@media (max-width: 860px) {
  .hero-carousel.fit-image .slides { height: auto; min-height: 0; aspect-ratio: var(--banner-ratio, 2.4); }
  .hero-carousel.fit-image .slide.btn-only .slide-content { padding-bottom: 30px; }
  .hero-carousel.fit-image .slide.btn-only .slide-content { display: none; } /* whole banner is tappable instead */
  .hero-carousel.fit-image .car-dots { bottom: 8px; }
}
/* phones: tall banner (uses the mobile banner image if uploaded) */
@media (max-width: 640px) {
  .slides { height: min(125vw, 78vh); min-height: 320px; }
}

/* phones */
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .header-inner { padding: 0 6px 0 16px; }
  .announce { font-size: 10px; letter-spacing: 1.5px; height: 32px; }
  .cat-row { margin: 0 -16px; padding: 4px 16px 12px; }
  .pd-gallery, .pd-actions { margin-left: -16px; margin-right: -16px; }
  .pd-actions { padding-left: 16px; padding-right: 16px; }
  .btn { padding: 14px 20px; letter-spacing: 2px; }
  .perks-grid { grid-template-columns: 1fr 1fr; }
  .perk { padding: 16px 10px; gap: 10px; flex-direction: column; text-align: center; border-right: 0; border-bottom: 1px solid rgba(246,239,230,.08); }
  .perk strong { font-size: 11px; }
  .perk span { font-size: 12px; }
  .product-grid { gap: 16px 10px; }
  .product-info { padding-top: 10px; }
  .product-info h3 { font-size: 16px; }
  .product-price { font-size: 14px; }
  .btn-cart { min-height: 40px; letter-spacing: 1.2px; font-size: 10.5px; gap: 6px; }
  .qa-sizes span { min-width: 28px; height: 26px; font-size: 10.5px; padding: 0 5px; }
  .logo .logo-sub { display: none; }
  .logo .logo-main { font-size: 18px; letter-spacing: 2.5px; }
  .shop-toolbar { flex-direction: column; align-items: stretch; }
  .shop-search input { width: 100%; }
  .shop-sort { justify-content: space-between; }
  .row2, .row3 { grid-template-columns: 1fr; gap: 0; }
  .co-block { padding: 20px 16px; }
  .cart-item { grid-template-columns: 84px 1fr; }
  .ci-total { grid-column: 2; font-size: 18px; }
  .cart-summary { padding: 24px 18px; }
  .success-card { padding: 36px 18px; }
  .success-card h1 { font-size: 32px; }
  .success-meta { grid-template-columns: 1fr; }
  .success-actions .btn { width: 100%; }
  .track-card { padding: 20px 16px; }
  .stepper .label { font-size: 10px; }
  .stepper .dot { width: 30px; height: 30px; font-size: 12px; }
  .stepper li::before { top: 14px; }
  .courier-box .btn { margin-left: 0; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; align-items: center; }
}

/* small phones (iPhone SE, 320–380px) */
@media (max-width: 380px) {
  .container { padding: 0 12px; }
  .header-inner { padding: 0 2px 0 12px; gap: 6px; }
  .logo { gap: 8px; }
  .logo-img.is-round { width: 44px; height: 44px; }
  .logo-img { height: 42px; }
  .logo .logo-main { font-size: 15px; letter-spacing: 1.5px; }
  .icon-link { padding: 8px; }
  .cat-row { margin: 0 -12px; padding-left: 12px; padding-right: 12px; }
  .pd-gallery, .pd-actions { margin-left: -12px; margin-right: -12px; }
  .pd-actions { padding-left: 12px; padding-right: 12px; gap: 8px; }
  .product-grid { gap: 14px 8px; }
  .product-info h3 { font-size: 15px; }
  .btn-cart { font-size: 10px; letter-spacing: .8px; gap: 4px; }
  .btn-cart svg { display: none; }
  .qa-sizes { gap: 3px; }
  .qa-sizes span { min-width: 25px; padding: 0 4px; }
  .btn { padding: 13px 14px; letter-spacing: 1.5px; }
  .announce { letter-spacing: 1px; }
  .chip { padding: 8px 14px; }
  .stepper .label { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
