@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootstrap.min.css') layer(bootstrap);

@layer bootstrap, loading, menu, app, animations, responsive;

@layer loading {

    :root {
        --parchment: #F1EDEC;
        --preloader-fade-duration: 1.1s;
    }

    @scope (.preloader) {

        *, 
        *::before, 
        *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

    }

    .is-loading {
        overflow: hidden;
    }

    .preloader {
        position: fixed;
        inset: 0;
        z-index: 99999;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--parchment);
        opacity: 1;
        visibility: visible;
        transition: 
            opacity var(--preloader-fade-duration) cubic-bezier(0.4, 0, 0.2, 1),
            visibility 0s linear var(--preloader-fade-duration);
        pointer-events: auto;
        will-change: opacity;
    }

    .preloader__content {
        position: relative;
        z-index: 2;
        opacity: 1;
        transform: translateY(0) scale(1);
        transition:
            opacity var(--preloader-content-duration) ease,
            transform var(--preloader-content-duration) cubic-bezier(0.4, 0, 0.2, 1);
        will-change: opacity, transform;
    }

    .preloader__logo-img {
        display: block;
        width: 250px;
        max-width: 80vw;
        height: auto;
        animation: preloader-pulse 1.5s ease-in-out infinite;
        will-change: transform;
    }

    .preloader--loaded { 
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .preloader--loaded .preloader__logo-img {
        animation: none;
    }

    .preloader--loaded .preloader__content {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }

    @media (prefers-reduced-motion: reduce) {

        .preloader,
        .preloader__content {
            transition: none;
        }

        .preloader__logo-img { 
            animation: none !important; 
        }

    }

    @keyframes preloader-pulse {

        0%,
        100% {
            transform: scale(0.92);
        }

        50% {
            transform: scale(1.04);
        }
        
    }

}

@layer menu {

    :root {
        --white: #FFFFFF;
        --platinum: #F1F1F1;
        --dim-grey: #5F6368;
        --gunmetal: #323639;
        --onyx: #111111;
        --shadow-grey: #202124;
        --black: #000000;
    }

    .modal,
    .modal .modal-body,
    .modal-dialog-scrollable .modal-body {
        scrollbar-width: thin;
        scrollbar-color: var(--gunmetal) var(--white);
    }

    /* Chrome, Edge, Safari */
    .modal::-webkit-scrollbar,
    .modal .modal-body::-webkit-scrollbar,
    .modal-dialog-scrollable .modal-body::-webkit-scrollbar {
        width: 18px;
    }

    .modal::-webkit-scrollbar-track,
    .modal .modal-body::-webkit-scrollbar-track,
    .modal-dialog-scrollable .modal-body::-webkit-scrollbar-track {
        background: var(--white);
    }

    .modal::-webkit-scrollbar-thumb,
    .modal .modal-body::-webkit-scrollbar-thumb,
    .modal-dialog-scrollable .modal-body::-webkit-scrollbar-thumb {
        background-color: var(--gunmetal);
        border: 3px solid var(--white);
        border-radius: 20px;
    }

    .pdf-modal__content {
        min-height: 100vh;
        background: var(--onyx);
        border: 0;
        border-radius: 0;
    }

    .pdf-modal__header,
    .pdf-modal__body {
        padding: 0;
        border: 0;
    }

    .pdf-modal__header {
        position: relative;
        z-index: 10;
    }

    .pdf-modal__body {
        overflow: hidden;
    }

    /* --- Toolbar --- */
    .pdf-toolbar {
        height: 48px;
        padding: 0 16px;
        color: var(--platinum);
        background-color: var(--gunmetal);
        border-bottom: 1px solid var(--black);
    }

    .pdf-toolbar__group {
        display: flex;
        align-items: center;
        flex: 1;
    }

    .pdf-toolbar__zoom {
        flex: 0 1 auto;
        justify-content: center;
        padding: 2px 8px;
        background-color: var(--shadow-grey);
        border-radius: 4px;
    }

    .pdf-toolbar__btn svg {
        display: block;
        width: 20px;
        height: 20px;
    }

    .pdf-toolbar__text {
        min-width: 45px;
        margin: 0 8px;
        font-size: 13px;
    }

    .pdf-toolbar__separator {
        width: 1px;
        height: 24px;
        margin: 0 12px;
        background-color: var(--dim-grey);
    }

    .pdf-toolbar__right {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0.5rem;
    }

    .pdf-toolbar__btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        padding: 0;
        text-decoration: none;
        color: var(--platinum);
        background: transparent;
        border: 0;
        border-radius: 50%;
        transition: 
            background-color 0.2s ease, 
            opacity 0.2s ease;
        cursor: pointer;
    }

    .pdf-toolbar__btn:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .pdf-toolbar__btn:disabled {
        opacity: 0.35;
        cursor: not-allowed;
    }

    .pdf-modal__close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        padding: 9px;
        background: rgba(255, 255, 255, 0.12);
        border: 0;
        border-radius: 50%;
        outline: 0;
        transition: 
            background 0.2s ease, 
            transform 0.2s ease;
    }

    .pdf-modal__close:hover {
        background: rgba(255, 255, 255, 0.22);
        transform: scale(1.05);
    }

    .pdf-modal__close svg {
        display: block;
        width: 100%;
        height: 100%;
    }

    /* --- Viewer --- */
    .magazine-viewer {
        position: relative;
        width: 100vw;
        height: calc(100vh - 48px);
        background-color: var(--gunmetal);
        overflow: auto;
        scroll-behavior: smooth;
    }

    .magazine-viewer__wrapper {
        position: relative;
        flex-shrink: 0;
        aspect-ratio: 2000 / 1415;
    }

    #interactiveMenu {
        width: 100%;
        height: 100%;
    }

    .magazine-viewer__nav {
        position: fixed;
        top: 50%;
        z-index: 40;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 54px;
        height: 54px;
        padding: 0;
        color: var(--white);
        background-color: rgba(32, 33, 36, 0.5);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        opacity: 0.86;
        backdrop-filter: blur(8px);
        transform: translateY(-50%);
        transition: 
            opacity 0.3s ease, 
            background-color 0.2s ease, 
            transform 0.2s ease, 
            visibility 0.3s ease;
        cursor: pointer;
    }

    .magazine-viewer__nav:hover {
        background-color: rgba(7, 30, 34, 0.82);
        border: 1px solid rgba(255, 255, 255, 0.5);
        opacity: 1;
        transform: translateY(-50%) scale(1.04);
    }

    .magazine-viewer__nav:disabled {
        background-color: rgba(32, 33, 36, 0.5);
        border: 1px solid rgba(255, 255, 255, 0.2);
        opacity: 0.25;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .magazine-viewer__nav--left {
        left: 18px;
    }

    .magazine-viewer__nav--right {
        right: 18px;
    }

    .magazine-viewer__nav-icon {
        width: 20px;
        height: 20px;
    }

    .magazine-viewer__nav--hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .pdf-toolbar__btn:focus-visible,
    .pdf-modal__close:focus-visible,
    .magazine-viewer__nav:focus-visible {
        outline: 2px solid var(--white);
        outline-offset: 3px;
    }

    @media (max-width: 768px) {

        .pdf-toolbar {
            padding: 0 8px;
        }

        .pdf-toolbar__group:first-child {
            display: none;
        }

        .pdf-toolbar__zoom {
            justify-content: center;
            flex: 1;
        }

        .pdf-toolbar__right {
            flex: 0 0 auto;
        }

        .pdf-toolbar__separator {
            margin: 0 8px;
        }

        .pdf-toolbar__btn {
            width: 30px;
            height: 30px;
        }

        .pdf-toolbar__btn svg {
            width: 16px;
            height: 16px;
        }

        .pdf-toolbar__text {
            min-width: 42px;
            font-size: 12px;
        }

        .magazine-viewer {
            padding-inline: 0;
        }

        .magazine-viewer__nav {
            width: 48px;
            height: 48px;
        }

        .magazine-viewer__nav--left {
            left: 10px;
        }

        .magazine-viewer__nav--right {
            right: 10px;
        }

        .magazine-viewer__wrapper {
            aspect-ratio: 1000 / 1415;
        }

    }

    @media (max-width: 480px) {

        .pdf-toolbar {
            height: 44px;
        }

        .pdf-toolbar__separator {
            display: none;
        }

        .pdf-toolbar__btn {
            width: 28px;
            height: 28px;
        }

        .magazine-viewer {
            height: calc(100vh - 44px);
        }

    }

}

@layer app {

    :root {
        --white: #FFFFFF;
        --parchment: #F1EDEC;
        --platinum: #E9ECEF;
        --ink-black: #051c22;
        --black: #010101;

        --amber-gold: #FFC107;

        --malachite: #25D366;
        --jade-green: #20BA5A;
        --medium-jungle: #009640;
        --turf-green: #007A34;

        --wild-strawberry: #EA508d;
        --razzmatazz: #E23A7b;

        --primary-scarlet: #DB1318;
        --mahogany-red: #B51014;

        --page-bg: var(--black);
        --page-text: var(--white);
        --page-muted: rgba(255, 255, 255, 0.85);
        --page-accent: var(--amber-gold);
    }

    *::-webkit-scrollbar {
        display: none;
    }

    html,
    body {
        background-color: var(--page-bg);
    }

    html {
        scrollbar-width: none;
    }

    body {
        font-family: 'Montserrat', sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;
        color: var(--page-text);
    }

    body.is-loading .page {
        opacity: 0;
        pointer-events: none;
    }

    main {
        width: 100%;
        background-color: transparent;
        overflow-x: hidden;
    }

    .section-bg {
        position: relative;
        color: var(--page-text);
        background: transparent;
    }

    .hero.section-bg,
    .about.section-bg,
    .departments.section-bg,
    .locations.section-bg,
    .events-promo.section-bg,
    .brand-banner.section-bg {
        background: transparent;
    }

    .section-text {
        color: var(--page-text);
    }

    .section-muted {
        color: var(--page-muted);
    }

    .section-accent {
        color: var(--page-accent);
    }

    /* General */
    .section-padding { 
        padding: 5rem 0; 
    }

    /* Text */
    .text-amber { 
        color: var(--amber-gold); 
    }

    .text-jungle { 
        color: var(--medium-jungle); 
    }

    .text-scarlet { 
        color: var(--primary-scarlet); 
    }

    /* Buttons */
    .btn-scarlet {
        color: var(--white);
        background-color: var(--primary-scarlet);
        border: 1px solid var(--primary-scarlet);
        transition: all 0.3s ease;
    }

    .btn-scarlet:hover, 
    .btn-scarlet:focus {
        background-color: var(--mahogany-red);
        border-color: var(--mahogany-red);
    }

    .btn-jungle {
        color: var(--white);
        background-color: var(--medium-jungle);
        transition: all 0.3s ease;
    }

    .btn-jungle:hover {
        color: var(--white);
        background-color: var(--turf-green);
    }

    /* Top Bar */
    .top-bar {
        position: relative;
        z-index: 1001;
        display: grid;
        align-items: center;
        grid-template-columns: 1fr auto 1fr;
        padding: 8px 2rem; 
        color: var(--white);
        background-color: var(--primary-scarlet);
    }

    .top-bar__msg {
        margin: 0;
        font-weight: 500;
        line-height: 1.4;
        letter-spacing: 0.5px;
    }

    .top-bar__right {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 1.5rem;
    }

    .top-bar__divider {
        font-weight: 600;
        white-space: nowrap;
    }

    .top-bar__social {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .top-bar__social-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        color: var(--white);
        border-radius: 50%;
        transition: 
            background-color 0.3s ease,
            opacity 0.3s ease,
            transform 0.3s ease;
        user-select: none;
        -webkit-user-select: none;
        -webkit-user-drag: none;
    }

    .top-bar__social-link:hover {
        opacity: 0.85;
        transform: translateY(-2px);
    }

    .top-bar__social-link:focus {
        background-color: rgba(5, 28, 34, 0.8);
    }

    .top-bar__social-link:focus-visible {
        color: var(--primary-scarlet);
        outline: 2px solid var(--ink-black);
        outline-offset: 3px;
    }

    .top-bar__social-icon {
        display: block;
        width: 16px;
        height: 16px;
        color: inherit;
    }

    /* Header */
    .header {
        position: sticky;
        top: -1px;
        left: 0;
        z-index: 1000;
        width: 100%;
        background: rgba(255, 255, 255, .9);
        transition:
            background-color .3s ease,
            backdrop-filter .3s ease;
    }

    .header.scrolled {
        background: rgba(0, 0, 0, .45);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .header__logo {
        border-radius: 8px;
        user-select: none;
        -webkit-user-select: none;
        -webkit-user-drag: none;
    }

    .header__logo-img {
        display: block;
        width: 68px;
        height: 65px;
        object-fit: contain;
        transition: transform 0.3s ease;
        user-select: none;
        -webkit-user-select: none;
        -webkit-user-drag: none;
    }

    .header__logo-img:hover {
        transform: translateY(-2px);
    }

    .navbar-toggler {
        color: var(--medium-jungle);
        border: 1px solid currentColor;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23009640' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }

    .header.scrolled .navbar-toggler {
        color: var(--white);
        border-color: var(--white);
    }

    .header.scrolled .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }

    .header__menu .nav-link {
        font-weight: 500;
        color: rgba(0, 150, 64, 0.85);
        border-radius: 8px;
        transition: 
            color 0.3s ease, 
            text-shadow 0.3s ease;
        user-select: none;
        -webkit-user-select: none;
        -webkit-user-drag: none;
    }

    .header:not(.scrolled) .header__menu .nav-link:hover, 
    .header:not(.scrolled) .header__menu .nav-link.active {
        color: var(--medium-jungle);
        text-shadow: 0 0 10px rgba(0, 150, 64, 0.4);
    }

    .header.scrolled .header__menu .nav-link:hover, 
    .header.scrolled .header__menu .nav-link.active {
        color: var(--white);
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
    }

    .header__actions {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .header__btn-shop {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem 1rem;
        line-height: 1;
        color: var(--medium-jungle);
        background-color: transparent;
        border: 0;
        border-radius: 8px;
        transition: 
            background-color 0.3s ease, 
            border-color 0.3s ease, 
            color 0.3s ease;
        user-select: none;
        -webkit-user-select: none;
        -webkit-user-drag: none;
    }

    .header__shop-icon {
        display: block;
        width: auto;
        height: 28px;
    }

    .header.scrolled .header__btn-shop:hover,
    .header.scrolled .header__btn-shop:focus,
    .header.scrolled .header__btn-shop[aria-expanded="true"] {
        color: var(--white);
        background-color: rgba(255, 255, 255, 0.1);
    }

    .header:not(.scrolled) .header__logo:focus-visible,
    .header:not(.scrolled) .header__btn-shop:focus-visible,
    .header:not(.scrolled) .header__menu .nav-link:focus-visible {
        outline: 2px solid var(--medium-jungle);
        outline-offset: 3px;
        box-shadow: none;
    }

    .header.scrolled .header__logo:focus-visible,
    .header.scrolled .header__btn-shop:focus-visible,
    .header.scrolled .header__menu .nav-link:focus-visible {
        outline: 2px solid var(--white);
        outline-offset: 3px;
        box-shadow: none;
    }

    .header__dropdown-menu {
        min-width: 200px;
        background-color: var(--white);
        border-radius: 8px;
    }

    .header__dropdown-menu .dropdown-item {
        padding: 0.7rem 1.5rem;
        color: var(--ink-black);
        transition: 
            background-color 0.2s ease, 
            color 0.2s ease;
    }

    .header__dropdown-menu .dropdown-item:hover {
        color: var(--medium-jungle);
        background-color: var(--platinum);
    }

    .header__dropdown-menu .dropdown-item:focus-visible {
        color: var(--medium-jungle);
        background-color: var(--platinum);
        outline: none;
    }

    /* Hero */
    .hero {
        position: relative;
        width: 100%;
        height: 100vh;
        min-height: 700px;
        overflow: hidden;
    }

    .hero__slider,
    .hero__slider .swiper-wrapper,
    .hero__slide {
        width: 100%;
        height: 100%;
    }

    .hero__slide {
        position: relative;
        overflow: hidden;
    }

    .hero__slide img,
    .hero__media {
        display: block;
        width: 100%;
        height: 100%;
        background-color: var(--black);
        object-fit: cover;
        object-position: var(--hero-position, center center);
    }

    .hero__overlay {
        position: absolute;
        inset: 0;
        z-index: 2;
        background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.75)
        );
        pointer-events: none;
    }

    .hero__content {
        position: absolute;
        inset: 0;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-inline: 1.5rem;
    }

    .hero__content-inner {
        max-width: 900px;
    }

    .hero__title {
        font-size: clamp(3rem, 8vw, 6rem);
        font-weight: 800;
        line-height: 1.05;
        color: var(--white);
    }

    .hero__subtitle {
        max-width: 700px;
        margin-bottom: 2rem;
        margin-inline: auto;
        font-size: 1.125rem;
        line-height: 1.7;
        color: rgba(255, 255, 255, 0.9);
    }

    .hero__actions {
        gap: 1rem;
    }

    .hero__btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        font-weight: 700;
        border-radius: 0.75rem;
        transition:
            transform 0.3s ease,
            background-color 0.3s ease,
            border-color 0.3s ease;
    }

    .hero__btn:hover {
        transform: translateY(-2px);
    }

    .hero__btn--secondary {
        color: var(--white);
        border: 1px solid rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(8px);
    }

    .hero__btn--secondary:hover {
        color: var(--white);
        background-color: rgba(255, 255, 255, 0.1);
    }

    .hero__delivery-actions {
        gap: 0.75rem;
        margin-top: 1.25rem;
    }

    .hero__delivery-btn {
        min-height: 44px;
        padding: 0.75rem 1rem;
        background-color: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .hero__delivery-btn:hover,
    .hero__delivery-btn:focus,
    .hero__delivery-btn[aria-expanded="true"] {
        color: var(--white);
        background-color: rgba(255, 255, 255, 0.2);
    }

    .hero__delivery-actions .dropdown-menu {
        text-align: left;
    }

    .hero__scroll {
        position: absolute;
        bottom: 2rem;
        left: 50%;
        z-index: 20;
        color: var(--white);
        transform: translateX(-50%);
        animation: hero-bounce 2s infinite;
        
    }

    .hero__scroll-icon {
        display: block;
        width: 2rem;
        height: 2rem;
    }

    /* About */
    .about {
        overflow: hidden;
    }

    .about__media {
        position: relative;
        border-radius: 1rem;
        overflow: hidden;
        transform-origin: left center;
        will-change: transform;
    }

    .about__video {
        display: block;
        width: 100%;
        height: auto;
    }

    .about__description {
        text-align: justify;
    }

    .about__icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Departments */
    .departments {
        --departments-gap: clamp(0.75rem, 1.4vw, 1.5rem);
        --departments-radius: clamp(16px, 2vw, 28px);
        --departments-row-height: clamp(130px, 10vw, 180px);
    }

    .departments__mosaic {
        display: grid;
        gap: var(--departments-gap);
        grid-template-columns: repeat(12, minmax(0, 1fr));
        grid-auto-rows: var(--departments-row-height);
        grid-auto-flow: dense;
    }

    .departments__item {
        position: relative;
        min-width: 0;
        min-height: 0;
        background-color: var(--black, #010101);
        border-radius: var(--departments-radius);
        overflow: hidden;
        isolation: isolate;
        transform-origin: center bottom;
    }

    .departments__item:nth-child(n + 10) {
        display: none;
    }

    .departments__media {
        position: absolute;
        inset: 0;
        z-index: 0;
        overflow: hidden;
        transition: transform 0.45s ease;
        will-change: transform;
    }

    .departments__image {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        backface-visibility: hidden;
        transition: filter 0.45s ease;
    }

    .departments__image--primary {
        z-index: 1;
        opacity: 0.92;
        visibility: visible;
    }

    .departments__image--secondary {
        z-index: 2;
        opacity: 0;
        visibility: hidden;
        transform: scale(1.03);
    }

    .departments__image--position-top {
        object-position: center 30%;
    }

    .departments__image--position-upper-center {
        object-position: center 40%;
    }

    .departments__image--position-left {
        object-position: 35% center;
    }

    .departments__image--position-right {
        object-position: 65% center;
    }

    .departments__overlay {
        position: absolute;
        inset: 0;
        z-index: 3;
        display: flex;
        align-items: flex-end;
        padding: clamp(1rem, 2vw, 1.75rem);
        background: linear-gradient(to top,
            rgba(1, 1, 1, 0.86) 0%,
            rgba(1, 1, 1, 0.42) 48%,
            rgba(1, 1, 1, 0.06) 100%
        );
    }

    .departments__title {
        margin: 0;
        font-size: clamp(1.25rem, 2vw, 2.35rem);
        font-weight: 800;
        line-height: 1.05;
        text-wrap: balance;
        color: var(--white);
        text-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    }

    .departments__item:hover .departments__media {
        transform: scale(1.055);
    }

    .departments__item:hover .departments__image {
        filter: saturate(1.1) contrast(1.05);
    }

    .departments__item:nth-child(1) {
        grid-column: span 3;
        grid-row: span 2;
    }

    .departments__item:nth-child(2) {
        grid-column: span 6;
        grid-row: span 2;
    }

    .departments__item:nth-child(3) {
        grid-column: span 3;
        grid-row: span 1;
    }

    .departments__item:nth-child(4) {
        grid-column: span 3;
        grid-row: span 2;
    }

    .departments__item:nth-child(5) {
        grid-column: span 3;
        grid-row: span 2;
    }

    .departments__item:nth-child(6) {
        grid-column: span 3;
        grid-row: span 2;
    }

    .departments__item:nth-child(7) {
        grid-column: span 3;
        grid-row: span 3;
    }

    .departments__item:nth-child(8) {
        grid-column: span 3;
        grid-row: span 2;
    }

    .departments__item:nth-child(9) {
        grid-column: span 6;
        grid-row: span 1;
    }

    /* Offset */
    .offers {
    --offers-card-background: #ffffff;
    --offers-text: #010101;
    --offers-muted: #5f6368;
    --offers-accent: #009640;
    --offers-old-price: #d62828;
    --offers-border-radius: 10px;

    padding-block: clamp(60px, 8vw, 100px);
    color: var(--offers-text);
    background-color: #f1edec;
    overflow: hidden;
}

.offers .offers__swiper,
.offers .offers__wrapper,
.offers .offers__slide {
    background: transparent !important;
}

.offers__container {
    max-width: 1560px;
}

.offers__heading {
    max-width: 700px;
    margin-inline: auto;
    margin-bottom: 45px;
    text-align: center;
}

.offers__title {
    margin: 0 0 10px;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
}

.offers__description {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--offers-muted);
}

/* =========================================================
   Slider
   ========================================================= */

.offers__slider {
    padding-inline: 98px;
    position: relative;
}

.offers__swiper {
    padding-block: 20px;
    user-select: none;
    overflow: hidden;
}

.offers__wrapper {
    align-items: center;
}

.offers__swiper .offers__slide {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    width: calc(100vw - 60px);
    max-width: 400px;
    height: auto;
    min-height: 500px;
}

/* =========================================================
   Card
   ========================================================= */

.offers__card {
    width: 100%;
    position: relative;
    background-color: var(--offers-card-background);
    border-radius: var(--offers-border-radius);
    box-shadow: 0 14px 35px rgba(1, 1, 1, 0.12);
    overflow: hidden;
    transition:
        opacity 0.4s ease,
        box-shadow 0.4s ease;
}

.offers__slide:not(.swiper-slide-active) .offers__card {
    opacity: 0.72;
}

.offers__slide.swiper-slide-active .offers__card {
    box-shadow: 0 20px 45px rgba(1, 1, 1, 0.18);
    opacity: 1;
}

/* =========================================================
   Product image
   ========================================================= */

.offers__media {
    aspect-ratio: 400 / 270;
    background-color: #ffffff;
    overflow: hidden;
}

.offers__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.offers__slide.swiper-slide-active .offers__image {
    transform: scale(1.025);
}

/* =========================================================
   Product content
   ========================================================= */

.offers__content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 25px 20px 28px;
}

.offers__prices-wrapper {
    max-height: 50px;
    overflow: hidden;
    transition:
        max-height 0.6s ease-in,
        opacity 0.4s ease;
}

.offers__prices {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.offers__current-price {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--offers-accent);
}

.offers__old-price {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    color: var(--offers-old-price);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.offers__name {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--offers-text);
}

/*
 * Igual que el diseño original:
 * los precios se ocultan en las tarjetas no activas.
 */

.offers__slide:not(.swiper-slide-active) .offers__prices-wrapper {
    max-height: 0;
    opacity: 0;
}

/* =========================================================
   Navigation
   ========================================================= */

.offers__navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 5;
    pointer-events: none;
    transform: translateY(-50%);
}

.offers__navigation-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    aspect-ratio: 1;
    padding: 0;
    color: var(--offers-text);
    background-color: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    transition:
        color 0.3s ease,
        opacity 0.3s ease,
        transform 0.3s ease;
}

.offers__navigation-button:hover {
    color: var(--offers-accent);
    transform: scale(1.1);
}

.offers__navigation-button:focus-visible {
    outline: 3px solid rgba(0, 150, 64, 0.3);
    outline-offset: 4px;
}

.offers__navigation-button.is-disabled {
    opacity: 0.3;
    cursor: default;
}

/* =========================================================
   Pagination
   ========================================================= */

.offers__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 30px;
}

.offers__pagination.swiper-pagination-lock {
    display: none;
}

.offers__pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: var(--offers-text);
    border-radius: 999px;
    cursor: pointer;
    opacity: 0.2;
    transition:
        width 0.3s ease,
        background-color 0.3s ease,
        opacity 0.3s ease;
}

.offers__pagination-bullet.is-active {
    width: 30px;
    background-color: var(--offers-accent);
    opacity: 1;
}

    /* Contact */
    .locations__tabs {
        gap: 15px;
    }

    .locations__tabs .nav-link {
        padding: 10px 30px;
        color: var(--medium-jungle);
        background-color: var(--white);
        border: 1px solid var(--platinum);
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .locations__tabs .nav-link:hover {
        border-color: var(--medium-jungle);
    }

    .locations__tabs .nav-link.active {
        color: var(--white);
        background-color: var(--medium-jungle);
        border-color: var(--medium-jungle);
    }

    .locations__card {
        background-color: var(--white);
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        overflow: hidden;
    }

    .locations__info {
        padding: 3rem;
    }

    .locations__map {
        position: relative;
        height: 100%;
        min-height: 400px;
        background-color: var(--platinum);
    }

    .locations__map iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

    .careers-cta {
    --careers-cta-red: #e30613;
    --careers-cta-green: #009640;
    --careers-cta-green-dark: #007c35;
    --careers-cta-white: #ffffff;

    /*
     * Ajustes de la misma imagen según el dispositivo.
     * Primer valor: posición horizontal.
     * Segundo valor: posición vertical.
     */
    --careers-cta-image-position-desktop: 72% center;
    --careers-cta-image-position-tablet: 67% center;
    --careers-cta-image-position-mobile: 70% center;

    --careers-cta-image-scale-desktop: 1.12;
    --careers-cta-image-scale-mobile: 1.06;

    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: clamp(580px, 55vw, 780px);
    overflow: hidden;
    background-color: var(--careers-cta-red);
    isolation: isolate;
}

.careers-cta__media {
    position: absolute;
    inset: 0;
    z-index: -3;
    overflow: hidden;
}

.careers-cta__image {
    display: block;
    width: 100%;
    height: 112%;
    object-fit: cover;
    object-position: var(--careers-cta-image-position-desktop);
    transform: scale(var(--careers-cta-image-scale-desktop));
    transform-origin: center;
    will-change: transform;
}

.careers-cta__overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(
            90deg,
            rgba(227, 6, 19, 1) 0%,
            rgba(227, 6, 19, 0.98) 28%,
            rgba(227, 6, 19, 0.88) 44%,
            rgba(227, 6, 19, 0.58) 62%,
            rgba(227, 6, 19, 0.18) 82%,
            rgba(227, 6, 19, 0.04) 100%
        );
}

.careers-cta__container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: inherit;
}

.careers-cta__content {
    width: min(100%, 650px);
    padding-block: clamp(4rem, 8vw, 7rem);
    color: var(--careers-cta-white);
}

.careers-cta__eyebrow {
    margin: 0 0 0.8rem;
    font-size: clamp(0.8rem, 1vw, 0.95rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.careers-cta__title {
    max-width: 620px;
    margin: 0;
    font-size: clamp(3rem, 6.5vw, 6rem);
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: -0.045em;
    text-wrap: balance;
    color: var(--careers-cta-white);
}

.careers-cta__description {
    max-width: 590px;
    margin: clamp(1.25rem, 2vw, 1.75rem) 0 0;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
}

.careers-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: min(100%, 290px);
    min-height: 58px;
    margin-top: clamp(1.75rem, 3vw, 2.5rem);
    padding: 0.9rem 2rem;
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    font-weight: 800;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    color: var(--careers-cta-white);
    background-color: var(--careers-cta-green);
    border: 2px solid var(--careers-cta-green);
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(0, 100, 52, 0.3);
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
    cursor: pointer;
}

.careers-cta__button:hover {
    color: var(--careers-cta-white);
    background-color: var(--careers-cta-green-dark);
    border-color: var(--careers-cta-green-dark);
    box-shadow: 0 18px 35px rgba(0, 75, 31, 0.34);
    transform: translateY(-2px);
}

.careers-cta__button:focus-visible {
    outline: 3px solid var(--careers-cta-white);
    outline-offset: 4px;
}


    /* Section: Events */
    .events-promo {
        position: relative;
        overflow: hidden;
    }

    .events-promo__subtitle {
        font-size: 1.1rem;
    }

    .events-promo__card {
        position: relative;
        z-index: 1;
        border-radius: 12px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
        transform-origin: center center;
        cursor: pointer;
    }

    .events-promo__badge {
        position: absolute;
        top: 15px;
        left: 15px;
        z-index: 10;
        padding: 5px 12px;
        font-weight: 800;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
        color: var(--white);
        background-color: var(--amber-gold);
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }

    .events-promo__img {
        display: block;
        border-radius: 12px;
    }

    /* Brand */
    .brand-banner {
        width: 100%;
    }

    .brand-banner__wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 250px; 
    }

    .brand-banner__logo {
        width: 100%;
        height: auto;
        max-width: 450px;
        object-fit: contain;
        filter: drop-shadow(0px 5px 0px rgba(0, 0, 0, 0.15));
        transition: transform 0.3s ease; 
    }

    .brand-banner__logo:hover {
        transform: scale(1.05);
    }

    .brand-banner__popsicle {
        position: absolute;
        z-index: 0;
        width: clamp(60px, 10vw, 120px);
        opacity: 0;
        filter: drop-shadow(0px 15px 10px rgba(0, 0, 0, 0.4));
        pointer-events: none;
    }

    .brand-banner__popsicle--left {
        top: 15%;
        left: 15%;
        transform: rotate(-15deg);
    }

    .brand-banner__popsicle--right {
        right: 15%;
        bottom: 20%;
        transform: rotate(20deg);
    }

    .brand-products {
        color: var(--white);
        overflow: hidden;
    }

    .brand-products__header {
        max-width: 760px;
        margin-bottom: 3rem;
        margin-inline: auto;
    }

    .brand-products__subtitle {
        font-size: 1.1rem;
    }

    .brand-products__menu-btn {
        padding: 0.85rem 1.5rem;
        font-weight: 700;
        color: var(--white);
        background-color: var(--primary-scarlet);
        border-radius: 999px;
        transition: 
            transform 0.3s ease, 
            background-color 0.3s ease;
    }

    .brand-products__menu-btn:hover {
        color: var(--white);
        transform: translateY(-2px);
    }

    /* Section: Footer */
    .footer {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    }

    .footer__main {
        background-color: var(--parchment);
        overflow: hidden;
    }

    .footer__description {
        font-size: 1.1rem;
        font-weight: 400;
        line-height: 1.5;
        text-align: left;
        color: var(--ink-black);
    }

    .footer__social-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        text-decoration: none;
        background-color: var(--medium-jungle);
        border-radius: 8px;
        transition: 
            transform 0.2s ease, 
            opacity 0.2s ease;
        user-select: none;
        -webkit-user-select: none;
        -webkit-user-drag: none;
    }

    .footer__social-link:hover {
        opacity: 0.85;
        transform: translateY(-2px);
    }

    .footer__social-link:focus-visible {
        outline: 3px solid var(--turf-green);
        outline-offset: 3px;
    }

    .footer__logo-text {
        display: block;
        margin: 0 0 -0.05em;
        font-size: clamp(2.3rem, 8.1vw, 7.2rem);
        font-weight: 700;
        line-height: 0.75;
        letter-spacing: -0.04em;
        white-space: nowrap; 
        color: var(--medium-jungle);
    }

    .footer__bottom {
        font-size: 0.875rem;
        background-color: var(--medium-jungle);
    }
    
    .footer__copyright,
    .footer__credits {
        color: var(--platinum);
    }

    /* WhatsApp */
    .floating-wa {
        position: fixed;
        right: 24px;
        bottom: 24px;
        z-index: 1050;
        width: 50px;
        height: 50px;
        background-color: var(--malachite);
        border-radius: 50%;
        transition: 
            transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
            box-shadow 0.3s ease;
        user-select: none;
        -webkit-user-select: none;
        -webkit-user-drag: none;
    }

    .floating-wa:hover,
    .floating-wa:focus {
        background-color: var(--jade-green);
        transform: scale(1.1) translateY(-4px);
    }

    .floating-wa__icon {
        width: 32px;
        height: 32px;
    }

}

@layer animations {

    @keyframes hero-bounce {

        0%, 20%, 50%, 80%, 100% {
            transform: translateY(0);
        }

        40% {
            transform: translateY(-10px);
        }

        60% {
            transform: translateY(-5px);
        }

    }

}

@layer responsive {

    @media (max-width: 991px) {

        .header__menu {
            padding-block: 1rem;
            text-align: center;
        }

        .header__actions {
            justify-content: center;
            gap: 1rem;
            padding-bottom: 1rem;
        }

        .header__btn-shop {
            min-height: 44px;
        }

        .header__dropdown-shop {
            display: flex;
            justify-content: center;
        }

        .about__media {
            transform-origin: center center;
        }

        .careers-cta {
        min-height: clamp(580px, 78vw, 720px);
    }

    .careers-cta__image {
        object-position: var(--careers-cta-image-position-tablet);
    }

    .careers-cta__overlay {
        background:
            linear-gradient(
                90deg,
                rgba(227, 6, 19, 1) 0%,
                rgba(227, 6, 19, 0.98) 38%,
                rgba(227, 6, 19, 0.78) 65%,
                rgba(227, 6, 19, 0.28) 100%
            );
    }

    .careers-cta__content {
        width: min(100%, 560px);
    }

    }

    @media (max-width: 768px) {

        .top-bar {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 8px 1rem;
        }

        .top-bar__left {
            display: none; 
        }

        .top-bar__msg {
            margin: 0;
            font-size: 0.85rem;
            line-height: 1.4;
            text-align: center;
        }

        .top-bar__right {
            justify-content: center;
            gap: 1rem;
            width: 100%;
        }
    
        .top-bar__divider {
            font-size: 0.8rem;
        }

        .hero {
            height: 60svh;
        }
        
        .hero__slide img {
            background-color: var(--black);
            object-fit: contain; 
        }

        .hero__title {
            font-size: 2.3rem; 
        }

        .hero__subtitle {
            font-size: 1rem;
        }

        .hero {
            height: 100svh;
            min-height: 620px;
        }

        .hero__slider,
        .hero__slider .swiper-wrapper,
        .hero__slide {
            width: 100%;
            height: 100%;
        }

        .hero__slide img,
        .hero__media {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: var(--hero-position-mobile, center center);
        }

        .hero__overlay {
            background: linear-gradient(to bottom,
                rgba(0, 0, 0, 0.68),
                rgba(0, 0, 0, 0.76)
            );
        }

        .hero__content {
            padding-inline: 1.25rem;
        }

        .hero__content-inner {
            max-width: 100%;
        }

        .hero__title {
            margin-bottom: 1.25rem;
            font-size: clamp(2.2rem, 10vw, 3.2rem);
            line-height: 1.05;
        }

        .hero__subtitle {
            max-width: 340px;
            margin-bottom: 1.75rem;
            font-size: 1rem;
            line-height: 1.6;
        }

        .hero__actions {
            gap: 0.75rem;
        }

        .hero__btn {
            min-width: 150px;
            padding: 0.9rem 1.5rem;
            font-size: 0.95rem;
        }

        .hero__scroll {
            bottom: 1.25rem;
        }

        .hero__scroll-icon {
            width: 1.75rem;
            height: 1.75rem;
        }.offers {
        padding-block: 60px;
    }

    .offers__heading {
        margin-bottom: 25px;
        padding-inline: 20px;
    }

    .offers__slider {
        margin-inline: -12px;
        padding-inline: 0;
    }

    .offers__swiper {
        padding-block: 15px;
    }

    .offers__swiper .offers__slide {
        width: calc(100vw - 60px);
        max-width: 340px;
        min-height: 440px;
    }

    .offers__navigation {
        display: none;
    }

    .offers__content {
        gap: 20px;
        padding: 22px 18px 24px;
    }

    .offers__name {
        font-size: 1.0625rem;
    }

    .offers__current-price {
        font-size: 1.375rem;
    }

    .offers__pagination {
        padding-top: 20px;
    }



        .brand-banner__popsicle--left {
            left: 5%;
        }

        .brand-banner__popsicle--right {
            right: 5%;
        }

        .footer__description {
            text-align: center;
        }

        .footer__logo-text {
            margin-bottom: -0.15em; 
        }

        .floating-wa {
            right: 16px;
            bottom: 16px;
            width: 52px;
            height: 52px;
        }

        .floating-wa__icon {
            width: 26px;
            height: 26px;
        }

        .careers-cta {
        align-items: flex-end;
        min-height: clamp(650px, 175vw, 820px);
    }

    .careers-cta__image {
        height: 108%;
        object-position: var(--careers-cta-image-position-mobile);
        transform: scale(var(--careers-cta-image-scale-mobile));
    }

    .careers-cta__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(227, 6, 19, 0.08) 0%,
                rgba(227, 6, 19, 0.18) 24%,
                rgba(227, 6, 19, 0.78) 54%,
                rgba(227, 6, 19, 0.97) 72%,
                rgba(227, 6, 19, 1) 100%
            );
    }

    .careers-cta__container {
        align-items: flex-end;
    }

    .careers-cta__content {
        width: 100%;
        padding-block: 15rem 3rem;
        text-align: center;
    }

    .careers-cta__title {
        max-width: 520px;
        margin-inline: auto;
        font-size: clamp(2.8rem, 14vw, 4.5rem);
        line-height: 0.98;
    }

    .careers-cta__description {
        max-width: 500px;
        margin-inline: auto;
        font-size: 1rem;
        line-height: 1.6;
    }

    .careers-cta__button {
        width: min(100%, 320px);
    }

    }

    @media (min-width: 768px) {

        .events-promo__grid .col-md-4:nth-child(2) {
            transform: translateY(30px); 
        }

    }

    @media (max-width: 420px) {

        .hero__title {
            font-size: clamp(2rem, 9vw, 2.6rem);
        }

        .hero__subtitle {
            font-size: 0.95rem;
        }

        .hero__btn {
            min-width: 145px;
            padding: 0.85rem 1.25rem;
        }
        
        .departments {
            --departments-gap: 0.55rem;
            --departments-radius: 14px;
            --departments-row-height: clamp(82px, 27vw, 120px);
        }

        .departments__mosaic {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .departments__item:nth-child(1) {
            grid-column: span 1;
            grid-row: span 2;
        }

        .departments__item:nth-child(2) {
            grid-column: span 2;
            grid-row: span 2;
        }

        .departments__item:nth-child(3) {
            grid-column: span 1;
            grid-row: span 1;
        }

        .departments__item:nth-child(4) {
            grid-column: span 2;
            grid-row: span 2;
        }

        .departments__item:nth-child(5) {
            grid-column: span 1;
            grid-row: span 2;
        }

        .departments__item:nth-child(6) {
            grid-column: span 1;
            grid-row: span 1;
        }

        .departments__item:nth-child(7) {
            grid-column: span 1;
            grid-row: span 2;
        }

        .departments__item:nth-child(8) {
            grid-column: span 2;
            grid-row: span 1;
        }

        .departments__item:nth-child(9) {
            grid-column: span 3;
            grid-row: span 2;
        }

        .departments__overlay {
            padding: 0.7rem;
        }

        .departments__title {
            font-size: clamp(0.8rem, 3.6vw, 1.1rem);
            line-height: 1.05;
        }

        .careers-cta {
        min-height: 700px;
    }

    .careers-cta__content {
        padding-top: 16rem;
        padding-bottom: 2.5rem;
    }

    .careers-cta__title {
        font-size: clamp(2.65rem, 15vw, 3.6rem);
    }

    .careers-cta__description {
        font-size: 0.95rem;
    }

    }
    
}