/* Mobile shopping: compact, image-led browsing without shrinking the desktop design. */
.popular-all { display: none; }

@media (max-width: 760px) {
  .popular-section {
    padding: 46px var(--mobile-inline, 16px) 52px;
    background: #fbf9f4;
  }

  .popular-heading {
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 15px;
  }

  .popular-heading h2 {
    max-width: 15ch;
    font-size: clamp(25px, 6.6vw, 30px);
    line-height: 1.08;
    letter-spacing: -.04em;
    text-wrap: balance;
  }

  .popular-controls { display: none; }

  .popular-all {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-height: 44px;
    color: #174b80;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
  }

  .popular-filters {
    gap: 7px;
    margin: 0 calc(-1 * var(--mobile-inline, 16px)) 14px;
    padding: 0 var(--mobile-inline, 16px) 7px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .popular-filters::-webkit-scrollbar,
  .popular-grid::-webkit-scrollbar,
  .collection-products-filters::-webkit-scrollbar,
  .collection-products-track::-webkit-scrollbar { display: none; }

  .popular-filter {
    min-height: 40px;
    padding-inline: 13px;
    border: 1px solid rgba(21, 42, 61, .1);
    background: #fff;
    font-size: 11px;
    font-weight: 500;
  }

  .popular-filter.is-active { border-color: #152a3d; background: #152a3d; }

  .popular-grid {
    gap: 12px;
    margin-right: calc(-1 * var(--mobile-inline, 16px));
    padding: 1px var(--mobile-inline, 16px) 10px 1px;
    scroll-padding-inline: 1px var(--mobile-inline, 16px);
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .popular-card {
    flex: 0 0 calc((100% - 18px) / 2.1);
    background: transparent;
    animation: none;
  }

  .popular-image-wrap { aspect-ratio: 1 / 1; border-radius: 3px; }

  .popular-details {
    min-height: 0;
    gap: 0;
    padding: 10px 1px 2px;
  }

  .popular-name {
    display: -webkit-box;
    min-height: 34px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .popular-description { display: none; }
  .popular-bottom { gap: 6px; margin-top: 7px; }
  .popular-prices { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 5px; }
  .popular-prices del { font-size: 10px; }
  .popular-price { font-size: 14px; font-variant-numeric: tabular-nums; }
  .popular-sale { top: 8px; left: 8px; padding: 5px 7px; font-size: 9px; }
  .popular-save { top: 7px; right: 7px; width: 40px; height: 40px; font-size: 19px; }
  .popular-open { width: 36px; height: 36px; flex: 0 0 36px; background: #edf1f3; font-size: 16px; }

  .collection-products { padding: 48px var(--mobile-inline, 16px) 52px; }

  .collection-products-heading {
    align-items: flex-end;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 17px;
  }

  .collection-products-heading > div { min-width: 0; }
  .collection-products-eyebrow { margin-bottom: 9px; font-size: 9px; letter-spacing: .14em; }
  .collection-products-heading h2 { max-width: 15ch; font-size: clamp(31px, 8vw, 36px); line-height: 1; }
  .collection-products-intro { max-width: 35ch; margin-top: 9px; font-size: 12px; line-height: 1.5; }
  .collection-products-all { min-height: 44px; gap: 5px; margin: 0 0 1px; padding: 0; background: transparent; color: #174b80; font-size: 10px; white-space: nowrap; }
  .collection-products-all:hover { background: transparent; transform: none; }

  .collection-products-filters {
    gap: 7px;
    margin: 0 calc(-1 * var(--mobile-inline, 16px)) 12px;
    padding: 0 var(--mobile-inline, 16px) 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .collection-products-filters button { min-height: 40px; padding-inline: 12px; border: 1px solid rgba(21, 42, 61, .1); background: #fff; font-size: 11px; }
  .collection-products-filters button.is-active { border-color: #152a3d; background: #152a3d; }
  .collection-products-track { gap: 12px; margin-right: calc(-1 * var(--mobile-inline, 16px)); padding: 1px var(--mobile-inline, 16px) 10px 1px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .collection-products-page, .collection-products-page.is-compact { display: contents; }
  .collection-products-page .collection-product-card,
  .collection-products-page.is-compact .collection-product-card { flex: 0 0 calc((100% - 18px) / 2.1); min-height: 0; }
  .collection-product-image { aspect-ratio: 1 / 1; border-radius: 3px; }
  .collection-product-image-arrow { right: 8px; bottom: 8px; width: 32px; height: 32px; opacity: 1; transform: none; }
  .collection-product-sale { top: 8px; left: 8px; padding: 5px 7px; font-size: 9px; }
  .collection-product-info { padding: 9px 1px 2px; }
  .collection-product-name { display: -webkit-box; min-height: 34px; overflow: hidden; font-size: 13px; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .collection-product-description { display: none; }
  .collection-product-prices { gap: 5px; }
  .collection-product-prices del { font-size: 10px; }
  .collection-product-prices strong { font-size: 14px; font-variant-numeric: tabular-nums; }
  .collection-products-pagination { gap: 2px; margin-top: 5px; }
  .collection-products-pagination button { display: grid; width: 32px; height: 32px; place-items: center; background: transparent; }
  .collection-products-pagination button::before { content: ''; width: 7px; height: 7px; border-radius: 999px; background: #cbd0d2; transition: width 180ms ease, background-color 180ms ease; }
  .collection-products-pagination button.is-active { width: 32px; }
  .collection-products-pagination button.is-active::before { width: 19px; background: #172c40; }

  .catalog-main { padding: 22px 16px 38px; }
  .catalog-intro { margin-bottom: 19px; }
  .catalog-eyebrow { margin-bottom: 9px; font-size: 9px; }
  .catalog-intro h1 { max-width: 15ch; font-size: clamp(34px, 9vw, 40px); line-height: 1; letter-spacing: -.045em; }
  .catalog-description { max-width: 34ch; margin-top: 10px; font-size: 12px; line-height: 1.5; }
  .catalog-home-link { min-height: 44px; gap: 8px; margin-top: 8px; padding: 0 2px; border-radius: 0; background: transparent; color: #174b80; font-size: 11px; }
  .catalog-home-link:hover { background: transparent; transform: none; }
  .catalog-layout { gap: 12px; }
  .catalog-sidebar { gap: 8px; padding-bottom: 9px; }
  .catalog-sidebar .price-filter { border: 0; margin: 0; padding: 0; }
  .catalog-sidebar .price-filter h2 { font-size: 9px; }
  .catalog-sidebar .price-filter input { min-height: 34px; touch-action: pan-x; }
  .catalog-toolbar { align-items: center; margin-bottom: 12px; padding-bottom: 9px; }
  .catalog-toolbar strong { font-size: 14px; font-variant-numeric: tabular-nums; }
  .catalog-toolbar .sort-control { min-height: 40px; gap: 6px; }
  .catalog-toolbar select { min-height: 44px; padding: 0 22px 0 9px; font-size: 11px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 20px 10px; }
  .catalog-grid .product-image { aspect-ratio: 1 / 1; border-radius: 3px; }
  .catalog-grid .product-detail { padding-top: 8px; }
  .catalog-grid .product-meta { gap: 4px; }
  .catalog-grid .product-name { display: -webkit-box; min-height: 34px; overflow: hidden; font-size: 13px; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .catalog-grid .product-price,
  .catalog-grid .product-price.has-sale { flex-wrap: wrap; gap: 5px; font-size: 14px; font-variant-numeric: tabular-nums; }
  .catalog-grid .product-old-price { font-size: 10px; }
  .catalog-grid .product-save { top: 7px; right: 7px; width: 42px; height: 42px; }
  .catalog-end-note { margin-top: 24px; font-size: 12px; }

  .product-main { padding: 10px 16px calc(34px + var(--mobile-safe-bottom, 0px)); }
  .breadcrumbs { gap: 7px; margin-bottom: 12px; font-size: 10px; }
  .product-detail-layout { gap: 14px; }
  .product-photo { width: 100%; height: auto; min-height: 0; max-height: min(94vw, 430px); aspect-ratio: 1 / 1; border-radius: 3px; }
  .product-photo img { animation: none; }
  .image-mark { right: 10px; bottom: 10px; padding: 5px 7px; font-size: 7px; }
  .product-content { padding: 2px 0 0; }
  .product-kicker { margin-bottom: 10px; font-size: 9px; }
  .product-category { margin-bottom: 4px; font-size: 9px; }
  .product-content h1 { font-size: clamp(34px, 9vw, 41px); line-height: 1.02; }
  .price-line { flex-wrap: wrap; gap: 6px 10px; margin-top: 9px; }
  .price-line strong { font-size: 24px; }
  .price-line del { font-size: 12px; }
  .price-line > span { font-size: 10px; }
  .price-note { margin: 4px 0 11px; font-size: 11px; }
  .detail-description { margin-bottom: 15px; font-size: 13px; line-height: 1.6; }
  .option-section { margin-bottom: 16px; }
  .option-heading { margin-bottom: 8px; }
  .option-heading h2, .product-specs h2 { font-size: 20px; }
  .option-heading > span, .option-note { font-size: 11px; }
  .color-options, .size-options { gap: 8px; }
  .color-choice { width: 44px; height: 44px; }
  .color-choice::before { inset: 8px; }
  .size-choice { min-height: 44px; padding-inline: 13px; font-size: 12px; }
  .product-specs { margin: 18px 0 15px; padding-top: 14px; }
  .product-specs dl > div { grid-template-columns: minmax(105px, 38%) 1fr; gap: 10px; padding: 9px 0; }
  .product-specs dt, .product-specs dd { font-size: 11px; line-height: 1.5; }
  .detail-actions { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 8px; }
  .detail-order, .detail-add { min-height: 48px; gap: 8px; padding-inline: 10px; font-size: 10px; letter-spacing: .025em; text-align: center; }
  .detail-add { flex-wrap: wrap; }
  .detail-status { font-size: 11px; }
  .product-companions { margin: 36px auto; padding-inline: 16px; }
  .product-companions-head { margin-bottom: 16px; }
  .product-companions-head h2 { font-size: 31px; }
  .product-companions-grid { gap: 16px 10px; }
  .product-companion img { aspect-ratio: 1 / 1; border-radius: 3px; }
  .product-companion h3 { min-height: 34px; margin: 9px 0 5px; font-size: 12px; line-height: 1.35; }
  .product-companion p { display: none; }
  .product-companion .button { min-height: 42px; font-size: 10px; }
}

@media (max-width: 370px) {
  .popular-card,
  .collection-products-page .collection-product-card,
  .collection-products-page.is-compact .collection-product-card { flex-basis: calc((100% - 16px) / 2.05); }
  .popular-name, .collection-product-name { font-size: 12px; }
  .catalog-main { padding-inline: 14px; }
  .catalog-grid { gap: 18px 8px; }
  .detail-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .popular-grid, .collection-products-track { scroll-behavior: auto; }
}

/* Mobile-first product listing: quiet editorial surface, direct product discovery. */
.catalog-sale-badge, .product-quick-add, .catalog-swatches { display: none; }
@media (max-width: 680px) {
  .catalog-header .product-header-tools { gap: 8px; }
  .catalog-header .product-header-tools > [data-account-entry] { width: 40px; height: 40px; min-width: 40px; display: grid; place-items: center; }
  .catalog-header .bag-shortcut { width: 44px; height: 44px; min-height: 44px; padding: 0; display: grid; place-items: center; gap: 0; border: 0; border-radius: 0; background: transparent !important; color: #193247 !important; box-shadow: none !important; }
  .catalog-header .bag-shortcut svg { width: 22px; height: 22px; margin-top: 2px; stroke: currentColor; }
  .catalog-main { padding: 22px 16px 46px; }
  .catalog-sidebar { display: none !important; }
  .catalog-layout { display: block; }
  .catalog-results { min-width: 0; }
  .catalog-toolbar { position: sticky; top: 70px; z-index: 15; min-height: 52px; margin: 0 -16px 12px; padding: 0 16px; border-bottom: 1px solid rgba(21,42,61,.12); background: rgba(247,247,243,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 12px; }
  .catalog-toolbar strong { font-size: 15px; font-weight: 600; }
  .catalog-toolbar .sort-control { gap: 6px; color: #7b8790; }
  .catalog-toolbar select { min-height: 36px; padding: 0 28px 0 12px; border: 1px solid rgba(21,42,61,.12); border-radius: 999px; background-color: #fff; color: #152a3d; font-size: 11px; }
  .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 25px 11px; }
  .catalog-grid .product-card { min-width: 0; }
  .catalog-grid .product-image { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 2px; background: #eeefec; }
  .catalog-grid .product-open { display: block; width: 100%; height: 100%; }
  .catalog-grid .product-image picture, .catalog-grid .product-image picture img { display: block; width: 100%; height: 100%; }
  .catalog-grid .product-image img { object-fit: contain; padding: 3px; transition: transform .45s ease; }
  .catalog-grid .studio-product-image img { padding: 0; }
  .catalog-sale-badge { position: absolute; top: 9px; left: 9px; z-index: 2; display: block; padding: 5px 8px; border-radius: 2px; background: #edf1eb; color: #4d6847; font-size: 10px; font-weight: 700; line-height: 1; }
  .catalog-grid .product-save { top: 7px; right: 7px; z-index: 2; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: #24344e; font-family: Arial,sans-serif; font-size: 22px; line-height: 1; }
  .catalog-grid .product-save.saved { color: #a65f5b; }
  .product-quick-add { position: absolute; right: 8px; bottom: 8px; z-index: 2; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.96); color: #20334b; box-shadow: 0 2px 9px rgba(21,42,61,.1); font: 300 26px/1 var(--sans); text-decoration: none; }
  .catalog-grid .product-detail { padding-top: 9px; }
  .catalog-grid .product-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
  .catalog-grid .product-name { min-height: 36px; margin: 0; font-size: 13px; font-weight: 600; line-height: 1.36; letter-spacing: -.025em; }
  .catalog-grid .product-name a { color: #202f45; }
  .catalog-grid .product-price, .catalog-grid .product-price.has-sale { display: flex; align-items: baseline; gap: 7px; color: #263650; font-size: 14px; font-weight: 600; }
  .catalog-grid .product-price.has-sale { color: #263650; }
  .catalog-grid .product-old-price { color: #899096; font-size: 11px; font-weight: 400; }
  .catalog-swatches { display: flex; align-items: center; gap: 7px; min-height: 18px; margin-top: 6px; }
  .catalog-swatch { display: block; width: 16px; height: 16px; border: 1px solid rgba(28,43,58,.16); border-radius: 50%; background: var(--swatch); }
  .catalog-swatch.is-selected { outline: 1px solid #253750; outline-offset: 2px; }
  .catalog-end-note { margin-top: 30px; }

  .product-header { grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
  .product-header-tools { gap: 7px; }
  .product-header-tools > .product-about-link:not([data-account-entry]), .product-lang-picker { display: none; }
  .product-header .product-about-link[data-account-entry] { width: 40px; height: 40px; display: grid; place-items: center; }
  .product-header .bag-shortcut { position: relative; display: grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 0; border-radius: 0; background: transparent !important; color: #193247; box-shadow: none; font-size: 0; }
  .product-header .bag-symbol { width: 15px; height: 13px; }
  .product-header .bag-shortcut #bagCount { position: absolute; top: 1px; right: 1px; z-index: 1; min-width: 16px; width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; background: #d7e4e6; color: #314b5d; font-size: 8px; line-height: 1; }
  .product-header .bag-shortcut #bagCount[hidden] { display: none; }
  .product-main { padding-bottom: calc(34px + var(--mobile-safe-bottom, 0px)); }
  .product-photo picture { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
  .product-photo.studio-product-photo img { object-fit: contain; padding: 8px; background: #eeefec; }
  .product-photo.studio-product-photo .image-mark { display: none; }
}

@media (max-width: 370px) {
  .catalog-grid { gap: 21px 9px; }
  .catalog-grid .product-name { font-size: 12px; }
  .catalog-grid .product-price, .catalog-grid .product-price.has-sale { font-size: 13px; }
}

/* iPhone finish: preserve the catalog flow while giving each touch target and safe area room. */
@media (max-width: 680px) {
  html:has(body.products-page) { scroll-padding-top: 126px; }
  body.products-page { min-width: 320px; background: #f7f7f3; }
  .products-page .catalog-header {
    top: 0;
    height: calc(68px + env(safe-area-inset-top));
    min-height: calc(68px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }
  .products-page .catalog-header .product-brand { width: min(136px, 40vw); height: 44px; padding: 3px 9px; border-radius: 10px; }
  .products-page .catalog-header .product-brand img { height: 38px; }
  .products-page .catalog-header .product-header-tools { gap: 7px; }
  .products-page .catalog-header .product-header-tools > [data-account-entry] { width: 44px; height: 44px; min-width: 44px; }
  .products-page .catalog-header .bag-shortcut { position: relative; width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; border-radius: 0; background: transparent; box-shadow: none; color: #193247; }
  .products-page .catalog-header .bag-shortcut svg { width: 22px; height: 22px; margin: 0; }
  .products-page .catalog-header .bag-shortcut #catalogBagCount { position: absolute; top: 0; right: -1px; min-width: 17px; height: 17px; padding: 0 4px; font-size: 9px; }
  .products-page .catalog-main { padding: 21px 16px calc(42px + env(safe-area-inset-bottom)); }
  .products-page .catalog-intro { margin-bottom: 19px; }
  .products-page .catalog-eyebrow { margin-bottom: 10px; font-size: 9px; }
  .products-page .catalog-intro h1 { max-width: 13ch; font-size: clamp(36px, 10.2vw, 43px); line-height: 1.02; letter-spacing: -.045em; }
  .products-page .catalog-description { max-width: 36ch; margin-top: 11px; font-size: 13px; line-height: 1.58; }
  .products-page .catalog-intro-note { max-width: 38ch; margin-top: 10px; font-size: 10px; line-height: 1.5; }
  .products-page .catalog-filter-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-bottom: 10px; }
  .products-page .catalog-favorites-trigger,
  .products-page .catalog-filter-trigger { min-width: 0; min-height: 46px; gap: 7px; padding-inline: 8px; font-size: 11px; }
  .products-page .catalog-favorites-trigger svg,
  .products-page .catalog-filter-trigger svg { width: 17px; height: 17px; flex: 0 0 auto; }
  .products-page .catalog-show-all { min-height: 36px; }
  .products-page .catalog-brands { gap: 7px; margin: 0 -16px 12px; padding: 0 16px 11px; scroll-padding-inline: 16px; overscroll-behavior-x: contain; }
  .products-page .catalog-brands-label { font-size: 9px; }
  .products-page .catalog-brands button { min-height: 40px; padding-inline: 12px; font-size: 10px; }
  .products-page .catalog-results { min-width: 0; }
  .products-page .catalog-toolbar { top: calc(68px + env(safe-area-inset-top)); min-height: 54px; margin: 0 -16px 12px; padding: 0 16px; }
  .products-page .catalog-toolbar p { white-space: nowrap; }
  .products-page .catalog-toolbar .sort-control { gap: 5px; }
  .products-page .catalog-toolbar select { min-height: 40px; max-width: 148px; padding-inline: 11px 26px; font-size: 12px; }
  .products-page .catalog-grid { gap: 22px 10px; }
  .products-page .catalog-grid .product-image { aspect-ratio: 1 / 1; border-radius: 3px; background: #eeefec; }
  .products-page .catalog-grid .product-image img { object-fit: contain; padding: 5px; }
  .products-page .catalog-grid .product-image picture.studio-product-image img { padding: 0; }
  .products-page .catalog-grid .product-save { width: 42px; height: 42px; top: 7px; right: 7px; font-size: 21px; }
  .products-page .product-quick-add { width: 44px; height: 44px; right: 7px; bottom: 7px; font-size: 27px; }
  .products-page .catalog-grid .product-detail { padding-top: 9px; }
  .products-page .catalog-grid .product-brand-label { margin-bottom: 3px; font-size: 8px; }
  .products-page .catalog-grid .product-name { min-height: 36px; font-size: 13px; line-height: 1.38; }
  .products-page .catalog-grid .product-price,
  .products-page .catalog-grid .product-price.has-sale { min-height: 21px; gap: 6px; font-size: 14px; line-height: 1.35; }
  .products-page .catalog-grid .product-old-price { font-size: 10px; }
  .products-page .catalog-swatches { min-height: 22px; gap: 8px; margin-top: 7px; }
  .products-page .catalog-swatch { width: 16px; height: 16px; }
  .products-page .catalog-filter-dialog { max-height: min(88dvh, 760px); overscroll-behavior: contain; }
  .products-page .catalog-filter-panel { max-height: min(88dvh, 760px); }
  .products-page .catalog-filter-head { padding: 22px 20px 16px; }
  .products-page .catalog-filter-close { width: 44px; height: 44px; flex: 0 0 44px; }
  .products-page .catalog-filter-content { -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  .products-page .catalog-filter-category { min-height: 44px; font-size: 12px; }
  .products-page .catalog-price-fields input { min-height: 48px; font-size: 16px; }
  .products-page .catalog-filter-actions { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  .products-page .catalog-filter-reset,
  .products-page .catalog-filter-apply { min-height: 48px; font-size: 12px; }
  .products-page .catalog-cart-drawer { width: 100%; height: 100vh; height: 100dvh; padding: max(16px, env(safe-area-inset-top)) 18px max(14px, env(safe-area-inset-bottom)); }
  .products-page .catalog-cart-head { flex: 0 0 auto; padding-bottom: 14px; }
  .products-page .catalog-cart-head h2 { font-size: 28px; }
  .products-page .catalog-cart-close { width: 44px; height: 44px; flex: 0 0 44px; }
  .products-page .catalog-cart-items { min-height: 0; padding-block: 5px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  .products-page .catalog-cart-row { grid-template-columns: 68px minmax(0, 1fr); gap: 11px; padding: 14px 0; }
  .products-page .catalog-cart-row > img { width: 68px; height: 72px; object-fit: contain; padding: 3px; background: #eeefec; }
  .products-page .catalog-cart-row-body h3 { font-size: 13px; }
  .products-page .catalog-cart-line-price { grid-column: 2; justify-self: start; padding-top: 0; font-size: 13px; }
  .products-page .catalog-cart-quantity { gap: 10px; margin-top: 8px; }
  .products-page .catalog-cart-quantity button { width: 40px; height: 40px; }
  .products-page .catalog-cart-quantity .catalog-cart-remove { width: auto; min-width: 40px; height: 40px; }
  .products-page .catalog-cart-bottom { flex: 0 0 auto; padding-top: 14px; }
  .products-page .catalog-cart-total { margin-bottom: 12px; font-size: 14px; }
  .products-page .catalog-cart-confirm { min-height: 54px; border-radius: 999px; font-size: 13px; }
  .products-page .catalog-cart-note { margin-top: 8px; font-size: 11px; }

  .product-main { padding-top: max(12px, env(safe-area-inset-top)); padding-inline: 16px; }
  .product-header { top: 0; height: calc(68px + env(safe-area-inset-top)); min-height: calc(68px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); }
  .product-photo { aspect-ratio: 1 / 1; max-height: none; background: #eeefec; }
  .product-photo img { object-fit: contain; padding: 7px; background: #eeefec; }
  .product-content { padding-top: 4px; }
  .product-kicker { margin-bottom: 10px; font-size: 9px; line-height: 1.45; }
  .product-category { font-size: 10px; }
  .product-content h1 { font-size: clamp(35px, 9.4vw, 43px); line-height: 1.04; }
  .price-line { margin-top: 10px; }
  .price-line strong { font-size: 26px; }
  .price-note { font-size: 12px; line-height: 1.55; }
  .detail-description { max-width: 44ch; margin-bottom: 18px; font-size: 15px; line-height: 1.62; }
  .option-section { margin-bottom: 20px; }
  .option-heading h2, .product-specs h2 { font-size: 22px; }
  .option-heading > span, .option-note { font-size: 12px; }
  .color-options, .size-options { gap: 9px; }
  .color-choice { width: 46px; height: 46px; }
  .color-choice::before { inset: 8px; }
  .size-choice { min-height: 46px; padding-inline: 15px; font-size: 13px; }
  .product-specs { margin-top: 22px; padding-top: 16px; }
  .product-specs dl > div { grid-template-columns: minmax(110px, 36%) minmax(0, 1fr); gap: 10px; padding-block: 11px; }
  .product-specs dt, .product-specs dd { font-size: 12px; line-height: 1.55; }
  .detail-actions { grid-template-columns: 1fr; gap: 10px; }
  .detail-add { min-height: 54px; border-radius: 999px; font-size: 13px; }
  .detail-status { font-size: 12px; }
  .back-row { min-height: 44px; align-items: center; font-size: 11px; }
  .material-story { margin-inline: 16px; }
}

@media (max-width: 380px) {
  .products-page .catalog-main { padding-inline: 14px; }
  .products-page .catalog-toolbar { margin-inline: -14px; padding-inline: 14px; }
  .products-page .catalog-intro h1 { font-size: clamp(34px, 9.8vw, 38px); }
  .products-page .catalog-favorites-trigger,
  .products-page .catalog-filter-trigger { gap: 5px; font-size: 10px; }
  .products-page .catalog-grid { gap: 20px 8px; }
  .products-page .catalog-grid .product-name { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .products-page .catalog-grid .product-image img { transition: none; }
}
