:root {
  --bg: #f3f4f6;
  --surface: #ffffff;
  --ink: #16191f;
  --muted: #66707d;
  --line: #dfe4ea;
  --dark: #202228;
  --accent: #e52b1e;
  --accent-dark: #bf1e15;
  --soft: #f8fafc;
  --shadow: 0 12px 28px rgba(22, 25, 31, .08);
  --radius: 6px;
  --container: 1280px;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(229, 43, 30, .28);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 max(20px, calc((100vw - var(--container)) / 2));
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand img {
  display: block;
  width: auto;
  height: 58px;
}
.nav { display: flex; align-items: center; gap: 4px; font-size: 15px; color: #2d333b; }
.nav a { padding: 10px 12px; border-radius: var(--radius); }
.nav a:hover { background: #f1f3f6; }
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  background: var(--dark);
  color: #fff;
}
.cart-link b {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #d7ff2f;
  color: #111;
}

.hero, .section, .page-head, .catalog-layout, .cart, .checkout, .product-detail, .quick-sections {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr);
  gap: 28px;
  padding: 36px 0 24px;
}
.compact-hero {
  padding-bottom: 14px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 430px;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
}
.hero h1, .page-head h1 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.05;
  font-weight: 800;
}
.compact-page-head {
  padding-bottom: 12px;
}
.hero p, .page-head p {
  margin: 16px 0 0;
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero-stats span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 14px;
}
.hero-stats b { color: var(--ink); }

.quick-sections {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 0 18px;
  scrollbar-width: none;
}
.quick-sections::-webkit-scrollbar { display: none; }
.quick-sections a {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(22,25,31,.05);
}
.quick-sections a:first-child {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}
.catalog-quick {
  padding-top: 0;
}

.hero-showcase {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  grid-auto-rows: 204px;
  gap: 12px;
}
.hero-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-tile.large { grid-row: span 2; }
.hero-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  background: #fff;
}
.hero-tile span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: rgba(32, 34, 40, .9);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 16px;
  border: 1px solid var(--dark);
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); }
.btn.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn.ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn.small { min-height: 38px; padding: 9px 13px; font-size: 15px; }
.btn.full { width: 100%; }

.section { padding: 28px 0; }
.product-section { padding-top: 18px; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.section-head h2, .buy-box h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
}
.section-head a, .section-head span, .muted { color: var(--muted); }

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.category-card {
  min-height: 88px;
  display: flex;
  align-items: end;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}
.category-card:nth-child(2n) { background: #fff; color: var(--ink); border: 1px solid var(--line); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  align-items: stretch;
}
.product-card {
  display: grid;
  grid-template-rows: 260px 1fr;
  min-height: 475px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 22px rgba(22, 25, 31, .06);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.product-card:hover {
  transform: translateY(-2px);
  border-color: #cfd6df;
  box-shadow: 0 14px 30px rgba(22, 25, 31, .1);
}
.product-image {
  display: grid;
  place-items: center;
  height: 260px;
  overflow: hidden;
  position: relative;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.product-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 12px;
}
.product-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 214px;
  padding: 14px;
}
.product-topline {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  min-height: 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.product-title {
  min-height: 48px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.22;
  font-weight: 800;
}
.product-meta, .detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 28px;
  color: var(--muted);
  font-size: 13px;
}
.product-meta span, .detail-meta span, .badge {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
}
.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-top: 2px;
}
.price-row span {
  color: var(--muted);
  font-size: 14px;
  text-decoration: line-through;
}
.price-row strong {
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
}
.product-spacer { flex: 1; }
.badge { display: inline-block; color: #7a4b00; background: #fff2d8; border-color: #ffe1a8; }

.page-head {
  padding: 34px 0 18px;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 18px;
  align-items: start;
  padding-bottom: 40px;
}
.filters, .checkout-form, .buy-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 22px rgba(22, 25, 31, .05);
}
.filters {
  position: sticky;
  top: 88px;
  padding: 14px;
}
label {
  display: grid;
  gap: 7px;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 14px;
}
input, select, textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
}
input:hover, select:hover, textarea:hover { border-color: #cbd3dc; }
.filter-actions {
  display: grid;
  gap: 8px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 22px;
  align-items: start;
  padding: 34px 0 44px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.gallery .main-product-photo {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 11;
  padding: 18px;
}
.buy-box {
  position: sticky;
  top: 88px;
  padding: 18px;
}
.buy-box h1 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.12;
  font-weight: 800;
}
.detail-price {
  margin: 18px 0;
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
}
.notice {
  padding: 12px;
  border: 1px solid #bdebf2;
  border-left: 4px solid #00a9c8;
  border-radius: var(--radius);
  background: #effcff;
  color: #31535a;
}
.delivery-note {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}
.delivery-note span {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.cart, .checkout {
  padding: 30px 0 44px;
}
.checkout { max-width: 860px; }
.checkout-form { padding: 18px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.checkout-form ul {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}
.checkout-form li label, .consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 12px;
}
.checkout-form input[type="radio"], .consent-row input { width: auto; margin-top: 4px; }
.consent-row a { color: var(--accent); text-decoration: underline; }
.cdek-box { display: none; }
.api-results { display: grid; gap: 6px; margin: 8px 0 16px; }
.api-results button {
  text-align: left;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.api-error { color: var(--accent); }
.cart-row, .cart-total, .summary {
  display: grid;
  grid-template-columns: 1fr 120px 180px 120px;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-row form {
  display: grid;
  grid-template-columns: 82px auto;
  gap: 8px;
  align-items: end;
}
.quantity-label {
  margin: 0;
  gap: 4px;
}
.quantity-label span {
  color: var(--muted);
  font-size: 12px;
}
.checkout-link { margin-top: 18px; }
.errorlist {
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  color: var(--accent);
  font-size: 13px;
}
.cart-total, .summary {
  grid-template-columns: 1fr auto;
  font-size: 22px;
  font-weight: 800;
}

.info-band {
  width: min(var(--container), calc(100% - 40px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 10px auto 42px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
}
.info-band p { color: #cfd5de; }

.legal-text {
  max-width: 920px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.legal-text h2 {
  margin: 22px 0 8px;
  font-size: 22px;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  background: #fff;
}
.legal-table th, .legal-table td {
  padding: 10px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px max(20px, calc((100vw - var(--container)) / 2));
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.messages {
  width: min(var(--container), calc(100% - 40px));
  margin: 12px auto 0;
}
.message {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.cookie-banner a { color: var(--accent); text-decoration: underline; }

@media (max-width: 980px) {
  .hero, .catalog-layout, .product-detail, .info-band { grid-template-columns: 1fr; }
  .hero-copy { min-height: auto; }
  .hero-showcase { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .filters, .buy-box { position: static; }
}

@media (max-width: 680px) {
  .site-header {
    position: sticky;
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    padding: 12px;
  }
  .brand {
    align-self: center;
  }
  .brand img {
    height: 54px;
  }
  .nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    font-size: 13px;
  }
  .nav a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 6px;
    text-align: center;
  }
  .cart-link {
    margin-left: 0;
  }
  .hero, .section, .page-head, .catalog-layout, .cart, .checkout, .product-detail, .info-band, .quick-sections {
    width: calc(100% - 24px);
  }
  .hero {
    padding-top: 10px;
    padding-bottom: 8px;
  }
  .hero-copy {
    min-height: auto;
    padding: 16px;
  }
  .hero h1 {
    font-size: 28px;
    line-height: 1.08;
  }
  .hero p {
    margin-top: 10px;
    font-size: 15px;
  }
  .hero-actions {
    margin-top: 14px;
  }
  .hero-showcase {
    display: none;
  }
  .quick-sections {
    padding: 6px 0 12px;
    gap: 8px;
  }
  .quick-sections a {
    padding: 8px 11px;
    font-size: 14px;
  }
  .page-head {
    padding: 18px 0 10px;
  }
  .page-head h1 {
    font-size: 28px;
  }
  .page-head p {
    margin-top: 8px;
    font-size: 14px;
  }
  .section {
    padding: 16px 0;
  }
  .section-head {
    margin-bottom: 10px;
  }
  .section-head h2 {
    font-size: 22px;
  }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-card {
    grid-template-rows: 150px 1fr;
    min-height: 306px;
    border-radius: 8px;
  }
  .product-image {
    height: 150px;
  }
  .product-image img {
    padding: 8px;
  }
  .product-body {
    min-height: 156px;
    padding: 9px;
    gap: 6px;
  }
  .product-topline {
    min-height: 15px;
    font-size: 10px;
  }
  .product-title {
    min-height: 40px;
    font-size: 13px;
    line-height: 1.22;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-meta {
    display: none;
  }
  .price-row strong {
    font-size: 17px;
  }
  .product-card .btn.small {
    min-height: 34px;
    width: 100%;
    padding: 7px 8px;
    font-size: 13px;
  }
  .filters {
    display: block;
    padding: 12px;
  }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery .main-product-photo { aspect-ratio: 1 / 1; }
  .product-detail .buy-box {
    order: -1;
  }
  .buy-box {
    padding: 14px;
  }
  .buy-box h1 {
    font-size: 24px;
  }
  .detail-price {
    margin: 12px 0;
    font-size: 28px;
  }
  .form-grid { grid-template-columns: 1fr; }
  .cart-row {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 14px;
    margin-bottom: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
  }
  .cart-row form {
    grid-template-columns: 1fr auto;
  }
  .cart-product {
    font-weight: 800;
  }
  .cart-price {
    color: var(--muted);
  }
  .footer { flex-direction: column; align-items: flex-start; }
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    align-items: flex-start;
    flex-direction: column;
    width: calc(100% - 20px);
    padding: 10px 12px;
    gap: 8px;
  }
  .cookie-banner strong {
    font-size: 14px;
  }
  .cookie-banner p {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.25;
  }
  .cookie-banner .btn {
    min-height: 34px;
    width: 100%;
    padding: 7px 10px;
    font-size: 13px;
  }
}

/* Editorial storefront */
:root {
  --bg: #fff;
  --surface: #fff;
  --ink: #0b0b0b;
  --muted: #777;
  --line: #e8e8e8;
  --dark: #0b0b0b;
  --accent: #0b0b0b;
  --accent-dark: #333;
  --soft: #f4f4f2;
  --shadow: none;
  --radius: 0;
  --container: 1600px;
}
html, body { background: #fff; }
body { font-family: Arial, Helvetica, sans-serif; }
.announcement {
  padding: 7px 16px;
  background: #0b0b0b;
  color: #fff;
  text-align: center;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-header {
  position: relative;
  min-height: 86px;
  padding: 0 30px;
  border-bottom: 1px solid #eee;
}
.brand { position: absolute; left: 50%; transform: translateX(-50%); }
.brand img { height: 72px; }
.nav { width: 100%; gap: 0; color: #111; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.nav a { padding: 12px 16px; }
.nav a:hover { background: transparent; text-decoration: underline; text-underline-offset: 5px; }
.nav .cart-link {
  margin-left: auto;
  background: transparent;
  color: #111;
}
.cart-link b {
  min-width: auto;
  height: auto;
  background: transparent;
  font-size: inherit;
}
.hero {
  width: 100%;
  max-width: none;
  margin: 0;
}
.fashion-hero {
  position: relative;
  grid-template-columns: 38% 62%;
  gap: 0;
  min-height: min(78vh, 820px);
  padding: 0;
  background: #efefed;
}
.fashion-hero .hero-copy {
  min-height: 100%;
  padding: clamp(32px, 6vw, 110px);
  border: 0;
  background: #111;
  color: #fff;
}
.fashion-hero .eyebrow { color: #aaa; letter-spacing: .17em; }
.fashion-hero h1 {
  max-width: 550px;
  color: #fff;
  font-size: clamp(54px, 7vw, 118px);
  font-weight: 500;
  letter-spacing: -.07em;
  text-transform: uppercase;
}
.fashion-hero p:not(.eyebrow) {
  max-width: 440px;
  color: #bbb;
  font-size: 16px;
}
.fashion-hero .hero-showcase {
  display: block;
  min-width: 0;
}
.fashion-hero .hero-showcase a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #efefed;
}
.fashion-hero .hero-showcase img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
  transition: transform .6s ease;
}
.fashion-hero .hero-showcase a:hover img { transform: scale(1.02); }
.fashion-hero .hero-showcase span {
  position: absolute;
  right: 24px;
  bottom: 20px;
  padding: 8px 0;
  border-bottom: 1px solid #111;
  color: #111;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-slider { position: relative; overflow: hidden; }
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute !important;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.015);
  transition: opacity .65s ease, visibility .65s ease, transform .8s ease;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
}
.hero-slide.is-active:hover img { transform: scale(1.025); }
.hero-slider-controls {
  position: absolute;
  z-index: 4;
  left: 22px;
  right: 22px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}
.hero-slider-controls button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0,0,0,.18);
  background: rgba(255,255,255,.88);
  color: #111;
  font-size: 18px;
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(8px);
}
.hero-slider-dots {
  display: flex;
  gap: 6px;
  margin-right: auto;
  pointer-events: auto;
}
.hero-slider-dots button {
  width: 28px;
  height: 3px;
  padding: 0;
  border: 0;
  background: rgba(0,0,0,.25);
}
.hero-slider-dots button.is-active { background: #111; }
.btn {
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.fashion-hero .btn.primary { border-color: #fff; background: #fff; color: #111; }
.quick-sections {
  width: 100%;
  max-width: none;
  justify-content: center;
  gap: 26px;
  padding: 18px 24px;
  border-bottom: 1px solid #eee;
}
.quick-sections a, .quick-sections a:first-child {
  padding: 4px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #111;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.quick-sections a:hover { text-decoration: underline; text-underline-offset: 5px; }
.section, .page-head, .catalog-layout, .cart, .checkout, .product-detail {
  width: min(var(--container), calc(100% - 60px));
}
.section { padding: 70px 0; }
.section-head { margin-bottom: 28px; }
.section-head h2 {
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 500;
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.section-head a, .section-head span {
  padding-bottom: 4px;
  border-bottom: 1px solid #111;
  color: #111;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 14px;
}
.product-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  transition: none;
}
.product-card:hover { transform: none; border: 0; box-shadow: none; }
.product-image {
  height: auto;
  aspect-ratio: 4 / 5;
  border: 0;
  background: #f2f2f0;
}
.product-image img { padding: 0; transition: transform .45s ease; }
.product-card:hover .product-image img { transform: scale(1.025); }
.product-body {
  display: grid;
  grid-template-columns: 1fr auto;
  min-height: 0;
  gap: 4px 12px;
  padding: 12px 2px 0;
}
.product-title {
  min-height: 0;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.product-color {
  grid-column: 1;
  color: #888;
  font-size: 11px;
  text-transform: capitalize;
}
.price-row {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-items: start;
  margin: 0;
}
.price-row strong { font-size: 12px; font-weight: 500; white-space: nowrap; }
.price-row span { font-size: 11px; }
.card-buy {
  grid-column: 1 / -1;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .25s ease, opacity .25s ease, margin .25s ease;
}
.product-card:hover .card-buy { max-height: 50px; margin-top: 7px; opacity: 1; }
.card-buy .btn { width: 100%; min-height: 38px; }
.category-section { padding-top: 30px; }
.category-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
.category-card, .category-card:nth-child(2n) {
  position: relative;
  min-height: 280px;
  align-items: end;
  padding: 20px;
  border: 0;
  background: #ededeb;
  color: #111;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.category-card:nth-child(2n) { background: #161616; color: #fff; }
.editorial-band {
  width: 100%;
  max-width: none;
  margin: 20px 0 0;
  padding: 70px max(30px, calc((100vw - var(--container)) / 2));
  border-radius: 0;
  background: #111;
}
.editorial-band h2 { font-weight: 500; text-transform: uppercase; }
.page-head { padding: 70px 0 38px; border-bottom: 1px solid #eee; }
.page-head h1 {
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 500;
  letter-spacing: -.07em;
  text-transform: uppercase;
}
.page-head p { max-width: 520px; color: #777; font-size: 14px; }
.catalog-quick { border-bottom: 0; justify-content: flex-start; width: min(var(--container), calc(100% - 60px)); padding: 20px 0 34px; }
.catalog-layout {
  grid-template-columns: 210px 1fr;
  gap: 30px;
  padding-bottom: 80px;
}
.catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.filters, .checkout-form, .buy-box {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.filters { top: 20px; padding: 0; }
label { color: #555; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
input, select, textarea { border: 0; border-bottom: 1px solid #bbb; border-radius: 0; }
.product-detail {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 32%);
  gap: 50px;
  padding: 50px 0 100px;
}
.gallery { grid-template-columns: repeat(2, 1fr); gap: 2px; }
.gallery img, .gallery .main-product-photo {
  grid-column: auto;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 0;
  background: #f2f2f0;
}
.gallery .main-product-photo { grid-column: 1 / -1; aspect-ratio: 16 / 12; }
.buy-box { top: 24px; padding: 0; }
.buy-box h1 {
  margin-top: 12px;
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 500;
  letter-spacing: -.05em;
  text-transform: uppercase;
}
.eyebrow { color: #777; font-size: 10px; letter-spacing: .12em; }
.detail-meta { margin: 16px 0; }
.product-meta span, .detail-meta span, .badge { border-radius: 0; background: #fff; }
.detail-price { font-size: 22px; font-weight: 500; }
.product-copy { margin-top: 36px; padding-top: 18px; border-top: 1px solid #ddd; }
.product-copy h2 { margin-top: 22px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.product-copy p { color: #555; font-size: 13px; line-height: 1.65; }
.delivery-note { margin-top: 30px; border-top: 1px solid #ddd; }
.delivery-note span { padding: 13px 0; border: 0; border-bottom: 1px solid #ddd; background: #fff; font-size: 12px; }
.delivery-note b { display: block; margin-bottom: 3px; color: #111; letter-spacing: .08em; text-transform: uppercase; }
.footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 60px max(30px, calc((100vw - var(--container)) / 2));
  background: #f0f0ee;
  color: #111;
}
.footer-brand strong { font-size: 28px; text-transform: uppercase; }
.footer-brand p { max-width: 360px; color: #777; }
.footer-column { display: grid; align-content: start; gap: 10px; font-size: 12px; }
.footer-column strong { margin-bottom: 6px; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 980px) {
  .desktop-nav-link { display: none; }
  .fashion-hero { grid-template-columns: 44% 56%; min-height: 620px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .announcement { padding: 6px 8px; font-size: 9px; }
  .site-header {
    position: relative;
    display: block;
    padding: 8px 12px 10px;
  }
  .brand { position: static; justify-content: center; transform: none; }
  .brand img { height: 62px; }
  .nav { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 3px; font-size: 9px; }
  .nav a { min-height: 28px; padding: 6px 2px; }
  .nav .cart-link { margin-left: 0; }
  .fashion-hero {
    display: flex;
    flex-direction: column-reverse;
    min-height: 0;
  }
  .fashion-hero .hero-showcase { height: 56vh; min-height: 390px; }
  .fashion-hero .hero-copy { padding: 28px 18px 34px; }
  .fashion-hero h1 { font-size: 48px; }
  .fashion-hero p:not(.eyebrow) { font-size: 13px; }
  .quick-sections { justify-content: flex-start; gap: 20px; padding: 14px 12px; }
  .section, .page-head, .catalog-layout, .cart, .checkout, .product-detail {
    width: calc(100% - 24px);
  }
  .section { padding: 38px 0; }
  .section-head { margin-bottom: 18px; }
  .section-head h2 { font-size: 27px; }
  .product-grid, .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 8px; }
  .product-card { min-height: 0; }
  .product-image { height: auto; }
  .product-body { min-height: 0; padding: 9px 0 0; }
  .product-title { min-height: 0; font-size: 10px; }
  .product-color, .price-row strong { font-size: 10px; }
  .card-buy { display: none; }
  .category-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .category-card, .category-card:nth-child(2n) { min-height: 170px; padding: 12px; font-size: 14px; }
  .editorial-band { width: 100%; padding: 38px 18px; }
  .page-head { padding: 38px 0 24px; }
  .page-head h1 { font-size: 48px; }
  .catalog-quick { width: calc(100% - 24px); padding: 14px 0 24px; }
  .catalog-layout { display: block; }
  .filters { margin-bottom: 28px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 2px; }
  .gallery .main-product-photo { aspect-ratio: 1 / 1; }
  .buy-box { padding-top: 24px; }
  .footer { grid-template-columns: 1fr 1fr; padding: 38px 18px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Readability and interaction refinements */
body {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
.announcement {
  padding: 9px 16px;
  font-size: 12px;
  letter-spacing: .08em;
}
.site-header {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 24px;
  min-height: 92px;
  padding: 0 30px;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
}
.brand {
  position: static;
  justify-self: start;
  transform: none;
}
.brand img { height: 78px; }
.nav {
  justify-content: flex-end;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .045em;
}
.nav a {
  min-height: 48px;
  padding: 14px 16px;
  white-space: nowrap;
}
.nav .cart-link {
  margin-left: 8px;
  padding-inline: 19px;
  border: 1px solid #111;
}
.cart-link b {
  display: inline-grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  margin-left: 3px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 11px;
}
.btn {
  min-height: 48px;
  padding: 14px 24px;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: .055em;
}
.btn.small {
  min-height: 42px;
  padding: 11px 16px;
  font-size: 13px;
}
.quick-sections a, .quick-sections a:first-child {
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .075em;
}
.section-head a, .section-head span {
  font-size: 13px;
  letter-spacing: .075em;
}
.product-title {
  font-size: 14px;
  line-height: 1.4;
}
.product-color,
.price-row strong {
  font-size: 13px;
}
.price-row span { font-size: 12px; }
.card-buy .btn { min-height: 44px; }
.page-head h1 {
  max-width: 1200px;
  font-size: clamp(46px, 6vw, 92px);
  line-height: .98;
  overflow-wrap: break-word;
}
.page-head p {
  max-width: 680px;
  font-size: 16px;
}
.catalog-layout { grid-template-columns: 240px 1fr; }
.filters {
  padding: 20px;
  border: 1px solid #e5e5e5;
}
label {
  margin-bottom: 18px;
  font-size: 13px;
  letter-spacing: .05em;
}
input, select, textarea {
  min-height: 46px;
  padding: 11px 8px;
  font-size: 16px;
}
.filter-actions { gap: 10px; }
.buy-box h1 { line-height: 1.08; }
.detail-price { font-size: 26px; }
.eyebrow { font-size: 12px; }
.product-copy h2 { font-size: 14px; }
.product-copy p,
.delivery-note span { font-size: 15px; }
.cart, .checkout { padding-top: 40px; padding-bottom: 80px; }
.cart-row {
  min-height: 82px;
  padding: 20px 0;
}
.cart-product { font-size: 16px; font-weight: 600; }
.checkout { max-width: 980px; }
.checkout-form {
  padding: 32px;
  border: 1px solid #e5e5e5;
}
.checkout-form h2 {
  margin: 32px 0 18px;
  font-size: 24px;
  font-weight: 500;
}
.legal-text {
  max-width: 980px;
  margin-top: 34px;
  padding: 0 0 50px;
  border: 0;
  font-size: 16px;
  line-height: 1.7;
}
.legal-text h2 { font-size: 26px; font-weight: 500; }
.footer-column { font-size: 14px; }
.footer-column a { padding: 3px 0; }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: 210px minmax(0, 1fr); padding-inline: 20px; }
  .brand img { height: 68px; }
  .nav { font-size: 12px; }
  .nav a { padding-inline: 10px; }
}

@media (max-width: 680px) {
  .announcement {
    padding: 7px 10px;
    font-size: 10px;
    line-height: 1.35;
  }
  .site-header {
    position: sticky;
    display: block;
    min-height: 0;
    padding: 8px 10px 10px;
  }
  .brand { justify-content: center; }
  .brand img { height: 66px; }
  .nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    margin-top: 5px;
    font-size: 11px;
    letter-spacing: .02em;
  }
  .nav a {
    min-height: 42px;
    padding: 8px 3px;
    white-space: normal;
  }
  .nav .cart-link {
    margin-left: 0;
    padding-inline: 3px;
  }
  .cart-link b {
    min-width: 18px;
    height: 18px;
    font-size: 10px;
  }
  .fashion-hero h1 { font-size: 44px; }
  .fashion-hero p:not(.eyebrow) { font-size: 15px; }
  .btn, .btn.small {
    min-height: 46px;
    padding: 12px 16px;
    font-size: 13px;
  }
  .quick-sections a, .quick-sections a:first-child { font-size: 12px; }
  .section-head a, .section-head span { font-size: 11px; }
  .product-title { font-size: 12px; }
  .product-color, .price-row strong { font-size: 12px; }
  .page-head h1 { font-size: clamp(38px, 13vw, 58px); line-height: 1; }
  .page-head p { font-size: 15px; }
  .filters { padding: 16px; }
  .checkout-form { padding: 18px 14px; }
  .legal-text { margin-top: 22px; font-size: 15px; }
  .footer-column { font-size: 13px; }
  .hero-slider-controls { left: 10px; right: 10px; bottom: 10px; }
  .hero-slider-controls > button { width: 38px; height: 38px; }
  .hero-slider-dots button { width: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .fashion-hero .hero-showcase img { transition: none; }
}

/* Reference-inspired commerce interactions */
.cart-modal[hidden] { display: none; }
body.modal-open { overflow: hidden; }
.cart-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}
.cart-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(0,0,0,.5);
  cursor: pointer;
}
.cart-modal-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  width: min(560px, 100%);
  padding: 34px;
  background: #fff;
}
.cart-modal-dialog p {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
}
.cart-modal-dialog strong {
  color: #666;
  font-size: 15px;
  font-weight: 500;
}
.cart-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 32px;
  font-weight: 300;
  cursor: pointer;
}
.product-accordions { margin-top: 34px; border-top: 1px solid #ddd; }
.product-accordions details { border-bottom: 1px solid #ddd; }
.product-accordions summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
}
.product-accordions summary::-webkit-details-marker { display: none; }
.product-accordions summary::after { content: "+"; font-size: 22px; line-height: 1; }
.product-accordions details[open] summary::after { content: "−"; }
.product-accordions p {
  margin: 0;
  padding: 0 0 20px;
  color: #555;
  font-size: 15px;
  line-height: 1.65;
}
.cart { max-width: 1400px; }
.cart-row {
  grid-template-columns: 110px minmax(220px, 1fr) 120px 190px 120px;
  gap: 20px;
}
.cart-thumb {
  display: grid;
  place-items: center;
  width: 110px;
  height: 130px;
  background: #f2f2f0;
}
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-label {
  display: block;
  margin-bottom: 8px;
  color: #888;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.quantity-form {
  display: grid !important;
  grid-template-columns: 42px 64px 42px !important;
  gap: 0 !important;
  align-items: center !important;
}
.quantity-label { margin: 0; }
.quantity-label input {
  min-height: 42px;
  padding: 6px;
  border: 1px solid #ddd;
  text-align: center;
  appearance: textfield;
}
.quantity-button {
  min-height: 42px;
  border: 1px solid #ddd;
  background: #f5f5f5;
  font-size: 21px;
  cursor: pointer;
}
.quantity-update { display: none; }
.cart-total {
  margin-left: auto;
  max-width: 520px;
  padding-top: 24px;
  font-weight: 500;
}
.checkout-link {
  display: flex;
  width: min(520px, 100%);
  margin-left: auto;
}
.cart-recommendations { border-top: 1px solid #eee; }
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  align-items: start;
  gap: 34px;
  max-width: 1400px;
}
.checkout-submit { display: none; }
.checkout-summary {
  position: sticky;
  top: 120px;
  padding: 32px;
  background: #f3f3f1;
}
.checkout-summary h2 {
  margin: 0 0 24px;
  font-size: 32px;
  font-weight: 500;
}
.checkout-items { display: grid; gap: 14px; margin-bottom: 24px; }
.checkout-items div,
.checkout-summary .summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #d8d8d5;
  font-size: 14px;
}
.checkout-items strong { white-space: nowrap; }
.checkout-summary .summary { padding: 18px 0; font-size: 21px; }
.checkout-summary p { color: #777; font-size: 13px; }

@media (max-width: 980px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; order: -1; }
  .cart-row { grid-template-columns: 90px 1fr 100px; }
  .cart-thumb { width: 90px; height: 110px; }
  .quantity-form { grid-column: 2; }
  .cart-row > strong { grid-column: 3; }
}

@media (max-width: 680px) {
  .cart-modal-dialog { gap: 12px; padding: 28px 18px 18px; }
  .cart-modal-dialog p { font-size: 20px; }
  .product-accordions { margin-top: 24px; }
  .cart-row {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 12px;
    padding: 14px 0;
    border-width: 0 0 1px;
  }
  .cart-thumb { width: 88px; height: 108px; }
  .cart-price { grid-column: 2; }
  .quantity-form { grid-column: 2; }
  .cart-row > strong { grid-column: 2; }
  .checkout-summary { padding: 20px 14px; }
  .checkout-summary h2 { font-size: 27px; }
  .card-buy {
    display: block;
    max-height: 50px;
    margin-top: 7px;
    opacity: 1;
  }
}
