/* Mobile storefront: loaded after the existing brand themes. */
.mobile-bottom-nav { display: none; }
:focus-visible { outline: 3px solid #d18c25; outline-offset: 3px; }
@media (max-width: 720px) {
  html { scroll-padding-top: 150px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .container { width: calc(100% - 24px); }
  .announcement { height: auto; min-height: 30px; padding: 6px 12px; font-size: 13px; }
  .announcement-extra, .utility-bar { display: none; }
  .site-header, .site-header.sticky { position: sticky; top: 0; }
  .header-main { height: auto; min-height: 112px; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 8px; padding: 8px 0; }
  .mobile-menu { display: grid; place-items: center; width: 44px; height: 44px; }
  .site-header .logo-brand { width: 150px; max-width: 100%; height: 48px; overflow: hidden; }
  .site-header .logo-brand img { width: 150px; height: 150px; max-width: none; transform: translateY(-51px); }
  .header-actions { gap: 6px; }
  .header-actions .hotline, .header-actions .action-copy, #wishlistButton { display: none; }
  .header-action { min-width: 44px; min-height: 44px; justify-content: center; }
  .header-main .search, .header-main .search.mobile-open { display: flex; position: relative; inset: auto; grid-column: 1 / -1; grid-row: 2; width: 100%; height: 46px; margin: 0; }
  .search select { display: none; }
  .search input { padding: 0 12px; font-size: 17px; }
  .search > button { min-width: 46px; }
  .search-suggestions { max-height: 45dvh; overflow: auto; }
  .search-suggestions button { min-height: 48px; line-height: 1.5; }
  .main-nav { display: none; }
  .hero-shell { display: block; min-height: 0; }
  .category-menu { display: none; }
  #categoryMenu.mobile-open { display: block; position: fixed; top: 112px; left: 12px; right: 12px; width: auto; max-height: calc(100dvh - 200px); overflow-y: auto; z-index: 35; border: 1px solid #dce7d9; border-radius: 10px; box-shadow: 0 14px 40px #18351b33; }
  .category-menu button { min-height: 48px; height: auto; padding-top: 12px; padding-bottom: 12px; }
  .promo-carousel { min-height: 510px; margin-top: 12px; border-radius: 12px; }
  .promo-slide-copy { top: 26px; left: 20px; width: calc(100% - 40px); }
  .promo-slide-copy h2 { font-size: 32px; }
  .promo-slide-copy p, .promo-gift-note { font-size: 15.5px; line-height: 1.6; }
  .promo-actions .primary-button { min-height: 44px; font-size: 14px; }
  .section { padding: 32px 0; }
  .section-heading { gap: 12px; flex-wrap: wrap; }
  .section-heading h2 { font-size: 25px; }
  .catalog-main { min-width: 0; padding: 12px 0; }
  .catalog-main .product-grid, .best-sellers .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-card { min-width: 0; border-radius: 10px; overflow: hidden; }
  .product-card:hover { transform: none; }
  .product-media { width: 100%; height: auto; aspect-ratio: 1; }
  .product-info { padding: 10px; }
  .product-info h3 { height: auto; min-height: 63px; font-size: 15.5px; line-height: 1.6; overflow-wrap: anywhere; }
  .product-info small { font-size: 13px; letter-spacing: 0; }
  .price { display: flex; flex-wrap: wrap; gap: 4px; min-height: 42px; align-content: center; }
  .price b { font-size: 17px; }
  .price del { font-size: 14px; margin-left: 0; }
  .product-detail-button { min-height: 44px; font-size: 13px; letter-spacing: 0; }
  .product-purchase-actions { grid-template-columns: 1fr; }
  .product-buy-now, .product-add-cart-button { min-height: 44px; font-size: 14px; letter-spacing: 0; }
  .heart-button { width: 44px; height: 44px; top: 4px; right: 4px; }
  .category-pills button, .outline-button, #sortProducts { min-height: 44px; }
  .mobile-bottom-nav { position: fixed; inset: auto 0 0; z-index: 40; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #dce7d9; box-shadow: 0 -4px 18px #18351b0d; }
  .mobile-bottom-nav a, .mobile-bottom-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 52px; border: 0; background: transparent; color: #285d35; font-size: 14px; font-weight: 600; }
  .mobile-bottom-nav span { font-size: 19px; line-height: 24px; }
  #mobileCartCount { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 12px; background: #2f7440; color: white; font-size: 14px; }
  .floating-phone, .consultation-widget, .floating-chat { display: none; }
  .toast { bottom: calc(88px + env(safe-area-inset-bottom)); max-width: calc(100% - 24px); }
  .drawer { width: 100%; height: 100dvh; bottom: auto; }
  .cart-items { min-height: 0; overscroll-behavior: contain; }
  .cart-footer { padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); }
  .quantity button, .remove-item, .close-button { min-width: 44px; min-height: 44px; }
  .modal { max-height: 100dvh; overscroll-behavior: contain; }
  .product-modal { top: 0; left: 0; transform: none; width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; grid-template-columns: minmax(0, 1fr); padding-bottom: env(safe-area-inset-bottom); }
  .modal.product-modal.open, .modal.checkout-modal.open { transform: none; }
  .product-modal .modal-product-image { min-height: 0; height: auto; padding: 48px 16px 12px; }
  .modal-photo-stage { width: 100%; }
  .modal-photo-stage > #modalImage { max-height: 36dvh; }
  .product-modal .modal-product-copy { padding: 16px; overflow: visible; max-height: none; height: auto; }
  .modal-product-copy h2 { font-size: 22px; line-height: 1.4; }
  #modalDescription, #modalArticle { font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
  .modal-variants > div { grid-template-columns: minmax(0, 1fr); }
  .modal-variants b, .modal-variants small { font-size: 15.5px; }
  .modal-actions { position: sticky; bottom: 0; z-index: 3; gap: 8px; padding: 12px 0; background: #fff; }
  .modal-actions .checkout-button { min-height: 48px; flex: 1; padding: 12px 8px; font-size: 15px; margin: 0; }
  .product-assurance { padding: 16px; }
  .modal-close { position: fixed; top: 8px; right: 8px; z-index: 5; background: #fff; border-radius: 50%; box-shadow: 0 2px 12px #18351b22; }
  .checkout-modal { top: 0; left: 0; transform: none; width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; padding: 52px 16px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .checkout-modal input:not([type="radio"]), .checkout-modal textarea, #couponInput { font-size: 17px; min-height: 48px; }
  .payment-choice label { min-height: 44px; display: flex; align-items: center; gap: 8px; }
  .checkout-button { min-height: 48px; }
  .newsletter form { max-width: 100%; }
  .newsletter input { min-width: 0; font-size: 17px; }
  .admin-session-bar { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media (max-width: 359px) {
  .catalog-main .product-grid, .best-sellers .product-grid { grid-template-columns: minmax(0, 1fr); }
}
