:root {
    --storefront-white: #ffffff;
    --storefront-soft: #f8f8f8;
    --storefront-text: #1c1c1c;
    --storefront-muted: #666666;
    --storefront-border: #e2e2e2;
    --storefront-gold: #d2a500;
    --storefront-gold-dark: #967100;
    --storefront-gold-light: #fff7d6;
    --storefront-container: 1180px;
}

.container {
    width: min(
        var(--storefront-container),
        calc(100% - 40px)
    );
    margin-right: auto;
    margin-left: auto;
}

.announcement {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-bottom: 1px solid #d9b95a;
    background:
        linear-gradient(
            90deg,
            #b98922,
            #efd28c,
            #b98922
        ) !important;
    color: #171109 !important;
    text-align: center;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.storefront-header {
    position: sticky;
    z-index: 8000;
    top: 0;
    border-bottom: 1px solid var(--storefront-border);
    background: rgba(255, 255, 255, 0.97) !important;
    color: var(--storefront-text);
    box-shadow: 0 5px 22px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(18px);
}

.navbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--storefront-text);
    text-decoration: none;
}

.brand-mark {
    position: relative;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid #d8ba58;
    border-radius: 15px;
    background:
        linear-gradient(
            145deg,
            #fff8df,
            #ffffff
        );
    color: var(--storefront-gold-dark);
    font-size: 17px;
    font-weight: 900;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.brand-mark::after {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(151, 113, 0, 0.13);
    border-radius: 10px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    color: #1b1b1b !important;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 1.25px;
}

.brand-subtitle {
    margin-top: 5px;
    color: var(--storefront-gold-dark) !important;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.nav-links a {
    position: relative;
    color: #333333 !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}

.nav-links a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    height: 1px;
    background: var(--storefront-gold);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--storefront-gold-dark) !important;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-contact {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 20px;
    border: 1px solid #dfc875;
    border-radius: 999px;
    background: var(--storefront-gold-light);
    color: #6f5300 !important;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
}

.nav-contact:hover {
    background: #f4e3a5;
}

.mobile-menu-button {
    display: none;
    width: 43px;
    height: 43px;
    border: 1px solid #d4d4d4;
    border-radius: 11px;
    cursor: pointer;
    background: #ffffff;
    color: #202020;
    font-size: 20px;
    font-weight: 900;
}

.mobile-cart-link {
    display: none;
}

.storefront-footer {
    border-top: 1px solid var(--storefront-border);
    background: #ffffff !important;
    color: var(--storefront-text);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr 0.75fr;
    gap: 70px;
    padding: 70px 0;
}

.footer-brand-description {
    max-width: 420px;
    margin-top: 20px;
    color: #696969 !important;
    font-size: 13px;
    line-height: 1.8;
}

.footer-heading {
    margin-bottom: 20px;
    color: #1c1c1c !important;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-links a,
.footer-links span {
    color: #696969 !important;
    text-decoration: none;
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--storefront-gold-dark) !important;
}

.footer-bottom {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--storefront-border);
    color: #777777 !important;
    font-size: 11px;
}

.footer-bottom strong {
    color: #333333 !important;
}

.floating-contact {
    position: fixed;
    z-index: 9998;
    right: 24px;
    bottom: 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.floating-contact-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-decoration: none;
}

.floating-contact-label {
    position: absolute;
    right: 66px;
    padding: 9px 13px;
    border-radius: 10px;
    background: rgba(15, 15, 15, 0.93);
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: 0.25s ease;
}

.floating-contact-item:hover .floating-contact-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.floating-contact-button {
    position: relative;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
    transition: 0.25s ease;
}

.floating-contact-button:hover {
    transform: translateY(-4px) scale(1.05);
}

.floating-contact-button svg {
    width: 29px;
    height: 29px;
}

.floating-contact-zalo {
    background: linear-gradient(145deg, #1687f8, #0068ff);
}

.floating-contact-facebook {
    background: linear-gradient(145deg, #178cff, #0866ff);
}

.floating-contact-ring {
    position: absolute;
    inset: -7px;
    border: 1px solid #1687f8;
    border-radius: 50%;
    opacity: 0;
    animation: storefrontPulse 2.2s infinite;
}

.floating-contact-facebook .floating-contact-ring {
    border-color: #0866ff;
    animation-delay: 1.1s;
}

@keyframes storefrontPulse {
    0% {
        opacity: 0;
        transform: scale(0.85);
    }

    35% {
        opacity: 0.45;
    }

    100% {
        opacity: 0;
        transform: scale(1.4);
    }
}

@media (max-width: 1120px) {
    .nav-links {
        gap: 14px;
    }

    .nav-links a {
        font-size: 11px;
    }

    .brand-subtitle {
        display: none;
    }
}

@media (max-width: 1000px) {
    .mobile-menu-button {
        display: block;
        margin-left: auto;
    }

    .nav-contact {
        display: none !important;
    }

    .nav-links {
        position: absolute;
        top: 82px;
        right: 20px;
        left: 20px;
        display: none !important;
        padding: 13px;
        border: 1px solid var(--storefront-border);
        border-radius: 14px;
        background: #ffffff;
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
    }

    .nav-links.open {
        display: grid !important;
    }

    .nav-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 0 13px;
        border-radius: 9px;
        font-size: 13px;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: var(--storefront-gold-light);
    }

    .mobile-cart-link {
        display: flex !important;
        border: 1px solid #dfc875;
        background: var(--storefront-gold-light);
    }
}

@media (max-width: 640px) {
    .container {
        width: min(
            var(--storefront-container),
            calc(100% - 26px)
        );
    }

    .announcement {
        font-size: 9px;
        letter-spacing: 0.7px;
    }

    .navbar {
        min-height: 72px;
    }

    .nav-links {
        top: 72px;
        right: 13px;
        left: 13px;
    }

    .brand-mark {
        width: 43px;
        height: 43px;
    }

    .brand-name {
        font-size: 13px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 38px;
        padding: 55px 0;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        padding: 20px 0;
        text-align: center;
    }

    .floating-contact {
        right: 15px;
        bottom: 18px;
        gap: 11px;
    }

    .floating-contact-button {
        width: 50px;
        height: 50px;
    }

    .floating-contact-label {
        display: none;
    }
}