:root {
    /* Color Palette */
    --bg-cream: #F5EDD6;
    --espresso-dark: #3B1F0A;
    --mid-brown: #6B3A1F;
    --muted-brown: #A0714F;
    --accent-amber: #C8864A;
    --accent-coral: #E8725A;
    --white: #FFFFFF;
    
    /* Drink Type Circle Colors */
    --circle-mocha: #E8725A;
    --circle-vanilla: #D4AA70;
    --circle-berry: #C0476A;
    --circle-matcha: #2D6A4F;
    --circle-strawberry: #FF8A8A;
}

body {
    background-color: var(--bg-cream);
    color: var(--mid-brown);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, .font-heading, .font-luxury {
    color: var(--espresso-dark);
    font-weight: 800;
    font-family: 'Inter', sans-serif;
}

/* Base Utility */
.pill-button {
    background-color: var(--espresso-dark);
    color: #FAF9F6;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(59, 31, 10, 0.2);
    cursor: pointer;
}

.pill-button:hover {
    transform: translateY(-4px) scale(1.02);
    background-color: var(--mid-brown);
    box-shadow: 0 15px 40px rgba(59, 31, 10, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.pill-button:active {
    transform: translateY(-1px) scale(0.98);
}

.badge-gold {
    background-color: var(--accent-amber);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.nav-logo-link {
    text-decoration: none;
    transition: transform 0.3s ease;
}

.nav-logo-link:hover {
    transform: scale(1.08);
}

.logo-circle-container {
    width: 65px;
    height: 65px;
    background: var(--espresso-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border: none;
    overflow: hidden;
    position: relative;
    z-index: 50;
}

.logo-circle-container img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

/* Navigation */
.nav-container {
    padding: 1.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--mid-brown);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--espresso-dark);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Hero Slider Section */
.hero-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: visible; /* Changed from hidden to allow splash to bleed out */
    background-color: transparent;
}

.welcome-page {
    display: block;
}

.hero-slides {
    position: relative;
    width: 100%;
    min-height: 700px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1), visibility 2s;
    z-index: 1;
    will-change: opacity, transform;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 2;
}

/* Keep center hero image static during slide changes */
.hero-slide .hero-product-img {
    transition: opacity 2s ease;
    transform: none;
}

.hero-slide.active .hero-product-img {
    transform: none;
}

/* Smooth staggered content animations */
.hero-slide .hero-content,
.hero-slide .hero-features {
    transition: transform 2.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 2s ease;
    transform: translate3d(0, 30px, 0);
    opacity: 0;
    will-change: transform, opacity;
}

.hero-slide.active .hero-content,
.hero-slide.active .hero-features {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

.hero-slide.active .hero-content { transition-delay: 0.1s; }
.hero-slide.active .hero-features { transition-delay: 0.3s; }

.slider-nav {
    position: absolute;
    bottom: 50px;
    left: 5rem;
    display: flex;
    gap: 1.5rem;
    z-index: 50;
    align-items: center;
}

.slider-dot {
    width: 40px;
    height: 3px;
    background: rgba(59, 31, 10, 0.15);
    border: none;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.slider-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--espresso-dark);
    transition: width 0s;
}

.slider-dot.active {
    width: 80px;
    background: rgba(59, 31, 10, 0.1);
}

.slider-dot.active::after {
    width: 100%;
    transition: width 6.5s linear; /* Matches the new slideshow interval */
}

.hero-wrapper {
    display: flex;
    flex-direction: column;
    padding: 0;
    position: relative;
    background-color: var(--bg-cream);
}

.hero-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.3fr 1fr;
    align-items: center;
    padding: 2rem 5rem 0;
    gap: 4rem;
    position: relative;
    z-index: 10;
}

.hero-content {
    padding-right: 0;
}

.hero-content h1 {
    font-size: 4.2rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.hero-image-center {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 580px; /* Ensures the grid row expands to fit the 520px circle + breathing room */
}

.hero-mobile-cta {
    display: none;
}

.hero-circle {
    width: 520px;
    height: 520px;
    background-color: var(--accent-coral);
    border-radius: 50%;
    position: absolute;
    z-index: 1;
    overflow: hidden; /* Ensure images are contained within the circle */
}

.hero-product-img {
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-logo-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    background: var(--espresso-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: none;
    z-index: 5;
    animation: float 4s ease-in-out infinite;
}

.hero-logo-badge img {
    height: 50%;
    width: auto;
    object-fit: contain;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-left: 2rem;
}

.feature-card {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--accent-amber);
    overflow: hidden;
    flex-shrink: 0;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The Asymmetrical Black Curved Section from Reference */
.hero-bottom-section {
    background: #19171b;
    border-radius: 180px 180px 0 0; /* Curved on both sides */
    margin-top: 10rem; /* Increased gap to push the entire section down */
    padding: 6rem 4rem 8rem; /* More padding for a more premium, spacious feel */
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.tablet-fill-section {
    display: none;
}

.tablet-fill-card {
    background: transparent;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 0.95rem 0.25rem 1rem;
    text-align: center;
    box-shadow: none;
}

.tablet-fill-kicker {
    color: rgba(200, 134, 74, 0.9);
    font-size: 0.55rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 0 0.4rem;
}

.tablet-fill-card h3 {
    color: #fff;
    font-size: 0.88rem;
    margin: 0 0 0.35rem;
}

.tablet-fill-copy {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.65rem;
    line-height: 1.35;
    margin: 0 0 0.8rem;
}

.tablet-fill-actions {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
}

.tablet-fill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    padding: 0.42rem 0.62rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tablet-fill-btn-primary {
    background: var(--accent-amber);
    border-color: var(--accent-amber);
    color: var(--espresso-dark);
}

.activity-flyer {
    display: none;
}

.promo-flyer-slot {
    width: 100%;
    display: block;
    position: relative;
    border-radius: 1.1rem;
    overflow: hidden;
    background: linear-gradient(140deg, #5f341d, #3b1f0a);
    min-height: 170px;
    border: 1px solid rgba(255, 228, 184, 0.2);
    box-shadow: 0 14px 30px rgba(48, 26, 12, 0.28);
}

.promo-flyer-img {
    width: 100%;
    height: 100%;
    min-height: 170px;
    object-fit: cover;
    display: block;
}

.promo-flyer-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: rgba(255, 235, 205, 0.95);
    text-align: center;
    pointer-events: none;
}

.promo-flyer-fallback span {
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    font-weight: 900;
}

.promo-flyer-fallback small {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
}

.promo-popup {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    display: none;
    z-index: 100000000;
    pointer-events: none;
}

.promo-popup.active {
    display: block;
}

.promo-popup-backdrop {
    display: none;
}

.promo-popup-panel {
    position: relative;
    width: min(360px, calc(100vw - 2rem));
    border-radius: 0.9rem;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #3b1f0a;
    pointer-events: auto;
}

.promo-popup-close {
    position: absolute;
    right: 0.7rem;
    top: 0.7rem;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(17, 14, 21, 0.72);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.promo-popup-close svg {
    width: 1rem;
    height: 1rem;
}

.promo-popup-img {
    width: 100%;
    max-height: min(52vh, 420px);
    object-fit: cover;
    display: block;
}

.promo-popup-fallback {
    display: none;
    min-height: 260px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.55rem;
    color: rgba(255, 241, 210, 0.95);
    text-align: center;
    padding: 1.1rem 1.2rem 1.3rem;
}

.promo-fallback-kicker {
    margin: 0;
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(248, 197, 124, 0.95);
}

.promo-popup-fallback span {
    font-size: 1.4rem;
    letter-spacing: 0.12em;
    font-weight: 900;
    line-height: 1.1;
}

.promo-popup-fallback small {
    font-size: 0.76rem;
    letter-spacing: 0.02em;
    color: rgba(255, 236, 204, 0.86);
    max-width: 32ch;
}

.promo-fallback-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 0.2rem;
}

.promo-fallback-tags span {
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffe6c3;
    border: 1px solid rgba(255, 222, 173, 0.4);
    border-radius: 999px;
    padding: 0.32rem 0.56rem;
    background: rgba(255, 255, 255, 0.06);
}

.promo-fallback-cta {
    margin-top: 0.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 128px;
    padding: 0.52rem 0.86rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #3b1f0a;
    background: #f2bd78;
    border: 1px solid #f2bd78;
}

.bottom-drink-item {
    text-align: center;
    margin-top: -11.625rem; /* Centers the 180px circle on the top edge (padding 6rem + half-height 5.625rem) */
    z-index: 30;
    width: 280px;
}

.drink-circle-wrapper {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--circle-vanilla);
    overflow: hidden; /* Contain images to the circle */
    border: none;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3); /* Adjusted shadow for depth without border */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.drink-circle-wrapper:hover {
    transform: scale(1.05) translateY(-10px);
}

.drink-circle-wrapper img {
    width: 100%; /* No pop out, keep inside */
    height: 100%;
    object-fit: cover;
    z-index: 5;
}

.drink-name {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
    display: block;
}

.add-to-order {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s;
}

.add-to-order:hover {
    color: var(--white);
}


.drink-name {
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    display: block;
    letter-spacing: -0.02em;
}

.add-to-order {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    padding: 0.9rem 2.2rem;
    border-radius: 99px;
    color: #FAF9F6;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 2rem auto 0;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    z-index: 10;
}

.add-to-order::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #FAF9F6;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.add-to-order:hover {
    color: var(--espresso-dark);
    border-color: #FAF9F6;
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(255, 255, 255, 0.15);
}

.add-to-order:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.add-to-order svg {
    width: 14px;
    height: 14px;
    stroke-width: 3.5;
    transition: transform 0.6s ease;
}

.add-to-order:hover svg {
    transform: rotate(90deg) scale(1.1);
}

.add-to-order:active {
    transform: translateY(-2px) scale(0.96);
}

@media (max-width: 1024px) {
    .hero-bottom-drinks {
        padding: 2rem;
        gap: 2rem;
    }
    .drink-circle-wrapper {
        width: 100px;
        height: 100px;
    }
}

.feature-text h4 {
    margin: 0;
    font-size: 1.1rem;
}

.feature-text p {
    margin: 5px 0 0;
    font-size: 0.85rem;
    color: var(--muted-brown);
    line-height: 1.4;
}

.coffee-splash {
    position: absolute;
    top: 450px;
    right: -180px;
    width: 550px;
    opacity: 0.75;
    pointer-events: none;
    transform: scaleX(-1) rotate(25deg);
    z-index: 0;
    mix-blend-mode: multiply;
    filter: brightness(1) contrast(1.1) drop-shadow(0 15px 30px rgba(0,0,0,0.1));
}

/* Stats Strip */
.stats-strip {
    background-color: var(--espresso-dark);
    display: flex;
    justify-content: space-around;
    padding: 3rem;
    color: var(--white);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Menu Page */
.menu-search-full {
    width: 100%;
    max-width: 800px;
    margin: 4rem auto;
    position: relative;
}

.menu-search-full input {
    width: 100%;
    padding: 1.25rem 3rem;
    border-radius: 9999px;
    border: 1px solid rgba(0,0,0,0.1);
    background: var(--white);
    font-size: 1rem;
    outline: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.category-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    padding: 0;
    min-width: 100px;
}

.category-icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border: 2px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.category-btn.active .category-icon-wrapper {
    background-color: var(--accent-amber);
    border-color: var(--accent-amber);
    box-shadow: 0 8px 20px rgba(200, 134, 74, 0.3);
}

.category-name {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted-brown);
    transition: all 0.3s ease;
    max-width: 120px;
    line-height: 1.2;
}

.category-btn.active .category-name {
    color: var(--espresso-dark);
}

.category-btn svg {
    width: 24px;
    height: 24px;
    fill: var(--mid-brown);
    transition: all 0.3s ease;
}

.category-btn.active svg {
    fill: var(--white);
}

/* Product Cards */
.product-card {
    background: var(--white);
    border-radius: 30px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-item {
    height: 100%;
}

.card-circle-bg {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Mask the image to the circle */
    border: 5px solid var(--espresso-dark);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-card h3 {
    min-height: 3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card p {
    min-height: 2.8rem;
}

.product-card .text-2xl {
    margin-top: auto;
}


/* Modal Centered */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 14, 17, 0.7);
    backdrop-filter: blur(15px);
    display: none;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-drawer {
    width: 100%;
    max-width: 550px;
    max-height: 92vh;
    background: var(--bg-cream);
    box-shadow: 0 50px 120px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    border-radius: 4rem;
    overflow: hidden;
    position: relative;
    animation: modalScaleIn 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes modalScaleIn {
    from { 
        transform: scale(0.8) translateY(40px);
        opacity: 0;
    }
    to { 
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.drawer-header {
    height: 350px;
    background: #DDD;
    position: relative;
}

.drawer-content {
    flex: 1;
    padding: 2.5rem;
    overflow-y: auto;
}

.size-selector {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.size-btn {
    flex: 1;
    padding: 0.75rem;
    border-radius: 12px;
    border: 2px solid rgba(0,0,0,0.05);
    background: var(--white);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.size-btn.active {
    border-color: var(--accent-amber);
    color: var(--accent-amber);
}

/* Responsive Helpers */
@media (min-width: 1024px) {
    .mobile-only {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    .desktop-only {
        display: none !important;
    }

    .nav-container {
        padding: 1rem 1.25rem;
    }

    .hero-slides {
        min-height: auto;
    }

    .hero-main-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem 1.25rem 0;
        text-align: center;
    }

    .hero-content {
        order: 1;
        padding-right: 0;
    }

    .hero-image-center {
        order: 2;
        min-height: auto;
        margin: 1rem 0;
    }

    .hero-features {
        order: 3;
        padding-left: 0;
        gap: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .slider-nav {
        position: static;
        justify-content: center;
        margin: 0.5rem 0 0;
        padding-bottom: 1.25rem;
    }

    .coffee-splash {
        width: 320px;
        right: -120px;
        top: auto;
        bottom: 120px;
        opacity: 0.35;
    }

    .hero-bottom-section {
        margin-top: 5rem;
        padding: 4rem 1.25rem 5rem;
        border-radius: 80px 80px 0 0;
        flex-wrap: wrap;
        gap: 2.5rem 1rem;
    }

    .bottom-drink-item {
        width: min(260px, 100%);
        margin-top: -7.5rem;
    }
}

@media (min-width: 768px) and (max-width: 1279px) {
    .welcome-page {
        min-height: calc(100dvh - 86px);
        display: flex;
        flex-direction: column;
    }

    .hero-slider-wrapper {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
    }

    .nav-container {
        padding: 1.1rem 1.6rem;
    }

    .hero-slides {
        min-height: auto;
    }

    .hero-main-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1.2rem;
        padding: 1.5rem 2rem 0;
        align-items: center;
        text-align: left;
    }

    .hero-content {
        text-align: left;
        padding-right: 0;
        order: initial;
    }

    .hero-content h1 {
        font-size: clamp(2.35rem, 4.3vw, 3.2rem);
        margin-bottom: 1.35rem;
    }

    .hero-content p {
        font-size: 1.05rem;
        margin-bottom: 1.2rem;
        max-width: none;
    }

    .hero-image-center {
        order: initial;
        min-height: 300px;
        margin: 0;
        align-items: center;
        justify-content: center;
        flex-direction: row;
        justify-self: center;
    }

    .hero-circle {
        position: relative;
        width: min(31vw, 280px);
        height: min(31vw, 280px);
    }

    .hero-features {
        margin: 0;
        padding-left: 0.75rem;
        gap: 1.15rem;
        order: initial;
    }

    .feature-card {
        gap: 0.7rem;
        align-items: flex-start;
    }

    .feature-icon {
        width: 62px;
        height: 62px;
        border-width: 2px;
    }

    .feature-text h4 {
        font-size: 0.94rem;
        line-height: 1.2;
    }

    .feature-text p {
        font-size: 0.74rem;
        line-height: 1.25;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-price-cta {
        display: block;
    }

    .hero-mobile-cta {
        display: none;
    }

    .slider-nav {
        position: static;
        justify-content: center;
        margin-top: 0.45rem;
        padding-bottom: 0.6rem;
    }

    .coffee-splash {
        display: none;
    }

    .hero-bottom-section {
        margin-top: auto;
        margin-bottom: 0;
        padding: 3.6rem 1.3rem 1rem;
        border-radius: 120px 120px 0 0;
        display: flex;
        justify-content: center;
        gap: 1.7rem;
    }

    .activity-flyer {
        display: block;
        margin: 0 auto 0.7rem;
        width: calc(100% - 1.8rem);
        max-width: none;
        transform: translateY(-7.8rem);
        position: relative;
        z-index: 6;
    }

    .promo-flyer-slot,
    .promo-flyer-img {
        min-height: 235px;
    }

    .tablet-fill-section {
        display: none !important;
    }

    .bottom-drink-item {
        margin-top: -4.8rem;
        width: min(210px, 30%);
        max-width: 220px;
    }

    .drink-circle-wrapper {
        width: min(17vw, 128px);
        height: min(17vw, 128px);
        margin: 0 auto 0.9rem;
    }

    .drink-name {
        font-size: 0.78rem;
        min-height: 1.95em;
        margin: 0.25rem 0 0;
    }

    .add-to-order {
        width: auto;
        max-width: none;
        margin-top: 0.65rem;
        padding: 0.52rem 0.78rem;
        font-size: 0.46rem;
        letter-spacing: 0.07em;
        gap: 0.35rem;
    }

    .add-to-order svg {
        width: 11px;
        height: 11px;
    }
}

@media (max-width: 767px) {
    .nav-container {
        padding: 0.9rem 1rem;
    }

    .logo-circle-container {
        width: 54px;
        height: 54px;
    }

    .logo-circle-container img {
        max-height: 33px;
    }

    .hero-main-grid {
        --hero-mobile-gap: 0.9rem;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: var(--hero-mobile-gap);
        text-align: left;
        align-items: start;
    }

    .hero-content {
        grid-column: 1 / -1;
        text-align: left;
    }

    .hero-content h1 {
        font-size: clamp(2.1rem, 9vw, 3rem);
        margin-bottom: 1.1rem;
    }

    .hero-content p {
        margin-bottom: 1.1rem;
        max-width: none;
    }

    .pill-button {
        padding: 0.85rem 1.5rem;
        font-size: 0.62rem;
        letter-spacing: 0.12em;
    }

    .hero-image-center {
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
        margin: 0.4rem 0 0;
        gap: 0.85rem;
        min-height: auto;
    }

    .hero-circle {
        position: relative;
        width: min(44vw, 180px);
        height: min(44vw, 180px);
    }

    .hero-price-cta {
        display: none;
    }

    .hero-mobile-cta {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.85rem;
        flex-wrap: nowrap;
        white-space: nowrap;
        width: calc(200% + var(--hero-mobile-gap) - 1rem);
        max-width: none;
        padding-right: 0;
    }

    .hero-mobile-cta .text-3xl {
        font-size: 1.45rem;
        line-height: 1.1;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .hero-mobile-cta .pill-button {
        flex-shrink: 0;
        padding: 0.62rem 1.08rem;
        font-size: 0.52rem;
        letter-spacing: 0.09em;
        gap: 0.35rem;
        margin-left: 0.2rem;
    }

    .feature-card {
        gap: 0.55rem;
        align-items: flex-start;
        min-height: 38px;
    }

    .feature-icon {
        width: 36px;
        height: 36px;
        border-width: 2px;
    }

    .feature-text h4 {
        font-size: 0.75rem;
        line-height: 1.15;
    }

    .feature-text p {
        font-size: 0.6rem;
        line-height: 1.15;
        margin-top: 0.2rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-features {
        margin: 0;
        gap: 0.5rem;
        padding-left: 0.15rem;
        padding-top: 0.25rem;
    }

    .coffee-splash {
        display: none;
    }

    .slider-nav {
        margin-top: 0.75rem;
        padding-bottom: 0.8rem;
    }

    .hero-bottom-section {
        margin-top: 3rem;
        border-radius: 56px 56px 0 0;
        padding: 4.1rem 0.85rem 2.3rem;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.7rem;
        align-items: start;
    }

    .bottom-drink-item {
        margin-top: -6rem;
        width: 100%;
        max-width: none;
    }

    .drink-circle-wrapper {
        width: min(29vw, 108px);
        height: min(29vw, 108px);
        margin: 0 auto 0.7rem;
    }

    .drink-name {
        font-size: 0.74rem;
        margin: 0.35rem 0 0;
        line-height: 1.2;
        min-height: 1.8em;
    }

    .add-to-order {
        margin-top: 0.65rem;
        padding: 0.5rem 0.62rem;
        letter-spacing: 0.08em;
        font-size: 0.48rem;
        gap: 0.3rem;
        border-width: 1px;
        width: 100%;
        max-width: 112px;
    }

    .add-to-order svg {
        width: 11px;
        height: 11px;
    }

    .modal-overlay {
        padding: 0.75rem;
    }

    .modal-drawer {
        width: 100%;
        max-height: 94vh;
        border-radius: 2rem;
    }

    .drawer-header {
        height: 240px;
    }

    .drawer-content {
        padding: 1.25rem;
    }

    .size-btn {
        min-width: 3.25rem;
        height: 2.75rem;
    }
}

@media (max-width: 420px) {
    .nav-actions {
        gap: 0.6rem;
    }

    .hero-main-grid {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .hero-main-grid {
        --hero-mobile-gap: 0.55rem;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: var(--hero-mobile-gap);
    }

    .hero-circle {
        width: min(42vw, 152px);
        height: min(42vw, 152px);
    }

    .hero-mobile-cta .text-3xl {
        font-size: 1.25rem;
    }

    .hero-mobile-cta .pill-button {
        padding: 0.56rem 0.86rem;
        font-size: 0.48rem;
        letter-spacing: 0.06em;
        margin-left: 0.15rem;
    }

    .feature-icon {
        width: 30px;
        height: 30px;
    }

    .feature-text h4 {
        font-size: 0.64rem;
    }

    .feature-text p {
        font-size: 0.52rem;
    }

    .hero-mobile-cta {
        width: calc(200% + var(--hero-mobile-gap) - 0.9rem);
        padding-right: 0;
    }

    .slider-dot {
        width: 28px;
    }

    .slider-dot.active {
        width: 56px;
    }

    .hero-bottom-section {
        padding: 3.35rem 0.5rem 2rem;
        gap: 0.45rem;
        border-radius: 42px 42px 0 0;
    }

    .bottom-drink-item {
        margin-top: -4.95rem;
    }

    .drink-circle-wrapper {
        width: min(28vw, 88px);
        height: min(28vw, 88px);
        margin-bottom: 0.55rem;
    }

    .drink-name {
        font-size: 0.66rem;
    }

    .add-to-order {
        max-width: 94px;
        font-size: 0.43rem;
        padding: 0.42rem 0.5rem;
        letter-spacing: 0.05em;
    }

    .add-to-order svg {
        width: 10px;
        height: 10px;
    }
}

@media (min-width: 1536px) {
    .hero-main-grid {
        max-width: 1680px;
        margin-inline: auto;
        grid-template-columns: 1.1fr 1.2fr 1fr;
        gap: 5.5rem;
    }

    .hero-content h1 {
        font-size: 5rem;
    }

    .hero-circle {
        width: 590px;
        height: 590px;
    }

    .hero-bottom-section {
        gap: 5rem;
    }
}

@media (min-width: 1280px) and (max-width: 1535px) {
    .hero-slides {
        min-height: 620px;
    }

    .hero-main-grid {
        padding-top: 1.2rem;
        gap: 3.2rem;
    }

    .hero-image-center {
        min-height: 500px;
    }

    .hero-circle {
        width: 460px;
        height: 460px;
    }

    .hero-bottom-section {
        margin-top: 6.5rem;
        padding-top: 5.1rem;
    }

    .bottom-drink-item {
        margin-top: -9.7rem;
    }

    .activity-flyer {
        display: none !important;
    }

    .promo-flyer-slot,
    .promo-flyer-img {
        min-height: 210px;
    }
}

@media (min-width: 1536px) {
    .activity-flyer {
        display: none;
    }

    .promo-flyer-slot,
    .promo-flyer-img {
        min-height: 230px;
    }
}

@media (min-width: 1280px) {
    .activity-flyer {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .promo-popup {
        right: 0.55rem;
        bottom: 0.55rem;
    }

    .promo-popup-panel {
        width: min(290px, calc(100vw - 1.1rem));
        border-radius: 0.75rem;
    }

    .promo-popup-img {
        max-height: min(36vh, 210px);
    }

    .promo-popup-fallback {
        min-height: 170px;
        padding: 0.75rem 0.7rem 0.85rem;
        gap: 0.4rem;
    }

    .promo-fallback-kicker {
        font-size: 0.44rem;
        letter-spacing: 0.16em;
    }

    .promo-popup-fallback span {
        font-size: 0.95rem;
        letter-spacing: 0.08em;
    }

    .promo-popup-fallback small {
        font-size: 0.6rem;
        max-width: 26ch;
    }

    .promo-fallback-tags {
        gap: 0.24rem;
    }

    .promo-fallback-tags span {
        font-size: 0.42rem;
        padding: 0.22rem 0.4rem;
        letter-spacing: 0.06em;
    }

    .promo-fallback-cta {
        min-width: 98px;
        padding: 0.4rem 0.6rem;
        font-size: 0.46rem;
        letter-spacing: 0.08em;
    }

    .promo-popup-close {
        width: 1.75rem;
        height: 1.75rem;
        right: 0.45rem;
        top: 0.45rem;
    }
}
