:root {
    --christmas-red: #D42426;
    --christmas-green: #165B33;
    --christmas-gold: #FFD700;
    --christmas-white: #F8F9FA;
    --christmas-dark: #1A1A1A;
    --christmas-bg: #f4f7f6;
    /* Keep original light bg or use a subtle pattern */
    --snow-color: #FFF;
}

/* Global Christmas Overrides */
body {
    background-color: var(--christmas-bg);
    /* Optional: Add a subtle texture if desired */
}

/* Header / Navbar */
.navbar {
    border-bottom: 3px solid var(--christmas-red);
}

.logo i {
    color: var(--christmas-red) !important;
    /* Santa hat red */
    text-shadow: 0 0 5px var(--christmas-gold);
}

.logo span {
    color: var(--christmas-green) !important;
}

.nav-links a:hover,
.nav-links a.active,
.nav-contact a:hover {
    color: var(--christmas-red) !important;
    text-shadow: 0 0 2px var(--christmas-gold);
}

/* Hero Section */
.hero,
.hero-products {
    background: linear-gradient(135deg, var(--christmas-red) 0%, var(--christmas-green) 100%) !important;
    position: relative;
    overflow: hidden;
}

.hero::after,
.hero-products::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MCIgaGVpZ2h0PSI1MCIgdmlld0JveD0iMCAwIDUwIDUwIj48ZyBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMSI+PHBhdGggZD0iTTI1IDUwYzEzLjggMCAyNS0xMS4yIDI1LTI1UzM4LjggMCAyNSAwIDAgMTEuMiAwIDI1czExLjIgMjUgMjUgMjV6bS0yMC0yNWMwLTExIDEuMi05IDIwLTkgOC44IDAgMjAgOSAyMCA5czktMS4yIDktMjBjMC0xMS0xMS4yLTI1LTI1LTI1UzUgMTQgNSAyNXoiLz48L2c+PC9zdmc+');
    /* Subtle pattern */
    opacity: 0.1;
    pointer-events: none;
}

/* Banner Message */
.christmas-banner {
    background-color: var(--christmas-gold);
    color: var(--christmas-red);
    text-align: center;
    padding: 5px 0;
    font-weight: bold;
    font-size: 0.9rem;
    position: relative;
    z-index: 101;
}

/* Buttons */
.hero-btn,
.btn-submit,
.btn-order {
    background-color: var(--christmas-red) !important;
    box-shadow: 0 0 15px rgba(212, 36, 38, 0.5) !important;
    border: 2px solid var(--christmas-gold) !important;
    position: relative;
    overflow: hidden;
}

.hero-btn:hover,
.btn-submit:hover,
.btn-order:hover {
    background-color: var(--christmas-green) !important;
    box-shadow: 0 0 20px var(--christmas-gold) !important;
    transform: scale(1.05);
}

/* Cards */
.deposito,
.product-card {
    border: 1px solid var(--christmas-gold);
}

.deposito:hover,
.product-card:hover {
    box-shadow: 0 10px 30px rgba(22, 91, 51, 0.2) !important;
}

.deposito-tag,
.product-tag {
    background-color: var(--christmas-green) !important;
    color: white !important;
}

/* Footer */
footer {
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    /* Darker winter night theme */
    border-top: 4px solid var(--christmas-gold);
    position: relative;
}

footer::before {
    content: '❄️';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    background: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Snow Animation */
.snowflake {
    position: fixed;
    top: -10px;
    z-index: 9999;
    color: var(--snow-color);
    font-size: 1em;
    font-family: Arial;
    text-shadow: 0 0 1px #000;
    user-select: none;
    cursor: default;
    animation-name: snowflakes-fall, snowflakes-shake;
    animation-duration: 10s, 3s;
    animation-timing-function: linear, ease-in-out;
    animation-iteration-count: infinite, infinite;
    animation-play-state: running, running;
}

@keyframes snowflakes-fall {
    0% {
        top: -10%;
    }

    100% {
        top: 100%;
    }
}

@keyframes snowflakes-shake {
    0% {
        transform: translateX(0px);
    }

    50% {
        transform: translateX(80px);
    }

    100% {
        transform: translateX(0px);
    }
}

.snowflake:nth-of-type(0) {
    left: 1%;
    animation-delay: 0s, 0s;
}

.snowflake:nth-of-type(1) {
    left: 10%;
    animation-delay: 1s, 1s;
}

.snowflake:nth-of-type(2) {
    left: 20%;
    animation-delay: 6s, 0.5s;
}

.snowflake:nth-of-type(3) {
    left: 30%;
    animation-delay: 4s, 2s;
}

.snowflake:nth-of-type(4) {
    left: 40%;
    animation-delay: 2s, 2s;
}

.snowflake:nth-of-type(5) {
    left: 50%;
    animation-delay: 8s, 3s;
}

.snowflake:nth-of-type(6) {
    left: 60%;
    animation-delay: 6s, 2s;
}

.snowflake:nth-of-type(7) {
    left: 70%;
    animation-delay: 2.5s, 1s;
}

.snowflake:nth-of-type(8) {
    left: 80%;
    animation-delay: 1s, 0s;
}

.snowflake:nth-of-type(9) {
    left: 90%;
    animation-delay: 3s, 1.5s;
}

/* Modal Header */
.modal-header {
    background: linear-gradient(135deg, var(--christmas-red), var(--christmas-green)) !important;
}

/* Icons */
.fa-fire-flame-curved::before {
    content: "\f004" !important;
    /* Change flame to heart or gift? Let's keep flame but maybe add a hat via CSS? Or just change color. Let's stick to color change for now. */
}

/* Actually, let's replace the icon with a gift or tree if possible, or just style it. */
/* Let's try to use a different icon for the logo if we can, or just color it. */
/* The user asked for "Logo com detalhe natalino (gorro do Papai Noel ou brilho suave)" */
/* We can add a pseudo-element for the hat */
.logo {
    position: relative;
}

.logo::after {
    content: '🎅';
    position: absolute;
    top: -15px;
    left: -10px;
    font-size: 1.5rem;
    transform: rotate(-15deg);
}

/* Attempt to blend white backgrounds if transparency failed */
.carousel-img {
    mix-blend-mode: multiply;
}