:root {
  --navy: #082b54;
  --navy-dark: #061e3b;
  --red: #d51e30;
  --red-dark: #aa1726;
  --yellow: #f9bb26;
  --ink: #17304d;
  --muted: #5b6d81;
  --line: #dce4ec;
  --paper: #fff;
  --soft: #f6f8fa;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 44px rgba(8, 43, 84, .09);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  min-width: 320px;
  line-height: 1.5
}

button, input, select {
  font: inherit
}

button {
  cursor: pointer
}

button:disabled {
  cursor: not-allowed
}

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

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

h1, h2, h3, p {
  margin-top: 0
}

.svg-defs, .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round
}

:focus-visible {
  outline: 3px solid #1267b5;
  outline-offset: 3px
}

[hidden] {
  display: none!important
}

.shell {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 12px 16px;
  color: white;
  background: var(--navy);
  border-radius: var(--radius-sm)
}

.skip-link:focus {
  top: 12px
}

.demo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 30px;
  padding: 5px 14px;
  color: #fff;
  background: var(--navy-dark);
  font-size: .72rem;
  font-weight: 600;
  text-align: center
}

.demo-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--yellow)
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  box-shadow: 0 3px 14px rgba(8, 43, 84, .055)
}

.header-main {
  display: grid;
  grid-template-columns: 178px minmax(240px, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 4vw, 62px);
  min-height: 78px
}

.brand {
  display: flex;
  align-items: center;
  width: 178px;
  height: 62px;
  overflow: hidden
}

.brand img {
  width: 178px;
  max-width: none;
  height: auto;
  margin-top: 0
}

.site-search {
  display: flex;
  align-items: center;
  min-width: 0;
  height: 46px;
  border: 1px solid #cdd9e4;
  border-radius: 10px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s
}

.site-search:focus-within {
  border-color: #1267b5;
  box-shadow: 0 0 0 3px rgba(18, 103, 181, .16)
}

.search-mark {
  margin-left: 14px;
  color: var(--muted)
}

.site-search input {
  width: 100%;
  min-width: 0;
  padding: 9px 10px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: .88rem
}

.site-search input::placeholder {
  color: #687b90
}

.site-search input::-webkit-search-cancel-button {
  display: none
}

.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 0;
  border-radius: 8px;
  color: var(--navy);
  background: transparent
}

.icon-button:hover {
  background: var(--soft)
}

.clear-search .icon {
  width: 16px;
  height: 16px
}

.search-submit {
  align-self: stretch;
  min-width: 80px;
  margin: 3px;
  padding: 0 14px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: var(--navy);
  font-size: .82rem;
  font-weight: 700
}

.search-submit:hover {
  background: var(--red-dark)
}

.header-cart {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--navy);
  font-size: .85rem;
  font-weight: 750;
  white-space: nowrap
}

.header-cart:hover, .site-nav a:hover, .underlined-link:hover {
  color: var(--red-dark)
}

.cart-count {
  display: grid;
  place-items: center;
  min-width: 23px;
  height: 23px;
  padding-inline: 5px;
  border-radius: 50%;
  color: white;
  background: var(--red);
  font-size: .72rem;
  font-variant-numeric: tabular-nums
}

.menu-toggle {
  display: none
}

.site-nav {
  border-top: 1px solid var(--line)
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 38px);
  min-height: 40px;
  color: var(--navy);
  font-size: .78rem;
  font-weight: 700
}

.nav-help {
  margin-left: auto
}

.main-content {
  min-height: 48vh
}

.main-content:focus {
  outline: none
}

section[id] {
  scroll-margin-top: 138px
}

.eyebrow {
  margin-bottom: 9px;
  color: var(--red-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase
}

.section {
  padding-block: var(--space-8)
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px
}

h1, h2, h3 {
  color: var(--navy)
}

h1 {
  margin-bottom: 19px;
  font-size: clamp(2.8rem, 4.6vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -.065em
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 2.7vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -.045em
}

h3 {
  letter-spacing: -.025em
}

.period {
  color: var(--red)
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 750;
  text-align: center
}

.button .icon {
  width: 18px;
  height: 18px
}

.button-red {
  color: #fff;
  background: var(--red)
}

.button-red:hover {
  background: var(--red-dark)
}

.button-navy {
  color: #fff;
  background: var(--navy)
}

.button-navy:hover {
  background: var(--navy-dark)
}

.button-outline {
  color: var(--navy);
  border-color: var(--line);
  background: #fff
}

.button-outline:hover {
  border-color: var(--navy)
}

.button:disabled {
  color: #6f7a86;
  background: #e4e9ee
}

.underlined-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: var(--navy);
  font-size: .84rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px
}

.underlined-link .icon {
  width: 16px;
  height: 16px
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .94fr);
  align-items: center;
  gap: 38px;
  min-height: 420px;
  padding-block: 38px 42px
}

.hero.is-empty { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: 60px 48px }
.hero.is-empty .hero-copy { max-width: 750px }

.hero-copy {
  max-width: 560px
}

.hero-text {
  max-width: 490px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 1rem
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap
}

.hero-media {
  position: relative;
  height: 335px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #f3f6f8
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 25px 18% 32px;
  border-radius: 50%;
  background: #fff;
  opacity: .75
}

.hero-spot {
  position: absolute;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(8, 43, 84, .055);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow)
}

.hero-spot img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

.hero-spot-main {
  width: 55%;
  height: 80%;
  top: 10%;
  left: 22%;
  transform: rotate(-3deg)
}

.hero-spot-left {
  width: 28%;
  height: 50%;
  top: 36%;
  left: 3%;
  transform: rotate(-7deg)
}

.hero-spot-right {
  width: 30%;
  height: 52%;
  top: 8%;
  right: 2%;
  transform: rotate(7deg)
}

.hero-caption {
  position: absolute;
  right: 18px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 30px;
  color: var(--navy);
  background: #fff;
  font-size: .7rem;
  font-weight: 700
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px
}

.category-tile {
  display: grid;
  grid-template-columns: 1fr 42%;
  align-items: center;
  min-height: 135px;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 16px 0 16px 19px;
  background: var(--soft);
  transition: transform .18s, box-shadow .18s
}

.category-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow)
}

.category-tile:nth-child(1) {
  background: #fff5d9
}

.category-tile:nth-child(2) {
  background: #e6f0fa
}

.category-tile:nth-child(3) {
  background: #fbe9ec
}

.category-tile:nth-child(4) {
  background: #edf3ed
}

.category-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0
}

.category-copy strong {
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.15
}

.category-copy small {
  color: #4c637c;
  font-size: .72rem;
  line-height: 1.25
}

.category-tile img {
  width: 100%;
  height: 106px;
  object-fit: contain;
  transform: scale(1.28)
}

.selection-section {
  padding-top: 10px
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px
}

.product-card {
  min-width: 0
}

.product-media {
  position: relative;
  display: block;
  aspect-ratio: 1/1;
  overflow: hidden;
  border: 1px solid #edf1f4;
  border-radius: var(--radius);
  background: #f6f8fa
}

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

.product-media:hover img {
  transform: scale(1.045)
}

.image-fallback {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 20px;
  color: var(--muted);
  font-size: .82rem;
  text-align: center
}

.product-tag {
  position: absolute;
  top: 11px;
  left: 11px;
  z-index: 1;
  padding: 5px 8px;
  border-radius: 5px;
  color: var(--navy);
  background: #fff;
  font-size: .65rem;
  font-weight: 750
}

.product-meta {
  margin: 15px 0 4px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase
}

.product-card h3 {
  min-height: 2.75em;
  margin-bottom: 3px;
  font-size: 1.03rem;
  line-height: 1.35
}

.product-card h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 3px
}

.price {
  color: var(--navy);
  font-size: 1.06rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums
}

.availability {
  display: block;
  min-height: 20px;
  margin-top: 3px;
  color: var(--muted);
  font-size: .73rem
}

.availability.is-out {
  color: var(--red-dark)
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 13px
}

.card-actions .underlined-link {
  min-height: 44px;
  font-size: .79rem
}

.quick-add {
  min-height: 44px;
  padding: 5px 10px;
  border: 1px solid var(--navy);
  border-radius: 7px;
  color: var(--navy);
  background: #fff;
  font-size: .73rem;
  font-weight: 750
}

.quick-add:hover {
  color: #fff;
  background: var(--navy)
}

.catalog-section {
  background: var(--soft)
}

.catalog-heading {
  margin-bottom: 23px
}

.result-count {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: .87rem
}

.catalog-toolbar {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px
}

.filter-list {
  display: flex;
  gap: 7px;
  flex-wrap: wrap
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 14px;
  border: 1px solid #cbd7e3;
  border-radius: 20px;
  color: var(--navy);
  background: #fff;
  font-size: .77rem;
  font-weight: 700;
  white-space: nowrap
}

.filter-chip:hover {
  border-color: var(--navy)
}

.filter-chip[aria-current="true"] {
  color: #fff;
  border-color: var(--navy);
  background: var(--navy)
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: none;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700
}

.select-wrap {
  position: relative;
  display: flex;
  align-items: center
}

.select-wrap select {
  min-height: 44px;
  padding: 7px 34px 7px 12px;
  appearance: none;
  border: 1px solid #cbd7e3;
  border-radius: 8px;
  color: var(--navy);
  background: #fff;
  font-size: .78rem;
  font-weight: 700
}

.select-wrap .icon {
  position: absolute;
  right: 9px;
  width: 15px;
  height: 15px;
  pointer-events: none
}

.active-filters {
  min-height: 0;
  margin-bottom: 16px
}

.active-filters:empty {
  display: none
}

.active-filters p {
  display: inline;
  margin-right: 14px;
  color: var(--muted);
  font-size: .82rem
}

.active-filters a {
  color: var(--navy);
  font-size: .82rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px
}

.catalog-grid {
  gap: 32px 20px
}

.catalog-grid .product-media {
  background: #fff
}

.empty-state {
  max-width: 650px;
  margin: 0 auto;
  padding: 50px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: center
}

.empty-state .icon {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  color: var(--red)
}

.empty-state h3 {
  margin-bottom: 8px;
  font-size: 1.35rem
}

.empty-state p {
  color: var(--muted)
}

.page-state {
  min-height: 40vh;
  padding-block: 95px;
  text-align: center
}

.page-state h1 {
  font-size: clamp(2rem, 4vw, 3rem)
}

.page-state p {
  color: var(--muted)
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 28px;
  color: var(--muted);
  font-size: .78rem
}

.breadcrumb a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px
}

.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .88fr);
  gap: clamp(30px, 5vw, 72px);
  padding-block: 25px 90px
}

.detail-media {
  aspect-ratio: 1/1;
  max-height: 620px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--soft)
}

.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

.detail-copy {
  padding-top: 12px
}

.detail-copy h1 {
  margin: 7px 0 14px;
  font-size: clamp(2.3rem, 4vw, 3.8rem)
}

.detail-price {
  display: block;
  margin-bottom: 17px;
  color: var(--navy);
  font-size: 1.7rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums
}

.detail-description {
  max-width: 49ch;
  color: var(--muted);
  font-size: .96rem
}

.detail-attributes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  margin: 23px 0;
  padding: 20px 0;
  border-block: 1px solid var(--line)
}

.detail-attributes div {
  display: grid;
  gap: 2px
}

.detail-attributes dt {
  color: var(--muted);
  font-size: .75rem
}

.detail-attributes dd {
  margin: 0;
  color: var(--navy);
  font-size: .86rem;
  font-weight: 700
}

.variant-fieldset {
  min-width: 0;
  margin: 0 0 20px;
  padding: 0;
  border: 0
}

.variant-fieldset legend, .quantity-label {
  margin-bottom: 9px;
  color: var(--navy);
  font-size: .83rem;
  font-weight: 750
}

.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.variant-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #bdcbd9;
  border-radius: 8px;
  color: var(--navy);
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer
}

.variant-option:has(input:checked) {
  border-color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--navy)
}

.variant-option:has(input:focus-visible) {
  outline: 3px solid #1267b5;
  outline-offset: 2px
}

.variant-option:has(input:disabled) {
  color: var(--muted);
  background: var(--soft);
  cursor: not-allowed
}

.variant-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0
}

.variant-swatch {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(8, 43, 84, .2);
  border-radius: 50%;
  background: var(--swatch, var(--navy))
}

.stock-note {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: .82rem
}

.stock-note.is-out {
  color: var(--red-dark)
}

.quantity-row {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-bottom: 12px
}

.quantity-field {
  display: grid;
  gap: 6px
}

.quantity-field input {
  width: 100px;
  min-height: 48px;
  padding: 9px 12px;
  border: 1px solid #bdcbd9;
  border-radius: 8px;
  color: var(--navy)
}

.detail-add {
  min-width: 200px
}

.form-error {
  min-height: 22px;
  margin: 4px 0 12px;
  color: var(--red-dark);
  font-size: .82rem;
  font-weight: 650
}

.demo-note {
  max-width: 53ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .77rem
}

.cart-page, .info-page {
  padding-block: 38px 90px
}

.page-intro {
  max-width: 680px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: .94rem
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 32px
}

.cart-list {
  border-top: 1px solid var(--line)
}

.cart-item {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) auto;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line)
}

.cart-item-media {
  width: 116px;
  height: 116px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--soft)
}

.cart-item-media img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

.cart-item h2 {
  margin: 0 0 3px;
  font-size: 1.05rem
}

.cart-item h2 a:hover {
  text-decoration: underline
}

.cart-item p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: .76rem
}

.cart-item .price {
  font-size: .88rem
}

.cart-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px
}

.cart-qty label {
  color: var(--muted);
  font-size: .72rem
}

.cart-qty input {
  width: 76px;
  min-height: 44px;
  padding: 6px;
  border: 1px solid #bdcbd9;
  border-radius: 7px;
  color: var(--navy)
}

.remove-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 5px 3px;
  border: 0;
  color: var(--red-dark);
  background: none;
  font-size: .73rem;
  font-weight: 700
}

.remove-button .icon {
  width: 15px;
  height: 15px
}

.cart-item-subtotal {
  color: var(--navy);
  font-size: .88rem;
  font-weight: 800;
  white-space: nowrap;
  font-variant-numeric: tabular-nums
}

.cart-summary {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft)
}

.cart-summary h2 {
  margin-bottom: 20px;
  font-size: 1.2rem
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-block: 10px;
  border-top: 1px solid var(--line);
  font-size: .85rem
}

.summary-row strong {
  color: var(--navy);
  font-variant-numeric: tabular-nums
}

.summary-explain {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: .77rem
}

.summary-explain+.summary-explain {
  margin-top: 8px
}

.cart-error {
  margin-top: 12px
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px
}

.info-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius)
}

.info-card h2 {
  margin-bottom: 11px;
  font-size: 1.2rem
}

.info-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .85rem
}

.info-card.is-selected {
  border-color: var(--navy);
  box-shadow: 0 0 0 1px var(--navy)
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  max-width: 330px;
  padding: 13px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy-dark);
  box-shadow: var(--shadow);
  font-size: .83rem
}

.site-footer {
  color: #d5e0ea;
  background: var(--navy)
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-block: 46px 40px
}

.footer-brand a {
  display: flex;
  align-items: center;
  width: 155px;
  height: 52px;
  overflow: hidden;
  border-radius: 5px;
  background: #fff
}

.footer-brand img {
  width: 155px;
  max-width: none;
  height: auto
}

.footer-brand p {
  margin: 11px 0 0;
  font-size: .8rem
}

.footer-group {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 10px
}

.footer-group h2 {
  margin: 0 0 4px;
  color: #fff;
  font-size: .83rem;
  letter-spacing: 0
}

.footer-group a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: .78rem
}

.footer-group a:hover {
  color: #fff;
  text-decoration: underline
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 16px 22px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  font-size: .7rem
}

@media(max-width:1024px) {
  .shell {
    width: min(100% - 44px, 1240px)
  }
  .header-main {
    grid-template-columns: 160px minmax(200px, 1fr) auto;
    gap: 20px
  }
  .brand, .brand img {
    width: 160px
  }
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media(max-width:760px) {
  .shell {
    width: min(100% - 32px, 680px)
  }
  .header-main {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "brand cart menu" "search search search";
    gap: 0 10px;
    padding-block: 7px 9px
  }
  .brand {
    grid-area: brand;
    height: 53px
  }
  .brand img {
    width: 155px
  }
  .site-search {
    grid-area: search;
    height: 52px
  }
  .header-cart {
    grid-area: cart
  }
  .header-cart-label {
    display: none
  }
  .menu-toggle {
    grid-area: menu;
    display: grid
  }
  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    border-top: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow)
  }
  .nav-inner {
    display: grid;
    gap: 0;
    padding-block: 8px 14px
  }
  .nav-inner a {
    display: flex;
    align-items: center;
    min-height: 46px;
    border-bottom: 1px solid var(--line);
    font-size: .86rem
  }
  .nav-help {
    margin-left: 0
  }
  section[id] {
    scroll-margin-top: 114px
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-block: 40px 24px
  }
  .hero-copy {
    max-width: 620px
  }
  .hero-media {
    max-width: 680px;
    height: 280px
  }
  .section {
    padding-block: 47px
  }
  .selection-section {
    padding-top: 16px
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
  .catalog-toolbar {
    flex-direction: column
  }
  .sort-control {
    align-self: flex-start
  }
  .detail {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 65px
  }
  .detail-media {
    max-width: 580px
  }
  .cart-layout {
    grid-template-columns: 1fr
  }
  .cart-summary {
    max-width: 450px
  }
  .info-grid {
    grid-template-columns: 1fr
  }
}

@media(max-width:480px) {
  .demo-strip {
    font-size: .62rem
  }
  .brand {
    width: 145px
  }
  .brand img {
    width: 145px
  }
  .header-main {
    column-gap: 5px
  }
  .site-search input {
    font-size: .8rem
  }
  .search-submit {
    min-width: 66px;
    padding-inline: 8px;
    font-size: .75rem
  }
  .hero {
    gap: 18px;
    padding-top: 25px
  }
  h1 {
    font-size: clamp(2.7rem, 11vw, 3.6rem)
  }
  .hero-text {
    font-size: .9rem
  }
  .hero-media {
    height: 180px
  }
  .hero-actions {
    gap: 12px
  }
  .section {
    padding-block: 40px
  }
  .hero-actions .button {
    width: 100%
  }
  .category-grid {
    gap: 9px
  }
  .category-tile {
    grid-template-columns: 1fr 40%;
    min-height: 108px;
    padding: 12px 0 12px 11px
  }
  .category-copy strong {
    font-size: .88rem
  }
  .category-copy small {
    font-size: .64rem
  }
  .category-tile img {
    height: 80px
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px
  }
  .product-grid {
    gap: 22px 10px
  }
  .product-card h3 {
    min-height: 3.8em;
    font-size: .88rem
  }
  .product-meta {
    font-size: .63rem
  }
  .price {
    font-size: .94rem
  }
  .availability {
    font-size: .68rem
  }
  .card-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px
  }
  .quick-add {
    width: 100%
  }
  .filter-list {
    gap: 6px
  }
  .filter-chip {
    min-height: 44px;
    padding-inline: 11px;
    font-size: .73rem
  }
  .cart-item {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px
  }
  .cart-item-media {
    width: 88px;
    height: 88px
  }
  .cart-item-subtotal {
    grid-column: 2;
    justify-self: start
  }
  .cart-qty {
    flex-wrap: wrap;
    gap: 6px
  }
  .detail-copy h1 {
    font-size: 2.5rem
  }
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px
  }
  .footer-brand {
    grid-column: 1/-1
  }
  .footer-bottom {
    flex-direction: column;
    gap: 6px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }
  *, *::before, *::after {
    animation-duration: .01ms!important;
    transition-duration: .01ms!important
  }
}

/* Catálogo ampliado y áreas de cuenta */
.header-main { grid-template-columns: 178px minmax(240px,1fr) auto auto; gap: clamp(10px,2vw,28px) }
.header-account { display: inline-flex; align-items: center; min-height: 44px; color: var(--navy); font-size: .83rem; font-weight: 750; white-space: nowrap }
.header-account:hover { color: var(--red-dark) }
.nav-inner { gap: 22px; overflow-x: auto; white-space: nowrap; scrollbar-width: none }
.nav-inner::-webkit-scrollbar { display: none }
.nav-inner a { flex: none }
.category-text-tile { grid-template-columns: minmax(0,1fr) auto; padding: 18px; gap: 16px }
.category-text-tile .icon { width: 24px; height: 24px; color: var(--red) }
.product-card { display: flex; flex-direction: column }
.product-card h3 { min-height: 0; margin-bottom: 6px }
.product-card .price { margin-top: auto }
.card-actions { display: grid; align-content: end; gap: 4px; margin-top: 7px }
.card-actions .underlined-link { min-height: 36px }
.card-actions .quick-add { width: 100%; text-align: center; display: grid; place-items: center }
.refine-form { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff }
.refine-toggle { display: none }
.refine-form label, .form-field { display: grid; gap: 5px; color: var(--navy); font-size: .78rem; font-weight: 700 }
.refine-form input, .refine-form select, .form-field input, .form-field select { min-width: 0; width: 100%; min-height: 43px; padding: 8px 10px; border: 1px solid #bdcbd8; border-radius: 7px; color: var(--ink); background: #fff }
.refine-form label { flex: 1 1 130px; max-width: 200px }
.refine-form label:nth-child(3), .refine-form label:nth-child(4) { max-width: 230px }
.pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 28px; color: var(--navy); font-weight: 700 }
.loading-state { grid-column: 1/-1; padding: 20px; color: var(--muted) }
.gallery-thumbs { display: flex; gap: 8px; padding: 10px }
.detail-media { aspect-ratio: auto; max-height: none; overflow: visible; border: 0; background: transparent }
.detail-media > img { aspect-ratio: 1; height: auto; max-height: 620px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--soft) }
.gallery-thumb { width: 70px; height: 70px; padding: 0; border: 2px solid var(--line); border-radius: 8px; background: #fff }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain }
.product-brand { color: var(--muted); font-size: .9rem }
.account-page, .admin-page { padding-block: 45px 65px }
.account-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; align-items: start }
.account-form, .admin-form { display: grid; gap: 13px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff }
.account-form h2, .admin-form h2 { font-size: 1.35rem; margin-bottom: 4px }
.account-form .button, .admin-form .button { justify-self: start }
.account-page > .button, .account-page > a.button { margin: 12px 12px 0 0 }
.admin-page { max-width: 1000px }
.admin-page > .admin-form { grid-template-columns: repeat(2,minmax(0,1fr)); margin-bottom: 16px }
.admin-page > .admin-form h2 { grid-column: 1/-1 }
.admin-section { margin: 12px 0; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff }
.admin-section summary { cursor: pointer; color: var(--navy); font-weight: 750 }
.admin-section > .admin-form, .admin-variants, .admin-images { margin-top: 18px }
.admin-category-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 12px }
.admin-variants { display: grid; gap: 10px }
.admin-variants h3 { margin: 0 }
.admin-variants .admin-form { grid-template-columns: repeat(2,minmax(0,1fr)) }
.admin-image-list { display: grid; gap: 12px; margin-top: 18px }
.admin-image-row { display: grid; grid-template-columns: 85px minmax(0,1fr); align-items: center; gap: 12px }
.admin-image-row img { width: 85px; height: 85px; object-fit: contain }
.admin-image-row .admin-form { grid-template-columns: minmax(0,2fr) 75px 125px auto auto; padding: 10px }
.admin-image-row input, .admin-image-row select { min-width: 0; width: 100%; border: 1px solid var(--line); border-radius: 7px; padding: 8px }
@media(max-width:760px) { .admin-image-row .admin-form { grid-template-columns: repeat(2,minmax(0,1fr)) } }
@media(max-width:480px) { .admin-image-row { grid-template-columns: 1fr } }
.footer-brand a { width: 155px; height: auto; overflow: visible; background: transparent }
.footer-logo { display: block; position: relative; width: 155px; aspect-ratio: 1928/481 }
.footer-brand .footer-logo-white { width: 100%; height: auto; filter: brightness(0) invert(1) }
.footer-brand .footer-logo-symbol { position: absolute; top: 0; left: 0; width: 24.2%; height: auto }
@media(max-width:1024px) { .header-main { grid-template-columns: 160px minmax(190px,1fr) auto auto; gap: 12px } .account-grid { grid-template-columns: repeat(2,minmax(0,1fr)) } }
@media(max-width:760px) { .header-main { grid-template-columns: minmax(0,1fr) auto auto auto; grid-template-areas: "brand account cart menu" "search search search search"; gap: 0 5px } .header-account { grid-area: account; font-size: .69rem } .nav-inner { display: grid; max-height: min(65vh,620px); overflow-y: auto; white-space: normal; gap: 0 } .nav-inner a { flex: auto } .section { padding-block: 35px } .selection-section { padding-top: 8px } .account-grid { grid-template-columns: 1fr } .refine-form label { max-width: none } .filter-list { width: 100%; min-width: 0; max-width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px } .filter-list::-webkit-scrollbar { display: none } .refine-toggle { display: inline-flex; width: 100%; margin: 0 0 12px } .refine-form[hidden] { display: none } }
@media(max-width:480px) { .header-account { font-size: .64rem } .brand, .brand img { width: 134px } .category-text-tile { min-height: 105px; padding: 12px } .category-copy strong { font-size: .84rem } .section { padding-block: 29px } .product-grid { gap: 15px 10px } .product-meta { margin-top: 8px } .product-card h3 { font-size: .86rem } .availability { min-height: 0 } .card-actions { margin-top: auto } .refine-form { padding: 10px } .refine-form label { flex-basis: calc(50% - 8px) } .refine-form .button { width: 100% } .admin-page > .admin-form, .admin-variants .admin-form, .admin-category-list { grid-template-columns: 1fr } }
