﻿/* Styles for Views/Shared/_StorefrontLayout.cshtml */
.store-brand {
            align-self: center;
        }

        .store-brand .lumera-brand-logo {
            display: block;
            width: clamp(160px, 17vw, 220px);
            max-width: 100%;
            height: auto;
            aspect-ratio: 3 / 1;
            object-fit: contain;
        }

        html[data-theme="dark"] .store-brand .lumera-brand-logo {
            filter: brightness(0) saturate(100%)
                    invert(88%) sepia(17%) saturate(458%)
                    hue-rotate(338deg) brightness(103%) contrast(91%);
        }
        .store-nav a.store-loyalty-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 3px;
    width: max-content;
    max-width: 180px;
    padding: 7px 12px;
    border: 1px solid var(--home-border);
    border-radius: 12px;
    background: var(--home-soft);
    color: var(--home-text);
    text-align: center;
    text-decoration: none;
    white-space: normal;
}

.store-loyalty-nav-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: var(--home-accent);
    font-weight: 800;
}

.store-loyalty-nav-title svg {
    flex-shrink: 0;
}

.store-loyalty-nav-description {
    display: block;
    max-width: 100%;
    color: var(--home-muted);
    font-family: var(--store-font);
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: anywhere;
}

.store-nav a.store-loyalty-nav:hover,
.store-nav a.store-loyalty-nav.store-nav-active {
    border-color: var(--home-accent);
}
        html { scroll-padding-top: calc(var(--store-header-height, 90px) + 16px); }
        .store-header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: var(--home-bg);
            transition: background-color .2s ease, box-shadow .2s ease;
        }
        .store-header.is-scrolled {
            background: var(--home-bg);
            background: color-mix(in srgb, var(--home-bg) 86%, transparent);
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
            box-shadow: 0 5px 20px rgb(0 0 0 / 9%);
        }
        .store-header-inner { min-height: 82px; gap: 18px; }
        .store-tools { flex-shrink: 0; gap: 4px; }
        .store-header [hidden] { display: none !important; }
        .store-search-toggle[aria-expanded="true"] {
            background: var(--home-soft);
            color: var(--home-accent);
        }
        .store-search-panel {
            position: absolute;
            top: calc(100% + 10px);
            left: 50%;
            transform: translateX(-50%);
            width: min(580px, calc(100% - 32px));
            padding: 16px;
            border: 1px solid var(--home-border);
            border-radius: 12px;
            background: var(--home-surface);
            color: var(--home-text);
            box-shadow: 0 10px 32px rgb(0 0 0 / 16%);
        }
        .store-search-panel-heading {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            margin-bottom: 12px;
            font-size: .9rem;
        }
        .store-search-panel .store-search { width: 100%; margin: 0; }
        .store-search-close {
            display: grid;
            place-items: center;
            width: 30px;
            height: 30px;
            padding: 0;
            border: 0;
            border-radius: 7px;
            background: transparent;
            color: var(--home-muted);
            font-size: 1.6rem;
            line-height: 1;
        }
        .store-search-close:hover { background: var(--home-soft); color: var(--home-accent); }
        @media (max-width: 991px) {
            .store-header-inner { padding-block: 10px; gap: 10px; }
            .store-nav { gap: 18px; }
        }
        @media (max-width: 575px) {
            .store-brand .lumera-brand-logo { width: 140px; }
            .store-header-inner { min-height: 68px; padding-block: 8px; gap: 8px; }
            .store-tools { gap: 1px; }
            .store-nav { flex-wrap: wrap; justify-content: center; gap: 8px 14px; }
        }
        @media (prefers-reduced-motion: reduce) {
            .store-header { transition: none; }
        }

        .store-cart-link { position: relative; }
        .store-cart-count {
            position: absolute;
            top: -3px;
            inset-inline-end: -3px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 19px;
            height: 19px;
            padding: 0 5px;
            border-radius: 999px;
            background: var(--home-accent);
            color: #fff;
            box-shadow: 0 0 0 2px var(--home-bg);
            font-family: var(--store-font);
            font-size: 11px;
            font-weight: 700;
            line-height: 1;
            pointer-events: none;
        }
        .store-cart-count[hidden] { display: none !important; }

        .footer-connect { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-block: 8px 30px; }
        .footer-connect h2 { font-size: 1rem; margin: 0 0 14px; color: var(--home-text); }
        .footer-social-links { display: flex; flex-wrap: wrap; gap: 10px; }
        .footer-connect a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 11px 18px; border: 1px solid var(--home-border); border-radius: 14px; background: var(--home-surface); color: var(--home-text); text-decoration: none; position: relative; overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
        .footer-connect a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 25%, rgb(217 180 124 / 18%) 50%, transparent 75%); transform: translateX(-140%); transition: transform .6s ease; pointer-events: none; }
        .footer-connect a:hover::after { transform: translateX(140%); }
        .footer-connect a:hover { transform: translateY(-3px); border-color: #c69b65; color: var(--home-text); box-shadow: 0 7px 20px rgb(0 0 0 / 10%); }
        .footer-connect a:focus-visible { outline: 2px solid var(--home-accent); outline-offset: 4px; }
        .footer-connect svg { width: 22px; height: 22px; flex-shrink: 0; }
        .footer-social-links svg { color: var(--home-accent); }
        .footer-connect .footer-whatsapp { background: color-mix(in srgb, var(--home-surface) 92%, #25d366); }
        .footer-whatsapp svg { color: #25b864; }
        .footer-whatsapp span { display: grid; gap: 2px; }
        .footer-whatsapp small { color: var(--home-muted); font-size: .78rem; }
        .store-footer .store-footer-inner { border-top: 1px solid var(--home-border); padding-top: 20px; }
        @media (max-width: 575px) { .footer-connect { flex-direction: column; align-items: stretch; gap: 24px; } .footer-connect a { flex: 1; } .footer-social-links { width: 100%; } .footer-whatsapp { width: 100%; } }
        @media (prefers-reduced-motion: reduce) { .footer-connect a, .footer-connect a::after { transition: none; } .footer-connect a:hover { transform: none; } .footer-connect a::after { display: none; } }

        .footer-connect .footer-whatsapp { width: 52px; height: 52px; min-height: 52px; padding: 12px; border-radius: 50%; flex: 0 0 52px; }
        .footer-connect .footer-whatsapp svg { width: 27px; height: 27px; }
        .footer-invite{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(circle at 14% 18%,#6b3b352b,transparent 35%),radial-gradient(circle at 87% 82%,#f76f6252,transparent 34%),linear-gradient(125deg,#2f211e,#4a2d28 58%,#30201e);color:#fff6f0;padding:clamp(38px,5vw,68px) 18px;text-align:center}
        .footer-invite::before,.footer-invite::after{content:"";position:absolute;z-index:-1;border:1px solid #ffd8c828;border-radius:50%;pointer-events:none}.footer-invite::before{width:300px;height:300px;inset:-180px auto auto -100px}.footer-invite::after{width:230px;height:230px;inset:auto -80px -150px auto}
        .footer-invite h2{font-size:clamp(1.5rem,3vw,2.3rem);font-weight:800;margin:0 0 12px;color:#fff6f0}.footer-invite p{margin:0 auto 24px;max-width:620px;line-height:1.8;color:#f7d9d1}
        .footer-invite a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 26px;background:#f15c55;color:#fff;border:1px solid #ffb0a4;border-radius:12px;text-decoration:none;font-weight:700;box-shadow:0 8px 22px #160a0929;transition:transform .2s,box-shadow .2s,background .2s}
        .footer-invite a:hover{color:#fff;background:#e74d49;transform:translateY(-3px);box-shadow:0 12px 26px #ef625052}
        .footer-main{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:clamp(20px,4vw,55px);padding-block:42px}.footer-main h2{font-size:1rem;color:var(--home-text);margin:0 0 16px;font-weight:800}
        .footer-main p{line-height:1.8}.footer-links{display:grid;gap:12px}.footer-links a{width:max-content;max-width:100%;color:var(--home-muted);text-decoration:none;transition:color .2s,transform .2s}.footer-links a:hover{color:var(--home-accent);transform:translateX(-3px)}
        .footer-main .footer-social-links a{padding:10px 12px}.footer-main .footer-whatsapp{width:52px;height:52px;min-height:52px;padding:12px;border-radius:50%}.footer-main .footer-whatsapp svg{width:27px;height:27px}
        .footer-main .footer-connect{display:block;padding:0}.footer-main .footer-connect a{font-size:.83rem}
        .footer-contact-group{margin-block-start:26px;padding-block-start:20px;border-top:1px solid var(--home-border)}
        .footer-main .footer-contact-group h2{margin-bottom:14px}
        @media(max-width:850px){.footer-main{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.footer-main{grid-template-columns:1fr 1fr;gap:28px 16px}}
        @media(prefers-reduced-motion:reduce){.footer-invite a,.footer-links a{transition:none}.footer-invite a:hover,.footer-links a:hover{transform:none}}
        .home-product .home-price-discounted .home-current-price { color: #ed1236; font-weight: 800; text-shadow: 0 0 12px rgb(255 28 65 / 24%); }
        .home-product .home-product-badge { background: linear-gradient(135deg, #ff425b 0%, #f50932 55%, #d90029 100%); color: #fff; border: 1px solid rgb(255 255 255 / 32%); box-shadow: inset 0 1px 1px rgb(255 255 255 / 45%), 0 3px 12px rgb(245 9 50 / 30%); overflow: hidden; isolation: isolate; }
        .home-product .home-product-badge::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 25%, rgb(255 255 255 / 55%) 50%, transparent 75%); transform: translateX(-150%); animation: lumera-sale-sheen 5s ease-in-out infinite; pointer-events: none; }
        @keyframes lumera-sale-sheen { 0%, 65% { transform: translateX(-150%); } 88%, 100% { transform: translateX(150%); } }
        [data-theme="dark"] .home-product .home-price-discounted .home-current-price { color: #ff3455; text-shadow: 0 0 14px rgb(255 28 65 / 34%); }
        @media (prefers-reduced-motion: reduce) { .home-product .home-product-badge::after { animation: none; display: none; } }
