/* Shared storefront layout: preserve the archive palette and visual identity. */
html { scroll-padding-top: 90px; }
body { width: 100%; }
header, .cat-header { min-width: 0; }
.logo, .logo-text { min-width: 0; }
.logo-icon-img, .burger, .back { flex-shrink: 0; }
.products-grid, .cat-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.product-card { min-width: 0; border-radius: 8px !important; content-visibility: auto; contain-intrinsic-size: auto 390px; will-change: auto; transform-style: flat; }
.product-img-wrap { aspect-ratio: 4 / 3; height: auto; background: var(--bg-card); }
.product-card .product-img { width: 100%; height: 100% !important; object-fit: contain; }
.product-img-wrap { flex-shrink: 0; }
.cat-hero { padding-top: 100px; }
.product-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.product-name, .product-desc { overflow-wrap: anywhere; }
.product-footer { margin-top: auto; padding-top: 14px; }
.btn-order { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; white-space: normal; line-height: 1.35; font-size: 13px; text-align: center; }
.product-price, .cart-btn, .cart-overlay, .cart-panel { display: none !important; }
.chips { max-width: 100%; }
input[type="search"] { font-size: 16px; }
.fab-container { right: auto !important; width: auto; }
@media (max-width: 860px) {
  header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  header > nav, .hdr-right { display: none; }
  .cat-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .cat-header .back { font-size: 12px; white-space: nowrap; }
  .logo-text { font-size: 20px; white-space: nowrap; }
  .logo-icon-img { width: 44px; height: 44px; }
  .burger { min-width: 44px; min-height: 44px; }
  .mobile-nav { position: fixed; top: 70px; inset-inline: 0; max-height: calc(100dvh - 70px); overflow-y: auto; z-index: 100; background: var(--bg-card); }
  .mobile-nav a { min-height: 44px; display: flex; align-items: center; }
}
@media (max-width: 768px) {
  .products-grid, .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  .cat-grid { padding: 16px 12px 72px; }
  #boutique { padding-inline: 12px; }
  .product-card { padding: 0 !important; }
  .product-img-wrap { aspect-ratio: 1; }
  .product-img { padding: 10px !important; }
  .product-body { padding: 12px; }
  .product-name { font-size: 14px !important; line-height: 1.4 !important; min-height: 40px; }
  .product-desc { font-size: 12px !important; line-height: 1.45 !important; }
  .btn-order { font-size: 12px; padding: 10px 6px; }
  .tabs { justify-content: flex-start; gap: 4px; padding-inline: 0; }
  .tab-btn { flex-shrink: 0; min-height: 44px; padding-inline: 12px; font-size: 12px; }
  .tab-sep { display: none; }
  .cat-hero { padding-inline: 16px; }
  .cat-hero h1 { font-size: 28px; overflow-wrap: anywhere; }
  .chips { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; }
  .chip { flex-shrink: 0; min-height: 44px; }
  .hero { min-height: 560px !important; padding: 110px 16px 54px !important; }
  .hero h1 { font-size: 38px !important; line-height: 1.15 !important; }
  .hero-content { padding: 0; }
  .hero-btns { display: grid; grid-template-columns: 1fr; }
  .scene-wrap { height: 180px; overflow: hidden; }
  .scene-wrap canvas { height: 180px; }
  .cookies-banner { padding: 12px 16px; }
}
@media (max-width: 360px) {
  .product-body { padding: 8px; }
  .products-grid, .cat-grid { gap: 8px !important; }
  .hero h1 { font-size: 32px !important; }
  .logo-text { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}