/* ==========================================================================
   Storefront styles. --brand is replaced at runtime by the theme colour
   chosen in Admin > Settings; every other accent is derived from it.
   ========================================================================== */

:root {
  --brand: #8b1e3f;
  --brand-dark: color-mix(in srgb, var(--brand) 72%, #000);
  --brand-soft: color-mix(in srgb, var(--brand) 9%, #fff);
  --brand-tint: color-mix(in srgb, var(--brand) 18%, #fff);

  --bg: #fbf8f4;
  --surface: #ffffff;
  --ink: #1f1b18;
  --text: #2d2724;
  --muted: #7a716b;
  --line: #ebe4dc;
  --gold: #b8955a;
  --danger: #c0392b;
  --whatsapp: #25d366;

  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(31, 27, 24, .06);
  --shadow: 0 10px 30px -12px rgba(31, 27, 24, .18);
  --shadow-lg: 0 24px 60px -20px rgba(31, 27, 24, .35);
  --header-h: 68px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; color: var(--ink); }
p { margin: 0; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 28px; } }

.muted { color: var(--muted); }
.small { font-size: 14px; }

svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px;
  border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 500; font-size: 15px; letter-spacing: .04em; text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .55; cursor: default; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ink); color: #fff; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #1ebe5a; }
.btn-whatsapp svg, .btn-soft-whatsapp svg { fill: currentColor; stroke: none; width: 20px; height: 20px; }
.btn-soft-whatsapp { background: #e9f9ef; color: #128c4b; }
.btn-soft-whatsapp:hover { background: #d6f4e2; }
.btn + .btn { margin-top: 10px; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink);
  transition: background .2s;
}
.icon-btn:hover { background: var(--brand-soft); }

/* ---------------------------------------------------------------- announcement */
.announcement {
  background: var(--brand); color: #fff;
  font-size: 13px; letter-spacing: .06em; text-align: center;
  padding: 9px 16px;
}

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(251, 248, 244, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0, 0, 0, .25); }

/* Phone: ☰ | logo (centred) | icons.  Desktop: logo | menu (centred) | icons. */
.header-inner {
  height: var(--header-h);
  display: grid; align-items: center; gap: 8px;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "menu logo actions";
}
.menu-btn { grid-area: menu; justify-self: start; }
.logo { grid-area: logo; }
.main-nav { grid-area: nav; }
.header-right { grid-area: actions; display: flex; justify-content: flex-end; gap: 2px; }

.logo { display: flex; align-items: center; gap: 10px; min-width: 0; justify-self: center; }
.logo img { height: 44px; width: auto; max-width: 160px; object-fit: contain; }
.logo span {
  font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.logo img { max-width: 100%; }
@media (min-width: 1024px) { .logo span { max-width: 320px; } }
@media (min-width: 768px) { .logo span { font-size: 26px; } }

.main-nav { display: none; gap: 28px; justify-content: center; min-width: 0; overflow: hidden; }
.main-nav a {
  position: relative; font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap; padding: 6px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--brand); }

@media (min-width: 1024px) {
  .header-inner { grid-template-columns: auto 1fr auto; grid-template-areas: "logo nav actions"; gap: 32px; }
  .logo { justify-self: start; }
  .menu-btn { display: none; }
  .main-nav { display: flex; }
}

.cart-btn { position: relative; }
.badge {
  position: absolute; top: 4px; right: 2px;
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  background: var(--brand); color: #fff; font-size: 11px; font-weight: 600; line-height: 19px; text-align: center;
}

.search-panel { border-top: 1px solid var(--line); background: var(--surface); }
.search-form { display: flex; align-items: center; gap: 10px; height: 64px; }
.search-form > svg { color: var(--muted); flex: 0 0 auto; }
.search-form input {
  flex: 1; min-width: 0; height: 44px; border: 0; outline: none; background: transparent;
  font: inherit; font-size: 18px; color: var(--ink);
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(380px, 62vh, 600px);
  display: flex; align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .16) 0 18%, transparent 18.5%),
    radial-gradient(circle at 92% 85%, rgba(255, 255, 255, .08) 0 26%, transparent 26.5%),
    radial-gradient(circle at 8% 110%, rgba(0, 0, 0, .18) 0 30%, transparent 30.5%),
    linear-gradient(120deg, var(--brand-dark), var(--brand) 55%, color-mix(in srgb, var(--brand) 70%, var(--gold)));
}
.hero.has-image { background: var(--ink) center / cover no-repeat; }
.hero.has-image::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20, 16, 14, .72) 0%, rgba(20, 16, 14, .35) 55%, rgba(20, 16, 14, .1) 100%);
}
.hero-inner { position: relative; padding-top: 56px; padding-bottom: 72px; }

.hero-visual { display: none; }
@media (min-width: 960px) {
  .hero-content { max-width: 52%; }
  .hero-visual { display: block; position: absolute; top: 8px; bottom: 56px; right: 28px; width: 44%; }
  .hv {
    position: absolute; width: 46%; aspect-ratio: 3 / 4; object-fit: cover;
    border-radius: 18px; border: 6px solid rgba(255, 255, 255, .92);
    box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .5);
    animation: rise .9s ease both;
  }
  .hv-0 { left: 26%; top: 6%; z-index: 3; transform: rotate(-3deg); }
  .hv-1 { right: 0; top: 18%; z-index: 2; transform: rotate(6deg); animation-delay: .15s; }
  .hv-2 { left: 0; top: 24%; z-index: 1; transform: rotate(-9deg); animation-delay: .3s; }
}
.hero-content { max-width: 620px; animation: rise .8s ease both; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: .7; }
.hero .eyebrow { color: rgba(255, 255, 255, .85); }
.hero h1 {
  margin: 16px 0 14px; color: #fff;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(36px, 7vw, 68px); line-height: 1.08;
}
.hero p { font-size: 18px; color: rgba(255, 255, 255, .85); max-width: 480px; }
.hero .btn { margin-top: 30px; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------------------------------------------------------------- how to order */
.steps {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  margin-top: -44px; position: relative; z-index: 2;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { background: var(--surface); padding: 22px 18px; display: flex; gap: 14px; align-items: flex-start; }
.step-icon {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
}
.step h3 { font-size: 15px; font-weight: 600; font-family: var(--font-body); }
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.45; margin-top: 3px; }
@media (max-width: 520px) {
  .step { flex-direction: column; gap: 10px; padding: 18px 14px; }
}

/* ---------------------------------------------------------------- sections */
.section { padding: 64px 0 8px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head.centered { flex-direction: column; align-items: center; text-align: center; }
.section-head .eyebrow { color: var(--gold); }
.section-head h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(28px, 4.5vw, 40px); margin-top: 8px;
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--brand);
}
.link-arrow:hover { gap: 10px; }
.link-arrow, .link-arrow:hover { transition: gap .2s; }
.view-all { text-align: center; margin-top: 36px; }

/* ---------------------------------------------------------------- category cards */
.cat-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.cat-card {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--brand-tint);
  box-shadow: var(--shadow-sm);
}
.cat-card img, .cat-card .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.cat-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20, 16, 14, .72) 0%, rgba(20, 16, 14, .1) 50%, transparent 70%);
}
.cat-card:hover img, .cat-card:hover .ph { transform: scale(1.06); }
.cat-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px; color: #fff; }
.cat-info h3 { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 3vw, 26px); }
.cat-info span {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 6px;
  font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .9;
}

.ph {
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-tint), var(--brand-soft));
  color: var(--brand); font-family: var(--font-display); font-size: 48px;
}

/* ---------------------------------------------------------------- page header (category / search) */
.page-hero {
  background: linear-gradient(180deg, var(--brand-soft), var(--bg));
  padding: 34px 0 26px; text-align: center;
}
.crumbs { font-size: 13px; letter-spacing: .06em; color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs span { margin: 0 8px; opacity: .6; }
.page-hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 5vw, 46px); margin-top: 8px; }
.page-hero p { color: var(--muted); margin-top: 6px; }

/* category chips with round images */
.chip-row {
  display: flex; gap: 18px; overflow-x: auto; padding: 22px 2px 6px;
  scrollbar-width: none; justify-content: flex-start;
}
.chip-row::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .chip-row { justify-content: center; } }
.cat-chip { flex: 0 0 auto; width: 78px; text-align: center; font-size: 13px; font-weight: 500; color: var(--text); }
.cat-chip .chip-img {
  width: 70px; height: 70px; margin: 0 auto 8px; border-radius: 50%; overflow: hidden;
  border: 2px solid transparent; outline: 1px solid var(--line); outline-offset: 2px;
  transition: border-color .2s, outline-color .2s;
}
.cat-chip .chip-img img, .cat-chip .chip-img .ph { width: 100%; height: 100%; object-fit: cover; font-size: 26px; }
.cat-chip:hover .chip-img { outline-color: var(--brand); }
.cat-chip.active { color: var(--brand); }
.cat-chip.active .chip-img { border-color: #fff; outline: 2px solid var(--brand); }
.cat-chip span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 0; margin-bottom: 20px; border-bottom: 1px solid var(--line);
}
.toolbar .count { color: var(--muted); font-size: 14px; }
.select {
  appearance: none; height: 40px; padding: 0 38px 0 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a716b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
  font: inherit; font-size: 14px; color: var(--ink); cursor: pointer;
}

/* ---------------------------------------------------------------- product cards */
.product-grid { display: grid; gap: 26px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 22px; } }
@media (min-width: 1100px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.product-card { display: block; cursor: pointer; outline: none; }
.pc-media {
  position: relative; overflow: hidden; aspect-ratio: 3 / 4;
  border-radius: var(--radius); background: var(--brand-soft);
}
.pc-media img, .pc-media .ph {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1), opacity .45s ease;
}
.pc-media .pc-alt { opacity: 0; }
.product-card:hover .pc-media img { transform: scale(1.05); }
.product-card:hover .pc-media .pc-alt { opacity: 1; }
.product-card:focus-visible .pc-media { outline: 2px solid var(--brand); outline-offset: 3px; }

.pc-badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  padding: 4px 10px; border-radius: 999px;
  background: #fff; color: var(--danger); font-size: 11.5px; font-weight: 600; letter-spacing: .04em;
  box-shadow: var(--shadow-sm);
}
.pc-view {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1;
  height: 44px; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, .94); color: var(--ink);
  font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s, background .2s, color .2s;
}
.pc-view:hover { background: var(--ink); color: #fff; }
@media (hover: hover) {
  .product-card:hover .pc-view { opacity: 1; transform: none; }
}

.pc-body { padding: 14px 4px 0; }
.pc-body h3 { font-family: var(--font-body); font-size: 15.5px; font-weight: 500; line-height: 1.35; }
.pc-price { margin-top: 4px; font-weight: 600; color: var(--brand); }
.pc-price.on-request { font-weight: 400; color: var(--muted); font-size: 14px; }
.dots { display: flex; gap: 6px; margin-top: 8px; }
.dots i { width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }

/* skeletons */
.skeleton { background: linear-gradient(90deg, #f1ebe4 25%, #f8f4ef 50%, #f1ebe4 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: var(--radius); }
.sk-card { aspect-ratio: 3 / 4; }
.sk-cat { aspect-ratio: 4 / 5; }
@keyframes shimmer { to { background-position: -200% 0; } }

.empty { text-align: center; padding: 70px 16px; color: var(--muted); }
.empty h3 { font-family: var(--font-display); font-size: 24px; margin-bottom: 8px; }
.empty .btn { margin-top: 22px; }

/* ---------------------------------------------------------------- footer */
.site-footer { margin-top: 96px; background: #1c1714; color: #cfc6bd; }
.footer-grid {
  display: grid; gap: 36px 20px; padding-top: 56px; padding-bottom: 40px;
  grid-template-columns: 1fr 1fr;
}
.footer-brand, #footerContactCol { grid-column: 1 / -1; }
@media (min-width: 1000px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; padding-top: 64px; }
  .footer-brand, #footerContactCol { grid-column: auto; }
}

.footer-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-display); font-size: 26px; font-weight: 600; }
.footer-logo img { height: 46px; width: auto; max-width: 180px; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px; }
.footer-brand p { margin-top: 14px; font-size: 15px; line-height: 1.7; max-width: 380px; color: #a99f96; }

.site-footer h4 {
  color: #fff; font-family: var(--font-body); font-size: 13px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer ul a { color: #cfc6bd; font-size: 15px; transition: color .2s, padding .2s; }
.site-footer ul a:hover { color: #fff; padding-left: 4px; }

.contact-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.contact-list svg { flex: 0 0 auto; width: 19px; height: 19px; margin-top: 3px; color: var(--gold); }
.contact-list span { white-space: pre-line; }
.contact-list a:hover { padding-left: 0; }

.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18); color: #fff;
  transition: background .2s, border-color .2s, transform .2s;
}
.socials a:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.socials .fill svg { fill: currentColor; stroke: none; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: #8f857c; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.footer-bottom a:hover { color: #fff; }

/* ---------------------------------------------------------------- floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 25;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  box-shadow: 0 10px 25px -6px rgba(37, 211, 102, .6);
  transition: transform .2s;
}
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--whatsapp); animation: pulse 2.4s ease-out infinite;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; stroke: none; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------------------------------------------------------------- overlays */
.overlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(28, 23, 20, .55);
  display: flex; align-items: flex-end; justify-content: center;
  animation: fade .2s ease;
}
@keyframes fade { from { opacity: 0; } }

.sheet {
  position: relative; width: 100%; max-height: 94vh; overflow-y: auto;
  background: var(--surface); border-radius: 22px 22px 0 0;
  box-shadow: var(--shadow-lg);
  animation: slide-up .3s cubic-bezier(.2, .8, .2, 1);
}
@keyframes slide-up { from { transform: translateY(40px); } }
.form-sheet { max-width: 500px; padding: 28px 20px 26px; }
.form-sheet h2 { font-family: var(--font-display); font-size: 26px; font-weight: 600; padding-right: 40px; }
.form-sheet > .muted { margin-top: 6px; font-size: 15px; }
.sheet.center { text-align: center; }
.sheet.center h2 { padding: 0; }
@media (min-width: 700px) {
  .overlay { align-items: center; padding: 28px; }
  .sheet { border-radius: 22px; }
  .form-sheet { padding: 34px 32px 30px; }
}

.close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--ink);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}
.close svg { width: 20px; height: 20px; }

/* product sheet */
.product-sheet { max-width: 1000px; }
.pd { display: grid; grid-template-columns: 1fr; }
@media (min-width: 820px) {
  .pd { grid-template-columns: 1.05fr 1fr; }
  .product-sheet { max-height: 90vh; }
}
.pd-gallery { position: relative; background: var(--brand-soft); }
@media (min-width: 820px) { .pd-gallery { border-radius: 22px 0 0 22px; overflow: hidden; } }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.slides::-webkit-scrollbar { display: none; }
.slides img, .slides .ph { flex: 0 0 100%; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; scroll-snap-align: start; }
.thumbs { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.thumbs button {
  width: 46px; height: 58px; padding: 0; border-radius: 8px; overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .7); background: #fff; opacity: .75; transition: opacity .2s, border-color .2s;
}
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button.on { opacity: 1; border-color: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }

.pd-info { padding: 24px 20px 28px; display: flex; flex-direction: column; }
@media (min-width: 820px) { .pd-info { padding: 44px 40px 36px; overflow-y: auto; max-height: 90vh; } }
.pd-info .eyebrow { color: var(--gold); font-size: 12px; }
.pd-info h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3.4vw, 34px); margin-top: 8px; }
.pd-price { margin-top: 10px; font-size: 24px; font-weight: 600; color: var(--brand); }
.pd-price.on-request { font-size: 17px; font-weight: 400; color: var(--muted); }
.pd-desc { margin-top: 16px; color: #5b524c; white-space: pre-line; line-height: 1.7; }
.pd-divider { height: 1px; background: var(--line); margin: 22px 0 4px; }

.option { margin-top: 18px; }
.option .label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.option .label em { font-style: normal; font-weight: 400; letter-spacing: .02em; text-transform: none; color: var(--muted); }
.option .label em.low { color: var(--danger); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  min-width: 52px; height: 44px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface);
  font-weight: 500; transition: border-color .15s, background .15s, color .15s;
}
.chip:hover { border-color: var(--ink); }
.chip.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.swatch {
  width: 40px; height: 40px; padding: 0; border-radius: 50%;
  border: 3px solid var(--surface); background: var(--c);
  box-shadow: 0 0 0 1.5px var(--line); transition: box-shadow .15s;
}
.swatch:hover { box-shadow: 0 0 0 1.5px var(--ink); }
.swatch.on { box-shadow: 0 0 0 2px var(--ink); }

.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface); }
.stepper button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 20px; color: var(--ink); }
.stepper button:hover:not(:disabled) { background: var(--brand-soft); }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper span { min-width: 34px; text-align: center; font-weight: 600; }
.stepper.small button { width: 34px; height: 34px; font-size: 17px; }
.stepper.small span { min-width: 26px; font-size: 14px; }

.pd-actions { margin-top: 26px; display: grid; gap: 10px; }
.pd-actions .btn + .btn { margin-top: 0; }

.form-error { color: var(--danger); font-size: 14.5px; margin-top: 14px; }

/* drawers (cart, menu) */
#cartDrawer, #menuDrawer { padding: 0; align-items: stretch; }
#cartDrawer { justify-content: flex-end; }
#menuDrawer { justify-content: flex-start; }
.drawer {
  width: min(430px, 100%); height: 100%;
  display: flex; flex-direction: column;
  background: var(--surface); box-shadow: var(--shadow-lg);
  animation: slide-left .3s cubic-bezier(.2, .8, .2, 1);
}
.drawer-left { width: min(340px, 88%); animation-name: slide-right; }
@keyframes slide-left { from { transform: translateX(60px); opacity: .4; } }
@keyframes slide-right { from { transform: translateX(-60px); opacity: .4; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 14px 22px; border-bottom: 1px solid var(--line); }
.drawer-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ink); }
.drawer-body { flex: 1; overflow-y: auto; padding: 6px 22px; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: var(--bg); }
.drawer-foot:empty { display: none; }

.menu-links { display: flex; flex-direction: column; padding: 10px 0; overflow-y: auto; }
.menu-links a {
  display: flex; align-items: center; gap: 14px; padding: 12px 22px;
  font-size: 16px; font-weight: 500; color: var(--ink);
}
.menu-links a:hover, .menu-links a.active { background: var(--brand-soft); color: var(--brand); }
.menu-links .menu-img { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; }
.menu-links .menu-img img, .menu-links .menu-img .ph { width: 100%; height: 100%; object-fit: cover; font-size: 18px; }
.menu-links hr { border: 0; border-top: 1px solid var(--line); margin: 10px 22px; }

.line { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line-img { position: relative; width: 78px; height: 104px; flex: 0 0 78px; border-radius: var(--radius-sm); overflow: hidden; background: var(--brand-soft); }
.line-img img, .line-img .ph { width: 100%; height: 100%; object-fit: cover; font-size: 26px; }
.line-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.line-info strong { font-weight: 500; color: var(--ink); }
.line-info .muted { font-size: 13.5px; }
.line-info .line-price { font-weight: 600; color: var(--brand); }
.line-info .stepper { margin-top: auto; align-self: flex-start; }
.remove { align-self: flex-start; border: 0; background: none; color: var(--muted); padding: 2px; border-radius: 50%; }
.remove:hover { color: var(--danger); }
.remove svg { width: 18px; height: 18px; }

.total { display: flex; justify-content: space-between; align-items: baseline; }
.total span { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.total strong { font-size: 24px; color: var(--ink); }
.drawer-foot .note { font-size: 13px; color: var(--muted); margin-top: 4px; }
.drawer-foot .btn { margin-top: 16px; }

/* checkout form */
.field { display: block; margin-top: 16px; text-align: left; }
.field > span { display: block; font-size: 14px; font-weight: 500; margin-bottom: 7px; color: var(--ink); }
.field small { font-weight: 400; color: var(--muted); }
.req { color: var(--danger); }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; font: inherit; font-size: 16px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: var(--surface); }
#checkoutForm .btn-primary { margin-top: 22px; }

/* success */
.tick {
  width: 76px; height: 76px; margin: 6px auto 16px; border-radius: 50%;
  display: grid; place-items: center; background: #e7f6ec; color: #1e8a4c;
}
.tick svg { width: 38px; height: 38px; stroke-width: 2.4; animation: draw .6s .1s ease both; stroke-dasharray: 30; }
@keyframes draw { from { stroke-dashoffset: 30; } to { stroke-dashoffset: 0; } }
#successModal p { margin: 10px 0 24px; color: var(--muted); }
#successModal strong { color: var(--ink); }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 60; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
  max-width: calc(100% - 32px); padding: 13px 22px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 15px; box-shadow: var(--shadow-lg);
  animation: rise .3s ease;
}
