/* ============================================
   Chio Exxtra Voting Promo 2026
   Single carousel — each slide = full flavor column
   ============================================ */

.promo-exxtra {
    overflow: hidden;
}

body:has(.promo-exxtra) {
    background-color: #ffd12f;
}

body:has(.promo-exxtra) .main {
    background-color: #ffd12f;
}

/* ---- Owl Carousel overrides ---- */

.promo-exxtra .owl-carousel .owl-stage {
    display: flex;
}

.promo-exxtra .owl-carousel .owl-stage-outer {
    overflow: hidden;
}

/* ---- Slide (full flavor column) ---- */

.promo-slide {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Flavor background colors */
.flavor-bacon {
    background: #ef4b4a;
}
.flavor-mango {
    background: #8d266b;
}
.flavor-bolognese {
    background: #f5812a;
}

/* Full-height background pattern (spans all 3 sections) */
.slide-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.flavor-bacon .slide-bg-pattern {
    background: linear-gradient(to bottom, #da002e, #b8001f);
    -webkit-mask-image: url('/static/img/promo-exxtra/Bacon_pattern.svg');
    mask-image: url('/static/img/promo-exxtra/Bacon_pattern.svg');
    -webkit-mask-repeat: repeat;
    mask-repeat: repeat;
    -webkit-mask-size: auto 100px;
    mask-size: auto 100px;
    opacity: 0.8;
}

.flavor-mango .slide-bg-pattern {
    background: #c14699;
    -webkit-mask-image: url('/static/img/promo-exxtra/Mango_pattern.svg');
    mask-image: url('/static/img/promo-exxtra/Mango_pattern.svg');
    -webkit-mask-repeat: repeat;
    mask-repeat: repeat;
    -webkit-mask-size: 75px auto;
    mask-size: 75px auto;
    opacity: 0.7;
}

.flavor-bolognese .slide-bg-pattern {
    background: linear-gradient(to bottom, #f9ad74, #d06a1e);
    -webkit-mask-image: url('/static/img/promo-exxtra/Bolognese_pattern.svg');
    mask-image: url('/static/img/promo-exxtra/Bolognese_pattern.svg');
    -webkit-mask-repeat: repeat;
    mask-repeat: repeat;
    -webkit-mask-size: 250px auto;
    mask-size: 250px auto;
    opacity: 0.7;
}

/* ---- Panel (each section within a slide) ---- */

.promo-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* ============================================
   SECTION 1: Hero
   ============================================ */

.hero-slide {
    text-align: center;
    color: #fff;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 80px 6vw 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: 1;
    min-height: 100vh;
    box-sizing: border-box;
}

.hero-subtitle {
    font-family: 'Saira', sans-serif;
    font-weight: 900;
    font-size: 8vw;
    margin-bottom: 2vw;
}

.hero-logo {
    width: 55vw;
    max-width: 300px;
    height: auto;
    margin-bottom: 3vw;
}

.hero-title {
    font-family: 'Saira', sans-serif;
    font-weight: 900;
    font-size: 10vw;
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 4vw;
    color: #fff;
}

.hero-title br + * {
    /*font-style: italic;*/
}

.hero-product {
    position: relative;
    margin-bottom: 4vw;
}

.hero-product-img {
    width: 75vw;
    max-width: 380px;
    height: auto;
}

.hero-hot-badge {
    position: absolute;
    top: -2vw;
    right: -4vw;
    width: 14vw;
    max-width: 70px;
    height: auto;
}

.hero-cta-wrap {
    filter: drop-shadow(3px 4px 0 rgba(140, 75, 0, 0.5));
    margin-bottom: 4vw;
    display: block;
    width: 93%;
    text-decoration: none;
}

.hero-cta-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.hero-arrow {
    position: absolute;
    bottom: 12vw;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-decoration: none;
}

.hero-arrow svg {
    width: 8vw;
    max-width: 40px;
    height: auto;
}

/* ============================================
   SECTION 2: Voting
   ============================================ */

.voting-slide {
    text-align: center;
    color: #fff;
}

.voting-content {
    position: relative;
    z-index: 1;
    padding: 2vw 6vw 4vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 0;
}

.voting-subtitle {
    font-family: 'Saira', sans-serif;
    font-weight: 700;
    font-size: 4.5vw;
    margin-bottom: 1vw;
}

.voting-title {
    font-family: 'Saira', sans-serif;
    font-weight: 900;
    font-size: 7vw;
    line-height: 1.1;
    text-transform: none;
    margin-bottom: 3vw;
    color: #fff;
    max-width: 85vw;
}

.voting-product {
    margin-bottom: 0;
    background: radial-gradient(circle at 50% 60%, rgba(255, 216, 0, 0.6) 0%, rgba(255, 216, 0, 0.3) 25%, rgba(255, 216, 0, 0) 55%);
}

.voting-product-img {
    width: 65vw;
    max-width: 360px;
    height: auto;
}

.voting-flavour-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3vw;
    margin-bottom: 2vw;
    margin-top: -80px;
    width: 100%;
}

.voting-flavour-img {
    width: 30vw;
    max-width: 150px;
    height: auto;
}

.voting-pick {
    font-family: 'Saira', sans-serif;
    font-weight: 800;
    font-size: 4.8vw;
    line-height: 1.15;
    text-transform: uppercase;
    text-align: center;
    color: #ffffff;
}

.voting-btn-svg {
    display: block;
    width: 93%;
    /*max-width: 320px;*/
    margin-bottom: 2vw;
    text-decoration: none;
    transition: transform 0.2s;
    filter: drop-shadow(3px 4px 0 rgba(140, 75, 0, 0.4));
}

.voting-btn-svg:hover {
    transform: scale(1.05);
}

.voting-btn-img {
    display: block;
    width: 100%;
    height: auto;
}

.voting-swipe {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    width: 100%;
    padding-right: 4vw;
    box-sizing: border-box;
    cursor: pointer;
    margin-top: -32px;
}

.voting-swipe-text {
    font-family: 'Saira', sans-serif;
    font-weight: 700;
    font-size: 4vw;
    line-height: 1.3;
    text-align: right;
    color: #fff;
    margin: 0;
}

.swipe-arrow {
    font-size: 10vw;
    color: #ffd100;
    font-weight: bold;
    line-height: 1;
}

/* ============================================
   SECTION 3: CTA Bottom
   ============================================ */

.cta-slide {
    text-align: center;
    color: #1a1a1a;
    align-items: flex-start;
}

/* Yellow background image — overlays the slide pattern */
.cta-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/static/img/promo-exxtra/Yellow_bottom_background.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    padding: 8vw 6vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.cta-info {
    font-family: 'Saira', sans-serif;
    font-size: 4.5vw;
    line-height: 1.3;
    margin-bottom: 3vw;
    color: #fff;
    font-weight: 700;
}

.cta-title {
    font-family: 'Saira', sans-serif;
    font-weight: 900;
    font-size: 10vw;
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 18vw;
    color: #fff;
}

.cta-new {
    font-family: 'Saira', sans-serif;
    font-weight: 800;
    font-size: 7vw;
    margin-bottom: 0;
    color: #333;
}

.cta-new strong {
    color: #c4161c;
    display: inline-block;
    transform: rotate(-8deg);
}

.cta-flavor {
    font-family: 'Saira', sans-serif;
    font-weight: 800;
    font-size: 7vw;
    color: #c4161c;
    margin-bottom: 2vw;
}

.cta-vote-info {
    font-family: 'Saira', sans-serif;
    font-size: 5vw;
    line-height: 1.4;
    margin-bottom: 4vw;
    color: #333;
    font-weight: 600;
    letter-spacing: -1px;
}

.cta-products {
    margin-bottom: 5vw;
}

.cta-product-img {
    width: 70vw;
    max-width: 360px;
    height: auto;
    cursor: pointer;
}

.cta-logo {
    margin-top: 2vw;
}

.cta-logo-img {
    width: 30vw;
    max-width: 150px;
    height: auto;
}

/* Flavor-specific CTA text colors (bottom text on yellow bg) */
.flavor-bacon .cta-new,
.flavor-bacon .cta-flavor,
.flavor-bacon .cta-vote-info {
    color: #c4161c;
}
.flavor-bacon .cta-new strong {
    color: #c4161c;
}

.flavor-mango .cta-new,
.flavor-mango .cta-flavor,
.flavor-mango .cta-vote-info {
    color: #8d266b;
}
.flavor-mango .cta-new strong {
    color: #8d266b;
}

.flavor-bolognese .cta-new,
.flavor-bolognese .cta-flavor,
.flavor-bolognese .cta-vote-info {
    color: #f5812a;
}
.flavor-bolognese .cta-new strong {
    color: #f5812a;
}


/* ============================================
   Suppress sticky header on this promo page
   ============================================ */

body:has(.promo-exxtra) .sticky-menu {
    display: none !important;
}

body:has(.promo-exxtra) .logo-head.hidden {
    display: flex !important;
}

body:has(.promo-exxtra) .hamburger.hidden {
    display: block !important;
}

/* ============================================
   Desktop Adjustments (768px+)
   ============================================ */

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 32px;
    }
    .hero-logo {
        width: 280px;
    }
    .hero-title {
        font-size: 52px;
    }
    .hero-product {
        margin-bottom: 0;
    }
    .hero-product-img {
        width: 520px;
        max-width: 520px;
    }
    .hero-hot-badge {
        width: 60px;
        top: -10px;
        right: -20px;
    }
    .hero-arrow {
        bottom: 24px;
    }
    .hero-arrow svg {
        width: 36px;
    }
    .hero-cta-wrap {
        margin-bottom: 1vw;
    }
    .hero-content {
        padding: 160px 40px 60px;
    }
    .voting-content,
    .cta-content {
        padding: 50px 40px;
    }

    .voting-subtitle {
        font-size: 18px;
    }
    .voting-title {
        font-size: 36px;
        max-width: 500px;
    }
    .voting-content {
        padding: 30px 40px 20px;
    }
    .voting-product-img {
        width: 500px;
        max-width: 500px;
    }
    .voting-flavour-row {
        margin-top: -124px;
    }
    .voting-flavour-img {
        width: 208px;
        max-width: 230px;
    }
    .voting-pick {
        font-size: 30px;
    }
    .voting-btn-svg {
        /*max-width: 360px;*/
    }
    .voting-swipe {
        margin-right: 0;
        padding-right: 0;
    }
    .voting-swipe-text {
        font-size: 16px;
    }
    .swipe-arrow {
        font-size: 40px;
    }

    .cta-bg-pattern {
        background-image: url('/static/img/promo-exxtra/Yellow_bottom_background_desktop.png');
        background-size: cover;
        background-position: center top;
    }

    .cta-info {
        font-size: 24px;
        font-weight: 800;
    }
    .cta-title {
        font-size: 52px;
    }
    .cta-new,
    .cta-flavor {
        font-size: 42px;
    }
    .cta-vote-info {
        font-size: 30px;
        line-height: 1.4;
    }
    .cta-product-img {
        width: 560px;
        max-width: 560px;
    }
    .cta-logo-img {
        width: 140px;
    }
}

/* ============================================
   SECTION 4: Results (outside carousel)
   ============================================ */

.results-section {
    position: relative;
    background-color: #ffd12f;
    text-align: center;
    overflow: hidden;
}

.results-content {
    position: relative;
    z-index: 1;
    padding: 8vw 4vw 10vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.results-title {
    font-family: 'Saira', sans-serif;
    font-weight: 900;
    font-size: 8vw;
    color: #c4161c;
    margin-bottom: 8vw;
    line-height: 1.1;
    text-transform: none;
}

.results-row {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: 2vw;
    width: 100%;
}

.results-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.results-packshot {
    width: 85vw;
    max-width: 360px;
    height: auto;
    display: block;
    margin-bottom: 2vw;
}

.results-label {
    font-family: 'Saira', sans-serif;
    font-weight: 700;
    font-size: 3vw;
    color: #c4161c;
    line-height: 1.2;
    margin-bottom: 1vw;
}

.results-pct {
    font-family: 'Saira', sans-serif;
    font-weight: 900;
    font-size: 8vw;
    color: #c4161c;
    margin: 0;
    line-height: 1;
}

.results-footnote {
    font-family: 'Saira', sans-serif;
    margin-top: 12vw;
    font-weight: 900;
    font-size: 5vw;
    color: #c4161c;
    margin-bottom: 8vw;
    line-height: 1.1;
    text-transform: none;
}

/* ============================================
   Large Desktop (1200px+)
   ============================================ */

@media (min-width: 768px) {
    .results-content {
        padding: 50px 40px 60px;
    }
    .results-title {
        font-size: 40px;
        margin-bottom: 40px;
    }
    .results-row {
        gap: 20px;
    }
    .results-packshot {
        width: 500px;
        max-width: 500px;
        margin-bottom: 16px;
    }
    .results-label {
        font-size: 15px;
        margin-bottom: 8px;
    }
    .results-pct {
        font-size: 42px;
    }
    .results-footnote {
        font-size: 30px;
        margin-top: 30px;
    }
}

@media (min-width: 1200px) {
    .hero-content,
    .voting-content,
    .cta-content {
        max-width: 600px;
        margin: 0 auto;
    }
    .results-content {
        max-width: 1100px;
        margin: 0 auto;
    }
    .results-packshot {
        width: 500px;
        max-width: 500px;
    }
}
