@charset "UTF-8";

/* Mobile layout only. The original desktop stylesheet and application stay intact. */
@media screen and (max-width: 760px),
       screen and (max-width: 1023px) and (max-height: 500px) and (hover: none) and (pointer: coarse) {
  html { scroll-padding-top: 24px; }

  .announcement {
    height: auto;
    min-height: 34px;
    padding: 7px 16px;
    font-size: 11px;
    text-align: center;
  }

  .announcement-extra { display: none; }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 16px;
    padding: 16px 16px 8px;
  }

  .site-header .wordmark { font-size: 32px; }

  .site-header nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid var(--line);
    padding-top: 4px;
    font-size: 13px;
  }

  .site-header nav a:nth-child(n) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 6px;
  }

  .cart-toggle {
    grid-column: 2;
    grid-row: 1;
    min-width: 64px;
    min-height: 44px;
    justify-content: flex-end;
    gap: 10px;
  }

  .cart-toggle svg { width: 24px; height: 24px; }
  .cart-count { min-width: 24px; height: 24px; font-size: 12px; }
  .cart-label { display: none; }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: 24px;
    padding: 28px 16px 30px;
  }

  .hero-copy { min-width: 0; padding: 0; }
  .hero-copy > .eyebrow { font-size: 9px; letter-spacing: .1em; margin-bottom: 18px; gap: 8px; }
  .hero-copy h1 { font-size: clamp(38px, 12vw, 68px); line-height: 1.04; max-width: none; margin-bottom: 22px; }
  .hero-description { max-width: 420px; font-size: 14px; line-height: 1.75; margin-bottom: 22px; }
  .hero-copy .button { width: 100%; max-width: 360px; min-height: 50px; justify-content: space-between; padding: 13px 18px; font-size: 13px; gap: 16px; }
  .hero-footnote { flex-wrap: wrap; font-size: 11px; gap: 12px; margin-top: 17px; }
  .hero-footnote .tiny-line { width: 18px; }

  .hero-visual {
    width: 100%;
    max-width: 440px;
    min-width: 0;
    min-height: clamp(320px, 88vw, 440px);
    margin: 0 auto;
    padding: 0;
  }

  .hero-arch { inset: 25px 28px 27px 18px; border-radius: 220px 220px 0 0; }
  .hero-overline { top: 0; right: 16px; font-size: 8px; letter-spacing: .13em; }
  .sale-stamp { width: 106px; height: 106px; right: 3px; top: 42px; box-shadow: 0 0 0 5px var(--cream); }
  .sale-stamp > span { font-size: 5.5px; }
  .sale-stamp > span:last-child { font-size: 4px; }
  .sale-stamp strong { font-size: 40px; margin: 2px 0 4px; }
  .sale-stamp strong span { font-size: 23px; }
  .hero-product { bottom: 0; left: 0; right: 0; min-height: 72px; padding: 13px 16px; gap: 12px; }
  .hero-product > span { min-width: 0; font-size: 23px; }
  .hero-product small { font-size: 10px; }
  .hero-product strong { flex-shrink: 0; font-size: 14px; white-space: nowrap; }
  .hero-product strong span { margin-left: 6px; }

  .brands-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
    gap: 16px 12px;
    padding: 22px 16px;
    text-align: center;
  }

  .brands-strip > span { min-width: 0; font-size: 11px; letter-spacing: .08em; }
  .brands-strip .brand-cromia { font-size: 22px; }
  .brands-strip .brand-bugatti { font-size: 20px; }
  .section-wrap { padding-left: 16px; padding-right: 16px; }
  .collection { padding-top: 44px; padding-bottom: 36px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 15px; margin-bottom: 24px; }
  .section-heading .eyebrow { font-size: 10px; margin-bottom: 13px; }
  .section-heading h2 { font-size: clamp(34px, 8.5vw, 42px); }
  .section-heading > p { display: block; font-size: 13px; line-height: 1.65; margin-bottom: 0; }

  .collection-toolbar { flex-wrap: wrap; gap: 12px; padding: 16px 0 20px; font-size: 13px; }
  .collection-toolbar > span { width: 100%; }
  .collection-toolbar .muted { display: inline; font-size: 11px; margin-left: 7px; white-space: nowrap; }
  .collection-toolbar label { width: 100%; min-width: 0; justify-content: space-between; gap: 12px; font-size: 12px; }
  .collection-toolbar select { flex: 1; min-width: 0; max-width: none; width: 0; min-height: 44px; border: 1px solid var(--line); background: var(--paper); border-radius: 0; padding: 9px 10px; font-size: 16px; }

  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; }
  .product-card { display: flex; flex-direction: column; }
  .product-image-button { padding: 5px; aspect-ratio: 1 / 1.12; }
  .discount-tag { top: 8px; left: 8px; font-size: 10px; padding: 3px 6px; }
  .photo-tag { right: 7px; bottom: 8px; font-size: 9px; padding: 3px 5px; }
  .product-meta { display: flex; flex: 1; flex-direction: column; align-items: stretch; padding: 13px 0 0; }
  .product-brand { font-size: 9px; letter-spacing: .07em; margin-bottom: 5px; }
  .product-name { min-height: 32px; font-size: clamp(22px, 5.6vw, 28px); line-height: 1.2; overflow-wrap: anywhere; }
  .product-material { font-size: 11px; line-height: 1.6; min-height: 36px; margin-bottom: 9px; }
  .price-row { flex-wrap: wrap; gap: 4px 8px; }
  .current-price { font-size: 19px; }
  .previous-price { font-size: 11px; }
  .price-history { min-height: 53px; font-size: 10px; line-height: 1.65; margin-bottom: 12px; }
  .product-card .button { margin-top: auto; min-height: 48px; padding: 10px 9px; font-size: 11px; line-height: 1.4; gap: 6px; }
  .product-card .button span { font-size: 18px; }
  .stock-label { font-size: 10px; margin-top: 9px; }

  .editorial { grid-template-columns: minmax(0, 1fr); gap: 25px; padding-top: 24px; padding-bottom: 42px; }
  .editorial-image { height: auto; aspect-ratio: 1; max-height: 460px; }
  .editorial-copy { max-width: none; min-width: 0; padding: 0; }
  .editorial-copy .eyebrow { font-size: 10px; margin-bottom: 16px; }
  .editorial-copy h2 { font-size: clamp(36px, 9vw, 45px); margin-bottom: 20px; }
  .editorial-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
  .text-link { min-height: 44px; align-items: center; font-size: 13px; gap: 20px; }
  .editorial-copy .text-link { font-size: 13px; }

  .how-to { padding-top: 28px; padding-bottom: 44px; }
  .how-to h2 { font-size: clamp(34px, 8.5vw, 42px); }
  .how-to .section-heading { margin-bottom: 26px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 21px; padding-top: 24px; }
  .steps article { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 3px 14px; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
  .steps article:last-child { border-bottom: 0; padding-bottom: 0; }
  .step-number { grid-row: 1 / 3; padding-top: 5px; font-size: 11px; margin-bottom: 0; }
  .steps h3 { font-size: 25px; margin-bottom: 7px; }
  .steps p { max-width: none; font-size: 13px; line-height: 1.8; margin-bottom: 0; }

  .faq { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-top: 36px; padding-bottom: 46px; }
  .faq h2 { font-size: clamp(34px, 8.5vw, 42px); }
  .faq .eyebrow { font-size: 10px; }
  .faq-list { min-width: 0; }
  .faq-list summary { font-size: 13px; min-height: 52px; padding: 18px 25px 18px 0; }
  .faq-list summary:after { top: 15px; }
  .faq-list p { font-size: 13px; line-height: 1.8; padding-right: 16px; }

  .site-footer { padding: 34px 16px max(22px, env(safe-area-inset-bottom)); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 16px; padding-bottom: 28px; }
  .footer-top > div { min-width: 0; }
  .footer-top > div:first-child { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
  .footer-top .wordmark { font-size: 32px; }
  .footer-top p:not(.footer-label) { margin: 0; font-size: 11px; }
  .footer-label { font-size: 10px; margin-bottom: 12px; }
  .footer-top > div > a:not(.wordmark) { display: flex; align-items: center; min-height: 44px; margin-bottom: 0; font-size: 12px; overflow-wrap: anywhere; }
  .footer-bottom { flex-direction: column; gap: 8px; font-size: 10px; }

  .icon-button { width: 44px; height: 44px; font-size: 28px; }

  .product-dialog,
  .cart-dialog {
    inset: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    margin: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .dialog-close {
    position: fixed;
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    box-shadow: 0 3px 14px #28282314;
  }

  .product-detail-layout { grid-template-columns: minmax(0, 1fr); }

  .detail-gallery {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    min-width: 0;
    padding: max(64px, calc(env(safe-area-inset-top) + 52px)) 16px 18px;
    gap: 16px 8px;
  }

  .detail-main-image { grid-column: 1 / -1; grid-row: 1; width: 100%; height: min(52vh, 440px); height: min(52svh, 440px); aspect-ratio: auto; object-fit: contain; }
  .gallery-arrow { position: relative; grid-row: 1; top: auto; width: 44px; height: 44px; font-size: 28px; z-index: 1; }
  .gallery-arrow.prev { grid-column: 1; left: auto; justify-self: start; }
  .gallery-arrow.next { grid-column: 3; right: auto; justify-self: end; }
  .gallery-thumbs { grid-column: 1 / -1; grid-row: 2; gap: 8px; margin-top: 0; }
  .gallery-thumbs button { width: 48px; min-height: 48px; }
  .detail-copy { min-width: 0; padding: 26px 16px max(32px, env(safe-area-inset-bottom)); }
  .detail-copy > .eyebrow { font-size: 10px; margin-bottom: 16px; }
  .detail-copy h2 { padding-right: 0; font-size: clamp(34px, 8vw, 44px); overflow-wrap: anywhere; }
  .detail-copy .product-material { min-height: 0; font-size: 13px; }
  .detail-copy .price-row { margin-top: 16px; }
  .detail-copy .current-price { font-size: 27px; }
  .detail-copy .previous-price { font-size: 13px; }
  .detail-copy .price-history { min-height: 0; font-size: 12px; }
  .detail-stock { font-size: 13px; margin: 18px 0; }
  .quantity-add { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
  .quantity-control { height: 48px; }
  .quantity-control button { width: 44px; font-size: 20px; }
  .quantity-control input { width: 36px; font-size: 16px; }
  .quantity-add .quantity-control { height: 50px; }
  .quantity-add .button { min-width: 0; min-height: 50px; padding: 12px 10px; font-size: 13px; line-height: 1.4; gap: 8px; }
  .detail-info-line { font-size: 12px; line-height: 1.8; padding: 13px 0; }
  .specification-title { font-size: 14px; }
  .specification { table-layout: fixed; font-size: 12px; }
  .specification th { width: 42%; padding-right: 12px; }
  .specification th, .specification td { overflow-wrap: anywhere; padding-top: 10px; padding-bottom: 10px; }
  .brand-story { font-size: 13px; }
  .brand-story summary { display: flex; align-items: center; min-height: 44px; }

  .cart-dialog { padding: max(12px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(30px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
  .cart-heading { position: sticky; top: 0; z-index: 2; background: var(--paper); gap: 12px; padding: 8px 0 18px; }
  .cart-heading .eyebrow { font-size: 10px; }
  .cart-heading h2 { font-size: clamp(29px, 7.8vw, 36px); }
  .cart-heading h2 > span { font-size: 14px; margin-left: 5px; }
  .cart-empty { padding: 40px 0; }
  .cart-empty h3 { font-size: 30px; }
  .cart-empty .button { max-width: 100%; min-height: 48px; gap: 16px; }
  .cart-item { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 20px 0; }
  .cart-item > img { width: 64px; height: 90px; }
  .cart-item > div, .cart-item-heading > div { min-width: 0; }
  .cart-item-heading { gap: 4px; }
  .cart-item .product-brand { font-size: 9px; }
  .cart-item h3 { font-size: 23px; overflow-wrap: anywhere; }
  .remove-item { flex-shrink: 0; width: 44px; height: 44px; padding: 0; font-size: 26px; }
  .cart-item-price { font-size: 13px; margin-bottom: 12px; }
  .cart-item-bottom { flex-wrap: wrap; gap: 10px; }
  .cart-item .quantity-control { height: 44px; }
  .cart-item .quantity-control button { width: 44px; font-size: 19px; }
  .cart-item .quantity-control input { width: 34px; font-size: 16px; }
  .item-total { font-size: 14px; white-space: nowrap; }
  .checkout-method { padding: 20px 0; }
  .checkout-method .footer-label { font-size: 10px; }
  .method-line { gap: 12px; font-size: 13px; }
  .method-line small { font-size: 12px; }
  .method-line > span:last-child { flex-shrink: 0; }
  .cart-totals > div { font-size: 14px; }
  .cart-totals .grand-total { font-size: 21px; }
  .cart-buy { min-height: 52px; font-size: 16px; }
  .cart-fine-print { font-size: 11px; }
  .purchase-result { padding: 16px; font-size: 14px; overflow-wrap: anywhere; }
  .purchase-result a { display: inline-block; padding: 6px 0; font-size: 12px; }
  .toast { bottom: max(16px, env(safe-area-inset-bottom)); width: max-content; max-width: calc(100vw - 32px); padding: 13px 16px; font-size: 13px; overflow-wrap: anywhere; }

  .document-main { margin: 36px auto 64px; padding: 0 16px; }
  .document-main h1 { font-size: clamp(34px, 8.5vw, 44px); overflow-wrap: anywhere; }
  .document-main h2 { line-height: 1.35; }
  .document-main a { overflow-wrap: anywhere; }
  .site-header > .text-link { justify-self: end; min-width: 0; font-size: 11px; text-align: right; }
}

@media screen and (max-width: 359px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .product-image-button { aspect-ratio: 1; }
  .product-name { min-height: 0; font-size: 28px; }
  .product-brand { font-size: 10px; }
  .product-material, .price-history { min-height: 0; font-size: 12px; }
  .product-card .current-price { font-size: 22px; }
  .product-card .previous-price { font-size: 12px; }
  .product-card .button { font-size: 13px; padding-left: 14px; padding-right: 14px; }
  .quantity-add { grid-template-columns: minmax(0, 1fr); }
  .quantity-add .quantity-control { justify-self: start; }
  .hero-product { padding-left: 13px; padding-right: 13px; gap: 8px; }
  .hero-product > span { font-size: 21px; }
  .hero-product small { font-size: 9px; }
}

@media screen and (min-width: 400px) and (max-width: 760px) {
  .brands-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media screen and (min-width: 600px) and (max-width: 760px),
       screen and (max-width: 1023px) and (max-height: 500px) and (hover: none) and (pointer: coarse) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: center; padding-top: 30px; padding-bottom: 36px; }
  .hero-copy h1 { font-size: clamp(40px, 6.5vw, 52px); }
  .hero-visual { min-height: 370px; }
  .hero-arch { left: 0; right: 12px; }
  .hero-overline { right: 0; font-size: 7px; }
  .sale-stamp { width: 90px; height: 90px; right: -2px; }
  .sale-stamp strong { font-size: 33px; }
  .sale-stamp > span { font-size: 4.5px; }
  .sale-stamp > span:last-child { font-size: 3.4px; }
  .hero-product { padding: 12px; }
  .hero-product > span { font-size: 20px; }
  .hero-product small { font-size: 9px; }
  .hero-product strong { font-size: 13px; }
  .section-heading { flex-direction: row; align-items: flex-end; }
  .section-heading h2 { font-size: 38px; }
  .section-heading > p { flex-shrink: 0; font-size: 12px; }
  .collection-toolbar > span { width: auto; }
  .collection-toolbar label { width: 280px; }
  .product-grid { gap: 32px 20px; }
  .product-material { min-height: 20px; font-size: 12px; }
  .price-history { min-height: 36px; font-size: 11px; }
  .product-card .button { font-size: 13px; padding-left: 14px; padding-right: 14px; }
  .editorial { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; }
  .editorial-copy h2 { font-size: 34px; }
  .editorial-copy > p:not(.eyebrow) { font-size: 13px; }
  .footer-top { grid-template-columns: 1.1fr 1fr 1fr; gap: 24px; }
  .footer-top > div:first-child { grid-column: auto; display: block; }
  .footer-top p:not(.footer-label) { margin-top: 18px; }
  .detail-gallery { padding-left: 24px; padding-right: 24px; }
  .detail-copy { padding-left: 28px; padding-right: 28px; }
}

@media screen and (max-width: 1023px) and (max-height: 500px) and (hover: none) and (pointer: coarse) {
  .site-header { grid-template-columns: auto minmax(0, 1fr) auto; padding-top: 10px; padding-bottom: 10px; }
  .site-header nav { grid-column: 2; grid-row: 1; justify-content: center; border: 0; padding: 0; }
  .cart-toggle { grid-column: 3; }
  .hero-copy h1 { font-size: 44px; }
  .hero-visual { min-height: 330px; }
  .product-detail-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .detail-gallery { position: sticky; top: 0; align-self: start; padding-left: 16px; padding-right: 16px; }
  .detail-main-image { height: max(130px, calc(100vh - 156px)); height: max(130px, calc(100dvh - 156px)); }
  .detail-copy { padding-top: 64px; padding-left: 20px; padding-right: 20px; }
  .detail-copy h2 { font-size: 34px; }
  .quantity-add { grid-template-columns: minmax(0, 1fr); }
  .quantity-add .quantity-control { justify-self: start; }
}
