:root {
    --store-primary: #1aab60;
    --store-secondary: #0f7a43;
    --store-accent: #ffc107;
    --store-bg: #f5f7f5;
    --store-bg-soft: #eef3ef;
    --store-surface: #ffffff;
    --store-surface-2: #fafbfa;
    --store-text: #17211b;
    --store-muted: #6b7280;
    --store-border: #dde5df;
    --store-border-strong: #cfd8d1;
    --store-dark: #131816;
    --store-danger: #dc2626;
    --store-warning: #f59e0b;
    --store-radius: 5px;
    --store-shadow-soft: 0 1px 2px rgba(16,24,20,.04);
    --store-shadow: 0 4px 12px rgba(16,24,20,.05);
}

html {
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(circle at top left, color-mix(in srgb, var(--store-primary) 11%, transparent), transparent 34rem), var(--store-bg);
    color: var(--store-text);
    font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 100vh;
    padding-bottom: 78px;
}

a {
    color: var(--store-primary);
}

    a:hover {
        color: var(--store-secondary);
    }

/* Layout */

.store-page {
    min-height: 100vh;
}

.store-container,
.store-content-shell {
    width: min(100% - 24px, 1320px);
    margin-inline: auto;
}

.store-main {
    padding: 18px 0 34px;
}

/* Header/Nav */

.store-top-strip {
    background: var(--store-dark);
    color: rgba(255,255,255,.82);
    font-size: .78rem;
    font-weight: 600;
}

.store-top-strip-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.store-top-strip a {
    color: #fff;
    text-decoration: none;
}

.store-top-strip .material-icons {
    font-size: 16px;
    color: var(--store-accent);
}

.store-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(245, 247, 245, .86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(221, 232, 223, .82);
}

.store-nav-shell {
    padding: 10px 0;
}

.store-nav-card {
    background: rgba(255,255,255,.96);
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius);
    box-shadow: var(--store-shadow-soft);
    min-height: 58px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.store-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--store-text);
    min-width: 0;
}

.store-logo-wrap {
    max-height: 150px;
    max-width: 150px;
    border-radius: var(--store-radius);
    background: linear-gradient(135deg, var(--store-primary), var(--store-secondary));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    overflow: hidden;
    flex: 0 0 auto;
}

    .store-logo-wrap img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        background: #fff;
        padding: 3px;
    }

.store-brand-text {
    min-width: 0;
}

.store-brand-name {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.025em;
    color: var(--store-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
}

.store-brand-subtitle {
    font-size: .72rem;
    color: var(--store-muted);
    font-weight: 600;
    line-height: 1.1;
}

.store-desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.store-nav-link {
    border-radius: 4px;
    padding: 8px 11px;
    font-size: .82rem;
    font-weight: 500;
}

    .store-nav-link:hover {
        background: #f3f5f4;
        color: var(--store-secondary) !important;
    }

    .store-nav-link.store-nav-link-primary {
        background: var(--store-dark);
        color: #fff !important;
    }

        .store-nav-link.store-nav-link-primary:hover {
            background: var(--store-secondary);
        }

    .store-nav-link.store-nav-link-danger {
        color: var(--store-danger) !important;
    }

.store-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.store-icon-action {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid var(--store-border);
    background: #fff;
    color: var(--store-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
}

    .store-icon-action:hover {
        color: var(--store-secondary);
        border-color: color-mix(in srgb, var(--store-primary) 45%, var(--store-border));
        background: var(--store-bg-soft);
    }

.store-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--store-primary);
    color: #fff;
    font-size: .65rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.store-mobile-toggle {
    border: 1px solid var(--store-border);
    background: var(--store-dark);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: none;
    align-items: center;
    justify-content: center;
}

/* Shared storefront components */

.store-card {
    background: #fff;
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius);
    box-shadow: var(--store-shadow);
}

.store-btn {
    border-radius: var(--store-radius);
    padding: 8px 12px;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.store-btn-primary {
    border: 0;
    background: linear-gradient(135deg, var(--store-primary), var(--store-secondary));
    color: #fff;
}

.store-btn-outline-outline {
    color: var(--store-text);
    background: #fff;
    border-color: var(--store-border);
}

.store-btn-outline:hover,
.product-btn-outline:hover {
    color: var(--store-secondary);
    background: var(--store-bg-soft);
}

/* Footer */

.store-footer {
    border-top: 1px solid var(--store-border);
    background: #fff;
    padding: 26px 0;
    color: var(--store-muted);
    font-size: .86rem;
}

.store-footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.store-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--store-text);
}

.store-footer-links {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

    .store-footer-links a {
        text-decoration: none;
        color: var(--store-muted);
        font-weight: 600;
    }

        .store-footer-links a:hover {
            color: var(--store-primary);
        }

/* Mobile nav */

.store-mobile-bottom-bar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 1040;
    background: rgba(16, 24, 20, .94);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 18px 50px rgba(0,0,0,.24);
    display: none;
    align-items: center;
    justify-content: space-around;
    padding: 8px;
}

    .store-mobile-bottom-bar a,
    .store-mobile-bottom-bar button {
        border: 0;
        background: transparent;
        color: rgba(255,255,255,.74);
        text-decoration: none;
        font-size: .68rem;
        font-weight: 600;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        gap: 1px;
        min-width: 54px;
    }

    .store-mobile-bottom-bar .material-icons {
        font-size: 20px;
    }

    .store-mobile-bottom-bar .active {
        color: #fff;
    }

    .store-mobile-bottom-bar .cart-mobile {
        color: #fff;
        background: linear-gradient(135deg, var(--store-primary), var(--store-secondary));
        padding: 7px 12px;
        min-width: 68px;
        transform: translateY(-5px);
    }

.offcanvas.store-offcanvas {
    background: var(--store-bg);
    color: var(--store-text);
}

.store-offcanvas .offcanvas-header {
    border-bottom: 1px solid var(--store-border);
    background: #fff;
}

.store-mobile-nav-list {
    display: grid;
    gap: 8px;
    padding: 12px;
}

    .store-mobile-nav-list a {
        text-decoration: none;
        color: var(--store-text);
        background: #fff;
        border: 1px solid var(--store-border);
        border-radius: 18px;
        padding: 13px 14px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-shadow: var(--store-shadow-soft);
    }

        .store-mobile-nav-list a .material-icons {
            color: var(--store-primary);
        }

/* Age gate */

.age-gate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 12, 10, .88);
    backdrop-filter: blur(14px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.age-gate-card {
    max-width: 440px;
    width: 100%;
    background: #fff;
    border-radius: 28px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 30px 90px rgba(0,0,0,.32);
    animation: fadeInScale .24s ease-out;
}

.age-gate-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 12px;
    border-radius: 20px;
    background: var(--store-bg-soft);
    color: var(--store-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .age-gate-icon .material-icons {
        font-size: 30px;
    }

.age-gate-title {
    font-family: "Poppins", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -.035em;
    margin-bottom: 6px;
    color: var(--store-text);
}

.age-gate-text {
    color: var(--store-muted);
    font-weight: 700;
    margin-bottom: 18px;
}

.age-gate-actions {
    display: grid;
    gap: 10px;
}

.age-btn-primary,
.age-btn-secondary {
    border-radius: 999px;
    padding: 12px 16px;
    font-weight: 950;
    border: 1px solid transparent;
}

.age-btn-primary {
    background: linear-gradient(135deg, var(--store-primary), var(--store-secondary));
    color: #fff;
}

.age-btn-secondary {
    background: #fff;
    color: var(--store-text);
    border-color: var(--store-border-strong);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(.96) translateY(8px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive */

@media (max-width: 1199.98px) {
    .store-brand-name {
        max-width: 180px;
    }

    .store-nav-link {
        padding-inline: 9px;
        font-size: .78rem;
    }
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: 86px;
    }

    .store-top-strip {
        display: none;
    }

    .store-nav-card {
        border-radius: 24px;
        min-height: 58px;
    }

    .store-desktop-nav,
    .store-actions .desktop-only {
        display: none !important;
    }

    .store-mobile-toggle {
        display: inline-flex;
    }

    .store-mobile-bottom-bar {
        display: flex;
    }

    .store-brand-name {
        max-width: 48vw;
    }

    .store-main {
        padding-top: 12px;
    }
}

@media (max-width: 575.98px) {
    .store-container,
    .store-content-shell {
        width: min(100% - 16px, 1320px);
    }

    .store-nav-shell {
        padding: 8px 0;
    }

    .store-nav-card {
        padding: 7px;
        gap: 8px;
    }

    .store-brand-subtitle {
        display: none;
    }

    .store-brand-name {
        max-width: 52vw;
        font-size: .94rem;
    }

    .store-footer {
        padding-bottom: 96px;
    }

    .store-footer-grid {
        justify-content: center;
        text-align: center;
    }

    .store-footer-brand {
        justify-content: center;
        width: 100%;
    }

    .store-footer-links {
        justify-content: center;
    }
}
