/* Keep the crystal storefront comfortable to browse on a phone. */
@media (max-width: 700px) {
  .collection { padding-top: 44px; padding-bottom: 44px; }
  .collection .section-heading { margin-bottom: 24px; }
  .collection .section-heading .eyebrow { font-size: 10px; line-height: 1.6; }
  .collection .section-heading :is(h1,h2) { font-size: clamp(36px, 7vw, 44px); line-height: 1.08; }
  .collection-toolbar { flex-direction: column; align-items: stretch; gap: 14px; margin-bottom: 24px; }
  .filter-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; }
  .filter-tabs button { min-height: 44px; padding: 10px 12px; font-size: 13px; }
  .filter-tabs button span { display: none; }
  .sort-label { align-self: stretch; justify-content: space-between; gap: 12px; font-size: 13px; }
  .sort-label select { flex: 1; min-width: 0; max-width: none; min-height: 44px; padding: 9px 12px; border: 1px solid #ffe4ee70; border-radius: 8px; background: #59304780; font-size: 16px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .product-card { padding: 15% 12% 12%; }
  .product-card .product-info { gap: 10px 8px; }
  .product-card .product-title { min-height: 0; font-size: 25px; line-height: 1.1; }
  .product-card .product-title .product-open { min-height: 44px; }
  .product-card .product-price { font-size: 14px; padding-bottom: 12px; }
  .product-card .product-explore { min-width: 70px; min-height: 44px; padding: 10px 2px 7px; font-size: 14px; }
  .product-card .product-add { width: 44px; height: 44px; bottom: 8px; font-size: 25px; }
  .catalogue-note { margin-top: 22px; font-size: 12px; line-height: 1.6; }

  .approach { gap: 28px; padding-top: 36px; padding-bottom: 40px; }
  .approach-art { height: clamp(260px, 68vw, 380px); }
  .approach-copy .eyebrow, .faq-intro .eyebrow { font-size: 10px; line-height: 1.6; }
  .approach-copy h2, .faq-intro h2 { font-size: clamp(36px, 8vw, 44px); line-height: 1.1; }
  .approach-copy > p, .faq-intro p { font-size: 16px; line-height: 1.7; }
  .approach-detail h3 { font-size: 16px; line-height: 1.4; }
  .approach-detail p { font-size: 14px; line-height: 1.7; }
  .approach-copy > .text-link { min-height: 44px; align-items: center; font-size: 14px; }
  .faq { gap: 24px; padding-top: 40px; padding-bottom: 40px; }
  .faq-list summary { min-height: 64px; padding: 20px 0; gap: 16px; font-size: 16px; line-height: 1.4; }
  .faq-list details p { font-size: 16px; line-height: 1.7; }
  .closing > .eyebrow { font-size: 10px; }
  .closing .button { min-height: 48px; font-size: 16px; }
  .footer-main { gap: 16px; }
  .footer-main > p { flex: 1 1 180px; width: auto; font-size: 14px; line-height: 1.7; }
  .footer-main > a:not(.brand), .footer-main > .text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
  .footer-main .adult-label { font-size: 11px; }
  .footer-bottom { gap: 12px; font-size: 12px; line-height: 1.7; }

  dialog { width: calc(100vw - 24px); max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); padding: 20px; overscroll-behavior: contain; scroll-padding: 64px 0 20px; }
  dialog h2, .dialog-header h2 { font-size: 28px; line-height: 1.15; }
  dialog p { font-size: 16px; line-height: 1.65; }
  dialog .close-button { width: 44px; height: 44px; font-size: 30px; }
  dialog .button { min-height: 48px; justify-content: center; font-size: 16px; }
  dialog .detail-note { font-size: 13px !important; line-height: 1.6; }
  .dialog-header { gap: 14px; }
  .search-field { gap: 10px; padding-bottom: 12px; }
  .search-field input { min-width: 0; min-height: 44px; font-size: 16px; }
  .search-result { gap: 12px; padding: 12px 0; }
  .search-thumbnail { flex: 0 0 52px; }
  .search-result img { width: 52px; height: 60px; }
  .search-result-copy { min-width: 0; gap: 4px; }
  .search-result strong { font-size: 20px; line-height: 1.15; }
  .search-result span { font-size: 12px; }
  .search-result .search-price { font-size: 14px; }

  .product-dialog { width: calc(100vw - 16px); max-width: calc(100vw - 16px); padding: 0; scroll-padding-top: 64px; }
  .product-close { position: sticky; top: 12px; right: auto; margin: 12px 12px -56px auto; z-index: 5; }
  #product-detail { grid-template-columns: 1fr; }
  .product-detail-image { display: block; min-width: 0; min-height: 0; height: clamp(180px, 30svh, 220px); overflow: hidden; }
  .product-detail-image img { width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
  .product-detail-copy { min-width: 0; padding: 20px; }
  .product-detail-copy h2 { font-size: 32px; margin: 10px 0 14px; }
  .product-detail-copy .detail-category { font-size: 12px; }
  .product-detail-copy .detail-price { font-size: 24px !important; }
  .product-detail-copy .button { position: sticky; bottom: 0; z-index: 1; width: 100%; margin: 16px 0; box-shadow: 0 3px 12px #30132633; }

  .cart-dialog { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); border-radius: 0; overflow: hidden; }
  .cart-dialog[open] { display: flex; flex-direction: column; }
  .cart-dialog > .dialog-header { flex: none; min-height: 44px; margin-bottom: 12px; }
  .cart-dialog > h2 { flex: none; font-size: 32px; line-height: 1.1; margin: 0 0 16px; }
  #cart-items { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 4px; margin: 0 -4px; }
  .cart-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px 14px; padding: 16px 0; }
  .cart-thumbnail { grid-row: 1 / span 2; width: 64px; }
  .cart-item img { width: 64px; height: 80px; }
  .cart-item-info { min-width: 0; }
  .cart-item h3 { font-size: 21px; line-height: 1.2; }
  .cart-item p { font-size: 14px; }
  .quantity-control { gap: 0; }
  .quantity-control button { width: 44px; height: 44px; font-size: 20px; }
  .quantity-control span { min-width: 32px; text-align: center; font-size: 16px; }
  .cart-row-end { grid-column: 2; margin-left: 0; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
  .cart-row-end .remove-item { min-height: 44px; padding: 8px 0; font-size: 14px; }
  .cart-summary { flex: none; margin-top: 14px; padding-top: 14px; }
  .cart-summary > div { font-size: 18px; }
  .cart-summary p { margin: 8px 0; font-size: 12px; line-height: 1.5; }
  .cart-summary .button { margin: 10px 0 4px; }
  .continue-button { min-height: 44px; font-size: 14px; }
  .checkout-line { gap: 14px; font-size: 15px; line-height: 1.4; }
  .checkout-line > span { min-width: 0; }
  .checkout-line > strong { flex: none; }
  .toast { bottom: max(16px, env(safe-area-inset-bottom)); max-width: calc(100vw - 32px); padding: 14px 16px; font-size: 14px; line-height: 1.4; }
}

@media (max-width: 560px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); max-width: 380px; margin: 0 auto; gap: 28px; }
  .product-card .product-title { font-size: 28px; }
}
