:root {
  --law-red: #d4143f;
  --law-red-dark: #9f0c2c;
  --law-red-soft: #f8dbe3;
  --law-ink: #131014;
  --law-muted: #696269;
  --law-line: #ded7da;
  --law-paper: #fffdfd;
  --law-canvas: #f5f1f2;
  --law-glass: rgba(255, 255, 255, 0.74);
  --law-shadow: 0 14px 40px rgba(70, 18, 32, 0.12);
  --law-serif: Georgia, 'Times New Roman', serif;
  --law-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: light;
  scroll-behavior: smooth;
  background: var(--law-paper);
}

body.law-store-page,
body.law-product-page {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--law-ink);
  background: var(--law-paper);
  font-family: var(--law-sans);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0;
}

body.is-drawer-open { overflow: hidden; }

button, input, select, textarea { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

[data-lucide] {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}

i[data-lucide]::before {
  content: attr(data-fallback);
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  font-style: normal;
  font-size: 18px;
}

.store-announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 29px;
  padding: 5px 18px;
  color: #fff;
  background: var(--law-red);
  font-size: 11px;
  font-weight: 750;
  text-align: center;
  text-transform: uppercase;
}

.store-header {
  position: sticky;
  z-index: 50;
  top: 0;
  width: 100%;
  border-bottom: 1px solid rgba(19, 16, 20, 0.12);
  background: rgba(255, 253, 253, 0.88);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
}

.store-header__inner {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr);
  align-items: center;
  gap: 28px;
  width: min(100%, 1800px);
  min-height: 70px;
  margin: 0 auto;
  padding: 10px clamp(18px, 3vw, 52px);
}

.store-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0;
  width: max-content;
  font-size: 19px;
  font-weight: 900;
}

.store-brand__mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 46px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.store-brand__mark img {
  width: 62px;
  height: 44px;
  object-fit: contain;
  filter: invert(1) contrast(1.25);
}

.store-brand__copy { display: grid; line-height: 1; }
.store-brand__copy small {
  margin-bottom: 4px;
  color: var(--law-muted);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.store-main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 38px);
}

.store-main-nav a {
  position: relative;
  padding: 9px 0;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.store-main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--law-red);
  content: '';
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.store-main-nav a:hover::after,
.store-main-nav a[aria-current='page']::after { transform: scaleX(1); }

.store-header__actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 4px;
}

.store-icon-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.store-icon-button:hover,
.store-icon-button:focus-visible {
  color: var(--law-red);
  background: var(--law-red-soft);
  outline: 0;
}

.store-count {
  position: absolute;
  top: 2px;
  right: 1px;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border: 2px solid var(--law-paper);
  border-radius: 99px;
  color: #fff;
  background: var(--law-red);
  font-size: 9px;
  font-weight: 900;
}

.store-header-search {
  max-height: 0;
  overflow: hidden;
  border-top: 0 solid transparent;
  transition: max-height 220ms ease, border-color 220ms ease;
}

.store-header-search.is-open {
  max-height: 78px;
  border-top-width: 1px;
  border-top-color: var(--law-line);
}

.store-header-search__inner {
  display: flex;
  gap: 8px;
  width: min(760px, calc(100% - 32px));
  margin: 10px auto 12px;
}

.store-header-search input {
  width: 100%;
  min-width: 0;
  height: 45px;
  padding: 0 18px;
  border: 1px solid var(--law-line);
  border-radius: 999px;
  outline: none;
  background: #fff;
}

.store-header-search input:focus { border-color: var(--law-red); box-shadow: 0 0 0 3px rgba(212, 20, 63, 0.11); }

.store-primary-button,
.store-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--law-red);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.store-primary-button {
  color: #fff;
  background: var(--law-red);
  box-shadow: 0 8px 22px rgba(212, 20, 63, 0.2);
}

.store-primary-button:hover { background: var(--law-red-dark); transform: translateY(-1px); }
.store-secondary-button { color: var(--law-ink); background: #fff; border-color: var(--law-line); }
.store-secondary-button:hover { border-color: var(--law-red); color: var(--law-red); }
.store-primary-button:disabled, .store-secondary-button:disabled { opacity: 0.42; cursor: not-allowed; transform: none; }

.store-main { min-height: 70vh; }

.catalog-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 1800px);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 74px) clamp(18px, 3vw, 52px) clamp(20px, 3vw, 38px);
}

.catalog-intro__eyebrow {
  margin: 0 0 7px;
  color: var(--law-red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-intro h1 {
  max-width: 720px;
  margin: 0;
  font-family: var(--law-serif);
  font-size: clamp(40px, 5.2vw, 84px);
  font-weight: 400;
  line-height: 0.92;
  text-transform: uppercase;
}

.catalog-intro p:last-child {
  max-width: 400px;
  margin: 0 0 5px;
  color: var(--law-muted);
  font-size: 14px;
}

.catalog-toolbar {
  position: sticky;
  z-index: 35;
  top: 71px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px clamp(18px, 3vw, 52px);
  border-top: 1px solid var(--law-line);
  border-bottom: 1px solid var(--law-line);
  background: rgba(255, 253, 253, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.catalog-toolbar__group { display: flex; align-items: center; gap: 10px; }
.catalog-toolbar__count { color: var(--law-muted); font-size: 12px; font-weight: 700; }

.catalog-tool {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 39px;
  padding: 0 16px;
  border: 1px solid var(--law-line);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.catalog-tool:hover,
.catalog-tool:focus-visible { border-color: var(--law-red); color: var(--law-red); outline: 0; }

.catalog-sort {
  min-height: 39px;
  padding: 0 38px 0 16px;
  border: 1px solid var(--law-line);
  border-radius: 999px;
  outline: none;
  background: #fff;
  color: var(--law-ink);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.catalog-sort:focus { border-color: var(--law-red); }

.catalog-status {
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 50px 20px;
  color: var(--law-muted);
  text-align: center;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 1px;
  row-gap: clamp(42px, 6vw, 92px);
  width: 100%;
  padding: 1px 1px clamp(80px, 9vw, 150px);
  background: var(--law-paper);
}

.product-card {
  position: relative;
  min-width: 0;
  padding-bottom: 2px;
  border-right: 1px solid var(--law-line);
  border-bottom: 1px solid var(--law-line);
  background: var(--law-paper);
}

.product-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
}

.product-card__media::after {
  display: none;
  content: none;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  padding: clamp(12px, 2.4vw, 42px);
  object-fit: contain;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-card__media img { transform: scale(1.025); }

.product-card__favorite {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(19, 16, 20, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.product-card__favorite:hover,
.product-card__favorite.is-active { color: #fff; border-color: var(--law-red); background: var(--law-red); }
.product-card__favorite.is-active svg { fill: currentColor; }

.product-card__body {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-height: 156px;
  padding: 19px clamp(12px, 2vw, 34px) 8px;
  text-align: center;
}

.product-card__category {
  margin: 0;
  color: var(--law-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card__title {
  margin: 0;
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 780;
  line-height: 1.25;
  text-wrap: balance;
}

.product-card__title a:hover { color: var(--law-red); }
.product-card__price { margin: 0; color: var(--law-red); font-size: 14px; font-weight: 900; }
.product-card__old-price { margin-left: 6px; color: var(--law-muted); font-weight: 500; text-decoration: line-through; }

.product-card__sizes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  min-height: 30px;
  margin-top: 2px;
}

.product-card__size {
  display: grid;
  place-items: center;
  min-width: 31px;
  height: 29px;
  padding: 0 8px;
  border: 1px solid var(--law-line);
  border-radius: 2px;
  background: transparent;
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
}

.product-card__size:hover { color: #fff; border-color: var(--law-red); background: var(--law-red); }
.product-card__size.is-sold-out { color: #aaa3a7; text-decoration: line-through; cursor: not-allowed; }

.filter-backdrop {
  position: fixed;
  z-index: 80;
  inset: 0;
  border: 0;
  background: rgba(28, 13, 19, 0.18);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.filter-backdrop.is-open { opacity: 1; visibility: visible; }

.filter-drawer {
  position: fixed;
  z-index: 90;
  top: 0;
  right: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(460px, 100%);
  height: 100dvh;
  border-left: 1px solid var(--law-line);
  background: rgba(255, 253, 253, 0.97);
  box-shadow: -20px 0 60px rgba(70, 18, 32, 0.14);
  transform: translateX(105%);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.filter-drawer.is-open { transform: translateX(0); }
.filter-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--law-line); }
.filter-drawer__header h2 { margin: 0; font-family: var(--law-serif); font-size: 34px; font-weight: 400; text-transform: uppercase; }
.filter-drawer__close { border: 1px solid var(--law-line); background: #fff; }
.filter-drawer__body { overflow-y: auto; padding: 24px; }
.filter-drawer__footer { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 24px max(16px, env(safe-area-inset-bottom)); border-top: 1px solid var(--law-line); background: var(--law-glass); }

.filter-field { display: grid; gap: 8px; margin-bottom: 20px; }
.filter-field > span, .filter-field legend { color: var(--law-muted); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.filter-field input, .filter-field select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--law-line);
  border-radius: 999px;
  outline: 0;
  background: #fff;
}
.filter-field input:focus, .filter-field select:focus { border-color: var(--law-red); box-shadow: 0 0 0 3px rgba(212, 20, 63, 0.1); }
.filter-price { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.filter-check { display: flex; align-items: center; gap: 10px; min-height: 42px; cursor: pointer; }
.filter-check input { width: 19px; height: 19px; accent-color: var(--law-red); }

.store-footer {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(130px, 0.6fr));
  gap: 38px;
  padding: 56px clamp(22px, 4vw, 70px) 62px;
  border-top: 1px solid var(--law-line);
  background: #f9f6f7;
}

.store-footer__brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: invert(1) contrast(1.25);
}
.store-footer h2 { margin: 0 0 12px; font-family: var(--law-serif); font-size: 30px; font-weight: 400; }
.store-footer h3 { margin: 0 0 12px; font-size: 11px; text-transform: uppercase; }
.store-footer p { max-width: 420px; margin: 0; color: var(--law-muted); }
.store-footer nav { display: grid; align-content: start; gap: 9px; }
.store-footer a { color: var(--law-muted); font-size: 13px; }
.store-footer a:hover { color: var(--law-red); }

.mobile-store-nav { display: none; }

.product-shell {
  width: 100%;
  padding-bottom: 80px;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(360px, 42%);
  min-height: calc(100vh - 99px);
  border-bottom: 1px solid var(--law-line);
}

.product-gallery {
  position: relative;
  min-width: 0;
  background: #fff;
}

.product-gallery__desktop {
  position: sticky;
  top: 70px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  height: calc(100vh - 70px);
  min-height: 620px;
  padding: 20px;
}

.product-gallery__thumbs {
  display: grid;
  align-content: center;
  gap: 9px;
  min-width: 0;
}

.product-gallery__thumb {
  width: 72px;
  aspect-ratio: 1;
  overflow: hidden;
  padding: 4px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
}
.product-gallery__thumb.is-active { border-color: var(--law-red); }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }

.product-gallery__stage { display: grid; place-items: center; min-width: 0; min-height: 0; }
.product-gallery__stage img { width: 100%; height: 100%; max-height: calc(100vh - 110px); object-fit: contain; }
.product-gallery__mobile { display: none; }

.product-purchase {
  display: grid;
  align-content: start;
  min-width: 0;
  padding: clamp(48px, 6vw, 112px) clamp(28px, 5vw, 92px) 70px;
  background: var(--law-paper);
}

.product-purchase__inner { width: min(100%, 540px); margin: 0 auto; }
.product-breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 34px; color: var(--law-muted); font-size: 10px; font-weight: 750; text-transform: uppercase; }
.product-breadcrumbs a:hover { color: var(--law-red); }
.product-category { margin: 0 0 8px; color: var(--law-red); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.product-title { margin: 0; font-family: var(--law-serif); font-size: clamp(34px, 3.4vw, 58px); font-weight: 400; line-height: 0.98; text-transform: uppercase; text-wrap: balance; }
.product-price { margin: 22px 0 30px; font-size: 18px; font-weight: 850; }
.product-price strong { color: var(--law-red); }
.product-price del { margin-left: 8px; color: var(--law-muted); font-size: 13px; font-weight: 500; }

.product-option { padding: 22px 0; border-top: 1px solid var(--law-line); }
.product-option__top { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.product-option__label { font-size: 11px; font-weight: 900; text-transform: uppercase; }
.product-option__status { color: var(--law-muted); font-size: 11px; }
.product-option__status.is-low { color: var(--law-red); font-weight: 800; }

.product-size-list { display: flex; flex-wrap: wrap; gap: 7px; }
.product-size {
  min-width: 48px;
  height: 42px;
  padding: 0 13px;
  border: 1px solid var(--law-ink);
  border-radius: 2px;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.product-size:hover, .product-size.is-selected { color: #fff; border-color: var(--law-red); background: var(--law-red); }
.product-size:disabled { color: #aaa4a7; border-color: var(--law-line); background: #f4f1f2; text-decoration: line-through; cursor: not-allowed; }

.product-buy-row { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 10px; margin-top: 20px; }
.quantity-control { display: grid; grid-template-columns: 38px 1fr 38px; height: 52px; overflow: hidden; border: 1px solid var(--law-line); border-radius: 999px; background: #fff; }
.quantity-control button { border: 0; background: transparent; font-size: 18px; cursor: pointer; }
.quantity-control button:hover { color: var(--law-red); }
.quantity-control input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; text-align: center; font-weight: 850; appearance: textfield; }
.quantity-control input::-webkit-outer-spin-button, .quantity-control input::-webkit-inner-spin-button { margin: 0; appearance: none; }
.product-add-button { min-height: 52px; }

.product-actions { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; }
.product-wishlist-button { width: 100%; min-height: 44px; }
.product-wishlist-button.is-active { color: var(--law-red); border-color: var(--law-red); background: var(--law-red-soft); }
.product-wishlist-button.is-active svg { fill: currentColor; }
.product-message { min-height: 22px; margin: 12px 0 0; color: var(--law-muted); font-size: 12px; text-align: center; }
.product-message.is-error { color: #a00028; }
.product-message.is-success { color: #166534; }

.product-description { margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--law-line); }
.product-description p { margin: 0 0 14px; color: #4f484e; }
.product-meta { display: grid; grid-template-columns: auto 1fr; gap: 7px 16px; margin-top: 20px; color: var(--law-muted); font-size: 11px; }
.product-meta dt { font-weight: 850; text-transform: uppercase; }
.product-meta dd { margin: 0; }

.size-guide-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(34px, 7vw, 120px);
  padding: clamp(55px, 8vw, 120px) clamp(20px, 7vw, 130px);
  border-bottom: 1px solid var(--law-line);
}
.size-guide-section__intro h2 { margin: 0 0 14px; font-family: var(--law-serif); font-size: clamp(34px, 4vw, 64px); font-weight: 400; line-height: 0.95; text-transform: uppercase; }
.size-guide-section__intro p { max-width: 420px; margin: 0; color: var(--law-muted); }
.size-guide-table-wrap { width: 100%; overflow-x: auto; }
.size-guide-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 12px; }
.size-guide-table th, .size-guide-table td { padding: 14px 12px; border-bottom: 1px solid var(--law-line); text-align: left; white-space: nowrap; }
.size-guide-table th { color: var(--law-muted); font-size: 10px; text-transform: uppercase; }
.size-guide-note { margin: 16px 0 0; color: var(--law-muted); font-size: 11px; }

.related-section { padding: clamp(56px, 7vw, 110px) 0 90px; }
.related-section__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 0 clamp(18px, 3vw, 52px) 28px; }
.related-section h2 { max-width: 680px; margin: 0; font-family: var(--law-serif); font-size: clamp(34px, 4.4vw, 72px); font-weight: 400; line-height: 0.95; text-transform: uppercase; }
.related-section__head a { color: var(--law-red); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--law-line); }

.product-not-found { display: grid; place-items: center; min-height: 70vh; padding: 40px 20px; text-align: center; }
.product-not-found h1 { margin: 0 0 12px; font-family: var(--law-serif); font-size: 48px; font-weight: 400; }
.product-not-found p { color: var(--law-muted); }

.store-toast-region {
  position: fixed;
  z-index: 140;
  right: 18px;
  bottom: 22px;
  display: grid;
  gap: 9px;
  width: min(360px, calc(100% - 36px));
  pointer-events: none;
}
.store-toast { padding: 13px 17px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; color: #fff; background: rgba(19,16,20,.9); box-shadow: var(--law-shadow); opacity: 0; transform: translateY(8px); transition: opacity 180ms ease, transform 180ms ease; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.store-toast.is-visible { opacity: 1; transform: translateY(0); }
.store-toast--success { background: rgba(22,101,52,.92); }
.store-toast--error { background: rgba(159,12,44,.94); }

.store-skeleton { position: relative; overflow: hidden; background: #eee9eb; }
.store-skeleton::after { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent); content: ''; transform: translateX(-100%); animation: law-shimmer 1.2s infinite; }
@keyframes law-shimmer { to { transform: translateX(100%); } }

@media (max-width: 1080px) {
  .store-header__inner { grid-template-columns: auto 1fr auto; gap: 18px; }
  .store-main-nav { justify-content: end; gap: 18px; }
  .store-main-nav a:nth-child(4) { display: none; }
  .product-layout { grid-template-columns: minmax(0, 54%) minmax(340px, 46%); }
  .product-purchase { padding-right: 36px; padding-left: 36px; }
}

@media (max-width: 900px) {
  body.law-store-page,
  body.law-product-page { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .store-announcement { display: none; }
  .store-header__inner { grid-template-columns: 1fr auto; min-height: 60px; padding: 8px 14px; }
  .store-brand__mark { width: 54px; height: 42px; }
  .store-brand__mark img { width: 52px; height: 40px; }
  .store-brand__copy small { display: none; }
  .store-main-nav { display: none; }
  .store-header__actions > a { display: none; }
  .store-header__actions .store-icon-button { width: 39px; height: 39px; }
  .store-header-search.is-open { max-height: 72px; }
  .catalog-intro { align-items: start; flex-direction: column; gap: 16px; padding-top: 34px; padding-bottom: 26px; }
  .catalog-intro h1 { font-size: clamp(39px, 13vw, 68px); }
  .catalog-intro p:last-child { font-size: 13px; }
  .catalog-toolbar { top: 60px; padding: 9px 12px; }
  .catalog-toolbar { position: relative; top: auto; }
  .catalog-toolbar__group { gap: 7px; }
  .catalog-tool { min-height: 37px; padding: 0 13px; }
  .catalog-toolbar > label { display: block; flex: 0 1 190px; width: min(47%, 190px); }
  .catalog-sort { width: 100%; max-width: none; min-height: 37px; padding-right: 30px; padding-left: 12px; font-size: 11px; }
  .catalog-toolbar__count { display: none; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; padding-bottom: 70px; }
  .product-card__media { aspect-ratio: 1; }
  .product-card__media img { padding: 10px; }
  .product-card__favorite { top: 8px; right: 8px; width: 36px; height: 36px; }
  .product-card__favorite [data-lucide] { width: 17px; height: 17px; }
  .product-card__body { align-content: start; min-height: 148px; padding: 13px 8px 4px; }
  .product-card__title { font-size: 12px; }
  .product-card__price { font-size: 13px; }
  .product-card__size { min-width: 28px; height: 27px; padding: 0 6px; font-size: 9px; }
  .store-footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
    padding: 44px 20px 110px;
  }
  .store-footer > div { grid-column: 1 / -1; }
  .store-footer h2 { font-size: 36px; }
  .store-footer p { font-size: 13px; }
  .store-footer nav { gap: 8px; }
  .store-footer a { font-size: 12px; }
  .mobile-store-nav {
    position: fixed;
    z-index: 70;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 12px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3px;
    height: 67px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 25px;
    background: rgba(249, 244, 246, 0.7);
    box-shadow: 0 12px 38px rgba(77, 20, 36, 0.22), inset 0 1px 0 rgba(255,255,255,.92);
    -webkit-backdrop-filter: blur(24px) saturate(145%);
    backdrop-filter: blur(24px) saturate(145%);
  }
  .mobile-store-nav::before {
    position: absolute;
    z-index: 0;
    top: 5px;
    bottom: 5px;
    left: 0;
    width: var(--nav-indicator-width, calc((100% - 22px) / 5));
    border: 1px solid rgba(212, 20, 63, 0.26);
    border-radius: 20px;
    background: rgba(236, 100, 133, 0.2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.92), inset 8px 0 16px rgba(255,255,255,.28), 0 5px 14px rgba(158,12,44,.12);
    content: '';
    transform: translateX(var(--nav-indicator-x, 0));
    transition: width 220ms ease, transform 300ms cubic-bezier(.22,1,.36,1);
    pointer-events: none;
  }
  .mobile-store-nav a {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: 25px auto;
    place-items: center;
    min-width: 0;
    padding: 5px 2px 4px;
    border: 1px solid transparent;
    border-radius: 20px;
    color: #514950;
    font-size: 8px;
    font-weight: 800;
    line-height: 1;
  }
  .mobile-store-nav a[aria-current='page'] {
    color: var(--law-red-dark);
    border-color: transparent;
    background: transparent;
    box-shadow: none;
  }
  .mobile-store-nav [data-lucide] { width: 20px; height: 20px; }
  .mobile-store-nav .store-count { top: 3px; right: 6px; }
  .store-toast-region { right: 12px; bottom: calc(88px + env(safe-area-inset-bottom)); width: calc(100% - 24px); }
  .filter-drawer__body { padding: 20px; }
  .filter-drawer__footer { padding-right: 20px; padding-left: 20px; }

  .product-layout { display: block; min-height: 0; }
  .product-gallery__desktop { display: none; }
  .product-gallery__mobile { position: relative; display: block; }
  .product-gallery__track { display: flex; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .product-gallery__track::-webkit-scrollbar { display: none; }
  .product-gallery__slide { flex: 0 0 100%; width: 100%; aspect-ratio: 1; margin: 0; padding: 18px; scroll-snap-align: start; background: #fff; }
  .product-gallery__slide img { width: 100%; height: 100%; object-fit: contain; }
  .product-gallery__counter { position: absolute; right: 14px; bottom: 14px; padding: 6px 10px; border: 1px solid rgba(19,16,20,.12); border-radius: 999px; background: rgba(255,255,255,.75); font-size: 10px; font-weight: 800; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .product-purchase { padding: 34px 20px 52px; }
  .product-breadcrumbs { margin-bottom: 22px; }
  .product-title { font-size: clamp(35px, 11vw, 52px); }
  .product-price { margin: 17px 0 22px; }
  .product-option { padding: 18px 0; }
  .product-buy-row { grid-template-columns: 106px minmax(0, 1fr); }
  .product-add-button { padding: 0 14px; }
  .size-guide-section { grid-template-columns: 1fr; gap: 28px; padding: 50px 20px; }
  .size-guide-table-wrap { border: 1px solid var(--law-line); border-radius: 12px; }
  .size-guide-table { width: 100%; min-width: 0; table-layout: fixed; }
  .size-guide-table th, .size-guide-table td { padding: 12px 6px; font-size: 9px; white-space: normal; overflow-wrap: anywhere; }
  .related-section { padding-top: 54px; }
  .related-section__head { align-items: start; flex-direction: column; padding-bottom: 22px; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 430px) {
  .catalog-intro { padding-right: 14px; padding-left: 14px; }
  .catalog-toolbar { align-items: stretch; }
  .catalog-toolbar__group { flex: 1; }
  .catalog-tool { justify-content: center; flex: 1; padding: 0 10px; }
  .catalog-sort { width: 100%; max-width: none; }
  .product-card__category { font-size: 8px; }
  .product-card__title { min-height: 30px; }
  .product-card__sizes { gap: 3px; }
  .product-card__size { min-width: 25px; height: 25px; padding: 0 5px; }
  .product-buy-row { grid-template-columns: 96px minmax(0, 1fr); }
  .quantity-control { grid-template-columns: 31px 1fr 31px; }
  .product-add-button { font-size: 10px; }
  .filter-drawer__header h2 { font-size: 30px; }
}

@media (max-width: 700px) {
  body.law-store-page > .store-header,
  body.law-product-page > .store-header {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
