@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

@font-face {
    font-family: 'Berkshire Swash';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/berkshire-swash-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
    --primary: #aa0f14;
    --primary-dark: #8a0c10;
    --orange: #FF5722;
    --secondary: #ffc107;
    --secondary-dark: #efb404;
    --background: #f8f9fa;
    --text-dark: #222222;
    --text-light: #ffffff;
    --gold: #ffc800;
    --red: #e31837;
    --green: #155d33;
    --green2: #003f0a;
    --card-border: #fbe6e9;
    --pink-light: #fdedef;
    --font-title: 'Berkshire Swash', cursive;
    --font-body: 'Poppins';
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.text-gold {
    color: var(--gold);
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

html,
body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--font-body), var(--bs-body-font-family);
    background-color: var(--background);
    color: var(--text-dark);
}

h1,
h2,
h3,
h4,
h5,
h6,
.title-font {
    font-family: var(--font-title);
    font-weight: 400 !important;
}

.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.navbar-custom .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0 0.8rem;
    transition: color 0.3s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: var(--red);
}

.hero-section {
    background-color: var(--green);
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.9) 4px, transparent 4.5px), radial-gradient(circle, rgba(255, 255, 255, 0.7) 3px, transparent 3.5px), radial-gradient(circle, rgba(255, 255, 255, 0.5) 5px, transparent 5.5px), radial-gradient(circle, rgba(255, 255, 255, 0.3) 4px, transparent 4.5px);
    background-size: 550px 550px, 350px 350px, 250px 250px, 150px 150px;
    background-position: 0 0, 40px 60px, 130px 270px, 70px 100px;
    animation: snow 15s linear infinite;
    color: var(--text-light);
    overflow: hidden;
    position: relative;
}

@keyframes snow {
    0% {
        background-position: 0px 0px, 40px 60px, 130px 270px, 70px 100px;
    }

    100% {
        background-position: 550px 550px, 390px 410px, 380px 520px, 220px 250px;
    }
}

.corner-dec-left,
.corner-dec-right {
    position: absolute;
    top: -65px;
    width: 320px;
    height: auto;
    z-index: 5;
    pointer-events: none;
}

.corner-dec-left {
    left: -65px;
}

.corner-dec-right {
    right: -65px;
    transform: scale(-1, 1);
}

.santa-hero,
.banner-img {
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.936)) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.228));
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

.btn-gold {
    background-color: var(--gold);
    color: var(--text-dark);
    border: none;
    transition: all 0.3s ease;
}

.btn-gold.active,
.btn-gold:hover {
    background-color: #e6b400;
    color: var(--text-dark);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-red {
    background-color: var(--red);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-red:hover {
    background-color: #c4122d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.carousel-indicators [data-bs-target] {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: var(--card-border);
    opacity: 0.6;
    border: none;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.carousel-indicators .active {
    background-color: var(--gold);
    opacity: 1;
}

.product-main-bg {
    background-color: #eaf3f4;
    border-radius: 20px;
    padding: 2rem 1rem;
}

.thumbnail-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background-color: #fff;
    padding: 5px;
}

.thumbnail-img:hover {
    transform: translateY(-2px);
}

.thumbnail-img.active {
    border-color: var(--green);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.banner-card {
    border-radius: 20px;
    padding: 2rem 1.5rem;
    color: white;
    position: relative;
    overflow: hidden;
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease;
}

.banner-card:hover {
    transform: translateY(-5px);
}

.banner-card h4 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

.banner-card p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.banner-card .btn {
    align-self: flex-start;
    position: relative;
    z-index: 2;
}

.banner-red {
    background-color: var(--red);
}

.banner-green {
    background-color: var(--green);
}

.banner-todinno {
    background-color: var(--gold);
    color: var(--text-dark);
}

.banner-todinno p,
.banner-todinno h3 {
    color: var(--text-dark);
}

.banner-donofrio {
    background-color: #00aeb9;
    color: #ffffff;
}

.banner-donofrio p,
.banner-donofrio h3 {
    color: #ffffff;
}

.banner-img {
    position: absolute;
    bottom: 0;
    right: -10px;
    height: 100%;
    width: auto;
    object-fit: contain;
    z-index: 1;
    pointer-events: none;
}

.product-card {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
    border-color: transparent;
}

.product-card img {
    max-width: auto;
    height: auto;
    border-radius: .6rem;
    object-fit: contain;
}

.product-card h5,
.product-card h3 {
    font-family: var(--font-body);
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.product-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.gift-section {
    position: relative;
    background-color: var(--green);
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.9) 4px, transparent 4.5px), radial-gradient(circle, rgba(255, 255, 255, 0.7) 3px, transparent 3.5px), radial-gradient(circle, rgba(255, 255, 255, 0.5) 5px, transparent 5.5px), radial-gradient(circle, rgba(255, 255, 255, 0.3) 4px, transparent 4.5px);
    background-size: 550px 550px, 350px 350px, 250px 250px, 150px 150px;
    animation: snow 15s linear infinite;
    padding: 72px 0 68px;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.gift-inner {
    width: auto;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.g-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 6px 4px 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.g-track::-webkit-scrollbar {
    display: none;
}

.g-card {
    position: relative;
    flex: 0 0 auto;
    width: clamp(230px, 74vw, 300px);
    aspect-ratio: 3/4;
    scroll-snap-align: center;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    cursor: pointer;
    isolation: isolate;
}

@media (min-width:640px) {
    .g-card {
        width: clamp(240px, 30vw, 280px);
        scroll-snap-align: start;
    }
}

@media (min-width:1100px) {
    .g-card {
        width: clamp(240px, 17vw, 280px);
    }
}

.g-card .skeleton {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, var(--primary-dark) 30%, var(--green) 50%, var(--primary-dark) 70%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.g-card img.loaded~.skeleton {
    display: none;
}

.g-card img {
    position: absolute;
    inset: 0;
    width: auto;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.03);
    filter: saturate(.95) brightness(.9);
    transition: transform .8s cubic-bezier(.22, .9, .32, 1), filter .5s cubic-bezier(.22, .9, .32, 1);
}

.g-card:hover img {
    transform: scale(1.08);
    filter: saturate(1.05) brightness(1);
}

.g-card:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.g-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(6, 26, 17, .9) 100%);
    opacity: .85;
    transition: opacity .35s cubic-bezier(.22, .9, .32, 1);
}

.g-card:hover .g-veil {
    opacity: 1;
}

.g-meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px 18px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}

.g-idx {
    font-size: .9rem;
    color: var(--gold);
    opacity: .95;
}

.g-name {
    font-size: .9rem;
    font-weight: 600;
    color: #f5f7f2;
    margin-top: 2px;
    font-family: var(--font-body);
}

.g-tag {
    font-size: .66rem;
    color: rgba(245, 247, 242, .62);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.g-expand {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .14);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(.85);
    transition: opacity .3s cubic-bezier(.22, .9, .32, 1), transform .3s cubic-bezier(.22, .9, .32, 1), background .3s;
}

.g-card:hover .g-expand {
    opacity: 1;
    transform: scale(1);
    background: rgba(244, 179, 28, .22);
}

.g-expand svg {
    width: 13px;
    height: 13px;
    stroke: #f5f7f2;
}

.g-controls {
    display: none;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
}

@media (min-width:768px) {
    .g-controls {
        display: flex;
    }
}

.g-arrows {
    display: flex;
    gap: 10px;
}

.g-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .25);
    border: 2px solid rgba(255, 255, 255, .6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all .25s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.g-arrow:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #000000;
    transform: scale(1.05);
}

.g-arrow svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2.5px;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1055;
    display: none;
    background: rgba(4, 16, 10, .9);
    backdrop-filter: blur(18px) saturate(120%);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lightbox.show {
    display: flex;
}

.lb-stage {
    position: relative;
    max-width: 700px;
    width: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.lb-frame {
    position: relative;
    max-height: 74vh;
    border-radius: 16px;
    overflow: hidden;
    background: var(--primary-dark);
    border: 1px solid rgba(255, 255, 255, .14);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-frame img {
    width: auto;
    max-height: 74vh;
    object-fit: contain;
    display: block;
    animation: lbIn .4s cubic-bezier(.22, .9, .32, 1);
}

@keyframes lbIn {
    from {
        opacity: 0;
        transform: scale(.97);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lb-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: auto;
    color: rgba(245, 247, 242, .62);
    font-size: .9rem;
}

.lb-counter {
    color: var(--gold);
}

.lb-close,
.lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f5f7f2;
    transition: background .25s, border-color .25s;
}

.lb-nav:hover,
.lb-close:hover {
    background: rgba(244, 179, 28, .2);
    border-color: var(--gold);
}

.lb-prev {
    left: -58px;
}

.lb-next {
    right: -58px;
}

.lb-close {
    top: -58px;
    right: 0;
    transform: none;
}

@media (max-width:900px) {
    .lb-prev {
        left: 0;
    }

    .lb-next {
        right: 0;
    }

    .lb-close {
        top: -50px;
    }

    .lb-frame {
        aspect-ratio: 3/4;
        max-height: none;
        width: auto;
    }

    .lb-frame img {
        width: auto;
        height: 100%;
        max-height: none;
        object-fit: cover;
        object-position: center;
    }
}

.lb-nav svg,
.lb-close svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.custom-accordion .accordion-item {
    background-color: #eef7f1;
    transition: all 0.3s ease;
    overflow: hidden;
}

.custom-accordion .accordion-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
}

.custom-accordion .accordion-button {
    background-color: transparent;
    color: var(--text-dark);
    box-shadow: none !important;
    padding: 1.25rem 1.5rem;
    font-family: var(--font-body);
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: #e0f0e5;
    color: var(--green);
    border-bottom: 1px dashed rgba(13, 61, 32, 0.2);
}

.custom-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d3d20'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.custom-accordion .accordion-body {
    padding: 1.5rem;
    background-color: #fff;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.marquee-section {
    background-color: white;
    padding: 4rem 0;
}

.marquee-container {
    overflow: hidden;
    position: relative;
    width: auto;
}

.marquee-container::before,
.marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
}

.marquee-track-inner {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    padding-right: 3.5rem;
}

.marquee-left {
    animation: scroll-left 35s linear infinite;
}

.marquee-right {
    animation: scroll-right 35s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.marquee-item {
    width: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.marquee-item img {
    max-width: auto;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.marquee-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

footer {
    background-color: #0d3d20;
    color: rgba(255, 255, 255, 0.8);
    padding: 5rem 0 0;
}

footer h2 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: 0.8rem;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
    display: inline-block;
}

footer ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-color: rgba(255, 255, 255, 0.1) !important;
    background-color: var(--primary-dark);
}

@media (max-width:991px) {
    .santa-hero {
        max-height: 300px;
        width: auto;
        aspect-ratio: 800/1025;
    }

    .navbar-custom {
        border-radius: 20px;
    }

    .navbar-custom .navbar-nav {
        padding-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        margin-top: 0.5rem;
    }

    .navbar-custom .nav-item {
        text-align: center;
        padding: 0.5rem 0;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width:575px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .banner-card {
        height: auto;
        padding-bottom: 3rem;
    }
}

.transition-all {
    transition: all 0.3s ease-in-out;
}

.hover-lift {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);   
}

.drop-shadow {
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.15));
}

#modalContentList {
    list-style: none;
}
#modalImage {
    filter:drop-shadow(0px 17px 10px #000);
}

#modalContentList li {
    margin-bottom: 0.4rem;
    padding-left: 1.2rem;
    position: relative;
}

#modalContentList li::before {
    content: '\2022';
    color: var(--green);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.garland-wrapper {
    position: absolute;
    width: 100%;
    height: 90px;
    margin-top: -120px;
    z-index: 10;
    overflow: visible;
    line-height: 0;
    background-image: url(/image/guirnalda-footer.avif);
    background-size: contain;
    background-position: center center;
    background-repeat: repeat;
}

@media (max-width:768px) {
    .garland-wrapper {
        background-repeat: no-repeat;
        width: 300%;
        left: -100%;
        height: 110px;
        margin-top: -125px;
        background-size: 100% 100%;
    }

    .bulb {
        transform: translateY(-50%) scale(1.3);
    }
}

.bulbs-row {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bulb {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 20px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    background: rgba(0, 0, 0, 0.45);
    box-shadow: none;
    animation: bulb-blink var(--dur, 1.5s) var(--delay, 0s) infinite ease-in-out;
}

@keyframes bulb-blink {

    0%,
    100% {
        background: rgba(0, 0, 0, 0.45);
        box-shadow: none;
        opacity: 0.35;
    }

    45%,
    55% {
        background: var(--on-color, #ffd700);
        box-shadow: 0 0 6px 2px var(--on-glow, rgba(255, 215, 0, 0.5)), 0 0 14px 5px var(--on-glow, rgba(255, 215, 0, 0.3)), 0 0 24px 8px var(--on-glow, rgba(255, 215, 0, 0.15));
        opacity: 1;
    }
}

.contact-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-left: 6px solid var(--primary);
    position: relative;
    z-index: 1;
}

.contact-card .card-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--green);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.contact-form-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-control,
.form-select {
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 0.25rem rgba(170, 15, 20, 0.15);
    background-color: white !important;
}

.form-label {
    color: var(--text-dark);
    font-size: 0.95rem;
}

.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-3px); 
}

.bg-light-red {
    background-color: #fcf4f5;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    backdrop-filter: blur(5px);
}

#scrollTopBtn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--secondary);
    color: #000000;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(170, 15, 20, 0.4);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1040;
}

#scrollTopBtn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollTopBtn:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(170, 15, 20, 0.5);
}

@media (max-width:768px) {
    #scrollTopBtn {
        bottom: 90px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

#wspWidget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1050;
    font-family: var(--font-body);
}

.wsp-fab {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
}

.wsp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.wsp-fab i {
    position: absolute;
    transition: all 0.3s ease;
}

.wsp-fab .bi-x-lg {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

#wspWidget.open .wsp-fab .bi-whatsapp {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

#wspWidget.open .wsp-fab .bi-x-lg {
    opacity: 1;
    transform: rotate(0) scale(1);
}

.wsp-panel {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

#wspWidget.open .wsp-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.wsp-header {
    background: linear-gradient(135deg, #128C7E, #25D366);
    color: white;
    padding: 20px;
    text-align: center;
}

.wsp-header h4 {
    margin: 0;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: var(--font-body);
}

.wsp-header p {
    margin: 5px 0 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

.wsp-body {
    padding: 15px;
    background: #f8f9fa;
}

.wsp-contact {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border-radius: 12px;
    margin-bottom: 10px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.wsp-contact:last-child {
    margin-bottom: 0;
}

.wsp-contact:hover {
    background: #f0fdf4;
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.1);
}

.wsp-contact-icon {
    width: 40px;
    height: 40px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 15px;
}

.wsp-contact-info h6 {
    margin: 0 0 2px;
    font-weight: 700;
    font-size: 0.95rem;
}

.wsp-contact-info p {
    margin: 0;
    font-size: 0.8rem;
    color: #6c757d;
}

@media (max-width:768px) {
    #wspWidget {
        bottom: 20px;
        right: 20px;
    }

    .wsp-fab {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }

    .wsp-panel {
        bottom: 70px;
        width: 300px;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.medidas-container {
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 15px;
    position: relative;
    margin-top: 25px;
    background-color: #f8f9fa;
}

.medidas-badge {
    background-color: var(--bs-success);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
    position: absolute;
    top: -14px;
    left: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.medidas-row {
    display: flex;
    justify-content: space-between;
    text-align: center;
    margin-top: 10px;
}

.medida-col {
    flex: 1;
    border-right: 1px solid #ced4da;
}

.medida-col:last-child {
    border-right: none;
}

.medida-label {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.medida-value {
    color: #495057;
    font-weight: 600;
    font-size: 1.1rem;
}

.banner-paneton {
    padding: 1.5rem 1rem;
}

.banner-paneton h3 {
    font-size: 1.5rem;
}

.banner-paneton .banner-img {    
    max-width: 45%;
    object-fit: contain;
    right: 0;
}

.delay-400 {
    transition-delay: 400ms;
}

.banner-bimbo {
    background-color: var(--green);
}

.banner-winter {
    background-color: var(--orange);
}

.banner-gloria {
    background-color: #004d99;
}

/* Custom styles for D'Onofrio Campaign */
.campaign-section { overflow: hidden; }
.bg-cyan { background-color: #00c1d5; }
.bg-cyan-dark { background-color: #00b8cc; }
.bg-peach { background: linear-gradient(135deg, #f9c4a2, #e09f74); }
.bg-green { background-color: #009036; }
.price-box-container {
    display: inline-flex;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    border: 2px solid white;
}
.price-box {
    background-color: white;
    text-align: center;
    min-width: 100px;
}
.price-box-header {
    background-color: #004b87;
    color: white;
    font-size: 0.85rem;
    padding: 8px 10px;
    line-height: 1.2;
}
.price-box-header.bg-brown { background-color: #8b3314; }
.price-box-header.bg-red { background-color: #cc0000; }

.price-box-body {
    padding: 10px 15px;
    font-size: 1.4rem;
    font-weight: 800;
    color: #333;
}
.price-box:not(:last-child) {
    border-right: 1px solid #ddd;
}

.prod-name {
    font-size: 2.5rem;
    font-weight: 900;
    color: #004b87;
    line-height: 1.1;
    margin-bottom: 10px;
}
.prod-name.text-white { color: white !important; }

.prod-presentation {
    background-color: #004b87;
    color: white;
    padding: 5px 15px;
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.prod-presentation.bg-brown { background-color: #8b3314; }
.prod-presentation.bg-red { background-color: #cc0000; }

.prod-type {
    font-size: 1.1rem;
    font-weight: 800;
    color: #004b87;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 18px;
    border: 2px solid #004b87;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.prod-type.text-white { 
    color: white !important; 
    border-color: white !important; 
}

.product-image-wrapper {
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hover-lift:hover {
    transform: translateY(-8px);
}

.cta-btn {
    background-color: #25D366;
    color: white;
    font-weight: bold;
    border-radius: 30px;
    padding: 12px 30px;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    color: white;
}

.hr-dashed {
    border-top: 2px dashed rgb(255, 255, 255);
    margin: 3rem 0;
}

/* Top titles for images */
.top-title-1 { font-size: 3.5rem; font-weight: bold; color: #ffe28a; text-shadow: 2px 2px 0px #004b87}
.top-subtitle-1 { font-size: 2rem; font-weight: bold; color: white; }

.top-title-4 { font-size: 4rem; font-weight: 900; color: #6b3410; }
.top-subtitle-4 { font-size: 3rem; font-family: 'Brush Script MT', 'Dancing Script', cursive; color: #b03a04; margin-top: -15px; }

.top-title-5 { font-size: 3rem; font-weight: 900; color: white; }
.top-subtitle-5 { font-size: 2.5rem; font-weight: bold; font-family: 'Brush Script MT', 'Dancing Script', cursive; color: white; }
.ribbon {
    background-color: #cc0000;
    color: white;
    padding: 10px 40px;
    font-size: 1.8rem;
    font-weight: 900;
    display: inline-block;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    position: relative;
}

.z-index-10 { z-index: 10; }
.z-index-2 { z-index: 2; }
.bg-cyan-light { background-color: #00c6df; }
.img-max-300 { max-height: 300px; }
.img-max-400 { max-height: 400px; }
.img-max-500 { max-height: 500px; }
.hr-dashed-brown { border-top-color: rgba(107,52,16,0.3) !important; }
.text-shadow-brown { text-shadow: 1px 1px 2px rgba(107,52,16,0.6); }
.footer-text { font-size: 0.95rem; line-height: 1.8; }

/* Play Button Overlay */
.video-trigger {
    cursor: pointer;
    display: inline-block;
    position: relative;
}
.play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.2rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.play-btn-overlay::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    z-index: -1;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}
.video-trigger:hover .play-btn-overlay {
    background: rgba(255, 255, 255, 0.95);
    color: #e31837;
    border-color: white;
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
@keyframes pulse-ring {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}
/* Custom Video Modal Styling */
.modal-video-custom .modal-content {
    background: transparent;
    border: none;
}
.modal-video-custom video {
    max-height: 85vh;
    width: auto;
    object-fit: contain;
}
.modal-video-custom .btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.8;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 0.8rem;
}
.modal-video-custom .btn-close-white:hover {
    opacity: 1;
    background-color: rgba(0,0,0,0.8);
}
.z-3 { z-index: 3 !important; }

img.img-fluid, .img-max-300, .img-max-400, .img-max-500, .banner-img {
    width: auto !important;
    object-fit: contain;
    filter:drop-shadow(0 5px 4px #363434);
}

.img-max-300, .img-max-400, .img-max-500 {
    object-fit: contain;
    width: 100%;
}

/* Quality Features Section */
.bg-brand {
  background-color: #004b87 !important;
}
.text-brand {
  color: #004b87 !important;
}
.bg-brand-light {
  background-color: rgba(0, 75, 135, 0.1) !important;
}
.hover-lift-premium {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  border: 1px solid rgba(0,0,0,0.03);
}
.hover-lift-premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(0, 75, 135, 0.3);
}
.feature-card {
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #004b87, #00c6df);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.feature-card:hover::before {
  transform: scaleX(1);
}
.quality-features-section {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Arbol Custom CSS */
#arbol-container, #arbol-container div { display: grid; }
#arbol-container {
  place-content: center;
  overflow: hidden;
  height: 450px;
  border-radius: 20px;
  perspective: 35em;
  background: transparent; 
  margin-bottom: 2rem;
  position: relative;
}

#arbol-container div {
  transform-style: preserve-3d;
}

#arbol-container .a3d {
  --m: calc(.5*(var(--n-stars) - 1));
  --t: calc(0.33333*var(--n-stars)*0.1s);
  animation: roty 12s linear var(--t) infinite reverse;
}

@keyframes roty {
  to {
    rotate: y 1turn;
  }
}

#arbol-container .🌟 {
  --q: Min(1, var(--j));
  --p: calc(1 - var(--q));
  --s: calc((1.25*var(--p) + var(--q)*var(--sf))*2em);
  --ay0: calc(var(--i)/var(--n-arms)*1turn);
  --ay1: calc(var(--ay0) - var(--n-loops)*1turn);
  --ay: calc((var(--j)/var(--n-stars)*var(--n-loops) + var(--i)/var(--n-arms))*1turn);
  --tx: calc(var(--q)*var(--rox)*2em);
  --ty0: calc(var(--m)/var(--n-stars)*20em);
  --ty1: calc(-1*var(--ty0) - 0.75*2em);
  --ty: calc((var(--j) - var(--m))/var(--n-stars)*20em + (var(--q)*var(--roy) - var(--p)*0.75)*2em);
  --tz: calc(var(--j)/var(--n-stars)*10em + var(--q)*var(--roz)*2em);
  grid-area: 1/ 1;
  width: var(--s);
  height: var(--s);
  --pos: rotatey(var(--ay)) translate3d(var(--tx), var(--ty), var(--tz)) rotatey(calc(-1*var(--ay)));
  transform: var(--pos);
  --dt: calc(0.33333*(var(--n-stars) - var(--j))*0.1s);
  animation: grow calc(var(--q)*0.1s) ease-out var(--dt) backwards, move calc(var(--p)*var(--t)) linear;
}

.🌟::after {
  opacity: calc(var(--p) + var(--q)*var(--j)/var(--n-stars) + .25);
  background: radial-gradient(#198754 10%, rgba(25, 135, 84, 0.2));
  clip-path: polygon(50% 0%, 53.53553% 41.46447%, 85.35534% 14.64466%, 58.53553% 46.46447%, 100% 50%, 58.53553% 53.53553%, 85.35534% 85.35534%, 53.53553% 58.53553%, 50% 100%, 46.46447% 58.53553%, 14.64466% 85.35534%, 41.46447% 53.53553%, 0% 50%, 41.46447% 46.46447%, 14.64466% 14.64466%, 46.46447% 41.46447%);
  animation: roty 12s linear var(--t) infinite, puls calc(var(--p)*.1s) ease-in-out infinite alternate, hue 4s linear var(--dt) infinite;
  content: "";
}

@keyframes grow {
  0% {
    transform: var(--pos) scale(0);
  }
}

@keyframes move {
  0% {
    transform: rotatey(var(--ay0)) translate3d(0, var(--ty0), 10em) rotatey(calc(-1*var(--ay0)));
  }

  100% {
    transform: rotatey(var(--ay1)) translate3d(0, var(--ty1), 0) rotatey(calc(-1*var(--ay1)));
  }
}

@keyframes puls {
  to {
    scale: .2;
    opacity: 0.2;
  }
}

@keyframes hue {
  to {
    filter: hue-rotate(360deg);
  }
}

