:root {
    --primary: #e63946;
    --secondary: #ffdd00;
    --text: #2b2b2b;
    --muted: #6c6c6c;
    --bg: #fff6e6;
    --card: #ffffff;
    --shadow: 0 20px 40px rgba(0,0,0,0.08);
    --radius: 20px;
    font-size: 16px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    padding-top: 0;
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

a {
    color: inherit;
}

.container {
    width: min(1200px, 92vw);
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: hidden;
}

.site-header {
    background: var(--card);
    box-shadow: var(--shadow);
    position: static;
    z-index: 100;
    width: 100%;
    pointer-events: auto;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 1.5rem;
    width: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text);
    flex-shrink: 0;
}

.brand__logo {
    max-height: 80px;
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
}

.brand__badge {
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    color: var(--text);
    display: inline-block;
    overflow: hidden;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 4px;
    height: 2px;
    background: var(--primary);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: all 0.3s ease;
    width: 0;
}

.main-nav a:hover {
    color: var(--primary);
    background: rgba(230, 57, 70, 0.05);
    transform: translateY(-1px);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-active::after {
    transform: translateX(-50%) scaleX(1);
    width: 70%;
}

.main-nav a.is-active {
    color: var(--primary);
    font-weight: 700;
}

/* Hide mobile toggle on desktop */
.nav-toggle {
    display: none;
    border: none;
    background: transparent;
    cursor: pointer;
}

/* Mobile menu styles */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        position: relative;
    }
    
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        pointer-events: none;
    }
    
    body.menu-open .mobile-menu-overlay {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    
    .main-nav ul {
        position: fixed !important;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        max-width: 85vw;
        background: var(--card);
        flex-direction: column;
        padding: 5rem 0 1rem;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        pointer-events: none;
        overflow-y: auto;
        list-style: none;
        margin: 0;
        visibility: hidden;
        will-change: transform;
    }

    .main-nav ul.is-open {
        transform: translateX(0) !important;
        pointer-events: auto !important;
        visibility: visible !important;
    }
    
    .site-header {
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
    }

    .main-nav a {
        display: block;
        padding: 0.875rem 1.5rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        transition: background 0.2s ease;
    }

    .main-nav a::after {
        display: none;
    }
    
    .main-nav a:hover,
    .main-nav a.is-active {
        background: rgba(230, 57, 70, 0.1);
        color: var(--primary);
    }
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 2px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    background: transparent;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

.cart-link:hover {
    background: rgba(230, 57, 70, 0.06);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.cart-link__icon {
    font-size: 1.1rem;
}

.cart-link__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.user-menu {
    position: relative;
    background: rgba(0,0,0,0.05);
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    cursor: pointer;
    flex-shrink: 0;
}

.user-menu ul {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    position: absolute;
    top: 110%;
    right: 0;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 160px;
    display: none;
}

.user-menu ul li a {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
}

.user-menu:hover ul {
    display: block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn--ghost {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn--danger {
    background: #aa1d24;
}

.btn--small {
    padding: 0.35rem 1rem;
    font-size: 0.9rem;
}

.btn--disabled {
    opacity: 0.4;
    pointer-events: none;
}

.section {
    padding: 4rem 0;
}

.section--accent {
    background: radial-gradient(circle at top, rgba(255,221,0,0.4), transparent 70%);
}

.section--secondary {
    background: #fff1b8;
}

.section--our-story {
    background-color: #fff1b8;
    background-image: url('/assets/img/our-story-background.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.section--our-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 241, 184, 0.7);
    z-index: 0;
}

.section--our-story > * {
    position: relative;
    z-index: 1;
}

.section--gallery {
    background-color: #fff1b8;
    background-image: url('/assets/img/gallery-background.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.section--gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 241, 184, 0.7);
    z-index: 0;
}

.section--gallery > * {
    position: relative;
    z-index: 1;
}

.section__header {
    margin-bottom: 2rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
}

.hero {
    padding: 8rem 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/assets/img/hero-background.png') no-repeat center center/cover;
    color: white;
    position: relative;
    overflow: hidden;
    margin: 0;
}

.hero__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Hero banner removed */

.hero__actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
}

.auth,
.profile,
.orders,
.admin,
.checkout,
.receipt {
    gap: 2rem;
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.card--menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card--menu img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    background: #fff;
    padding: 0.5rem;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Bestsellers Section */
.home-bestsellers {
    position: relative;
    overflow: hidden;
}

.home-bestsellers .section__header {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.home-bestsellers .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.home-bestsellers .card--menu {
    background: linear-gradient(135deg, #fff 0%, #fff9f9 100%);
    border: 1px solid rgba(230, 57, 70, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.home-bestsellers .card--menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.home-bestsellers .card--menu:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.15);
    border-color: rgba(230, 57, 70, 0.2);
}

.home-bestsellers .card--menu:hover::before {
    opacity: 1;
}

.home-bestsellers .card--menu img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    object-position: center;
    border-radius: 16px;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
    background: #fff;
    padding: 0.5rem;
}

.home-bestsellers .card--menu:hover img {
    transform: scale(1.02);
}

.home-bestsellers .card--menu h3 {
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
    color: var(--text);
    transition: color 0.3s ease;
}

.home-bestsellers .card--menu p {
    color: var(--muted);
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1;
}

.home-bestsellers .card--menu .card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.home-bestsellers .card--menu .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.home-bestsellers .card--menu .btn--small {
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    border-radius: 8px;
    background: var(--primary);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.home-bestsellers .card--menu .btn--small:hover {
    background: #d1323e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.menu-page .card--menu {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    cursor: pointer;
}

.menu-page .card--menu:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.12);
}

.menu-page .card--menu h3 {
    margin: 0 0 0.35rem;
}

.menu-page .card--menu .card__footer {
    margin-top: auto;
}

.menu-page .card__footer-actions {
    display: flex;
    gap: 0.5rem;
}

@media (max-width: 480px) {
    .section {
        padding: 2rem 0;
    }
    
    .container {
        width: min(1200px, 92vw);
        padding: 0 1rem;
    }
    
    .menu-page .card__footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .menu-page .card__footer-actions {
        width: 100%;
    }
    
    .menu-page .card__footer-actions .btn {
        flex: 1;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .product-modal {
        padding: 1rem;
        border-radius: 16px;
    }
    
    .addon-drink-card__content {
        padding: 1.25rem;
        margin: 1rem;
    }
}

.card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.card__footer-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.card--review {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    transition: all 0.3s ease;
}

.card--review:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.section--reviews {
    background-color: #fff1b8;
    background-image: url('/assets/img/reviews-background.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.section--reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 241, 184, 0.6);
    z-index: 0;
}

.section--reviews > * {
    position: relative;
    z-index: 1;
}

.cards-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Sitemap Styles */
.sitemap-container {
    background: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.sitemap-link {
    display: block;
    padding: 1rem 1.25rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sitemap-link::after {
    content: '';
    position: absolute;
    left: 1.25rem;
    bottom: 0.75rem;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.sitemap-link:hover {
    color: var(--primary);
    background: rgba(230, 57, 70, 0.05);
    border-color: rgba(230, 57, 70, 0.15);
    transform: translateX(4px);
}

.sitemap-link:hover::after {
    width: calc(100% - 2.5rem);
}

@media (max-width: 768px) {
    .sitemap-container {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 0.75rem;
    }
    
    .sitemap-link {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .sitemap-link:hover {
        transform: translateX(2px);
    }
}

.rating {
    color: #fcbf49;
    font-size: 1.2rem;
}

.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.stats div {
    background: var(--card);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 1rem;
}

.gallery-grid--masonry {
    grid-auto-rows: 220px;
}

.gallery-grid--masonry figure,
.gallery-grid--masonry img {
    height: 100%;
    object-fit: cover;
}

.gallery-grid figure {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--card);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.gallery-grid img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    flex-shrink: 0;
}

.gallery-grid figcaption {
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: var(--text);
    background: rgba(255,255,255,0.9);
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.admin-dashboard .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.table-wrapper {
    overflow-x: auto;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.contact-list li {
    margin-bottom: 0.5rem;
}

.card--branch img {
    width: 100%;
    max-width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius);
}

.cart {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.checkout__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.cart-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: var(--card);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

.cart-item img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
}

.cart-item__controls {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.cart-item__controls button {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: var(--secondary);
    cursor: pointer;
}

.cart-item__controls input {
    width: 48px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.25rem;
}

.cart__summary {
    background: var(--card);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.cart__summary p {
    display: flex;
    justify-content: space-between;
    margin: 0.5rem 0;
}

.order-items {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.order-items li {
    display: flex;
    justify-content: space-between;
}

.summary-total {
    font-size: 1.3rem;
    font-weight: 700;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
}

.table tr:nth-child(even) {
    background: rgba(0,0,0,0.02);
}

.table__actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Product Modal */
.product-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.product-modal-backdrop[hidden] {
    display: none;
}

.product-modal-backdrop.is-open {
    opacity: 1 !important;
    pointer-events: auto !important;
    display: flex !important;
}

.product-modal {
    background: #fff;
    border-radius: 24px;
    max-width: 1000px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2rem;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

.product-modal-backdrop.is-open .product-modal {
    transform: translateY(0);
    opacity: 1;
}

.product-modal__image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: #f8f8f8;
}

.product-modal__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.product-modal__content {
    padding: 2rem 1.5rem 2rem 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.product-modal__header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.product-modal__title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

.product-modal__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.product-modal__close {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    color: var(--text);
}

.product-modal__close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.product-modal__section {
    margin-top: 1.5rem;
}

/* Collapsible Extras Section */
.product-modal__extras {
    margin-top: 1.5rem;
}

.product-modal__extras [data-extras-toggle] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.25rem;
    background: rgba(230, 57, 70, 0.05);
    border: 2px solid rgba(230, 57, 70, 0.15);
    border-radius: 12px;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-modal__extras [data-extras-toggle]:hover {
    background: rgba(230, 57, 70, 0.1);
    border-color: rgba(230, 57, 70, 0.25);
}

.product-modal__extras [data-extras-toggle] i {
    transition: transform 0.3s ease;
}

.product-modal__extras.is-open [data-extras-toggle] i {
    transform: rotate(180deg);
}

.product-modal__extras-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
    margin-top: 0;
}

.product-modal__extras.is-open .product-modal__extras-content {
    max-height: 800px;
    opacity: 1;
    margin-top: 1rem;
}

/* Add-on/Drink Card View */
.addon-drink-card {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.addon-drink-card.is-open {
    opacity: 1;
    pointer-events: auto;
}

.addon-drink-card__content {
    background: #fff;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    padding: 2rem;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.addon-drink-card.is-open .addon-drink-card__content {
    transform: scale(1);
}

.addon-drink-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.addon-drink-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.addon-drink-card__price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.addon-drink-card__close {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text);
}

.addon-drink-card__close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.addon-drink-card__description {
    color: var(--muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.addon-drink-card__actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .addon-drink-card__content {
        padding: 1.5rem;
    }
    
    .addon-drink-card__title {
        font-size: 1.25rem;
    }
}

.product-modal__section h3 {
    font-size: 1.1rem;
    margin: 0 0 1rem;
    color: var(--text);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-modal__section h3::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.product-modal__options {
    display: grid;
    gap: 0.75rem;
}

.product-modal__option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.product-modal__option:hover {
    background: rgba(230, 57, 70, 0.05);
    border-color: rgba(230, 57, 70, 0.2);
}

.product-modal__option input[type="checkbox"],
.product-modal__option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.product-modal__option .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.product-modal__option input[type="checkbox"]:checked + .checkmark,
.product-modal__option input[type="radio"]:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.product-modal__option input[type="checkbox"]:checked + .checkmark::after,
.product-modal__option input[type="radio"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 0.75rem;
    line-height: 1;
}

.product-modal__option .option-details {
    flex: 1;
}

.product-modal__option .option-name {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.15rem;
}

.product-modal__option .option-price {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

.product-modal__actions {
    margin-top: auto;
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.menu-subcategory-header {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.menu-subcategory-header h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin: 0;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    background: #f9f9f9;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.quantity-input {
    width: 50px;
    height: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    font-size: 1rem;
    font-weight: 600;
    -moz-appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

#addToCartBtn {
    flex: 1;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

#addToCartBtn:hover {
    background: #d1323e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

#addToCartBtn i {
    font-size: 1.1em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }
    
    .product-modal {
        grid-template-columns: 1fr;
        max-height: 90vh;
        overflow-y: auto;
        padding: 1.5rem;
    }

    .product-modal__image {
        max-height: 300px;
        object-position: center;
    }

    .product-modal__content {
        padding: 1.5rem 0;
    }

    .product-modal__actions {
        position: sticky;
        bottom: 0;
        background: white;
        padding: 1rem 0;
        margin-top: 1.5rem;
        box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
    }
    
    .home-bestsellers .card--menu img {
        height: 200px;
    }
    
    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .split {
        grid-template-columns: 1fr;
    }
}

/* No scroll when modal is open */
.no-scroll {
    overflow: hidden;
    padding-right: var(--scrollbar-width, 0);
}

form.stack {
    display: grid;
    gap: 1rem;
}

label {
    display: grid;
    gap: 0.35rem;
    font-weight: 600;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

input,
textarea,
select {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 0.8rem;
    font-size: 1rem;
    font-family: inherit;
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-weight: 600;
}

.muted {
    color: var(--muted);
}

.centered {
    text-align: center;
    margin-top: 1.5rem;
}

.alert--success {
    background: rgba(76, 175, 80, 0.15);
    color: #2e7d32;
}

.alert--error {
    background: rgba(229, 57, 53, 0.15);
    color: #c62828;
}

.is-hidden {
    display: none;
}

.site-footer {
    background: #1d1d1d url('/assets/img/footer-background.png') center center / cover no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    color: #f4f4f4;
    padding: 3rem 0 1.5rem;
    position: relative;
    border-top: 3px solid var(--primary);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(29, 29, 29, 0.4);
    z-index: 0;
}

.site-footer > * {
    position: relative;
    z-index: 1;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.footer__grid a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer__grid a:hover {
    opacity: 0.85;
}

.footer__grid i {
    margin-right: 0.35rem;
}

.footer__link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.footer__link:hover {
    opacity: 0.85;
}

.footer__copy {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #bbb;
}

@media (max-width: 900px) {
    .cart {
        grid-template-columns: 1fr;
    }
    
    /* Tablet logo sizing */
    .brand__logo {
        max-height: 65px;
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .brand__logo {
        max-height: 45px;
        max-width: 130px;
    }
    
    .header__actions .btn {
        padding: 0.4rem 0.7rem;
        font-size: 0.85rem;
    }
    
    .cart-link {
        width: 36px;
        height: 36px;
    }
    
    .user-menu {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
        max-width: 85px;
    }
    
    .user-menu > span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: block;
    }
}

@media (max-width: 768px) {
    .header__inner {
        flex-wrap: nowrap;
        padding: 0.75rem 1rem;
        gap: 0.5rem;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .nav-toggle {
        display: inline-flex !important;
        border: none;
        background: transparent;
        padding: 0.5rem 0.75rem;
        border-radius: 12px;
        font-size: 1.5rem;
        color: var(--text);
        order: -1;
        margin-right: 0;
        flex-shrink: 0;
        cursor: pointer;
        z-index: 1001;
        position: relative;
        -webkit-tap-highlight-color: transparent;
    }
    
    .brand {
        order: 0;
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 0;
        max-width: calc(100% - 200px);
        overflow: hidden;
    }

    .brand__logo {
        max-height: 50px;
        max-width: 150px;
        width: auto;
        height: auto;
        object-fit: contain;
    }
    
    .main-nav {
        order: 1;
        display: none;
    }
    
    .header__actions {
        order: 2;
        flex-shrink: 0;
        gap: 0.25rem;
        max-width: fit-content;
        overflow: visible;
    }

    .header__actions .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .cart-link {
        width: 38px;
        height: 38px;
    }
}
