/* Fluid storefront spacing shared by header, content and footer. */
.storefront .container { width: calc(100% - clamp(28px, 5vw, 112px)); max-width: 1760px; padding-left: 0; padding-right: 0; }
.storefront .container .container { width: 100%; max-width: none; padding-left: 0 !important; padding-right: 0 !important; }
.catalog-layout { grid-template-columns: 248px minmax(0, 1fr); gap: 24px; }
.catalog-layout > * { min-width: 0; }
.catalog-layout > aside { align-self: start; }
.filter-card { position: static; }
.catalog-filter-toggle { display: none; }
.mini-cart { max-height: min(65vh, 560px); overflow-y: auto; }
.mini-cart-item strong, .mini-cart-item small { display: block; font-size: .83rem; }
.mini-cart-item small { color: var(--muted); margin-top: 4px; }
.badge-dot { min-width: 19px; padding: 2px 5px; background: var(--albi-dark); color: white; border-radius: 20px; font-size: 11px; }
.cart-notice { position: fixed; right: max(16px, 3vw); bottom: 28px; z-index: 1080; width: min(390px, calc(100vw - 32px)); padding: 18px 22px; background: #15231d; color: white; border: 1px solid #456854; border-radius: 18px; box-shadow: 0 16px 45px #11182730; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .2s, transform .2s, visibility .2s; pointer-events: none; }
.cart-notice.visible { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.cart-notice span, .cart-notice a { display: block; }
.cart-notice a { color: #a5edc4; margin-top: 8px; font-weight: 600; }
.cart-notice.is-error { background: #512424; border-color: #995050; }
.hero-slider { background: #10141a; }
.hero-slider .carousel-item { height: clamp(390px, 34vw, 590px); min-height: 0; }
.hero-slider img { height: 100%; object-fit: contain; object-position: right center; filter: none; }
.hero-slider .overlay { pointer-events: none; background: linear-gradient(90deg, #0c111adb 0%, #0c111a55 42%, transparent 65%); }
.hero-caption { left: clamp(52px, 5vw, 90px); bottom: 20%; max-width: 42%; }
.hero-eyebrow { color: #ffb497; display: block; font-size: .73rem; font-weight: 700; letter-spacing: .17em; margin-bottom: 18px; }
.storefront .hero-caption h2 { color: white; font-size: clamp(2rem, 3.4vw, 4rem); line-height: 1.06; letter-spacing: -.04em; }
.hero-caption p { color: #d4d9e2; max-width: 390px; margin: 18px 0 24px; }
.hero-slider .carousel-control-prev, .hero-slider .carousel-control-next { width: 36px; height: 36px; }
.hero-slider .carousel-control-prev-icon, .hero-slider .carousel-control-next-icon { width: 18px; height: 18px; }
.campaign-strip { background: #fff; border-color: var(--line); }
.product-card .card-body { display: flex; flex-direction: column; gap: 5px; }
.product-card .price-tag { margin-top: auto; padding-top: 8px; }
.product-card h5 { overflow-wrap: anywhere; }
.product-card .btn { min-height: 44px; }
.storefront :focus-visible { outline: 3px solid #bd4a29; outline-offset: 3px; }
@media (min-width: 768px) and (max-width: 1100px) { .catalog-layout .row-cols-md-3 > * { width: 50%; } }
@media (max-width: 991px) {
    .catalog-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .catalog-filter-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); padding: 14px 18px; font-weight: 650; }
    .catalog-filter-toggle::after { content: '+'; font-size: 22px; }
    .catalog-filter-toggle[aria-expanded="true"]::after { content: '−'; }
    .catalog-layout > aside { display: none; }
    .catalog-layout > aside.filters-open { display: block; }
    .filter-card .form-select, .filter-card .form-control { min-height: 46px; border-radius: 10px; }
}
@media (max-width: 767px) {
    .storefront { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
    .header-main { flex-wrap: wrap; gap: 10px; padding: 12px 0; }
    .logo-custom img { max-height: 32px; }
    .search-shell { min-width: 0; flex-basis: 100%; }
    .search-shell input { font-size: 16px; padding-top: 12px; padding-bottom: 12px; }
    .cat-nav .navbar-toggler { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; font-size: .88rem; color: var(--ink); padding: 8px 0; }
    #mainNav { max-height: 55dvh; overflow-y: auto; padding-bottom: 8px; }
    .cat-nav .navbar-nav { gap: 5px; }
    .cat-nav .nav-link { background: #f5f6f9; border: 1px solid #edf0f4; padding: 12px 14px !important; }
    .cat-nav .dropdown-menu { position: static; box-shadow: none; background: #fff3ef; margin: 5px 0; padding: 8px; }
    .dropdown:hover > .dropdown-menu:not(.show) { display: none; }
    .cat-nav .dropdown-item { white-space: normal; min-height: 44px; display: flex; align-items: center; }
    .hero-wrap { padding-top: 14px; }
    .hero-slider { border-radius: 20px; }
    .hero-slider .carousel-item { height: 500px; }
    .hero-slider img { height: 265px; object-fit: cover; object-position: 77% center; }
    .hero-slider .overlay { background: linear-gradient(0deg, #10141a 43%, transparent 65%); }
    .hero-caption { left: 24px; right: 24px; bottom: 47px; max-width: none; }
    .hero-eyebrow { margin-bottom: 10px; font-size: .64rem; }
    .storefront .hero-caption h2 { font-size: 1.9rem; max-width: 320px; }
    .hero-caption p { font-size: .9rem; margin: 12px 0 18px; }
    .hero-slider .carousel-control-prev, .hero-slider .carousel-control-next { top: 125px; }
    .campaign-strip { padding: 18px; border-radius: 16px; }
    .campaign-strip p { font-size: .85rem; }
    .section-head { margin-top: 28px; align-items: center; }
    .section-head h2 { font-size: 1.35rem; }
    .section-head p { font-size: .83rem; }
    .section-head > a { flex-shrink: 0; font-size: .75rem; }
    .chip-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; max-width: 100%; }
    .chip-row .chip { white-space: nowrap; min-height: 40px; }
    .filter-toolbar select { max-width: 100%; min-height: 44px; }
    .product-card { border-radius: 15px; }
    .product-card:hover, .card:hover { transform: none; }
    .product-card .card-img-top { height: 160px; padding: 12px; }
    .product-card .card-body { padding: 12px; }
    .product-card .card-footer { padding: 0 10px 12px !important; }
    .product-card .btn { font-size: .78rem; padding: 9px 6px; }
    .brand-mini { font-size: .63rem; }
    .mobile-tabbar { padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -6px 24px #11182708; }
    .mobile-tabbar a { min-width: 50px; min-height: 44px; }
    .cart-notice { bottom: calc(86px + env(safe-area-inset-bottom)); }
    .storefront main .d-flex:has(> form[ action="/Cart/Add"]) { flex-wrap: wrap; gap: 12px; }
    .storefront main .d-flex:has(> form[action="/Cart/Add"]) { flex-wrap: wrap; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .promo-bar-inner { animation: none; }
    .carousel-item, .product-card, .cart-notice { transition: none; }
}
