/* Approved white storefront design. Shared by every page. */
:root {
  --ink: #151515;
  --muted: #707070;
  --line: #e9e9e9;
  --soft: #fbfbfb;
  --radius: 12px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  font-family: "Segoe UI", Arial, sans-serif;
}
body { -webkit-font-smoothing: antialiased; }
h1, h2, h3 { letter-spacing: -.035em; font-weight: 500; line-height: 1.18; }
h1 { font-size: 44px; }
h2 { font-size: 30px; }
button, a, input, select, summary { touch-action: manipulation; }
button, input, select { transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid #777; outline-offset: 4px; }
.container { width: calc(100% - 80px); max-width: 1480px; }
.header-inner { height: 84px; max-width: 1560px; padding-inline: 40px; }
.wordmark { font-family: Arial, sans-serif; font-size: 32px; letter-spacing: -1.6px; font-weight: 900; }
.desktop-nav { gap: 40px; font-size: 16px; }
.desktop-nav a::after { bottom: 19px; height: 2px; border-radius: 2px; }
.header-actions { gap: 15px; }
.icon-button, .favorite-button { border-radius: 50%; transition: background .25s var(--ease), transform .3s var(--ease); }
.header-search { width: 62px; height: 38px; border: 1px solid #d7d7d7; border-radius: 15px; align-self: center; margin-right: 9px; }
.header-actions .icon { stroke-width: 1.4; }
.icon-button[aria-current] { box-shadow: none; background: #f5f5f5; }
.button { border-radius: var(--radius); font-size: 14px; min-height: 50px; padding: 14px 23px; transition: background .25s var(--ease), transform .3s var(--ease), border-color .25s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button.secondary { border-color: #d8d8d8; }
.text-link { font-size: 13px; }
.eyebrow { font-weight: 500; letter-spacing: .1em; color: var(--muted); }
.breadcrumbs { padding: 26px 0; font-size: 12px; gap: 10px; }
.page-heading { margin: 20px 0 46px; align-items: center; }
.page-heading h1 { font-size: 40px; }
.page-heading .eyebrow { margin-bottom: 12px; }
.page-heading h1 sup { font-size: 13px; margin-top: 5px; color: var(--muted); }
.catalog-page .page-heading .eyebrow { display: none; }
.page-heading>.muted { font-size: 14px; }
.page { padding-bottom: 70px; }

/* Unboxed catalog photography. The two shoe PNGs have actual alpha. */
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 52px 28px; }
.product-card { min-width: 0; }
.product-art { border: 0; background: #fff; }
.product-image-link { position: relative; isolation: isolate; display: flex; justify-content: center; align-items: center; aspect-ratio: 1 / 1; padding: 20px 8px; overflow: visible; border-radius: 16px; }
.product-art img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; transition: transform .65s var(--ease); }
.product-image-link:hover img { transform: translateY(-5px) scale(1.02); }
.product-card[data-category="sneakers"] .product-image-link { aspect-ratio: 1; padding: 30px 6px 35px; }
.product-image-link .shoe-image { position: relative; z-index: 1; transform: translateY(-5px) rotate(7deg); }
.product-image-link:hover .shoe-image { transform: translateY(-12px) rotate(7deg); }
.product-image-link:has(.shoe-image)::after,
.detail-art:has(.shoe-image)::after,
.floating-hero::after {
  content: "";
  position: absolute;
  left: 23%;
  right: 23%;
  height: 12px;
  bottom: 17%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgb(0 0 0 / .15), rgb(0 0 0 / .04) 48%, transparent 72%);
  filter: blur(4px);
  pointer-events: none;
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.product-image-link:hover::after { opacity: .65; transform: scale(.9); }
.favorite-button { top: 0; right: 0; width: 38px; height: 38px; z-index: 2; }
.favorite-button .icon { width: 21px; height: 21px; stroke-width: 1.4; }
.product-card-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 13px 3px 0; }
.product-card-meta .product-brand { font-size: 13px; color: var(--muted); line-height: 1.5; }
.product-card-meta .product-name { font-size: 16px; line-height: 1.4; }
.product-card-meta .price { font-size: 16px; font-weight: 500; margin-top: 3px; }
.product-card-meta .product-caption { display: none; }
.catalog-products { margin-top: 22px; }
.results-count { font-size: 12px; }
.catalog-toolbar { padding-block: 15px; gap: 16px; border-top: 0; }
.catalog-filters { gap: 14px; }
.select-field select { border: 1px solid #d7d7d7; border-radius: var(--radius); min-height: 40px; height: auto; padding: 8px 12px; font-size: 12px; max-width: 210px; }
.search-field { gap: 10px; }
.search-field input { font-size: 13px; border-radius: 7px; }
.search-field .icon { width: 18px; height: 18px; }
.catalog-title { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.model-count { color: var(--muted); font-size: 14px; }
.sneaker-page-heading { margin-top: 10px; margin-bottom: 38px; }
.sneaker-page-heading h1 { font-size: 36px; }
.sneakers-layout { grid-template-columns: 208px minmax(0, 1fr); gap: 44px; min-height: calc(100svh - 112px); }
.sneaker-filters { border-top: 0; padding-top: 12px; top: 112px; max-height: calc(100svh - 136px); }
.filters-heading { margin-bottom: 25px; padding-bottom: 21px; border-bottom: 1px solid var(--line); }
.filters-heading h2 { font-size: 18px; font-weight: 500; }
.filters-heading .text-link { font-size: 12px; }
.filter-group { padding-bottom: 24px; margin-bottom: 24px; }
.filter-group legend { font-size: 14px; margin-bottom: 17px; }
.price-range { gap: 10px; }
.price-range label { border-radius: 11px; gap: 5px; }
.price-range label:focus-within { box-shadow: 0 0 0 2px #eee; }
.price-range input { font-size: 12px; border-radius: 9px; }
.price-range input:focus-visible { outline: none; }
.brand-options label { font-size: 13px; min-height: 33px; }
.brand-options input { appearance: none; border: 1px solid #aaa; border-radius: 4px; width: 17px; height: 17px; position: relative; }
.brand-options input:checked { background: #111; border-color: #111; }
.brand-options input:checked::after { content: ""; display: block; width: 7px; height: 4px; border-left: 1.5px solid white; border-bottom: 1.5px solid white; transform: rotate(-45deg); margin: 4px 3px; }
.filter-sizes { gap: 6px; }
.filter-sizes span { border-radius: 10px; border-color: #d7d7d7; min-height: 38px; transition: background .25s var(--ease), color .25s var(--ease); }
.filter-sizes input:focus-visible+span { border-radius: 10px; }
.sneakers-toolbar { justify-content: flex-end; padding: 0; border: 0; min-height: 40px; }
.sneakers-toolbar .search-field { border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; }
.sneakers-toolbar .search-field input { width: 160px; }
.sneaker-products .results-count { margin: -29px 0 0; width: fit-content; line-height: 20px; }
.sneaker-products .catalog-products { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 32px; gap: 48px 22px; }

/* Home uses the same light type and floating product treatment. */
.hero { min-height: 540px; gap: 50px; border-bottom: 0; }
.hero-copy h1 { text-transform: none; font-size: clamp(48px, 5.1vw, 76px); font-weight: 500; letter-spacing: -.055em; line-height: 1.05; margin: 24px 0; }
.hero-description { font-size: 16px; line-height: 1.7; }
.hero-copy .button { min-width: 230px; border-radius: 14px; }
.floating-hero { padding: 50px 25px 70px; }
.floating-hero .shoe-image { width: 100%; max-width: 610px; max-height: 370px; transform: translateY(-6px) rotate(7deg); position: relative; z-index: 1; }
.floating-hero::after { bottom: 17%; height: 18px; filter: blur(6px); left: 27%; right: 20%; }
.hero-art-index { top: 38px; font-size: 10px; }
.hero-art-caption { bottom: 35px; font-size: 11px; z-index: 2; }
.hero-art-caption .text-link { font-size: 12px; }
.category-section { gap: 14px; border: 0; margin-top: 20px; }
.category-tile, .category-tile:first-child, .category-tile:last-child { border: 1px solid var(--line); border-radius: 15px; padding: 26px; gap: 18px; }
.category-tile:hover { background: #fafafa; }
.category-tile:hover .category-title { text-decoration: none; }
.category-title { font-size: 21px; }
.new-section { padding: 68px 0 80px; }
.section-heading { margin-bottom: 30px; }
.editorial { padding: 48px 0 65px; }
.editorial h2 { font-size: 48px; font-weight: 400; }
.editorial p:not(.eyebrow) { font-size: 15px; }

/* Product detail, profile, basket and checkout. */
.detail-art { border: 0; border-radius: 22px; padding: 25px 28px 60px; }
.detail-art:has(.shoe-image) { min-height: 510px; display: flex; align-items: center; }
.detail-art .shoe-image { position: relative; z-index: 1; transform: translateY(-20px) rotate(7deg); max-height: 400px; }
.detail-art:has(.shoe-image)::after { bottom: 16%; height: 18px; }
.detail-content h1 { font-size: 36px; font-weight: 500; }
.detail-subtitle, .product-accordions p { font-size: 13px; }
.detail-price { font-size: 24px; margin-block: 22px 30px; }
.size-button { border-radius: 10px; min-height: 44px; }
.swatch { border-radius: 50%; }
.purchase-actions .button { border-radius: 13px; }
.detail-favorite { width: 52px; height: 50px; border-radius: 13px; border-color: #d7d7d7; }
.product-accordions details { padding-block: 21px; }
.product-accordions summary { font-size: 13px; }
.art-note { left: 20px; letter-spacing: .05em; }
.related-section { padding-top: 70px; }
.auth-intro h1 { font-weight: 400; font-size: 58px; }
.auth-form { border-radius: 24px; padding: 38px; box-shadow: 0 10px 35px rgb(0 0 0 / .025); }
.auth-form h2 { font-size: 30px; }
.form-field { gap: 9px; font-size: 13px; }
.form-field input { border-radius: 11px; min-height: 48px; border-color: #dcdcdc; }
.form-field input:focus { border-color: #777; box-shadow: 0 0 0 3px #f4f4f4; }
.form-note { font-size: 12px; }
.account-tile { border-radius: 18px; padding: 27px; transition: background .3s, border-color .3s; }
.account-tile:hover { border-color: #ccc; background: #fcfcfc; }
.order-row { padding: 25px 12px; transition: background .3s; }
.order-row:hover { background: #fafafa; border-radius: 12px; }
.status-label { border-radius: 20px; padding: 6px 12px; }
.order-summary { border-radius: 22px; padding: 30px; box-shadow: 0 8px 30px rgb(0 0 0 / .02); }
.order-summary h2 { font-size: 27px; }
.summary-total strong { font-size: 21px; }
.quantity-control { border-radius: 11px; overflow: hidden; min-height: 38px; }
.quantity-control button { height: 36px; }
.quantity-control button:hover:not(:disabled) { background: #f5f5f5; }
.cart-line { padding-block: 28px; }
.cart-line-art .shoe-image, .order-item .shoe-image { transform: rotate(7deg); }
.cart-line-description .product-name { font-size: 15px; }
.cart-line-description p { font-size: 12px; }
.cart-line-end strong { font-size: 14px; }
.delivery-options label { border-radius: 12px; }
.payment-placeholder { border-radius: 12px; }
.form-section h2 { font-weight: 500; }
.order-details { padding: 28px; border: 1px solid var(--line); border-radius: 22px; }
.order-success h1 { font-size: 46px; font-weight: 400; }
.success-icon { border-color: #d5d5d5; }
.info-heading h1 { font-size: 48px; font-weight: 400; }
.info-intro { font-size: 17px; line-height: 1.8; }
.info-content h2 { font-size: 25px; }
.info-content p { font-size: 14px; line-height: 1.9; }
.empty-state h2 { font-size: 29px; font-weight: 400; }
.empty-state p { font-size: 14px; }
.not-found h1 { font-size: 54px; font-weight: 400; }
dialog { border-radius: 22px; padding: 32px; box-shadow: 0 24px 80px rgb(0 0 0 / .14); }
dialog::backdrop { background: rgb(0 0 0 / .18); backdrop-filter: blur(3px); }
#toast { border-radius: 14px; padding: 15px 24px; box-shadow: 0 6px 24px rgb(0 0 0 / .1); }
#site-footer { background: #000; color: #fff; --ink: #fff; --muted: #b3b3b3; --line: #333; }
.footer-top { padding-block: 48px; }
.footer-top nav { font-size: 13px; gap: 14px; }
.footer-top .wordmark { font-size: 28px; }
.footer-bottom { font-size: 11px; }

@media (max-width: 1200px) {
  .sneakers-layout { grid-template-columns: 194px minmax(0, 1fr); gap: 30px; }
  .sneaker-products .catalog-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 20px; }
  .product-card-meta .product-name, .product-card-meta .price { font-size: 15px; }
  .header-actions { gap: 8px; }
  .desktop-nav { gap: 28px; font-size: 15px; }
  .header-search { width: 46px; margin-right: 0; }
  .category-tile, .category-tile:first-child, .category-tile:last-child { padding: 23px 20px; }
}
@media (max-width: 1000px) {
  .container { width: calc(100% - 56px); }
  .header-inner { padding-inline: 28px; }
  .wordmark { font-size: 28px; }
  .header-actions { gap: 2px; }
  .header-search { width: 38px; border: 0; }
  .desktop-nav { gap: 21px; font-size: 14px; }
  .sneaker-products .catalog-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { gap: 25px; min-height: 460px; }
  .hero-copy h1 { font-size: 54px; }
  .floating-hero { padding-inline: 0; }
  .floating-hero::after { bottom: 20%; }
  .detail-art:has(.shoe-image) { min-height: 420px; }
}
@media (max-width: 800px) {
  .container { width: calc(100% - 40px); }
  .header-inner { height: 72px; padding-inline: 20px; }
  .header-search { display: none; }
  .header-actions { gap: 5px; }
  .header-actions .icon-button { min-width: 36px; }
  .page-heading { margin-block: 16px 32px; }
  .page-heading h1 { font-size: 36px; }
  .sneakers-layout { grid-template-columns: 1fr; min-height: 0; gap: 26px; }
  .sneaker-filters { position: static; max-height: none; padding-top: 0; }
  .filters-heading { margin-bottom: 22px; padding-bottom: 16px; }
  .sneaker-products .catalog-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sneaker-products .results-count { margin-top: -29px; }
  .product-grid, .home-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sneaker-page-heading { flex-direction: row; align-items: center; }
  .sneaker-page-heading h1 { font-size: 32px; }
  .sneaker-page-heading .select-field select { font-size: 12px; }
  .model-count { font-size: 12px; }
  .catalog-title { gap: 12px; }
  .category-title { font-size: 18px; }
  .category-tile, .category-tile:first-child, .category-tile:last-child { padding: 20px 15px; gap: 10px; }
  .hero-copy h1 { font-size: 48px; }
  .hero-description { font-size: 14px; }
  .detail-content h1 { font-size: 30px; }
  .detail-art:has(.shoe-image) { min-height: 350px; padding-inline: 10px; }
  .detail-art:has(.shoe-image)::after { bottom: 18%; }
  .auth-form { padding: 26px; }
  .auth-intro h1 { font-size: 45px; }
  .auth-form>.button { font-size: 12px; }
  .order-summary { position: static; padding: 27px; }
  .info-heading h1 { font-size: 40px; }
  .info-intro { font-size: 15px; }
  .footer-bottom { font-size: 10px; }
}
@media (max-width: 560px) {
  .wordmark { font-size: 25px; letter-spacing: -1.3px; }
  .header-inner { height: 68px; }
  .header-actions { gap: 1px; }
  .breadcrumbs { padding-block: 22px; font-size: 11px; }
  .page { padding-bottom: 44px; }
  .page-heading { gap: 14px; align-items: flex-start; }
  .page-heading h1 { font-size: 33px; }
  .page-heading>.muted { font-size: 13px; }
  .page-heading h1 sup { font-size: 11px; }
  .sneaker-page-heading { flex-direction: column; gap: 20px; margin-bottom: 28px; }
  .sneaker-page-heading .select-field { align-self: flex-end; }
  .sneaker-page-heading .select-field select { min-height: 38px; }
  .sneakers-layout { gap: 20px; }
  .filter-group { margin-bottom: 20px; padding-bottom: 20px; }
  .filter-group legend { font-size: 14px; }
  .brand-options label { min-height: 38px; }
  .filter-sizes span { min-height: 44px; }
  .sneaker-products .catalog-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 16px; margin-top: 28px; }
  .sneakers-toolbar .search-field { flex: initial; min-width: 0; max-width: 170px; margin: 0; padding-inline: 10px; }
  .sneakers-toolbar .search-field input { width: 112px; font-size: 11px; }
  .sneaker-products .results-count { font-size: 11px; }
  .product-grid { gap: 34px 16px; }
  .product-image-link { padding: 10px 3px; }
  .product-card[data-category="sneakers"] .product-image-link { padding: 26px 3px 23px; aspect-ratio: 1; }
  .product-image-link:has(.shoe-image)::after { bottom: 16%; height: 9px; filter: blur(3px); }
  .product-card-meta { gap: 3px; padding: 10px 0 0; }
  .product-card-meta .product-brand { font-size: 11px; }
  .product-card-meta .product-name { font-size: 13px; }
  .product-card-meta .price { font-size: 14px; margin-top: 5px; }
  .favorite-button { width: 32px; height: 32px; top: -3px; right: -3px; }
  .favorite-button .icon { width: 18px; height: 18px; }
  .catalog-toolbar { display: flex; gap: 12px; }
  .catalog-filters { gap: 10px; }
  .catalog-filters .search-field { padding-bottom: 13px; }
  .catalog-filters>.select-field:nth-child(3) { margin-right: 0; }
  .sort-field { margin-top: 0; margin-left: 0; max-width: 100%; }
  .select-field select { max-width: 190px; padding: 8px 10px; font-size: 12px; }
  .hero { min-height: 0; gap: 0; }
  .hero-copy { padding-top: 37px; }
  .hero-copy h1 { font-size: clamp(42px, 12vw, 60px); letter-spacing: -.05em; }
  .hero-copy .eyebrow { font-size: 9px; }
  .hero-description { font-size: 14px; }
  .hero-copy .button { min-width: 220px; font-size: 13px; }
  .floating-hero { min-height: 310px; padding: 42px 8px 70px; }
  .floating-hero .shoe-image { width: 100%; max-height: 230px; }
  .floating-hero::after { bottom: 19%; height: 14px; }
  .hero-art-index { top: 24px; font-size: 9px; }
  .hero-art-caption { bottom: 21px; left: 0; font-size: 10px; }
  .hero-art-caption .text-link { font-size: 11px; }
  .category-section { gap: 10px; margin-top: 8px; }
  .category-tile, .category-tile:first-child, .category-tile:last-child { padding: 19px 20px; border: 1px solid var(--line); border-radius: 13px; gap: 18px; }
  .category-title { font-size: 20px; }
  .new-section { padding-block: 47px 54px; }
  .section-heading h2 { font-size: 26px; }
  .editorial { padding: 34px 0 45px; }
  .editorial h2 { font-size: 40px; }
  .editorial p:not(.eyebrow) { font-size: 14px; }
  .detail-art { padding: 20px 10px 45px; }
  .detail-art:has(.shoe-image) { min-height: 320px; }
  .detail-art .shoe-image { max-height: 240px; transform: translateY(-12px) rotate(7deg); }
  .detail-art:has(.shoe-image)::after { bottom: 16%; }
  .detail-content h1 { font-size: 32px; }
  .detail-favorite { width: 52px; height: 50px; }
  .art-note { left: 0; }
  .auth-intro h1 { font-size: 44px; }
  .auth-form { border-radius: 20px; padding: 25px; }
  .auth-form h2 { font-size: 28px; }
  .form-field { font-size: 12px; }
  .form-field input { font-size: 16px; }
  .form-note { font-size: 11px; }
  .account-tile { padding: 20px 13px; border-radius: 14px; gap: 10px; }
  .cart-line { gap: 12px; padding-block: 23px; }
  .cart-line-description .product-name { font-size: 12px; }
  .cart-line-description p { font-size: 11px; }
  .cart-line-end strong { font-size: 12px; }
  .order-summary { padding: 24px; border-radius: 18px; }
  .summary-total strong { font-size: 19px; }
  .order-details { padding: 18px; border-radius: 18px; }
  .order-details .section-heading { gap: 10px; }
  .order-details .section-heading h2 { font-size: 23px; }
  .order-item { gap: 9px; }
  .order-item>img { width: 47px; }
  .order-item .product-name { font-size: 11px; }
  .order-item>strong { font-size: 11px; }
  .order-success h1 { font-size: 37px; }
  .info-heading h1 { font-size: 39px; }
  .info-content h2 { font-size: 24px; }
  .info-content p { font-size: 14px; }
  .empty-state h2 { font-size: 27px; }
  .empty-state p { font-size: 13px; }
  .not-found h1 { font-size: 40px; }
  dialog { padding: 23px; border-radius: 19px; }
  .footer-top { padding-block: 34px; }
  .footer-top nav { font-size: 12px; }
  .footer-bottom { font-size: 9px; }
}
/* Product quick view: native dialog keeps keyboard focus inside the overlay. */
html { scrollbar-gutter: stable; }
html.product-modal-open, .product-modal-open body { overflow: hidden; overscroll-behavior: none; }
#product-dialog {
  width: 1080px;
  max-width: calc(100% - 48px);
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  border: 1px solid #e5e5e5;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 90px rgb(0 0 0 / .14);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
#product-dialog::backdrop { background: rgb(0 0 0 / .15); backdrop-filter: blur(5px); }
.product-modal-bar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 66px;
  padding: 12px 24px 10px 32px;
  background: #fff;
  border-radius: 24px 24px 0 0;
}
.product-modal-bar>span { font-size: 10px; letter-spacing: .1em; color: var(--muted); }
.product-modal-bar .icon-button { width: 40px; height: 40px; background: #f7f7f7; }
.product-modal-bar .icon-button:hover { background: #ededed; }
#product-dialog .product-detail { margin: 0; padding: 10px 34px 28px; grid-template-columns: 1fr 1fr; gap: 40px; }
#product-dialog .detail-art { padding: 20px 8px 45px; min-height: 360px; }
#product-dialog .detail-art img { max-height: 410px; }
#product-dialog .detail-art:has(.shoe-image)::after { bottom: 19%; }
#product-dialog .detail-art .shoe-image { max-height: 300px; }
#product-dialog .art-note { left: 8px; bottom: 16px; }
#product-dialog .detail-content { max-width: none; padding-top: 0; }
#product-dialog .detail-content h1 { font-size: 30px; margin: 14px 0 8px; }
#product-dialog .detail-price { margin: 17px 0 20px; }
#product-dialog .color-choice { margin-bottom: 20px; }
#product-dialog .product-accordions { margin-top: 22px; }
#product-dialog .product-accordions details { padding-block: 16px; }
#product-modal-feedback { padding: 0 34px 18px; min-height: 38px; font-size: 12px; text-align: right; }

/* A black rounded outline frames the existing sticky filter panel. */
.sneakers-layout { grid-template-columns: 248px minmax(0, 1fr); gap: 40px; }
.sneaker-filters { border: 1px solid #111; border-radius: 20px; padding: 22px 20px 16px; }
.sneaker-filters .filter-group:last-child { padding-bottom: 4px; }
@media (max-width: 1200px) {
  .sneakers-layout { grid-template-columns: 228px minmax(0, 1fr); gap: 28px; }
  .sneaker-filters { padding-inline: 16px; }
}
@media (max-width: 800px) {
  .sneakers-layout { grid-template-columns: 1fr; gap: 26px; }
  .sneaker-filters { padding: 22px; }
  #product-dialog { max-width: calc(100% - 32px); max-height: calc(100dvh - 32px); }
  #product-dialog .product-detail { padding-inline: 24px; gap: 24px; }
  #product-dialog .detail-content h1 { font-size: 26px; }
  #product-dialog .detail-art { min-height: 300px; }
}
@media (max-width: 700px) {
  #product-dialog { border-radius: 20px; }
  .product-modal-bar { padding: 10px 16px 8px 22px; min-height: 60px; border-radius: 20px 20px 0 0; }
  #product-dialog .product-detail { grid-template-columns: 1fr; padding: 0 22px 18px; gap: 24px; }
  #product-dialog .detail-art { min-height: 240px; padding: 10px 14px 36px; }
  #product-dialog .detail-art img { max-height: 270px; }
  #product-dialog .detail-art .shoe-image { max-height: 210px; }
  #product-dialog .detail-art:has(.shoe-image)::after { bottom: 17%; }
  #product-dialog .detail-content h1 { font-size: 28px; }
  #product-dialog .detail-favorite { width: 50px; }
  #product-modal-feedback { padding: 0 22px 18px; text-align: left; }
}
@media (max-width: 380px) {
  #product-dialog .product-detail { padding-inline: 16px; }
  #product-dialog .detail-content h1 { font-size: 25px; }
  #product-dialog .purchase-actions .button { font-size: 11px; padding-inline: 12px; }
  #product-dialog .purchase-actions .button .icon { display: none; }
  .sneaker-filters { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .product-image-link:hover .shoe-image { transform: translateY(-5px) rotate(7deg); }
  .button:hover { transform: none; }
}

/* Supplier cutouts face left: negative rotation points the toe downward. */
.product-image-link .shoe-image.supplier-shoe { transform:translateY(-5px) rotate(-7deg); }
.product-image-link:hover .shoe-image.supplier-shoe { transform:translateY(-12px) rotate(-7deg); }
.floating-hero .shoe-image.supplier-shoe { transform:translateY(-6px) rotate(-7deg); }
.detail-art .shoe-image.supplier-shoe { transform:translateY(-20px) rotate(-7deg); }
.cart-line-art .shoe-image.supplier-shoe,.order-item .shoe-image.supplier-shoe { transform:rotate(-7deg); }
#product-dialog .detail-art .shoe-image.supplier-original { transform:none; max-height:360px; object-fit:contain; }
#product-dialog .detail-art:has(>.supplier-original)::after { display:none; }
@media(max-width:600px) { .detail-art .shoe-image.supplier-shoe { transform:translateY(-12px) rotate(-7deg); } #product-dialog .detail-art .shoe-image.supplier-original { max-height:260px; } }

.product-image-link .shoe-image.supplier-right { transform:translateY(-5px) rotate(7deg); }
.product-image-link:hover .shoe-image.supplier-right { transform:translateY(-12px) rotate(7deg); }
.detail-art .shoe-image.supplier-right { transform:translateY(-20px) rotate(7deg); }
.floating-hero .shoe-image.supplier-right { transform:translateY(-6px) rotate(7deg); }
.cart-line-art .shoe-image.supplier-right,.order-item .shoe-image.supplier-right { transform:rotate(7deg); }

/* Light grey photo tiles, shared by desktop and mobile storefronts. */
.product-card .product-art {
  position: relative;
  background: #f3f3f3;
  border-radius: 18px;
  overflow: hidden;
}
.product-card .product-image-link {
  background: transparent;
  border-radius: inherit;
  overflow: hidden;
}
.product-card .product-art > .favorite-button {
  top: 10px;
  right: 10px;
  background: transparent;
}
.product-card .product-art > .favorite-button:hover {
  background: #fff;
}
.product-card-meta .price { font-weight: 600; }
@media (max-width: 600px) {
  .product-card .product-art { border-radius: 15px; }
  .product-card .product-art > .favorite-button { top: 7px; right: 7px; }
}

.season-options { display:grid; gap:10px; }
.season-options label { position:relative; cursor:pointer; }
.season-options input { position:absolute; opacity:0; width:1px; height:1px; }
.season-options label > span { display:flex; align-items:center; gap:12px; border:1px solid #ddd; border-radius:16px; padding:14px 12px; font-size:13px; transition:background .2s,color .2s; }
.season-options .icon { width:25px; height:25px; flex-shrink:0; }
.season-options input:checked + span { color:white; background:#111; border-color:#111; }
.season-options input:focus-visible + span { outline:2px solid #111; outline-offset:3px; }

/* Keep brand selection compact without pushing the remaining filters down. */
.sneaker-filters .brand-options {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  max-height: 190px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-color: #aaa transparent;
  scrollbar-gutter: stable;
  padding: 2px 8px 2px 2px;
}
.sneaker-filters .brand-options label { flex-shrink: 0; }
.sneaker-filters .brand-options::-webkit-scrollbar { width: 5px; }
.sneaker-filters .brand-options::-webkit-scrollbar-thumb { background: #aaa; border-radius: 8px; }
/* Catalog navigation and product purchase actions. */
.desktop-nav .header-search { width: 38px; height: 38px; min-width: 38px; max-height: 38px; padding: 0; margin-right: 0; flex: 0 0 38px; border-radius: 50%; }
.desktop-nav .header-search::after { display: none; }
.purchase-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 52px; align-items: stretch; }
.purchase-actions .button { min-width: 0; padding-inline: 12px; justify-content: center; font-size: 13px; line-height: 1.4; }
.purchase-actions .detail-favorite { align-self: center; }
@media (max-width: 1000px) and (min-width: 801px) {
  .desktop-nav { gap: 16px; }
}
@media (max-width: 560px) {
  .purchase-actions { grid-template-columns: minmax(0, 1fr) 50px; }
  .purchase-actions .button { grid-column: 1; min-height: 48px; }
  .purchase-actions .detail-favorite { grid-column: 2; grid-row: 1 / 3; }
}
html.shopping-modal-open, .shopping-modal-open body { overflow: hidden; overscroll-behavior: none; }
#shopping-dialog { width: min(1120px, calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 24px; background: #fff; overflow: auto; overscroll-behavior: contain; }
#shopping-dialog::backdrop { background: rgb(0 0 0 / .2); backdrop-filter: blur(5px); }
#shopping-dialog .product-modal-bar { position: sticky; top: 0; z-index: 2; background: #fff; }
#shopping-dialog > .container { width: auto; margin: 0; padding: 0 32px 32px; }
#shopping-dialog .page-heading { margin: 16px 0 30px; }
#shopping-dialog .page-heading h1 { font-size: 36px; }
#shopping-dialog .catalog-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#shopping-dialog .cart-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; }
#shopping-dialog .order-summary { position: static; }
#shopping-dialog .cart-line { grid-template-columns: 90px minmax(0, 1fr) auto; gap: 14px; }
#shopping-dialog .cart-line-art img { width: 90px; height: 110px; object-fit: contain; }
#shopping-dialog .product-name { overflow-wrap: anywhere; }
@media (max-width: 800px) {
  #shopping-dialog .cart-layout { grid-template-columns: 1fr; }
  #shopping-dialog .catalog-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  #shopping-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 20px; }
  #shopping-dialog > .container { padding: 0 18px 24px; }
  #shopping-dialog .page-heading h1 { font-size: 30px; }
  #shopping-dialog .cart-line { grid-template-columns: 72px minmax(0, 1fr); }
  #shopping-dialog .cart-line-art img { width: 72px; height: 90px; }
  #shopping-dialog .cart-line-end { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; }
}
#mobile-bottom-nav, .mobile-filter-chips { display: none; }
@media (max-width: 800px) {
  body { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
  .header-actions > a { display: none; }
  #mobile-bottom-nav { display: flex; position: fixed; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); width: min(360px, calc(100% - 40px)); padding: 8px; gap: 4px; z-index: 20; border: 1px solid rgb(0 0 0 / .06); border-radius: 32px; background: rgb(255 255 255 / .94); backdrop-filter: blur(16px); box-shadow: 0 8px 32px rgb(0 0 0 / .12); }
  #mobile-bottom-nav > a, #mobile-bottom-nav > button { flex: 1; min-width: 0; min-height: 52px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-radius: 24px; color: #111; }
  #mobile-bottom-nav > :hover, #mobile-bottom-nav > :focus-visible { background: #f1f1f1; }
  #mobile-bottom-nav .icon { width: 22px; height: 22px; }
  #mobile-bottom-nav span { font-size: 9px; line-height: 1.2; }
  .mobile-cart-count { position: absolute; top: 0; right: 12px; min-width: 16px; padding: 2px 4px; border-radius: 20px; background: #111; color: #fff; font-size: 9px; text-align: center; }
  #toast { bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
  .sneakers-page .breadcrumbs { display: none; }
  .sneakers-page .sneaker-page-heading { flex-direction: row; align-items: center; margin: 22px 0 18px; gap: 12px; }
  .sneakers-page .catalog-title { display: block; }
  .sneakers-page .catalog-title h1 { font-size: 28px; }
  .sneakers-page .model-count { display: none; }
  .sneakers-page .sneaker-page-heading select { width: 145px; max-width: 145px; min-height: 40px; border-radius: 24px; font-size: 11px; padding: 8px 10px; }
  .sneakers-layout { display: flex; flex-direction: column; gap: 14px; }
  .sneaker-filters { border: 0; border-radius: 0; padding: 0; width: 100%; }
  .sneaker-filters .filters-heading { display: none; }
  .mobile-filter-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 8px; scrollbar-width: none; }
  .mobile-filter-chips::-webkit-scrollbar { display: none; }
  .mobile-filter-chips button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex-shrink: 0; min-height: 40px; padding: 8px 14px; border: 1px solid #dedede; border-radius: 24px; font-size: 12px; white-space: nowrap; }
  .mobile-filter-chips button .icon { width: 14px; height: 14px; }
  .mobile-filter-chips button[aria-expanded="true"], .mobile-filter-chips button.is-selected { border-color: #111; background: #111; color: #fff; }
  .mobile-filter-chips .mobile-filter-reset { border-color: transparent; color: #777; padding-inline: 7px; }
  .sneaker-filters .filter-group { display: none; padding: 18px; margin: 6px 0 0; border: 1px solid #e6e6e6; border-radius: 18px; min-width: 0; }
  .sneaker-filters .filter-group legend { display: none; }
  .sneaker-filters[data-active-filter="brand"] [data-filter-panel="brand"], .sneaker-filters[data-active-filter="size"] [data-filter-panel="size"], .sneaker-filters[data-active-filter="season"] [data-filter-panel="season"], .sneaker-filters[data-active-filter="price"] [data-filter-panel="price"] { display: block; }
  .sneaker-filters .filter-group:last-child { padding: 18px; }
  .sneaker-filters .brand-options { max-height: 190px; }
  .sneakers-toolbar { margin-bottom: 12px; }
  .sneakers-toolbar .search-field { width: 100%; margin: 0; border: 0; background: #f5f5f5; padding: 12px 14px; border-radius: 16px; }
  .sneakers-toolbar .search-field input { width: 100%; min-width: 0; font-size: 16px; background: transparent; }
  .sneaker-products .results-count { position: static; margin: 4px 0 18px; font-size: 12px; }
  .sneaker-products .catalog-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .sneaker-products .product-name { font-size: 13px; line-height: 1.4; }
  .sneaker-products .price { font-size: 14px; }
}
@media (max-width: 800px) {
  .sneakers-toolbar .search-field { max-width: none; flex: 1; padding: 6px 14px; }
}
@media (max-width: 380px) {
  .sneakers-page .catalog-title h1 { font-size: 24px; }
  .sneakers-page .sneaker-page-heading select { width: 125px; max-width: 125px; }
}
