/* WassapShop public storefront. Load after assets/css/style.css. */

/* Suspended store view */
.unavailable-page { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; display: flex; align-items: center; justify-content: center; min-height: 100vh; margin: 0; padding: 0; background: #f8fafc; color: #334155; }
            .unavailable { text-align: center; padding: 2rem; max-width: 400px; }
            .unavailable h2 { font-size: 1.3rem; margin-bottom: 0.5rem; }
            .unavailable p { color: #64748b; margin-bottom: 1.5rem; font-size: 0.95rem; }
            .unavailable a { display: inline-block; background: #0f172a; color: #fff; padding: 10px 24px; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 0.9rem; }

/* Main storefront */
:root { --primary: #003748; }
    
    /* Override dashboard flex layout for storefront */
    body { background: #f8f9fa; display: block; padding-bottom: 80px; }

    /* ── Store Header ── */
    .store-header {
        background: #ffffff;
        padding: 1.5rem;
        text-align: center;
        border-bottom: 1px solid #eee;
        position: sticky;
        top: 0;
        z-index: 10;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    .store-header h1 {
        font-size: 1.5rem;
        margin: 0;
        color: #333;
        text-transform: capitalize;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }
    .store-desc {
        color: #64748b;
        font-size: 0.95rem;
        margin: 8px auto 0;
        max-width: 500px;
        line-height: 1.5;
        white-space: pre-line;
    }
    .store-hint {
        color: #94a3b8;
        font-size: 0.85rem;
        margin-top: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }
    .share-btn {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        background: #f1f5f9;
        color: #475569;
        border: 1px solid #e2e8f0;
        padding: 5px 14px;
        border-radius: 50px;
        font-size: 0.8rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        font-family: inherit;
    }
    .share-btn:hover { background: #e2e8f0; }
    .share-btn.shared { background: #dcfce7; color: #166534; border-color: #bbf7d0; }

    /* ── Search ── */
    .search-container {
        position: relative;
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
        padding: 10px 15px;
        background: #f8f9fa;
        z-index: 1;
    }
    .search-input {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #e2e8f0;
        border-radius: 50px;
        font-size: 0.95rem;
        outline: none;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        transition: 0.3s;
        background: white;
        font-family: inherit;
    }
    .search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 55, 72, 0.1); }

    /* ── Product Grid ── */
    .product-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        padding: 15px;
        max-width: 800px;
        margin: 0 auto;
        padding-bottom: 100px;
    }
    @media (min-width: 600px) {
        .product-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }
    @media (min-width: 768px) {
        .product-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 20px;
        }
    }

    /* ── Product Card ── */
    .product-card {
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        display: flex;
        flex-direction: column;
    }
    .product-img {
        width: 100%;
        aspect-ratio: 1/1;
        object-fit: cover;
        background: #eee;
        border-bottom: 1px solid #f0f0f0;
        cursor: pointer;
    }
    .product-info { padding: 10px; flex: 1; display: flex; flex-direction: column; }
    .product-title { font-weight: 600; font-size: 1.2rem; margin-bottom: 4px; line-height: 1.2; }
    .product-price { color: var(--primary); font-weight: 700; font-size: 1rem; margin-bottom: 8px; }

    /* ── Cart Controls ── */
    .product-action-container { margin-top: auto; }
    .btn-add {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        width: 100%;
        padding: 8px;
        background: #edf2f7;
        color: #333;
        border: none;
        border-radius: 6px;
        font-weight: 600;
        font-size: 0.85rem;
        cursor: pointer;
        transition: 0.2s;
        font-family: inherit;
    }
    .btn-add-icon { width: 18px; height: 18px; flex: none; }
    .btn-add:active { transform: scale(0.97); }
    .qty-control {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: white;
        border: 1px solid var(--primary);
        border-radius: 6px;
        overflow: hidden;
    }
    .btn-qty {
        background: var(--primary);
        color: white;
        border: none;
        width: 35px;
        height: 35px;
        font-weight: bold;
        font-size: 1.1rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .qty-val {
        font-weight: 700;
        color: #333;
        flex: 1;
        text-align: center;
        font-size: 0.95rem;
    }

    /* ── Floating Cart Bar ── */
    .floating-cart {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 400px;
        background: var(--primary);
        color: white;
        padding: 15px 20px;
        border-radius: 50px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 10px 25px rgba(0,0,0,0.3);
        cursor: pointer;
        transition: 0.3s;
        opacity: 0;
        pointer-events: none;
        z-index: 100;
    }
    .floating-cart.visible { opacity: 1; pointer-events: all; }
    .cart-info { display: flex; flex-direction: column; }
    .cart-total { font-weight: 700; font-size: 1.1rem; }
    .cart-count { font-size: 0.75rem; opacity: 0.85; }
    .cart-action { font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }

    /* ── Lightbox ── */
    .lightbox {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.92);
        z-index: 9999;
        align-items: center;
        justify-content: center;
    }
    .lightbox.active { display: flex; }
    .lightbox-close {
        position: absolute;
        top: 16px;
        right: 16px;
        background: rgba(255,255,255,0.15);
        border: none;
        color: white;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        font-size: 1.3rem;
        cursor: pointer;
        z-index: 10001;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
    }
    .lightbox-close:hover { background: rgba(255,255,255,0.3); }
    .lightbox-body {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    .lightbox-media {
        max-width: 95vw;
        max-height: 90vh;
        object-fit: contain;
        border-radius: 4px;
    }
    .lightbox-media.zoomed {
        max-width: none;
        max-height: none;
        width: 200%;
        cursor: zoom-out;
    }
    .lightbox-hint {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        color: rgba(255,255,255,0.5);
        font-size: 0.8rem;
        pointer-events: none;
        transition: opacity 0.3s;
    }

    /* ── Social Section ── */
    .social-section {
        text-align: center;
        padding: 0 15px;
        max-width: 800px;
        margin: 40px auto 20px;
    }
    .social-heading {
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #94a3b8;
        font-weight: 600;
        margin-bottom: 10px;
    }
    .social-icons { display: flex; justify-content: center; gap: 15px; }
    .social-icon {
        width: 40px; height: 40px;
        background: white;
        border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        color: #333;
        transition: 0.2s;
        border: 1px solid #e2e8f0;
    }
    .social-icon:hover { transform: translateY(-3px); color: var(--primary); border-color: var(--primary); }

    /* ── Empty State ── */
    .empty-store {
        text-align: center;
        padding: 3rem 1.5rem;
        max-width: 400px;
        margin: 0 auto;
    }
    .empty-store p { color: #64748b; margin-top: 0.5rem; font-size: 0.95rem; }

    /* ── CTA Footer ── */
    .store-cta {
        text-align: center;
        padding: 4rem 1.5rem;
        background: white;
        margin-top: 2rem;
        border-top: 1px solid #eee;
    }
    .store-cta h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: #1e293b; }
    .store-cta p { color: #64748b; margin-bottom: 1.5rem; font-size: 0.95rem; }
    .btn-create {
        display: inline-block;
        background: #000;
        color: #fff;
        padding: 12px 24px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.9rem;
        transition: transform 0.2s;
    }
    .btn-create:hover { transform: translateY(-2px); }

    /* ── Category Filter Bar ── */
    .category-controls {
        display: flex;
        align-items: center;
        gap: 8px;
        max-width: 800px;
        margin: 0 auto;
        padding: 10px 15px 6px;
    }
    .category-bar {
        flex: 1;
        min-width: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .category-bar::-webkit-scrollbar { display: none; }
    .category-bar-inner {
        display: flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
        width: max-content;
    }
    .cat-tab {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 8px 12px;
        font-size: 0.84rem;
        font-weight: 600;
        color: #64748b;
        cursor: pointer;
        transition: color 0.2s, border-color 0.2s, background 0.2s;
        border: 1px solid #e2e8f0;
        border-radius: 999px;
        background: #fff;
        font-family: inherit;
        flex-shrink: 0;
    }
    .cat-tab:hover { color: #0f172a; }
    .cat-tab.active {
        color: #003748;
        border-color: var(--primary);
        background: #30C5CA;
    }
    .cat-count { font-size: 0.8rem; font-weight: 700; }
    .cat-tab:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
    .cat-no-results {
        text-align: center;
        padding: 3rem 1.5rem;
        color: #94a3b8;
        font-size: 0.95rem;
    }
    .cat-no-results span { font-size: 2rem; display: block; margin-bottom: 8px; }

/* Order review, delivery, filters, and product sharing */

.product-card { position: relative; }
.product-card.is-linked-product {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}
.btn-product-share {
    position: absolute;
    top: 9px;
    right: 9px;
    z-index: 1;
    padding: 6px 9px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #0f172a;
    font: 700 0.72rem 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
}
.btn-product-share:hover { background: #30C5CA; }
.btn-product-share:focus-visible,
.filter-reset:focus-visible,
.floating-cart:focus-visible,
.order-close:focus-visible,
.order-qty-button:focus-visible,
.order-remove:focus-visible,
.order-confirm:focus-visible {
    outline: 3px solid #0f172a;
    outline-offset: 3px;
}

.filter-summary {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #64748b;
    font-size: 0.82rem;
}
.filter-reset {
    flex-shrink: 0;
    border: 1px solid #dbe6df;
    border-radius: 999px;
    padding: 8px 11px;
    background: #fff;
    color: #003748;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.filter-reset[hidden], .floating-cart[hidden] { display: none; }

.delivery-card {
    max-width: 800px;
    margin: 28px auto 10px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border: 1px solid #dbe6df;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 3px 14px rgba(15, 23, 42, 0.05);
}
.delivery-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #30C5CA;
    font-size: 1.25rem;
}
.delivery-card h2 { margin: 0 0 6px; font-size: 1rem; color: #0f172a; }
.delivery-card p {
    margin: 0;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.65;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.floating-cart { border: 0; font: inherit; text-align: left; }
.order-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10002;
    padding: 16px;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.65);
}
.order-modal.active { display: flex; }
.order-dialog {
    width: min(100%, 520px);
    max-height: min(90vh, 760px);
    overflow-y: auto;
    padding: 22px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 70px rgba(0, 0, 0, 0.28);
}
.order-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.order-kicker {
    margin: 0 0 3px;
    color: #003748;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.order-header h2 { margin: 0; color: #0f172a; font-size: 1.35rem; }
.order-close {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #334155;
    font-size: 1rem;
    cursor: pointer;
}
.order-items { margin: 20px 0 0; border-top: 1px solid #e2e8f0; }
.order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
}
.order-item-details { min-width: 0; display: grid; gap: 4px; }
.order-item-title { color: #0f172a; font-size: 0.9rem; overflow-wrap: anywhere; }
.order-item-price { color: #475569; font-size: 0.82rem; }
.order-item-actions { display: flex; align-items: center; gap: 5px; flex: 0 0 auto; }
.order-qty-button {
    width: 30px;
    height: 30px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #fff;
    color: #0f172a;
    font-size: 1rem;
    cursor: pointer;
}
.order-qty-value { min-width: 18px; text-align: center; color: #0f172a; font-weight: 700; }
.order-remove {
    margin-left: 4px;
    padding: 5px 0;
    border: 0;
    background: none;
    color: #b91c1c;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
}
.order-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    color: #334155;
    font-size: 0.9rem;
}
.order-summary strong { color: #0f172a; font-size: 1.15rem; }
.order-note { margin: 16px 0; color: #64748b; font-size: 0.8rem; line-height: 1.5; }
.order-confirm {
    width: 100%;
    padding: 13px 18px;
    border: 0;
    border-radius: 10px;
    background: #0f172a;
    color: #fff;
    font: 700 0.92rem 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;
}
.order-confirm:hover { background: #1e293b; }
.store-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

@media (max-width: 560px) {
    .delivery-card { margin: 24px 15px 6px; padding: 16px; }
    .order-modal { align-items: flex-end; padding: 0; }
    .order-dialog {
        width: 100%;
        max-height: 88vh;
        padding: 20px 18px calc(18px + env(safe-area-inset-bottom));
        border-radius: 18px 18px 0 0;
    }
    .order-item { align-items: flex-start; flex-direction: column; }
    .order-item-actions { align-self: flex-end; }
    .product-grid .product-title { font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
    .product-card.is-linked-product { scroll-behavior: auto; }
}

/* Former one-off inline styles and visibility states */
.unavailable-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.pixel-noscript-img { display: none; }
.empty-store-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-store-contact {
    display: inline-block;
    margin-top: 1rem;
    padding: 10px 24px;
    border-radius: 50px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}
.store-cta-icon { font-size: 2rem; margin-bottom: 10px; }
[hidden] { display: none !important; }

/* Open storefront: media and typography lead; product cards have no outer boxes. */
body { background: #fafbf9; color: #17251e; }
.storefront { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
:root { --brand-ink: #003748; --brand-soft: #30C5CA; }
@supports (color: color-mix(in srgb, black, white)) {
    :root {
        --brand-ink: color-mix(in srgb, var(--primary) 24%, #17251e);
        --brand-soft: color-mix(in srgb, var(--primary) 7%, #f3f5ef);
    }
}
.store-header { position: relative; top: auto; background: transparent; border: 0; box-shadow: none; padding: 50px 0 30px; }
.store-header h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); letter-spacing: -.05em; text-transform: none; }
.store-desc { max-width: 580px; color: #667369; font-size: .94rem; margin-top: 12px; }
.store-header .store-announcement { margin: 22px 0 0; text-align: left; }
.store-header .store-announcement p { color: inherit; font-size: inherit; line-height: 1.5; margin: 0; }
.store-cover { aspect-ratio: 4.8 / 1; max-height: 260px; overflow: hidden; border-radius: 0 0 22px 22px; }
.store-cover img { width: 100%; height: 100%; object-fit: cover; }
.store-cover + .store-header { padding-top: 26px; }
.store-logo { width: 80px; height: 80px; object-fit: cover; border-radius: 50%; margin: 0 auto 16px; background: #fff; }
.store-announcement { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 13px 20px; background: var(--brand-soft); border-radius: 10px; margin-bottom: 14px; color: var(--brand-ink); font-size: .86rem; }
.store-announcement p { white-space: pre-line; overflow-wrap: anywhere; }
.delivery-inline { margin: 0 0 24px; border-top: 1px solid #dce4dd; border-bottom: 1px solid #dce4dd; padding: 15px 0; }
.delivery-inline summary { display: flex; align-items: center; gap: 16px; list-style: none; cursor: pointer; }
.delivery-inline summary::-webkit-details-marker { display: none; }
.delivery-label { font-size: .78rem; font-weight: 800; white-space: nowrap; }
.delivery-snippet { font-size: .8rem; color: #667369; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.delivery-toggle { font-size: .76rem; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.delivery-inline p, .order-delivery p { white-space: pre-line; overflow-wrap: anywhere; line-height: 1.7; font-size: .88rem; padding: 12px 0 0; color: #526058; }
.delivery-inline[open] .delivery-snippet { visibility: hidden; }
.order-delivery { margin-top: 16px; border-top: 1px solid #e4e9e4; padding-top: 14px; }
.order-delivery summary { cursor: pointer; font-size: .84rem; font-weight: 700; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 20px; }
.search-container { margin: 0; max-width: 430px; padding: 0; background: transparent; flex: 1; }
.search-input { border: 1px solid #dbe2dc; background: #fff; border-radius: 9px; box-shadow: none; font-size: .86rem; padding: 12px 14px; }
.sort-control { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.sort-control label { font-size: .8rem; color: #667369; }
.sort-control select { font: inherit; font-size: .8rem; padding: 11px 30px 11px 12px; border: 1px solid #dbe2dc; border-radius: 8px; background: #fff; color: #17251e; max-width: 205px; }
.category-controls { padding: 0; margin: 0 0 20px; max-width: none; }
.cat-tab { border: 0; background: transparent; padding: 9px 14px; color: #647369; }
.cat-tab.active { background: var(--brand-soft); color: var(--brand-ink); }
.filter-summary { padding: 0; max-width: none; margin: 0 0 18px; font-size: .76rem; }
.category-controls > .filter-reset { display: none; }
.product-grid { max-width: none; padding: 0; margin: 0; gap: 34px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-card { background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; min-width: 0; }
.storefront .product-card:hover { box-shadow: none; transform: none; }
.product-media { position: relative; overflow: hidden; border-radius: 14px; aspect-ratio: 1 / 1.12; background: #e8ece6; }
.product-media .product-img { display: block; width: 100%; height: 100%; border: 0; border-radius: 0; aspect-ratio: auto; background: #e8ece6; }
.product-info { padding: 16px 10px 10px; }
.product-title-row { position: static; padding: 0; display: block; }
.product-grid .product-title { color: #203129; font-size: 1.1rem; line-height: 1.45; font-weight: 650; margin: 0 0 5px; overflow-wrap: anywhere; padding-right: 0; }
.product-price { color: var(--brand-ink); font-size: 1.04rem; font-weight: 750; margin: 0 0 7px; }
.btn-product-share { top: 10px; right: 10px; padding: 7px 10px; font-size: .65rem; border: 0; box-shadow: none; }
.featured-badge { position: absolute; left: 10px; top: 10px; z-index: 1; font-size: .64rem; font-weight: 750; background: var(--brand-ink); color: #fff; padding: 7px 10px; border-radius: 20px; }
.btn-product-enquiry { border: 0; padding: 2px 0 12px; text-align: left; background: transparent; color: #65736a; font: inherit; font-size: .78rem; cursor: pointer; }
.btn-product-enquiry:hover { color: #003748; text-decoration: underline; }
.btn-add { min-height: 42px; border-radius: 7px; background: var(--brand-soft); color: var(--brand-ink); font-size: .8rem; padding: 9px 6px; }
.qty-control { background: transparent; border-color: #d1dbd2; min-height: 42px; border-radius: 7px; }
.btn-qty { background: var(--brand-soft); color: var(--brand-ink); height: 40px; width: 40px; }
.product-card.is-linked-product { border-radius: 14px; box-shadow: none; outline-offset: 7px; }
.store-cta { margin: 54px 0 0; padding: 34px 0; background: transparent; border-top: 1px solid #dce4dd; }
.store-cta-icon { display: none; }
.store-cta h3 { font-size: 1.05rem; }
.store-cta p { font-size: .82rem; margin-bottom: 14px; }
.btn-create { padding: 11px 19px; font-size: .8rem; }
.social-section { max-width: none; margin: 45px auto 15px; padding: 0; }
.social-icon { box-shadow: none; background: transparent; }
.floating-cart { background: #30C5CA; color: #003748; max-width: 480px; border-radius: 13px; box-shadow: 0 8px 35px #00374826; padding: 14px 20px; }
.order-dialog { border-radius: 20px; }
.order-confirm, .order-confirm:hover { background: #30C5CA; color: #003748; }
:where(button, select, summary, a, input):focus-visible { outline: 2px solid #003748; outline-offset: 3px; }
@media (min-width: 768px) {
    .product-grid.cols-desktop-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-grid.cols-desktop-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .storefront { padding: 0 18px; }
    .store-header { padding: 32px 0 26px; }
    .store-cover { aspect-ratio: 2.8 / 1; border-radius: 0 0 14px 14px; margin: 0 -18px; }
    .catalog-toolbar { gap: 10px; flex-wrap: wrap; }
    .search-container { flex-basis: 100%; max-width: none; }
    .search-input { font-size: 1rem; }
    .sort-control { margin-left: 0; }
    .sort-control select { max-width: none; }
    .delivery-inline { margin-bottom: 20px; }
    .delivery-inline summary { gap: 8px; flex-wrap: wrap; }
    .delivery-label { flex: 1; }
    .delivery-snippet { flex-basis: 100%; order: 3; }
    .delivery-inline[open] .delivery-snippet { display: none; }
    .product-grid.cols-mobile-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
    .product-grid.cols-mobile-1 { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .cols-mobile-1 .product-info { padding: 18px 12px 12px; }
    .store-announcement { padding: 12px 14px; text-align: left; font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}