:root {
  --ink: #15121a;
  --ink-2: #251f2a;
  --paper: #fbf8f1;
  --pearl: #f1eadc;
  --jade: #3fb8a6;
  --rose: #cf7f96;
  --lilac: #7d6ee7;
  --gold: #caa765;
  --clay: #806747;
  --line: rgba(21, 18, 26, 0.12);
  --soft: rgba(255, 255, 255, 0.68);
  --shadow: 0 18px 50px rgba(21, 18, 26, 0.14);
  --radius: 8px;
}

* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  min-width: 320px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.announcement {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--pearl);
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 14px 42px;
  background: rgba(251, 248, 241, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand img { width: 168px; height: auto; }
.nav { display: flex; align-items: center; gap: 14px; font-size: 14px; white-space: nowrap; }
.nav a { padding: 10px 4px; color: rgba(21,18,26,.78); }
.nav a:hover { color: var(--ink); }
.cart-pill {
  min-width: 74px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 13px !important;
  background: var(--soft);
}
.nav-toggle { display: none; }

.flash {
  position: fixed;
  top: 92px;
  right: 18px;
  z-index: 60;
  max-width: 420px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #f5fff8;
  border: 1px solid rgba(63,184,166,.3);
  box-shadow: var(--shadow);
}
.flash.error { background: #fff0f3; border-color: rgba(207,127,150,.35); }
.flash.warning { background: #fff9e8; border-color: rgba(202,167,101,.42); }

.hero {
  position: relative;
  min-height: min(740px, calc(100vh - 110px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: 54px;
  padding: 42px 64px 34px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(251,248,241,.94), rgba(241,234,220,.72)),
    radial-gradient(circle at 78% 38%, rgba(63,184,166,.16), transparent 38%),
    linear-gradient(110deg, rgba(207,127,150,.08), rgba(125,110,231,.08));
}
#silk-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .48;
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 2; max-width: 760px; }
.eyebrow {
  display: inline-flex;
  color: var(--clay);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero h1,
.page-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: 78px;
  line-height: 1.02;
}
.hero p,
.page-hero p,
.section-desc {
  max-width: 650px;
  color: rgba(21, 18, 26, .72);
  line-height: 1.75;
  font-size: 18px;
}
.hero-actions, .buy-row, .admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}
.btn.primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn.ghost { background: rgba(255,255,255,.54); }
.btn.danger { background: #fff0f3; color: #8f2540; border-color: rgba(207,127,150,.4); }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 38px;
  max-width: 620px;
}
.hero-proof span {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  color: rgba(21,18,26,.62);
}
.hero-proof strong { display: block; color: var(--ink); font-size: 24px; }

.hero-stage {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  height: 500px;
  perspective: 1000px;
  z-index: 2;
}
.hero-model-stack {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, .56fr);
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  align-items: stretch;
}
.hero-model-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(21,18,26,.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,.48);
  box-shadow: 0 24px 70px rgba(21,18,26,.16);
  transform-style: preserve-3d;
}
.hero-model-card:first-child {
  grid-row: 1 / 3;
  transform: rotateY(-8deg) rotateX(2deg);
}
.hero-model-card:nth-child(2) { transform: translateY(28px) rotateY(8deg); }
.hero-model-card:nth-child(3) { transform: translateY(-18px) rotateY(10deg); }
.hero-model-card .product-image,
.hero-model-card .product-art {
  min-height: 0;
  height: 100%;
}
.hero-model-card .product-image img {
  min-height: 0;
  height: 100%;
  object-position: center top;
}
.hero-model-card span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 5;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: rgba(21,18,26,.78);
  color: var(--paper);
  font-weight: 900;
  line-height: 1.25;
}
.runway-card {
  position: absolute;
  inset: 24px 0 0 0;
  margin: auto;
  width: min(400px, 90%);
  height: 470px;
  transform-style: preserve-3d;
  animation: floatShow 7s ease-in-out infinite;
  opacity: .18;
}
.orbit-ring {
  position: absolute;
  inset: 12% 6%;
  border: 1px solid rgba(21,18,26,.13);
  transform: rotateX(64deg) rotateZ(-14deg);
}
.orbit-ring.two {
  inset: 20% 0 8% 20%;
  border-color: rgba(63,184,166,.24);
  transform: rotateX(62deg) rotateZ(22deg);
}
.mannequin {
  position: absolute;
  left: 50%;
  top: 14px;
  width: 250px;
  height: 470px;
  transform: translateX(-50%) rotateY(-14deg) rotateX(2deg);
  transform-style: preserve-3d;
}
.head {
  position: absolute;
  left: 99px;
  top: 0;
  width: 50px;
  height: 58px;
  border-radius: 50% 50% 44% 44%;
  background: linear-gradient(145deg, #f0d8bd, #9d705d);
  box-shadow: inset -13px 0 20px rgba(21,18,26,.22);
}
.robe {
  position: absolute;
  left: 43px;
  top: 56px;
  width: 164px;
  height: 390px;
  border-radius: 48px 48px 18px 18px;
  background:
    linear-gradient(110deg, transparent 0 22%, rgba(255,255,255,.08) 24% 29%, transparent 30%),
    linear-gradient(98deg, #08070a, #211a24 56%, #050407);
  clip-path: polygon(26% 0, 74% 0, 97% 100%, 3% 100%);
  box-shadow: inset -42px 0 60px rgba(0,0,0,.46), inset 26px 0 30px rgba(255,255,255,.06), 0 35px 90px rgba(21,18,26,.28);
}
.cape {
  position: absolute;
  top: 76px;
  width: 122px;
  height: 340px;
  background: linear-gradient(120deg, #0a090c, #32263a);
  opacity: .96;
  filter: drop-shadow(0 20px 35px rgba(21,18,26,.18));
}
.cape.left {
  left: -10px;
  border-radius: 50px 12px 18px 70px;
  transform: rotateZ(13deg) translateZ(-36px);
  clip-path: polygon(55% 0, 100% 100%, 0 90%);
}
.cape.right {
  right: -10px;
  border-radius: 12px 50px 70px 18px;
  transform: rotateZ(-13deg) translateZ(-24px);
  clip-path: polygon(45% 0, 100% 90%, 0 100%);
}
.trim {
  position: absolute;
  left: 121px;
  top: 74px;
  width: 7px;
  height: 350px;
  border-radius: 20px;
  background: linear-gradient(var(--gold), var(--jade), var(--rose));
  box-shadow: 0 0 28px rgba(63,184,166,.32);
}
.runway-shadow {
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: 310px;
  height: 50px;
  background: radial-gradient(ellipse, rgba(21,18,26,.28), transparent 66%);
  transform: translateX(-50%) rotateX(74deg);
}
@keyframes floatShow {
  0%, 100% { transform: rotateY(-10deg) translateY(0); }
  50% { transform: rotateY(12deg) translateY(-14px); }
}

.section,
.shop-layout,
.product-detail,
.cart-shell,
.checkout-grid,
.account-grid,
.admin-shell {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
}
.section { padding: 72px 0; }
.section.narrow { width: min(860px, calc(100% - 36px)); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.section-head h2,
.split-feature h2,
.panel h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: 38px;
  line-height: 1.08;
  margin: 0;
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.collection-tile {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(255,255,255,.8), rgba(255,255,255,.32)),
    linear-gradient(135deg, rgba(63,184,166,.14), rgba(207,127,150,.12), rgba(125,110,231,.12));
  box-shadow: 0 10px 30px rgba(21,18,26,.08);
  transform: translateY(0);
}
.collection-tile span { font-weight: 900; font-size: 18px; }
.collection-tile strong { color: rgba(21,18,26,.58); margin-top: 8px; }
.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.feature-stack {
  display: grid;
  gap: 12px;
}
.feature-stack div,
.panel,
.product-card,
.filters,
.cart-summary,
.cart-line,
.order-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.64);
  box-shadow: 0 10px 34px rgba(21,18,26,.07);
}
.feature-stack div {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  min-height: 92px;
  padding: 18px;
}
.feature-stack strong { font-size: 26px; color: var(--jade); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  overflow: hidden;
  transform-style: preserve-3d;
  position: relative;
}
.product-card-media {
  position: relative;
  display: block;
  min-height: 310px;
  background: linear-gradient(145deg, #eee6d7, #fffaf0);
  overflow: hidden;
}
.product-card-body { padding: 15px; }
.product-title { display: block; font-weight: 900; font-size: 17px; line-height: 1.3; margin: 9px 0; }
.product-card p { color: rgba(21,18,26,.66); line-height: 1.55; min-height: 72px; margin: 0 0 12px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badges span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: var(--radius);
  background: rgba(63,184,166,.12);
  color: #14695e;
  font-size: 12px;
  font-weight: 800;
}
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; color: rgba(21,18,26,.58); font-size: 13px; }
.product-price { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.product-price strong, .detail-price strong { font-size: 21px; }
del { color: rgba(21,18,26,.42); }
.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}
.card-actions .btn {
  min-height: 40px;
  padding: 9px 10px;
  font-size: 13px;
}
.wish-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.86);
  cursor: pointer;
  font-size: 22px;
}
.quick-view-chip {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 10px;
  border-radius: var(--radius);
  background: rgba(251,248,241,.9);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease;
}
.product-card:hover .quick-view-chip,
.product-card:focus-within .quick-view-chip { opacity: 1; transform: translateY(0); }

.product-art {
  position: relative;
  width: 100%;
  min-height: 310px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(63,184,166,.12), transparent 48%),
    linear-gradient(160deg, #f7efe1, #fbf8f1);
}
.product-art.large { min-height: 620px; }
.hanger {
  position: absolute;
  top: 38px;
  width: 92px;
  height: 42px;
  border: 2px solid rgba(21,18,26,.22);
  border-bottom: 0;
  border-radius: 52px 52px 0 0;
}
.abaya-shape {
  position: relative;
  width: 132px;
  height: 230px;
  transform: rotateY(-16deg) rotateX(4deg);
  transform-style: preserve-3d;
}
.large .abaya-shape { width: 210px; height: 390px; }
.abaya-shape::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(35% 0,65% 0,95% 100%,5% 100%);
  border-radius: 54px 54px 20px 20px;
  background: linear-gradient(95deg, #08070b, #25202b 52%, #0d0b10);
  box-shadow: inset -32px 0 42px rgba(0,0,0,.52), inset 20px 0 20px rgba(255,255,255,.05), 0 24px 60px rgba(21,18,26,.24);
}
.abaya-shape span {
  position: absolute;
  top: 20px;
  width: 3px;
  height: calc(100% - 24px);
  background: linear-gradient(transparent, var(--accent), transparent);
  opacity: .7;
  border-radius: 20px;
}
.abaya-shape span:nth-child(1) { left: 45%; }
.abaya-shape span:nth-child(2) { left: 53%; opacity: .32; }
.abaya-shape span:nth-child(3) { left: 61%; opacity: .18; }
.fabric-glow {
  position: absolute;
  bottom: 22px;
  width: 180px;
  height: 40px;
  background: radial-gradient(ellipse, rgba(63,184,166,.24), transparent 68%);
}
.product-image { min-height: 310px; height: 100%; display: grid; place-items: center; background: #f4efe6; overflow: hidden; }
.product-image img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  object-position: center top;
  transition: transform .45s ease, filter .45s ease;
}
.product-card:hover .product-image img { transform: scale(1.045); filter: saturate(1.04) contrast(1.02); }

.atelier-band {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr);
  gap: 28px;
  align-items: center;
}
.atelier-copy {
  display: grid;
  gap: 14px;
}
.atelier-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  line-height: 1.04;
  font-weight: 500;
}
.atelier-copy p {
  color: rgba(21,18,26,.7);
  line-height: 1.75;
  font-size: 17px;
}
.atelier-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.atelier-stats span,
.filter-note,
.shop-toolbar {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.62);
  box-shadow: 0 10px 34px rgba(21,18,26,.07);
}
.atelier-stats span {
  min-height: 82px;
  padding: 14px;
  color: rgba(21,18,26,.62);
}
.atelier-stats strong {
  display: block;
  color: var(--ink);
  font-size: 26px;
}
.lookbook-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.lookbook-frame {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #f5efe4;
  box-shadow: 0 18px 50px rgba(21,18,26,.12);
}
.lookbook-frame .product-image,
.lookbook-frame .product-art { min-height: 360px; height: 100%; }
.lookbook-frame .product-image img { min-height: 360px; }
.lookbook-frame span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: rgba(21,18,26,.82);
  color: var(--paper);
  font-weight: 900;
  line-height: 1.3;
}

.page-hero {
  padding: 74px 70px 40px;
  background: linear-gradient(140deg, #f8f0df, #fbf8f1 42%, rgba(63,184,166,.12));
}
.page-hero.compact h1 { font-size: 64px; }
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  padding: 34px 0 74px;
}
.filters {
  padding: 16px;
  align-self: start;
  position: sticky;
  top: 102px;
}
.filter-note {
  display: grid;
  gap: 2px;
  margin-top: 14px;
  padding: 14px;
}
.filter-note strong { font-size: 28px; }
.filter-note span { color: rgba(21,18,26,.62); }
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 14px 16px;
}
.shop-toolbar strong { display: block; font-size: 20px; }
.shop-toolbar span { color: rgba(21,18,26,.62); }
.swatch-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
}
.swatch-row span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--swatch);
  border: 2px solid rgba(255,255,255,.9);
  box-shadow: 0 0 0 1px rgba(21,18,26,.12);
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.pagination .disabled {
  opacity: .42;
  pointer-events: none;
}
.filters form,
.form-panel form,
.form-panel {
  display: grid;
  gap: 14px;
}
label { display: grid; gap: 7px; font-weight: 800; font-size: 13px; color: rgba(21,18,26,.78); }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.86);
  min-height: 42px;
  padding: 10px 12px;
  color: var(--ink);
}
textarea { min-height: 98px; resize: vertical; }

.product-detail {
  display: grid;
  grid-template-columns: minmax(300px, .88fr) minmax(320px, 1fr);
  gap: 42px;
  padding: 48px 0 82px;
}
.detail-media { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.detail-info h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: 54px; line-height: 1; margin: 10px 0; }
.lead { font-size: 18px; line-height: 1.7; color: rgba(21,18,26,.68); }
.detail-price { display: flex; gap: 12px; align-items: baseline; margin: 16px 0; }
.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}
.specs div { padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.56); }
.specs dt { color: rgba(21,18,26,.55); font-size: 12px; font-weight: 800; }
.specs dd { margin: 5px 0 0; font-weight: 900; }
.size-picker { max-width: 220px; }
.accordion-list { display: grid; gap: 10px; margin-top: 24px; }
details { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: rgba(255,255,255,.54); }
summary { cursor: pointer; font-weight: 900; }
details p { line-height: 1.7; color: rgba(21,18,26,.7); }

.rich-text {
  display: grid;
  gap: 22px;
}
.rich-text h2,
.rich-text h3 {
  margin: 0;
  color: var(--ink);
}
.rich-text h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: 34px;
  line-height: 1.1;
}
.rich-text h3 {
  font-size: 17px;
}
.rich-text p,
.rich-text li {
  color: rgba(21,18,26,.72);
  line-height: 1.72;
}
.rich-text ul,
.rich-text ol {
  margin: 0;
  padding-left: 22px;
}
.rich-lede {
  border-left: 4px solid var(--jade);
  padding: 14px 18px;
  background: rgba(63,184,166,.08);
  border-radius: var(--radius);
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.info-grid div,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.58);
  padding: 16px;
}
.faq-list {
  display: grid;
  gap: 12px;
}
.rich-text .table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.54);
}
.rich-text table {
  min-width: 620px;
}

.cart-shell, .checkout-grid, .account-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  padding: 34px 0 74px;
}
.cart-lines { display: grid; gap: 12px; }
.cart-line {
  display: grid;
  grid-template-columns: 86px 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
}
.cart-thumb { min-height: 86px; border-radius: var(--radius); overflow: hidden; }
.cart-thumb.product-art,
.cart-thumb.product-image { min-height: 86px; height: 86px; }
.cart-thumb .abaya-shape { width: 48px; height: 70px; }
.cart-summary, .panel { padding: 18px; }
.summary-row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.checkout-grid { grid-template-columns: minmax(0, 1fr) 420px; align-items: start; }
.account-grid { grid-template-columns: 420px 1fr; align-items: start; }
.order-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; padding: 12px; margin-bottom: 10px; }

.auth-shell {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 48px 18px;
  background: linear-gradient(135deg, rgba(63,184,166,.12), rgba(207,127,150,.1), rgba(251,248,241,1));
}
.auth-card { width: min(480px, 100%); }

.admin-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 20px;
  padding: 34px 0 80px;
}
.admin-side {
  position: sticky;
  top: 100px;
  align-self: start;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  padding: 16px;
}
.admin-side h1 { font-family: Georgia, "Times New Roman", serif; margin: 0 0 10px; }
.admin-side a { padding: 10px; border-radius: var(--radius); color: rgba(251,248,241,.78); }
.admin-side a:hover { background: rgba(255,255,255,.08); color: var(--paper); }
.admin-main { display: grid; gap: 18px; min-width: 0; }
.admin-settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 18px;
  align-items: start;
}
.admin-stats, .integration-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.admin-stats .panel strong { display: block; font-size: 34px; margin-top: 8px; }
.admin-products { display: grid; grid-template-columns: minmax(320px, 520px) minmax(0, 1fr); gap: 18px; align-items: start; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.checkline { display: flex; align-items: center; gap: 8px; }
.checkline input { width: auto; min-height: auto; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; color: rgba(21,18,26,.55); }
small { color: rgba(21,18,26,.55); }

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(150px, .7fr));
  gap: 28px;
  padding: 48px 70px 28px;
  background: var(--ink);
  color: rgba(251,248,241,.78);
}
.site-footer h3 { color: var(--paper); margin: 0 0 12px; }
.site-footer a { display: block; padding: 5px 0; }
.footer-logo { width: 180px; background: var(--paper); border-radius: var(--radius); margin-bottom: 16px; }
.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 18px;
}
.footer-bottom span:last-child { display: flex; gap: 16px; }

.tilt-card { transition: transform .25s ease, box-shadow .25s ease; }
.tilt-card:hover { transform: translateY(-4px) rotateX(1deg); box-shadow: var(--shadow); }

@media (max-width: 1180px) {
  .site-header { min-height: 70px; padding: 12px 24px; }
  .brand img { width: 154px; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.82);
    border-radius: var(--radius);
    min-height: 42px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 900;
  }
  .nav {
    display: none;
    position: absolute;
    z-index: 45;
    top: calc(100% + 8px);
    left: 18px;
    right: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
    white-space: normal;
  }
  .nav a { padding: 12px; }
  .nav.open { display: flex; }
}

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; gap: 22px; min-height: auto; padding: 40px 42px 34px; }
  .hero h1,
  .page-hero h1,
  .page-hero.compact h1 { font-size: 58px; }
  .hero-stage { min-height: 460px; }
  .atelier-band { grid-template-columns: 1fr; }
  .lookbook-frame { min-height: 320px; }
  .lookbook-frame .product-image,
  .lookbook-frame .product-art,
  .lookbook-frame .product-image img { min-height: 320px; }
  .collection-grid, .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-products, .checkout-grid, .account-grid, .admin-settings-grid { grid-template-columns: 1fr; }
  .admin-stats, .integration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero, .site-footer { padding-left: 36px; padding-right: 36px; }
}

@media (max-width: 820px) {
  .site-header { padding: 12px 18px; }
  .hero { padding: 32px 24px 26px; }
  .hero h1,
  .page-hero h1,
  .page-hero.compact h1 { font-size: 46px; }
  .hero p, .page-hero p, .section-desc { font-size: 17px; line-height: 1.65; }
  .hero-actions { margin-top: 22px; }
  .hero-proof { display: none; }
  .hero-stage { min-height: 330px; height: 330px; }
  .hero-model-stack { grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .hero-model-card:first-child { transform: none; }
  .hero-model-card:not(:first-child) { display: none; }
  .runway-card { inset: 2px 0 0 0; width: min(330px, 92%); height: 330px; }
  .orbit-ring { inset: 10% 4%; }
  .mannequin { transform: translateX(-50%) scale(.66) rotateY(-12deg); transform-origin: top center; }
  .atelier-copy h2 { font-size: 42px; }
  .atelier-stats { grid-template-columns: 1fr; }
  .lookbook-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-toolbar { display: grid; }
  .swatch-row { justify-content: start; }
  .section-head, .split-feature { display: grid; grid-template-columns: 1fr; }
  .collection-grid, .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .product-detail { grid-template-columns: 1fr; }
  .product-art.large { min-height: 430px; }
  .cart-shell { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .announcement { font-size: 12px; }
  .site-header { padding: 10px 14px; }
  .brand img { width: 142px; }
  .hero { padding: 24px 18px 16px; gap: 14px; }
  .eyebrow { font-size: 11px; margin-bottom: 10px; }
  .hero h1,
  .page-hero h1,
  .page-hero.compact h1 { font-size: 34px; }
  .hero p, .page-hero p { font-size: 15px; line-height: 1.55; }
  .hero-actions { gap: 8px; margin-top: 16px; }
  .hero-actions .btn { min-height: 42px; padding: 10px 13px; font-size: 15px; }
  .hero-stage { min-height: 300px; height: 300px; }
  .hero-model-card span { font-size: 13px; padding: 8px 10px; }
  .runway-card { width: min(248px, 88%); height: 238px; }
  .mannequin { transform: translateX(-50%) scale(.46) rotateY(-10deg); }
  .atelier-copy h2 { font-size: 34px; }
  .lookbook-strip { grid-template-columns: 1fr; }
  .lookbook-frame,
  .lookbook-frame .product-image,
  .lookbook-frame .product-art,
  .lookbook-frame .product-image img { min-height: 360px; }
  .pagination { display: grid; }
  .page-hero { padding: 46px 18px 28px; }
  .section, .section.narrow, .shop-layout, .product-detail, .cart-shell, .checkout-grid, .account-grid, .admin-shell { width: min(1220px, calc(100% - 28px)); }
  .section { padding: 48px 0; }
  .collection-grid, .products-grid, .admin-stats, .integration-grid, .form-grid, .site-footer { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .rich-text h2 { font-size: 28px; }
  .rich-text .table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }
  .rich-text table,
  .rich-text thead,
  .rich-text tbody,
  .rich-text tr,
  .rich-text td {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .rich-text thead {
    display: none;
  }
  .rich-text tbody {
    display: grid;
    gap: 10px;
  }
  .rich-text tr {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,.68);
    padding: 12px;
  }
  .rich-text td {
    border: 0;
    padding: 8px 0;
    display: grid;
    grid-template-columns: minmax(105px, .9fr) minmax(0, 1.1fr);
    gap: 12px;
    align-items: start;
    font-size: 14px;
  }
  .rich-text td + td {
    border-top: 1px solid rgba(21,18,26,.08);
  }
  .rich-text td::before {
    content: attr(data-label);
    font-size: 11px;
    text-transform: uppercase;
    color: rgba(21,18,26,.52);
    font-weight: 800;
  }
  .product-card-media, .product-art { min-height: 280px; }
  .cart-line { grid-template-columns: 74px 1fr; }
  .cart-line > :last-child { grid-column: 1 / -1; }
  .specs { grid-template-columns: 1fr; }
  .footer-bottom { display: grid; }
}
