:root {
  color-scheme: light;
  --ink: #231f1a;
  --muted: #756a61;
  --paper: #fffdf9;
  --wash: #f8f1e8;
  --panel: #ffffff;
  --line: #e3d8cb;
  --accent: #9b2942;
  --accent-dark: #651727;
  --moss: #2f604b;
  --gold: #a98235;
  --shadow: 0 20px 55px rgba(45, 31, 22, .12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(155, 41, 66, .09), transparent 25rem),
    radial-gradient(circle at 80% 6%, rgba(47, 96, 75, .10), transparent 24rem),
    linear-gradient(180deg, #fffaf4 0%, #fffdf9 45%, #f8f1e9 100%);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html.viewer-open,
html.viewer-open body {
  overflow: hidden;
  overscroll-behavior: none;
}

button,
a,
.card,
.thumb-button,
.nav-button,
.icon-button,
.viewer-mobile-close {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button,
input {
  font: inherit;
}

/* ── Scrolling ticker ─────────────────────────────────── */
.site-ticker {
  position: relative;
  z-index: 10;
  overflow: hidden;
  background: #2f1f16;
  color: #f5e9d8;
  height: 34px;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-scroll 28s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-track .tick-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #f5e9d8;
}

.ticker-track .tick-item svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: #c9974e;
  opacity: .9;
}

.ticker-track .tick-dot {
  color: #c9974e;
  font-size: 16px;
  padding: 0 4px;
  opacity: .6;
  user-select: none;
}

/* ── Site hero ────────────────────────────────────────── */
.site-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(176, 138, 61, .25);
}

.site-hero::before {
  content: none;
}

.topbar {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
  min-height: 116px;
  padding: 10px clamp(18px, 4vw, 52px) 0;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: clamp(138px, 16vw, 215px);
  height: auto;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, .95)) drop-shadow(0 4px 14px rgba(45, 31, 22, .15));
}

.eyebrow,
.section-kicker {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-copy h2,
.viewer-info h2 {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.whatsapp-link,
.phone-link,
.instagram-link,
.primary-action,
.secondary-action {
  position: relative;
  min-height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  font-weight: 900;
  text-decoration: none;
  transform: translateY(0) scale(1);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
  will-change: transform;
}

.action-link svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: currentColor;
}

.whatsapp-link svg {
  fill: currentColor;
}

.header-actions {
  position: absolute;
  top: 50%;
  left: clamp(430px, 45vw, 690px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 5px;
  border: 1px solid rgba(227, 216, 203, .55);
  border-radius: 999px;
  background: rgba(255, 253, 249, .80);
  box-shadow: 0 14px 34px rgba(45, 31, 22, .08);
  backdrop-filter: blur(14px);
  transform: translate(-50%, -50%);
}

.whatsapp-link,
.primary-action {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 22px rgba(152, 40, 63, .22);
}

.action-link:hover,
.action-link:focus-visible,
.primary-action:hover,
.secondary-action:hover,
.zoom-action:hover {
  transform: translateY(-3px) scale(1.045);
}

.action-link:hover,
.action-link:focus-visible {
  box-shadow: 0 16px 32px rgba(45, 31, 22, .16);
  border-color: rgba(155, 41, 66, .36);
}

.whatsapp-link:hover,
.whatsapp-link:focus-visible,
.primary-action:hover {
  background: var(--accent-dark);
  box-shadow: 0 18px 34px rgba(152, 40, 63, .28);
}

.phone-link,
.instagram-link {
  border: 1px solid rgba(176, 138, 61, .45);
  background: rgba(255, 253, 249, .82);
  color: var(--accent-dark);
}

.instagram-link {
  color: var(--accent);
}

.hero-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(14px, 2vw, 22px);
  padding: 0 clamp(18px, 4vw, 52px) 18px;
}

.hero-copy {
  max-width: none;
  margin-top: 24px;
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid rgba(227, 216, 203, .85);
  border-radius: 18px;
  background: rgba(255, 253, 249, .72);
  box-shadow: 0 18px 45px rgba(45, 31, 22, .08);
  backdrop-filter: blur(14px);
}

.hero-copy h2 {
  max-width: 560px;
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 950;
  line-height: 1;
  color: var(--accent-dark);
}

.hero-copy h2 span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: .44em;
  font-weight: 850;
  line-height: 1.2;
}

.hero-subcopy {
  max-width: 640px;
  margin: 14px 0 0;
  color: var(--accent-dark);
  font-size: clamp(15px, 1.45vw, 18px);
  font-weight: 850;
  line-height: 1.45;
}

.hero-subcopy + .hero-subcopy {
  margin-top: 4px;
}

.hero-benefits {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 0;
}

.hero-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(47, 96, 75, .24);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(47, 96, 75, .14), rgba(255, 255, 255, .82));
  color: var(--moss);
  box-shadow: 0 10px 24px rgba(47, 96, 75, .10);
  font-size: clamp(14px, 1.25vw, 16px);
  font-weight: 950;
  line-height: 1.15;
}

.hero-benefits span svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  fill: currentColor;
  opacity: .85;
}

.hero-benefits span:nth-child(2) {
  border-color: rgba(176, 138, 61, .34);
  background: linear-gradient(135deg, rgba(176, 138, 61, .18), rgba(255, 255, 255, .86));
  color: #76551d;
  box-shadow: 0 10px 24px rgba(176, 138, 61, .12);
}

.hero-benefits span:nth-child(3) {
  border-color: rgba(140, 80, 120, .28);
  background: linear-gradient(135deg, rgba(140, 80, 120, .14), rgba(255, 255, 255, .84));
  color: #7a3a6a;
  box-shadow: 0 10px 24px rgba(140, 80, 120, .10);
}


.hero-meta {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}

.hero-meta span,
.toolbar-status,
.toolbar .item-chip {
  border: 1px solid rgba(176, 138, 61, .36);
  background: rgba(255, 255, 255, .64);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 13.5px;
  font-weight: 800;
}

/* ── Hero photo reel ───────────────────────────────────── */
.hero-photo-reel {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-height: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(227, 216, 203, .85);
  background: rgba(255, 253, 249, .72);
  box-shadow: 0 18px 45px rgba(45, 31, 22, .08);
  backdrop-filter: blur(14px);
}

.hero-photo-track {
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  align-self: stretch;
  min-height: 0;
  height: 100%;
  gap: 8px;
  padding: 8px;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-scroll 30s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo-track { animation: none; }
}

.hero-photo-track img {
  display: block;
  flex: 0 0 auto;
  height: 100%;
  width: clamp(140px, 11vw, 170px);
  object-fit: cover;
  object-position: center center;
  border-radius: 10px;
  border: 4px solid #fff;
  box-shadow: 0 8px 22px rgba(45, 31, 22, .12);
}

.hero-stack img,
.card-image,
.card-image-bg,
.thumb-button img,
.thumb-button video,
.brand-logo {
  color: transparent;
}

.hero-photo-track img,
.card-image,
.card-image-bg,
.thumb-button img,
.thumb-button video,
.brand-logo {
  color: transparent;
}

.toolbar {
  position: sticky;
  top: 0;
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px clamp(18px, 4vw, 52px);
  background: rgba(255, 253, 249, .84);
  border-top: 1px solid rgba(227, 216, 203, .7);
  backdrop-filter: blur(18px);
}

.search-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex: 1 1 0;
  min-width: 0;
}

.toolbar-status {
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  opacity: .75;
  border: none !important;
  background: transparent !important;
  padding: 0 4px !important;
  border-radius: 0 !important;
}

.toolbar-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.tinfo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(176, 138, 61, .32);
  background: rgba(255, 255, 255, .6);
  color: var(--muted);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.tinfo-badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
  opacity: .75;
}

.tinfo-included {
  color: var(--moss);
  border-color: rgba(47, 96, 75, .28);
  background: rgba(47, 96, 75, .07);
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
}

.sort-label {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-right: 2px;
}

.sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1.5px solid rgba(176, 138, 61, .38);
  background: rgba(255, 255, 255, .7);
  color: var(--muted);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
  user-select: none;
}

.sort-btn svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: currentColor;
}

.sort-btn:hover {
  border-color: rgba(152, 40, 63, .45);
  color: var(--accent-dark);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 4px 12px rgba(45, 31, 22, .08);
}

.sort-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(152, 40, 63, .28);
}

.sort-select-wrap {
  display: none;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.sort-select {
  min-height: 38px;
  border: 1.5px solid rgba(176, 138, 61, .38);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 0 12px;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 0;
  min-width: 0;
  max-width: 680px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(176, 138, 61, .38);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 10px 28px rgba(45, 31, 22, .07);
}

.search-label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
}

/* ensure hidden attribute wins over display:grid / display:flex */
.gallery[hidden],
.sarees-coming-soon[hidden] {
  display: none !important;
}

/* ── Catalog tabs (live inside .toolbar) ──────────────── */
.catalog-tabs {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.catalog-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1.5px solid rgba(227, 216, 203, .9);
  border-radius: 999px;
  background: rgba(255, 253, 249, .7);
  color: var(--muted);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 850;
  letter-spacing: .01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s;
}

.catalog-tab svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: currentColor;
  opacity: .75;
}

.catalog-tab:hover {
  border-color: rgba(106, 35, 50, .35);
  color: var(--accent-dark);
  background: rgba(255, 253, 249, .95);
}

.catalog-tab.active {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  box-shadow: 0 6px 20px rgba(106, 35, 50, .28);
}

.catalog-tab.active svg {
  opacity: 1;
}

/* ── Silk Sarees coming-soon panel ─────────────────────── */
.sarees-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 55vh;
  padding: clamp(40px, 6vw, 80px) clamp(18px, 4vw, 52px) 0;
  gap: 0;
}

.coming-soon-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: clamp(40px, 5vw, 70px) clamp(30px, 5vw, 70px);
  border: 1px solid rgba(227, 216, 203, .85);
  border-radius: 22px;
  background: rgba(255, 253, 249, .72);
  box-shadow: 0 18px 50px rgba(45, 31, 22, .08);
  backdrop-filter: blur(14px);
  max-width: 560px;
  width: 100%;
}

.coming-soon-glyph {
  font-size: 40px;
  color: #c9974e;
  line-height: 1;
  animation: cs-pulse 2.6s ease-in-out infinite;
}

@keyframes cs-pulse {
  0%, 100% { transform: scale(1); opacity: .7; }
  50%       { transform: scale(1.18); opacity: 1; }
}

.coming-soon-heading {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 950;
  color: var(--accent-dark);
  line-height: 1.05;
  margin: 0;
}

.coming-soon-sub {
  font-size: clamp(14px, 1.4vw, 16px);
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
  margin: 0;
  max-width: 400px;
}

.coming-soon-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 12px 26px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .02em;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .32);
  transition: transform .15s, box-shadow .15s;
}

.coming-soon-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(37, 211, 102, .38);
}

.coming-soon-cta svg {
  width: 18px;
  height: 18px;
  fill: #fff;
  flex-shrink: 0;
}

.coming-soon-ticker-wrap {
  overflow: hidden;
  width: 100%;
  margin-top: 36px;
  padding: 14px 0;
  background: #2f1f16;
  border-radius: 14px;
}

.coming-soon-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-scroll 18s linear infinite;
  color: #f5e9d8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.coming-soon-track span {
  padding: 0 22px;
}

.coming-soon-track .cs-dot {
  color: #c9974e;
  font-size: 14px;
  padding: 0 4px;
  opacity: .7;
}

@media (prefers-reduced-motion: reduce) {
  .coming-soon-track { animation: none; }
  .coming-soon-glyph { animation: none; }
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 28px);
  padding: clamp(16px, 3vw, 38px) clamp(14px, 4vw, 52px) 52px;
}

.card {
  appearance: none;
  width: 100%;
  padding: 0;
  border: 1.5px solid rgba(176, 138, 61, .32);
  border-radius: 12px;
  overflow: hidden;
  background: var(--panel);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(45, 31, 22, .08), 0 1px 3px rgba(45, 31, 22, .06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(152, 40, 63, .52);
  box-shadow: 0 22px 52px rgba(45, 31, 22, .18), 0 4px 8px rgba(152, 40, 63, .08);
}

.card:active {
  transform: translateY(-1px) scale(.985);
  box-shadow: 0 4px 12px rgba(45, 31, 22, .10);
}

.card:focus-visible,
.icon-button:focus-visible,
.nav-button:focus-visible,
.primary-action:focus-visible,
.secondary-action:focus-visible,
.zoom-action:focus-visible {
  outline: 3px solid rgba(152, 40, 63, .35);
  outline-offset: 3px;
}

.card-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #1f1814;
  line-height: 0;
}

.card-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform .32s ease;
}

.card:hover .card-image {
  transform: scale(1.02);
}

.card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 8px 10px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 16, 12, 0) 0%, rgba(20, 16, 12, .72) 72%);
}

.card-overlay .media-chip,
.card-body-counts .media-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(35, 31, 26, .88);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.card-body-counts {
  display: none;
}

.card-meta-row {
  display: block;
}

.card-meta-row .item-code {
  margin: 0 0 7px;
}

.card-media-counts {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.media-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.photo-chip svg,
.video-chip svg,
.media-chip svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  fill: currentColor;
  opacity: .92;
}

.video-chip {
  color: #fff;
}

.photo-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-body {
  display: block;
  padding: 14px 14px 12px;
  border-top: 1px solid rgba(227, 216, 203, .7);
}

.card-body span {
  display: block;
}

.card-cta {
  display: flex !important;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(227, 216, 203, .6);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: .04em;
  transition: gap .15s;
}

.card-cta svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

.card:hover .card-cta {
  gap: 9px;
}

.item-code {
  margin: 0 0 7px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
}

.card-title {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.18;
  font-weight: 900;
}

.count {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.price {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 8px;
  padding: 6px 11px;
  border: 1px solid rgba(155, 41, 66, .18);
  border-radius: 999px;
  background: rgba(155, 41, 66, .10);
  color: var(--accent-dark);
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
}

.price:has(.price-stack) {
  padding: 0;
  border: none;
  background: none;
  margin: 0 0 8px;
}

.viewer-name-price .price:has(.price-stack) {
  margin: 0;
}

.viewer-mobile-copy .price:has(.price-stack) {
  margin: 0;
  padding: 0;
  font-size: inherit;
}

.price-stack {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  max-width: 100%;
}

.price-stack .price {
  margin: 0;
  flex-shrink: 0;
}

.price-was {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.1;
  flex-shrink: 1;
  min-width: 0;
}

.price-was-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .72;
}

.price-was-amount {
  text-decoration: line-through;
  opacity: .78;
}

.card-body .price-stack {
  display: inline-flex;
}

.card-body .price-stack .price,
.card-body .price-stack .price-was {
  display: inline-flex;
}

.price-original {
  text-decoration: line-through;
  opacity: .62;
  font-size: 15px;
  font-weight: 800;
  background: rgba(107, 83, 68, .08);
  border-color: rgba(107, 83, 68, .16);
  color: var(--muted);
}

.price-sale {
  background: rgba(47, 96, 75, .12);
  border-color: rgba(47, 96, 75, .24);
  color: var(--moss);
}

.card.is-sold .card-image,
.card.is-sold .card-media video {
  filter: saturate(.72) brightness(.94);
}

.card-sold-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(45, 31, 22, .78);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  pointer-events: none;
}

.viewer-name-price .price-stack {
  margin: 0;
}

.viewer-name-price .price-was {
  font-size: 15px;
}

.viewer-name-price .price-sale {
  font-size: 20px;
}

.viewer-mobile-copy .price-stack {
  margin: 0;
  align-items: baseline;
  gap: 6px;
}

.viewer-mobile-copy .price-was {
  font-size: 11px;
}

.viewer-mobile-copy .price-was-label {
  font-size: 9px;
}

.viewer-mobile-copy .price-sale {
  font-size: 15px;
}

.fulfillment {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.fulfillment span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 6px 9px;
  border: 1px solid rgba(47, 96, 75, .20);
  border-radius: 999px;
  background: rgba(47, 96, 75, .10);
  color: var(--moss);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 48px 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
  background: rgba(255,255,255,.58);
}

.viewer {
  width: min(1500px, calc(100vw - 8px));
  max-height: calc(100dvh - 8px);
  padding: 0;
  border: 0;
  background: transparent;
}

.viewer::backdrop {
  background: rgba(24, 18, 15, .82);
  backdrop-filter: blur(8px);
}

.viewer-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  grid-template-rows: minmax(0, 1fr) auto;
  /* Fill a real portion of the viewport. Without this the shell auto-sizes
     to the info column (~240px), which collapses the image into a wide short
     strip and jams the title/price/CTA on top of each other. */
  height: calc(100dvh - 8px);
  max-height: calc(100dvh - 8px);
  overflow: hidden;
  background: #1a1410;
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: 0 28px 80px rgba(0,0,0,.32);
}

.viewer-media-wrap {
  position: relative;
  z-index: 1;
  grid-row: 1;
  grid-column: 1;
  align-self: stretch;
  min-height: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  background: #1a1410;
}

.viewer-media-wrap::before {
  content: "";
  position: absolute;
  inset: -15%;
  background-image: var(--viewer-bg, none);
  background-size: cover;
  background-position: center;
  filter: blur(36px) saturate(1.15) brightness(0.68);
  transform: scale(1.12);
  z-index: 0;
  pointer-events: none;
  display: none;
}

.viewer-media-wrap.has-video::before,
.viewer-media-wrap.is-loading-full::before {
  display: block;
}

.viewer-media-wrap.is-loading-full::before {
  inset: 0;
  filter: none;
  transform: none;
  background-size: cover;
  background-position: center center;
  z-index: 1;
}

.viewer-media-wrap.is-loading-full .viewer-image {
  visibility: hidden;
}

.viewer-media-wrap .viewer-image {
  transition: opacity .14s ease;
}

.viewer-media-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 12, 10, .22);
  z-index: 0;
  pointer-events: none;
  display: none;
}

.viewer-media-wrap.has-video::after {
  display: block;
}

.viewer-media-wrap:not([style*="--viewer-bg"])::before {
  display: none;
}

.viewer-media-wrap > .nav-button,
.viewer-media-wrap > .zoom-actions {
  z-index: 2;
}

.viewer-image,
.viewer-video {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  background: transparent;
  z-index: 1;
}

.viewer-image {
  transform-origin: center center;
  transition: transform .16s ease;
  cursor: zoom-in;
  user-select: none;
  touch-action: manipulation;
  will-change: transform;
}

.viewer-video {
  touch-action: manipulation;
}

.viewer-image.is-zoomed {
  transition: none;
  touch-action: none;
}

.viewer-media-wrap.is-zoomed-pan {
  touch-action: none;
}

.viewer-media-wrap.has-video {
  touch-action: manipulation;
  display: block;
}

.viewer-media-wrap.has-video .viewer-video {
  object-fit: cover;
  object-position: center center;
}

.viewer-media-wrap.has-video .nav-button {
  display: none;
}

.viewer-media-wrap.has-video::before {
  display: block;
}

.viewer-shell:has(.viewer-media-wrap.has-video) .close-button {
  top: max(10px, env(safe-area-inset-top, 0px));
  left: max(10px, env(safe-area-inset-left, 0px));
  right: auto;
  width: 38px;
  height: 38px;
  font-size: 17px;
  background: rgba(20, 16, 12, .52);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
  backdrop-filter: blur(10px);
}

.viewer-mobile-bar {
  display: none;
}

.zoom-actions[hidden] {
  display: none !important;
}

.viewer-image[hidden],
.viewer-video[hidden] {
  display: none;
}

.viewer-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 18px;
  border-left: 1px solid var(--line);
  background: linear-gradient(180deg, #fffdf9, #f8f1e8);
}

.viewer-info-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 0;
  min-height: 0;
  justify-content: flex-end;
}

.viewer-info h2 {
  margin: 0;
  font-size: clamp(19px, 1.8vw, 25px);
  line-height: 1.1;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.viewer-name-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 10px;
}

.viewer-name-price .price {
  margin: 0;
  font-size: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.viewer-info .count {
  display: grid;
  gap: 8px;
  line-height: 1.2;
}

.viewer-info .count span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid rgba(47, 96, 75, .20);
  border-radius: 999px;
  background: rgba(47, 96, 75, .10);
  color: var(--moss);
  font-size: 13px;
  font-weight: 900;
}

.actions {
  display: grid;
  gap: 8px;
}

.zoom-actions {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(24, 18, 15, .54);
  backdrop-filter: blur(12px);
}

.zoom-action {
  min-width: 42px;
  min-height: 36px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--accent-dark);
  font-weight: 900;
  cursor: pointer;
}

.zoom-action:nth-child(2) {
  min-width: 62px;
}

.secondary-action {
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
}

.viewer-thumbs {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px;
  background: #f4ede5;
  border-top: 1px solid var(--line);
}

.thumb-button {
  position: relative;
  width: 66px;
  height: 66px;
  flex: 0 0 auto;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}

.thumb-button.is-video {
  border-color: rgba(47, 96, 75, .35);
}

.thumb-button.is-video.active {
  border-color: var(--accent);
}

.thumb-play-badge {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(18, 14, 12, .42);
  pointer-events: none;
}

.thumb-play-badge svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.35));
}

.thumb-button.active .thumb-play-badge {
  background: rgba(18, 14, 12, .28);
}

.thumb-button.active {
  border-color: var(--accent);
}

.thumb-button img,
.thumb-button video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.icon-button {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: var(--ink);
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(0,0,0,.16);
}

/* Prev / Next arrows — semi-transparent edge tabs, slightly below centre */
.nav-button {
  position: absolute;
  top: 62%;
  z-index: 2;
  width: 32px;
  height: 58px;
  transform: translateY(-50%);
  border: 0;
  background: rgba(0, 0, 0, .42);
  color: rgba(255, 255, 255, .88);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  opacity: 0.72;
  transition: opacity .18s, background .18s;
}

.nav-button:hover,
.nav-button:focus-visible {
  opacity: 1;
  background: rgba(0, 0, 0, .62);
}

.prev { left: 0; border-radius: 0 8px 8px 0; }
.next { right: 0; border-radius: 8px 0 0 8px; }

@media (max-width: 1180px) {
  .topbar {
    flex-direction: column;
    justify-items: center;
    justify-content: center;
    min-height: 0;
    padding-bottom: 10px;
  }

  .brand-lockup {
    justify-content: center;
  }

  .header-actions {
    position: static;
    transform: none;
  }

  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-hero {
    overflow: visible;
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }

  .topbar {
    gap: 12px;
    padding: max(14px, env(safe-area-inset-top, 0px)) 14px 0;
  }

  .brand-logo {
    width: min(210px, 64vw);
  }

  .header-actions {
    width: min(100%, 440px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .whatsapp-link {
    grid-column: auto;
  }

  .action-link {
    min-height: 44px;
    padding: 0 10px;
    border-radius: 14px;
    font-size: 13px;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(45, 31, 22, .08);
  }

  .action-link span {
    display: none;
  }

  .action-link svg {
    width: 22px;
    height: 22px;
  }

  .hero-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 38vw);
    gap: 12px;
    padding: 10px 14px 10px;
  }

  .hero-photo-reel {
    margin-top: 10px;
    border-radius: 14px;
  }

  .hero-copy {
    max-width: none;
    margin-top: 8px;
    padding: 14px 16px;
    border-radius: 14px;
  }

  .hero-copy h2 {
    max-width: none;
    font-size: 26px;
    line-height: 1.05;
  }

  .hero-copy h2 span {
    margin-top: 4px;
    font-size: .5em;
  }

  .hero-benefits {
    gap: 8px;
    margin-top: 12px;
  }

  .hero-benefits span {
    min-height: 36px;
    padding: 6px 12px;
    font-size: 13px;
  }

  .hero-benefits span svg {
    width: 15px;
    height: 15px;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toolbar {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 14px;
  }

  .catalog-tabs {
    gap: 6px;
  }

  .catalog-tab {
    padding: 9px 14px;
    font-size: 13px;
  }

  .catalog-tab svg {
    width: 15px;
    height: 15px;
  }

  .toolbar-info {
    display: none;
  }

  .sort-control {
    justify-content: flex-start;
  }

  .viewer {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    height: 100svh;
    max-height: 100dvh;
    max-height: 100svh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
  }

  .viewer-shell {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto auto;
    width: 100%;
    height: 100dvh;
    height: 100svh;
    max-height: 100dvh;
    max-height: 100svh;
    overflow: hidden;
    padding-top: env(safe-area-inset-top, 0px);
  }

  .viewer-info {
    display: none;
  }

  .viewer-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px max(10px, env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, #fffdf9, #f8f1e8);
  }

  .viewer-mobile-close {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid rgba(155, 41, 66, .22);
    border-radius: 999px;
    background: #fff;
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
  }

  .viewer-shell > .close-button {
    display: none;
  }

  .viewer-mobile-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
  }

  .viewer-mobile-copy .item-code {
    margin: 0;
    font-size: 11px;
  }

  .viewer-mobile-copy strong {
    font-size: 15px;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .viewer-mobile-copy .price {
    margin: 0;
    padding: 4px 8px;
    font-size: 13px;
  }

  .viewer-mobile-bar .primary-action {
    flex-shrink: 0;
    min-height: 44px;
    padding: 0 14px;
    font-size: 13px;
    white-space: nowrap;
  }

  .viewer-media-wrap {
    position: relative;
    min-height: 0;
    width: 100%;
    height: 100%;
    touch-action: manipulation;
    display: block;
  }

  .nav-button {
    top: 50%;
    width: 44px;
    height: 64px;
    font-size: 30px;
    opacity: 0.85;
  }

  .zoom-actions {
    right: 10px;
    bottom: 10px;
    gap: 5px;
    padding: 4px;
  }

  .zoom-action {
    min-width: 36px;
    min-height: 32px;
    font-size: 12px;
  }

  .zoom-action:nth-child(2) {
    min-width: 52px;
  }

  .viewer-thumbs {
    gap: 6px;
    padding: 8px 8px max(8px, env(safe-area-inset-bottom, 0px));
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  .thumb-button {
    width: 54px;
    height: 54px;
    scroll-snap-align: start;
  }

  .card-media-counts {
    gap: 4px;
  }

  .card-overlay {
    display: none;
  }

  .card-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 7px;
  }

  .card-meta-row .item-code {
    margin: 0;
    flex-shrink: 0;
  }

  .card-body-counts {
    display: inline-flex;
    flex-shrink: 0;
  }

  .card-body-counts .media-chip {
    padding: 3px 7px;
    font-size: 10px;
    gap: 3px;
  }

  .card-body-counts .media-chip svg {
    width: 10px;
    height: 10px;
  }

  .card-image {
    transform: none;
  }

  body:has(.viewer[open]) .media-compare-panel {
    display: none;
  }
}

@media (max-width: 560px) {
  .topbar {
    align-items: center;
    justify-items: stretch;
    gap: 10px;
    padding-top: 10px;
  }

  .brand-logo {
    width: min(166px, 48vw);
  }

  .header-actions {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .whatsapp-link {
    grid-column: auto;
  }

  .action-link {
    min-height: 44px;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 12px;
    justify-content: center;
  }

  .action-link span {
    display: none;
  }

  .action-link svg {
    width: 22px;
    height: 22px;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    padding: 8px 10px 6px;
    gap: 8px;
  }

  .hero-photo-reel {
    display: none;
  }

  .hero-copy {
    margin-top: 0;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .hero-copy h2 {
    font-size: 22px;
  }

  .hero-copy h2 span {
    font-size: .54em;
  }

  .hero-benefits {
    gap: 7px;
    margin-top: 10px;
  }

  .hero-benefits span {
    min-height: 34px;
    padding: 5px 11px;
    font-size: 12.5px;
    line-height: 1.2;
  }

  .toolbar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
  }

  .catalog-tabs {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .catalog-tabs::-webkit-scrollbar {
    display: none;
  }

  .sort-control {
    display: none;
  }

  .sort-select-wrap {
    display: flex;
    flex: 0 0 auto;
    width: auto;
    margin-left: auto;
  }

  .sort-select {
    width: auto;
    min-width: 0;
    max-width: 132px;
    min-height: 44px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    padding: 0 28px 0 10px;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236b5344'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding-inline: 10px;
  }

  .card-body {
    padding: 11px;
  }

  .card-title {
    font-size: 14px;
  }

  .card-cta {
    font-size: 11.5px;
    margin-top: 8px;
    padding-top: 8px;
  }

  .viewer-mobile-bar .primary-action {
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
/* Only shown when the private ?compare=1 test link is used. */
.media-compare-panel {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1000;
  display: grid;
  gap: 10px;
  width: min(320px, calc(100vw - 24px));
  padding: 14px 16px;
  border: 1px solid rgba(77, 53, 33, 0.2);
  border-radius: 14px;
  background: rgba(255, 252, 246, 0.96);
  box-shadow: 0 14px 36px rgba(54, 36, 22, 0.2);
  color: #3f2c20;
  backdrop-filter: blur(12px);
}

.media-compare-panel strong {
  font-size: 1rem;
}

.media-compare-lead,
.media-compare-note {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #765f50;
}

.media-compare-status {
  font-size: 0.78rem;
  color: #5a4638;
  font-weight: 800;
}

.media-compare-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.media-compare-panel button {
  padding: 8px 10px;
  border: 1px solid #bfa98f;
  border-radius: 999px;
  background: #fff;
  color: #4b3425;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.media-compare-panel button.active {
  border-color: #6f4326;
  background: #6f4326;
  color: #fff;
}

.media-compare-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 12px;
  box-sizing: border-box;
}

.compare-pane {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 8px;
  min-height: 0;
  margin: 0;
}

.compare-pane figcaption {
  margin: 0;
  padding: 6px 10px;
  width: fit-content;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #3f2c20;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.compare-pane img,
.compare-pane video {
  width: 100%;
  height: 100%;
  max-height: min(72vh, 820px);
  object-fit: contain;
  border-radius: 10px;
  background: #111;
}

.thumb-button.has-compare::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f604b;
  box-shadow: 0 0 0 2px #fff;
  pointer-events: none;
}

@media (max-width: 760px) {
  .media-compare-split {
    grid-template-columns: 1fr;
    overflow-y: auto;
    align-content: start;
  }

  .compare-pane img,
  .compare-pane video {
    max-height: 42vh;
  }

  .media-compare-panel {
    right: 10px;
    bottom: 10px;
  }
}
