:root {
  --paper: #f7f5f1;
  --paper-soft: #f1ede5;
  --surface: #ffffff;
  --ink: #15130f;
  --ink-soft: #29261f;
  --muted: #6e6a62;
  --gold: #b98a4b;
  --gold-deep: #9d7138;
  --gold-pale: #e8dcc3;
  --accent: #9d7138;
  --accent-pale: #e8dcc3;
  --line: #e5dfd3;
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 12px 40px rgba(23, 18, 10, 0.08);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}













.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(247, 245, 241, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  height: 34px;
  flex: 0 0 auto;
}

.brand-logo img {
  width: auto;
  height: 100%;
  display: block;
}

.footer-logo {
  height: 30px;
}

.brand-word {
  font-family: var(--serif);
  font-size: clamp(25px, 2.6vw, 32px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-word > span {
  display: inline-block;
  vertical-align: middle;
}

.brand-oracle {
  width: 0.82em;
  height: 0.82em;
  display: inline-block;
  vertical-align: -0.08em;
  margin: 0 -0.02em;
}

.brand-oracle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-tagline {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.34em;
  color: var(--accent);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  justify-content: center;
  flex: 1 1 auto;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.55);
  flex: 0 0 auto;
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-switch button.active {
  background: var(--ink);
  color: #fff;
}

.contact-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.contact-link:hover {
  background: var(--ink);
  color: #fff;
}

.contact-panel {
  position: fixed;
  top: 88px;
  right: 24px;
  z-index: 40;
  width: min(300px, calc(100vw - 32px));
  padding: 22px 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-panel[hidden] {
  display: none;
}

.contact-panel-label {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.contact-panel a {
  display: block;
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
}

.contact-panel button {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-panel button:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
}

.app {
  flex: 1 1 auto;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 38px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: var(--paper-soft);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-word {
  font-size: 24px;
}

.footer-brand p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
}

.footer-meta span:first-child {
  color: var(--ink);
  letter-spacing: 0.18em;
}

/* Sections */
.section {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 96px clamp(20px, 4vw, 48px);
}

/* Collection pages */
.collection-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.collection-hero .collection-title {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.collection-hero .collection-lede {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  max-width: 46ch;
}

.collection-hero .collection-note {
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.collection-art {
  min-height: 0;
  background: transparent;
  border: 0;
  display: grid;
  place-items: center;
}

.collection-art img {
  width: min(180px, 60%);
  aspect-ratio: 402 / 542;
  object-fit: contain;
  opacity: 0.9;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper-soft);
  border: 0;
  padding: 0;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-item .gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 32px 16px 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(13, 11, 8, 0.72));
  text-align: center;
}

.gallery-item .gallery-count {
  position: absolute;
  top: 12px;
  right: 12px;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(13, 11, 8, 0.68);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 50px 24px;
  text-align: center;
  border: 1px solid var(--line);
  background: var(--surface);
}

.empty-state .empty-symbol {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 28px;
}

.empty-state h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
}

.status-banner {
  margin: 0 0 28px;
  padding: 14px 18px;
  border-left: 2px solid var(--gold);
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink-soft);
  font-size: 13px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(13, 11, 8, 0.94);
  display: grid;
  place-items: center;
}

.lightbox img {
  max-width: min(94vw, 1600px);
  max-height: 92vh;
  object-fit: contain;
}

.lightbox button {
  position: absolute;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  padding: 12px;
  opacity: 0.8;
}

.lightbox button:hover {
  opacity: 1;
}

.lightbox-close {
  top: 18px;
  right: 24px;
}

.lightbox-prev {
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
}

/* Product collection */
.eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.2vw, 28px);
}

.collection-subseries + .collection-subseries {
  margin-top: 72px;
}

.collection-subhead {
  display: grid;
  gap: 10px;
  margin: 0 0 30px;
}

.collection-subhead .eyebrow {
  margin: 0;
}

.collection-subhead h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

.collection-subhead p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  background: transparent;
}

.product-card:hover {
  transform: none;
}

.product-card-media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper-soft);
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.7s ease;
}

.product-card:hover .product-card-media img {
  transform: scale(1.035);
}

.product-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 0 0;
}

.product-card-sku {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
}

.product-card-name {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
}

.product-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-card-price {
  font-size: 15px;
  color: var(--ink);
}

.product-card-contact {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.product-card-arrow {
  font-size: 18px;
  color: var(--gold-deep);
}

/* Product detail */
.product-detail {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 48px clamp(20px, 5vw, 72px) 110px;
}

.product-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.product-visual {
  position: sticky;
  top: 96px;
}

.product-main {
  position: relative;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper-soft);
  overflow: hidden;
  cursor: zoom-in;
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
}

.product-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-gallery {
  display: grid;
  grid-template-columns: clamp(58px, 6vw, 84px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.product-thumbs-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  max-height: 78vh;
  overflow-y: auto;
  padding-right: 2px;
}

.product-thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper-soft);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.product-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumb:hover,
.product-thumb.active {
  border-color: var(--gold);
  opacity: 1;
}

.product-info {
  display: flex;
  flex-direction: column;
}

.product-title {
  margin: 10px 0 18px;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
}

.showroom-note {
  margin: 0 0 26px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.showroom-cta {
  align-self: flex-start;
}

.product-price-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.product-price {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1;
}

.product-tax {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-lead {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.product-options {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.option-block {
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.option-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.option-name {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.option-price {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--gold-deep);
}

.option-note {
  margin: 8px 0 12px;
  font-size: 13px;
  color: var(--muted);
}

.size-pills,
.measure-chips,
.choice-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-pill {
  min-width: 42px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.choice-pill:hover {
  border-color: var(--gold);
}

.choice-pill.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.fabric-pill {
  min-width: auto;
  height: auto;
  padding: 8px 12px;
  font-size: 12px;
}

.measure-chip {
  padding: 7px 10px;
  border: 1px solid var(--gold-pale);
  background: var(--paper-soft);
  font-size: 12px;
  color: var(--ink-soft);
}

.fit-option {
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.fit-option.active {
  border-color: var(--ink);
  background: #fff;
}

.fit-option .measure-fields,
.fit-option .measure-summary {
  display: none;
}

.fit-option.active .measure-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.fit-option.active .measure-summary {
  display: table;
}

.measure-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  margin: 12px 0 0;
  padding: 7px 11px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.fit-option.active .measure-toggle {
  display: inline-flex;
}

.fit-option.measurements-collapsed .measure-fields,
.fit-option.measurements-collapsed .measure-summary {
  display: none !important;
}

.measure-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.measure-field span {
  font-size: 12px;
  color: var(--muted);
}

.measure-field input {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
}

.measure-summary {
  width: 100%;
  margin-top: 14px;
  border-collapse: collapse;
}

.measure-summary th,
.measure-summary td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  text-align: left;
}

.measure-summary th {
  color: var(--muted);
  font-weight: 400;
}

.measure-summary td {
  color: var(--ink);
}

.consult-status {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--gold-deep);
}

.consult-status.error {
  color: #b0463f;
}

.shipping-block {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.shipping-options {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.shipping-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  align-items: center;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.shipping-option:hover {
  border-color: var(--gold);
}

.shipping-option.active {
  border-color: var(--ink);
  background: #fff;
}

.shipping-option-label {
  font-size: 13px;
  color: var(--ink);
}

.shipping-option-note {
  grid-column: 1;
  font-size: 11px;
  color: var(--muted);
}

.shipping-option-price {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--gold-deep);
}

.order-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.order-total strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  align-self: flex-start;
  padding: 16px 26px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.cta:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
}

.product-description {
  position: relative;
  max-width: 860px;
  margin-top: 72px;
}

.product-description::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/oracle-sun-gold.png") right 36px center / min(360px, 55%) no-repeat;
  opacity: 0.06;
  pointer-events: none;
}

.product-description > * {
  position: relative;
  z-index: 1;
}

.product-description p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.product-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.fact-block {
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.fact-block h3 {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.fact-block p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.fact-care {
  grid-column: 1 / -1;
}

.product-fabric-detail {
  margin-top: 48px;
}

.fabric-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.fabric-detail-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.fabric-detail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .main-nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-inner {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    min-height: 0;
    padding: 64px 24px 72px;
  }

  .hero-inner::before {
    background: linear-gradient(180deg, rgba(247, 245, 241, 0.94), rgba(247, 245, 241, 0.5) 60%, rgba(247, 245, 241, 0) 100%);
  }

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

  .category-card[data-category="bridal"],
  .category-card[data-category="silk"],
  .category-card[data-category="groom"],
  .category-card[data-category="party"] {
    grid-column: auto;
    min-height: 360px;
  }

  .story-grid,
  .collection-hero,
  .editorial-band {
    grid-template-columns: 1fr;
  }

  .culture-band-inner {
    padding-left: 0;
  }

  .culture-mark {
    position: static;
    transform: none;
    display: block;
    margin: 0 auto 24px;
  }

  .story-mark {
    width: min(160px, 45%);
  }

  .collection-art {
    min-height: 300px;
  }

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

  .product-card,
  .product-card:nth-child(8n+1),
  .product-card:nth-child(8n+4),
  .product-card:nth-child(8n+6) {
    grid-column: auto;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-visual {
    position: static;
  }

  .product-facts {
    grid-template-columns: 1fr;
  }

  .fabric-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 82vh;
  }

  .hero-inner {
    padding: 64px 24px;
  }

  .hero h1 {
    font-size: 29px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 250px;
  }

  .category-card[data-category="bridal"],
  .category-card[data-category="silk"],
  .category-card[data-category="groom"],
  .category-card[data-category="party"] {
    min-height: 250px;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .gallery-item .gallery-caption {
    font-size: 9px;
    padding-top: 24px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card,
  .product-card:nth-child(8n+1),
  .product-card:nth-child(8n+4),
  .product-card:nth-child(8n+6) {
    grid-column: auto;
  }

  .product-gallery {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 8px;
  }

  .product-thumbs-rail {
    max-height: 76vh;
  }

  .fabric-detail-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    align-items: flex-start;
  }
}

/* ==== "Archivo" design system (2026-10-30). Everything below overrides the base rules above. ==== */
@font-face { font-family: "Familjen Grotesk"; src: url("assets/fonts/familjen-grotesk-var.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Familjen Grotesk"; src: url("assets/fonts/familjen-grotesk-italic-var.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("assets/fonts/ibm-plex-mono-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
.mm-vmark-frame { position: relative; display: block; width: 24px; height: 112px; flex: 0 0 24px; }
.mm-vmark { position: absolute; left: 50%; top: 50%; width: 112px; height: 24px; max-width: none; object-fit: contain; transform: translate(-50%, -50%) rotate(90deg); }
body.v2 {
  --paper: #efece6; --paper-soft: #e7e3db; --surface: #efece6;
  --ink: #161412; --ink-soft: #2a2724; --muted: #6c675f;
  --gold: #161412; --gold-deep: #161412; --gold-pale: #d9d4ca; --accent: #161412; --accent-pale: #d9d4ca;
  --line: rgba(22, 20, 18, 0.16); --shadow: none;
  --serif: "Familjen Grotesk", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  --sans: var(--serif);
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gut: clamp(16px, 3.2vw, 48px);
  background: var(--paper); font-size: 15px; font-weight: 400; line-height: 1.5;
}
body.v2 *:not(.mm-c) { border-radius: 0 !important; box-shadow: none !important; }
body.v2 *, body.v2 *::before, body.v2 *::after { transition-duration: 0.2s !important; animation: none !important; }
body.v2 :is(h1, h2, h3, .product-title, .collection-title, .product-card-name) { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; text-transform: none; }
body.v2 h1, body.v2 .product-title, body.v2 .collection-hero .collection-title { font-size: clamp(24px, 2.4vw, 32px) !important; line-height: 1.12; }
body.v2 h2 { font-size: clamp(18px, 1.6vw, 22px) !important; line-height: 1.2; }
html[lang="zh"] body.v2 :is(h1, h2, blockquote) { font-family: "Songti SC", "Noto Serif SC", "STSong", serif; }
body.v2 :is(.mm-mono, .eyebrow, .product-card-sku, .collection-note, .option-price, .shipping-option-price, .gallery-count) {
  font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted);
}
body.v2 :is(.main-nav a, .lang-switch button, .contact-link, .cta, .product-back, .option-name, .brand-tagline, .collection-lede, .product-card-price) {
  letter-spacing: 0.01em; text-transform: none; color: var(--ink);
}
body.v2 .mm-c { border-radius: 50%; overflow: hidden; }

/* header */
body.v2 .site-header { min-height: 0; padding: 12px var(--gut); background: var(--paper); backdrop-filter: none; }
body.v2 .brand-logo { height: 22px; }
body.v2 .brand-tagline, body.v2 .main-nav a[data-route="groom"], body.v2 .footer-brand p { display: none; }
body.v2 .main-nav a { font-size: 13px; padding: 6px 0; }
body.v2 .main-nav a::after { display: none; }
body.v2 .main-nav a.active::before { content: "●"; font-size: 7px; vertical-align: 3px; margin-right: 6px; }
body.v2 .lang-switch { border: 0; background: none; padding: 0; }
body.v2 .lang-switch button { font-family: var(--mono); padding: 4px 6px; }
body.v2 .lang-switch button.active { background: none; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
body.v2 .contact-link { border: 0; padding: 4px 0; font-size: 13px; }
body.v2 .contact-link:hover { background: none; color: var(--ink); text-decoration: underline; }
body.v2 .site-footer { border-top: 1px solid var(--line); }

/* home */
.mm-home { padding: 0 var(--gut) 96px; }
.mm-hero { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); align-items: end; padding-top: 24px; }
.mm-hero-img { grid-column: 5 / 13; grid-row: 1; display: block; background: #1d1b19; }
.mm-hero-img img { display: block; width: 100%; height: calc(100svh - 96px); min-height: 520px; object-fit: cover; object-position: 50% 30%; }
.mm-hero-text { grid-column: 1 / 5; grid-row: 1; display: grid; gap: 14px; align-self: stretch; align-content: end; padding-bottom: 4px; }
.mm-hero-text .mm-vmark-frame { margin-bottom: auto; }
.mm-hero-text h1 { margin: 0; }
.mm-lede { margin: 0; max-width: 30ch; color: var(--ink-soft); }
.mm-cap { margin: 24px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.mm-sec { margin-top: clamp(80px, 10vw, 152px); }
.mm-head { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.mm-head h2 { margin: 0; }
.mm-stamp { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--ink); font-family: var(--mono); font-size: 11px; flex: 0 0 34px; }
.mm-rows { border-top: 1px solid var(--line); }
.mm-row { position: relative; display: grid; grid-template-columns: 64px 1fr auto; align-items: baseline; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.mm-row-name { font-size: clamp(20px, 2.2vw, 30px); line-height: 1.1; }
.mm-peek { position: absolute; right: 18%; top: 50%; width: 132px; height: 132px; transform: translateY(-50%) scale(0.6); opacity: 0; pointer-events: none; }
.mm-peek img { width: 100%; height: 100%; object-fit: cover; }
.mm-row:hover .mm-peek, .mm-row:focus-visible .mm-peek { opacity: 1; transform: translateY(-50%) scale(1); transition: opacity .25s, transform .35s; }
.mm-row:hover .mm-row-name { font-style: italic; }
.mm-silk { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); align-items: center; }
.mm-sun { grid-column: 2 / 7; display: block; aspect-ratio: 1; background: #1d1b19; }
.mm-sun img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mm-silk-text { grid-column: 8 / 12; }
.mm-silk blockquote { margin: 0 0 12px; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.35; }
.mm-materials { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.mm-materials li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.mm-figs { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); row-gap: clamp(40px, 6vw, 96px); }
.mm-fig { display: grid; gap: 10px; align-content: start; }
.mm-fig img { width: 100%; display: block; aspect-ratio: 2 / 3; object-fit: cover; background: #1d1b19; }
.mm-fig-1 { grid-column: 1 / 6; }
.mm-fig-2 { grid-column: 8 / 12; margin-top: 22vw; }
.mm-fig-3 { grid-column: 2 / 5; }
.mm-fig-4 { grid-column: 6 / 11; margin-top: 8vw; }
.mm-notice { margin-top: 96px; }
.mm-notice a, .mm-back { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* collections */
body.v2 .collection-art { display: none; }
body.v2 .collection-hero { padding-top: 32px; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
body.v2 .collection-lede { max-width: 48ch; color: var(--ink-soft); font-size: 15px; }
body.v2 .product-card { background: none; border: 0; }
body.v2 .product-card-media { aspect-ratio: 3 / 4; background: #1d1b19; }
body.v2 .product-card-media img { width: 100%; height: 100%; object-fit: cover; transform: none !important; }
body.v2 .product-card:hover .product-card-name { font-style: italic; }
body.v2 .product-card-body { padding: 10px 0 0; }
body.v2 .product-card-name { font-size: 17px; }
body.v2 .product-card-arrow, body.v2 .status-banner { display: none; }

/* product: archive card + appointment */
.mm-product { padding: 16px var(--gut) 96px; max-width: none; }
.mm-back { display: inline-block; margin-bottom: 20px; }
.mm-p-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(300px, 4fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.mm-shots { display: grid; gap: 8px; }
.mm-shot { display: block; padding: 0; border: 0; background: #1d1b19; cursor: zoom-in; }
.mm-shot img { display: block; width: 100%; height: auto; }
.mm-card { position: sticky; top: 72px; display: grid; gap: 14px; }
.mm-card .mm-mono, .mm-card .product-title { margin: 0; }
.mm-from { margin: 0; font-size: 16px; }
.mm-facts { margin: 8px 0 0; border-top: 1px solid var(--line); }
.mm-facts div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.mm-facts dt { font-family: var(--mono); font-size: 11px; color: var(--muted); padding-top: 2px; }
.mm-facts dd { margin: 0; }
.mm-desc p { margin: 0 0 10px; color: var(--ink-soft); font-size: 14px; }
.mm-fold { border-bottom: 1px solid var(--line); }
.mm-fold summary { cursor: pointer; list-style: none; padding: 10px 0; font-size: 14px; display: flex; justify-content: space-between; }
.mm-fold summary::-webkit-details-marker { display: none; }
.mm-fold summary::after { content: "○"; font-size: 12px; }
.mm-fold[open] summary::after { content: "●"; }
body.v2 .mm-fold .option-block, body.v2 .mm-fold .shipping-option { background: none; border: 0; border-top: 1px solid var(--line); padding: 12px 0; margin: 0; }
body.v2 .mm-fold .shipping-options, body.v2 .mm-fold .product-options { display: grid; gap: 0; margin: 0 0 12px; }
body.v2 .size-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
body.v2 .choice-pill { min-width: 40px; height: 36px; border: 1px solid var(--line); background: none; font-family: var(--mono); font-size: 12px; }
body.v2 .choice-pill.active, body.v2 .shipping-option.active, body.v2 .fit-option.active .option-name { color: var(--ink); border-color: var(--ink); text-decoration: underline; }
body.v2 .cta { display: block; width: 100%; padding: 15px 18px; background: var(--ink); color: var(--paper); border: 0; font-size: 14px; text-align: center; margin-top: 6px; }
body.v2 .cta:hover { background: #000; }
.mm-fabric { margin: clamp(64px, 8vw, 120px) 0 0; display: grid; justify-items: center; gap: 12px; }
.mm-fabric .mm-sun { width: min(440px, 70vw); }

@media (max-width: 760px) {
  body.v2 .site-header { display: grid; grid-template-columns: 1fr auto auto; row-gap: 8px; column-gap: 14px; padding: 10px 16px 0; }
  body.v2 .main-nav { grid-column: 1 / -1; order: 3; justify-content: flex-start; gap: 18px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
  body.v2 .main-nav::-webkit-scrollbar { display: none; }
  .mm-hero, .mm-silk, .mm-figs { display: block; }
  .mm-hero-img img { height: 72svh; min-height: 0; }
  .mm-hero-text { padding: 24px 0 0; }
  .mm-hero-text .mm-vmark-frame { display: none; }
  .mm-row { grid-template-columns: 40px 1fr auto; }
  .mm-peek { display: none; }
  .mm-sun { width: 78vw; margin: 0 auto 28px; }
  .mm-fig { margin: 0 0 40px !important; }
  .mm-fig-2, .mm-fig-4 { margin-left: 18vw !important; }
  .mm-p-grid { display: block; }
  .mm-shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 6px; margin: 0 -16px 20px; padding: 0 16px; scrollbar-width: none; }
  .mm-shot { flex: 0 0 86%; scroll-snap-align: start; }
  .mm-card { position: static; }
}
@media (prefers-reduced-motion: reduce) { .mm-peek { transition: none !important; } }
body.v2 .cta, body.v2 .cta * { color: var(--paper) !important; }
.mm-materials li::first-letter { text-transform: uppercase; }
.mm-care { margin: 0 0 14px; font-size: 13px; line-height: 1.55; color: var(--ink-soft); }
body.v2 .contact-link { background: none !important; }

/* v2 images: keep every photo at its own proportions, no dark fill */
.mm-hero-img, .mm-sun, .mm-shot, body.v2 .product-card-media, .mm-fig img { background: transparent !important; }
.mm-fig img { aspect-ratio: auto; object-fit: initial; height: auto; }
body.v2 .product-grid { align-items: end; }
body.v2 .product-card-media { aspect-ratio: auto; height: auto; }
body.v2 .product-card-media img { height: auto; object-fit: initial; }
@media (max-width: 760px) {
  .mm-shots { height: 64svh; align-items: stretch; }
  .mm-shot { flex: 0 0 auto; height: 100%; }
  .mm-shot img { height: 100%; width: auto; max-width: none; }
}
.mm-row[href="#/party"] .mm-peek img { object-position: 30% 50%; }

/* remaining pages */
body.v2 :is(.product-card-contact, .contact-panel-label, .contact-panel button) { font-family: var(--mono); font-size: 11px; letter-spacing: 0; text-transform: none; color: var(--muted); }
body.v2 .contact-panel button { color: var(--paper); }
body.v2 .collection-subseries + .collection-subseries .product-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 12px; }
body.v2 .collection-subseries + .collection-subseries .product-card-name { font-size: 13px; }
.mm-empty { margin: 32px 0 0; }
.mm-empty a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  body.v2 .collection-subseries + .collection-subseries .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 8px; }
  body.v2 .collection-subseries + .collection-subseries .product-card-name { font-size: 12px; }
}
/* product cards: silhouette first, fabric on hover */
body.v2 .product-card-media { position: relative; overflow: hidden; }
body.v2 .product-card-alt { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover !important; opacity: 0; transition: opacity .35s ease; }
@media (hover: hover) { body.v2 .product-card:hover .product-card-alt { opacity: 1; } }

/* consultation form (2026-11-02) */
.mm-form { display: grid; gap: 10px; margin-top: 6px; }
.mm-form label { display: grid; gap: 4px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.mm-form input, .mm-form textarea { font: inherit; font-family: var(--sans); font-size: 15px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 6px 0; }
.mm-form input:focus, .mm-form textarea:focus { outline: none; border-bottom-color: var(--ink); }
.mm-form textarea { resize: vertical; }
.mm-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mm-form .mm-consent { display: flex; gap: 8px; align-items: flex-start; font-family: var(--sans); font-size: 12px; line-height: 1.45; color: var(--ink-soft); }
.mm-form .mm-consent input { margin-top: 2px; }
.mm-form a, .mm-legal a, .footer-legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.mm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
body.v2 .consult-status.error { color: #87463d; }
body.v2 .cta:disabled { opacity: .5; cursor: progress; }
/* legal pages */
.mm-legal { max-width: 680px; margin: 0 auto; padding: 40px var(--gut) 96px; }
.mm-legal h1 { margin: 8px 0 32px; }
.mm-legal section { border-top: 1px solid var(--line); padding: 16px 0 8px; }
.mm-legal h2 { font-size: 16px !important; margin: 0 0 8px; }
.mm-legal p, .mm-legal li { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.mm-todo { background: #f9eeda; color: #87463d; padding: 0 3px; font-family: var(--mono); font-size: 12px; }
.footer-legal { font-size: 12px; }

/* product card: never taller than the screen, so its lower part is always reachable (2026-11-04) */
@media (min-width: 761px) {
  .mm-card { max-height: calc(100vh - 88px); overflow-y: auto; scrollbar-width: thin; padding-right: 6px; }
}
/* language menu: one control, any number of languages */
body.v2 .lang-switch { position: relative; border: 0; background: none; padding: 0; }
body.v2 .lang-switch summary { list-style: none; cursor: pointer; font-family: var(--mono); font-size: 12px; padding: 4px 2px; display: flex; align-items: center; gap: 4px; }
body.v2 .lang-switch summary::-webkit-details-marker { display: none; }
body.v2 .lang-switch summary::after { content: "▾"; font-size: 10px; }
body.v2 .lang-switch[open] summary::after { content: "▴"; }
body.v2 .lang-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 150px; background: var(--paper); border: 1px solid var(--line); padding: 4px 0; display: grid; }
body.v2 .lang-menu button { text-align: left; background: none; border: 0; padding: 8px 14px; font-family: var(--sans); font-size: 14px; color: var(--ink); cursor: pointer; text-decoration: none; }
body.v2 .lang-menu button:hover { background: var(--paper-soft); }
body.v2 .lang-menu button.active::before { content: "● "; font-size: 8px; vertical-align: 2px; }
body.v2 .lang-menu button.active { text-decoration: none; }

/* Notas del taller (2026-11-10) */
.mm-workshop { border-top: 1px solid var(--ink); padding-top: 12px; display: grid; gap: 10px; }
.mm-workshop .mm-mono { margin: 0; }
.mm-ws-facts { display: flex; gap: 28px; flex-wrap: wrap; }
.mm-ws-facts div { display: grid; gap: 2px; }
.mm-ws-facts strong { font-family: var(--mono); font-weight: 400; font-size: 24px; letter-spacing: -0.02em; color: var(--ink); }
.mm-ws-facts span { font-size: 12px; color: var(--muted); }
.mm-ws-detail { margin: 0; font-size: 14px; color: var(--ink-soft); }
.mm-workshop blockquote { margin: 4px 0 0; font-size: 16px; line-height: 1.45; font-style: italic; }

/* Display type: Newsreader for titles, piece names and quotes; Familjen Grotesk stays for text and UI (2026-11-11) */
@font-face { font-family: "Newsreader"; src: url("assets/fonts/newsreader.woff") format("woff"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("assets/fonts/newsreader-italic.woff") format("woff"); font-weight: 300 800; font-style: italic; font-display: swap; }
body.v2 { --display: "Newsreader", "Songti SC", "Noto Serif SC", "STSong", Georgia, serif; }
body.v2 :is(h1, h2, h3, .product-title, .collection-title, .product-card-name, .mm-row-name, .mm-silk blockquote, .mm-workshop blockquote, .mm-from) { font-family: var(--display); font-weight: 400; letter-spacing: -0.005em; }
body.v2 h1, body.v2 .product-title, body.v2 .collection-hero .collection-title { font-size: clamp(28px, 2.8vw, 36px) !important; }
body.v2 .mm-legal h2 { font-family: var(--display); }

/* shipping destination (2026-11-12) */
body.v2 .ship-dest { display: grid; gap: 4px; margin: 4px 0 10px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
body.v2 .ship-dest select { font: inherit; font-family: var(--sans); font-size: 15px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 6px 0; max-width: 100%; }
body.v2 .ship-dest select:focus { outline: none; border-bottom-color: var(--ink); }
body.v2 .ship-customs { font-family: var(--mono); font-size: 11px; color: var(--muted); margin: 0 0 10px; }
