/* 
 * Burgerly Version 1.2: Horizontal Carousel with Vertical Categories
 * Enhanced layout with smooth horizontal scrolling and vertical navigation
 */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Color Palette */
:root {
    --base-bg: #f1e5d5;
    --dark: #3f0102;
    --confidence: #720302;
    --action: #be0604;
    --energy: #f29b30;
    --optimism: #f1bb13;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray: #666666;
    --shadow: rgba(63, 1, 2, 0.1);
    --shadow-hover: rgba(63, 1, 2, 0.15);
    --sidebar-width: 180px;
    --warm-beige: #fef3e2;
    --primary-dark: #3f0102;
}

/* Typography */
body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--base-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Century Gothic', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

/* Header specific container padding */
.header .container {
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.logo {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin: -10px 0;
}

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
    border-radius: 20px;
}

.logo-text {
    font-family: 'Century Gothic', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--action);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: none;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
        gap: 2rem;
    }
    
    .nav-link {
        text-decoration: none;
        color: var(--dark);
        font-weight: 500;
        transition: color 0.3s ease;
    }
    
    .nav-link:hover {
        color: var(--action);
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
}

.status.open {
    background: rgba(241, 187, 19, 0.2);
    color: var(--confidence);
    position: relative;
    padding-left: 1.75rem;
}

.status.open::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0.625rem;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #4CAF50;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

.status.closed {
    background: var(--gray-light);
    color: var(--gray);
}

.cart-btn {
    position: relative;
    background: var(--energy);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.cart-btn:hover {
    background: var(--action);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-hover);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--action);
    color: var(--white);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Hero Section */
.hero {
    background: 
        linear-gradient(180deg, 
            var(--base-bg) 0%, 
            rgba(242, 155, 48, 0.08) 60%,
            rgba(255, 255, 255, 0) 100%);
    padding: 2.5rem 0 1rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Optional decorative element */
.hero::before {
    content: '🍔';
    position: absolute;
    top: 50%;
    right: 10%;
    font-size: 8rem;
    opacity: 0.05;
    transform: translateY(-50%) rotate(-15deg);
    pointer-events: none;
}

.hero .container {
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-tagline {
    font-family: 'Rubik Dirt', cursive;
    font-size: 1.5rem;
    color: var(--energy);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--confidence);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--action);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--confidence);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-hover);
}

.btn-secondary {
    background: var(--white);
    color: var(--action);
    border: 2px solid var(--action);
}

.btn-secondary:hover {
    background: var(--action);
    color: var(--white);
}

/* Banner Section */
.banner-section {
    padding: 0 1rem 2rem 1rem;
    background: transparent;
    position: relative;
}

.banner-carousel {
    position: relative;
    margin: 0 auto;
    max-width: 1200px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(63, 1, 2, 0.1),
        0 1px 2px rgba(63, 1, 2, 0.06);
    background: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-carousel:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 15px 40px rgba(63, 1, 2, 0.12),
        0 2px 4px rgba(63, 1, 2, 0.08);
}

.banner-track {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
    min-height: 200px; /* Ensure minimum height */
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide[data-clickable="true"] {
    cursor: pointer;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--energy) 0%, var(--action) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.5);
}

.banner-placeholder::after {
    content: '🖼️';
}

.banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, 
        rgba(63, 1, 2, 0.9) 0%, 
        rgba(63, 1, 2, 0.6) 40%,
        rgba(63, 1, 2, 0) 100%);
    color: white;
    backdrop-filter: blur(1px);
}

.banner-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.banner-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.banner-cta {
    background: var(--energy);
    color: var(--white);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-cta:hover {
    background: var(--action);
    transform: translateY(-2px);
}

.banner-dots {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}

.banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.banner-dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

/* Categories Section - Redesigned */
.categories-section {
    background: var(--white);
    padding: 1rem 0;
    border-bottom: 2px solid rgba(63, 1, 2, 0.05);
    position: sticky;
    top: 90px; /* Increased spacing from header */
    z-index: 90;
    box-shadow: 0 4px 12px rgba(63, 1, 2, 0.08);
    margin-top: 0.5rem; /* Add small margin for better separation */
}

.categories-section .container {
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.categories-wrapper {
    position: relative;
    width: 100%;
}

.categories-scroll-container {
    position: relative;
    overflow: hidden;
}

/* Scroll indicators - gradient overlays */
.categories-scroll-container::before,
.categories-scroll-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.categories-scroll-container::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}

.categories-scroll-container::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

.categories-scroll-container.scroll-left::before {
    opacity: 1;
}

.categories-scroll-container.scroll-right::after {
    opacity: 1;
}


.categories-list {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.categories-list::-webkit-scrollbar {
    display: none;
}

.category-pill {
    background: var(--white);
    color: var(--confidence);
    border: 2px solid var(--gray-light);
    padding: 0;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.category-pill span {
    padding: 0.625rem 1.25rem;
    display: block;
}

.category-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--energy);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.category-pill:hover {
    border-color: var(--energy);
    color: var(--energy);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(242, 155, 48, 0.2);
}

.category-pill:active {
    transform: translateY(0);
}

.category-pill.active {
    background: var(--action);
    color: var(--white);
    border-color: var(--action);
    box-shadow: 0 4px 12px rgba(190, 6, 4, 0.3);
}

.category-pill.active span {
    position: relative;
    z-index: 1;
}

/* Responsive adjustments for categories */
@media (min-width: 768px) {
    .categories-section .container {
        padding: 0 20px;
    }
    
    .categories-list {
        gap: 0.75rem;
    }
    
    .category-pill {
        font-size: 0.9375rem;
    }
}

@media (min-width: 1024px) {
    .categories-scroll-container::before,
    .categories-scroll-container::after {
        display: none;
    }
    
    .categories-list {
        justify-content: center;
    }
}

/* Main Content Layout */
.main-content {
    min-height: calc(100vh - 200px);
    background: var(--white);
}


/* Carousel Section */
.carousel-section {
    margin-bottom: 0;
    padding: 1rem 0;
}

/* Initially show all sections, JavaScript will handle filtering */
.carousel-section {
    display: block;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.section-title {
    font-size: 2rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    gap: 0.5rem;
}

.carousel-btn {
    background: var(--gray-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--energy);
    color: var(--white);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Products Carousel */
.products-carousel {
    position: relative;
    overflow: visible;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(242, 155, 48, 0.3) transparent;
}

.carousel-track::-webkit-scrollbar {
    height: 6px;
}

.carousel-track::-webkit-scrollbar-track {
    background: transparent;
}

.carousel-track::-webkit-scrollbar-thumb {
    background: rgba(242, 155, 48, 0.3);
    border-radius: 3px;
}

.carousel-track::-webkit-scrollbar-thumb:hover {
    background: rgba(242, 155, 48, 0.5);
}

/* Product Card */
.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 0 0 280px;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow-hover);
}

.product-card:hover .product-image::after {
    content: 'Ver opciones';
    position: absolute;
    inset: 0;
    background: rgba(63, 1, 2, 0.8);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.125rem;
    backdrop-filter: blur(2px);
}

.product-card.featured {
    border: 2px solid var(--optimism);
}

.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--gray-light);
}

.product-image::after {
    transition: all 0.3s ease;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.product-badge.hot {
    background: var(--action);
    color: var(--white);
}

.product-badge.new {
    background: var(--optimism);
    color: var(--dark);
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.product-description {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0.5rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--energy);
    text-align: center;
}

/* Quick add button styles removed - users must click product to see details */

/* Contact Section */
.contact {
    background: var(--base-bg);
    padding: 4rem 0;
}

.contact .container {
    padding: 0 20px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}

.contact-item h3 {
    color: var(--action);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-icon {
    width: 28px;
    height: 28px;
    color: var(--energy);
}

.contact-item p {
    color: var(--confidence);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.contact-icons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    margin-top: 2rem;
}

.icon-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: var(--energy);
    border-radius: 15px;
    text-decoration: none;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.icon-button:active {
    transform: scale(0.92);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.icon-button svg {
    width: 28px;
    height: 28px;
    color: var(--confidence);
    fill: var(--confidence);
}

/* Touch feedback for mobile */
@media (hover: none) {
    .icon-button:active {
        background: var(--optimism);
    }
}

/* Larger screens */
@media (min-width: 768px) {
    .contact-icons {
        gap: 2rem;
    }
    
    .icon-button {
        width: 80px;
        height: 80px;
        border-radius: 20px;
    }
    
    .icon-button svg {
        width: 40px;
        height: 40px;
    }
    
    /* Only add hover for devices that support it */
    @media (hover: hover) {
        .icon-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
        }
    }
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

.footer .container {
    padding: 0 20px;
}

.footer-tagline {
    font-family: 'Rubik Dirt', cursive;
    color: var(--optimism);
    margin-top: 0.5rem;
}

.footer h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer p {
    font-size: 0.875rem;
    opacity: 0.8;
    margin: 0.25rem 0;
}

@media (min-width: 768px) {
    .footer {
        margin-bottom: 0;
    }
}

/* Cart Modal - Burgerly Enhanced */
.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(63, 1, 2, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
}

.cart-modal.active {
    display: flex;
    opacity: 1;
}

.cart-content {
    background: var(--white);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    border-radius: 16px;
    overflow: hidden;
    transform: translateY(50px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 24px rgba(63, 1, 2, 0.15);
    display: flex;
    flex-direction: column;
}

.cart-modal.active .cart-content {
    transform: translateY(0);
}

/* Mobile specific adjustments */
@media (max-width: 767px) {
    .cart-modal {
        padding: 0;
        align-items: flex-end;
    }
    
    .cart-content {
        max-height: 85vh;
        border-radius: 24px 24px 0 0;
    }
}

.cart-header {
    background: var(--dark);
    color: var(--white);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
    flex-shrink: 0;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--action) #f0f0f0;
}

.cart-body::-webkit-scrollbar {
    width: 6px;
}

.cart-body::-webkit-scrollbar-track {
    background: #f0f0f0;
}

.cart-body::-webkit-scrollbar-thumb {
    background: var(--action);
    border-radius: 3px;
}

.cart-header h2 {
    font-family: 'Century Gothic', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cart-header h2::before {
    content: '🛒';
    font-size: 1.25rem;
}

.close-cart {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-cart:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.close-cart:active {
    transform: rotate(90deg) scale(0.9);
}

.cart-items {
    padding: 1.5rem 1.5rem 0;
    background: var(--white);
}

/* Scrollbar styling moved to cart-body */

/* Empty Cart State */
.empty-cart {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--gray);
}

.empty-cart-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--energy) 0%, var(--optimism) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    animation: pulse-cart 2s ease-in-out infinite;
}

@keyframes pulse-cart {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.empty-cart h3 {
    font-family: 'Century Gothic', sans-serif;
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.empty-cart p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.empty-cart .btn {
    background: var(--action);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.empty-cart .btn:hover {
    background: var(--energy);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 155, 48, 0.3);
}

/* Cart Item - Mobile First Design */
.cart-item {
    background: var(--white);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cart-item:hover {
    box-shadow: 0 4px 16px rgba(190, 6, 4, 0.15);
    transform: translateY(-2px);
}

.cart-item.removing {
    animation: slideOutRight 0.3s ease-out forwards;
}

@keyframes slideOutRight {
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Mobile-first cart item layout */
.cart-item-content {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cart-item-image-wrapper {
    width: 120px;
    flex-shrink: 0;
}

.cart-item-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    object-fit: cover;
    background: var(--gray-light);
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cart-item-name {
    font-weight: 700;
    color: var(--dark);
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.cart-item-variant {
    font-size: 0.875rem;
    color: var(--confidence);
    font-weight: 500;
}

.cart-item-extras {
    font-size: 0.75rem;
    color: var(--gray);
    font-style: italic;
    line-height: 1.4;
}

.cart-item-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 0.5rem;
}

.cart-item-unit-price {
    font-size: 0.875rem;
    color: var(--gray);
}

.cart-item-total-price {
    font-size: 1.125rem;
    color: var(--action);
    font-weight: 700;
}

/* Cart item footer with controls */
.cart-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    background: var(--gray-light);
    border-radius: 24px;
    overflow: hidden;
}

.qty-btn {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--dark);
    transition: all 0.2s ease;
    font-size: 1.25rem;
    font-weight: 600;
}

.qty-btn:hover {
    background: var(--action);
    color: var(--white);
}

.qty-btn:active {
    transform: scale(0.95);
    background: var(--confidence);
}

.qty-value {
    padding: 0 1.25rem;
    font-weight: 700;
    min-width: 50px;
    text-align: center;
    font-size: 1rem;
}

.remove-item {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.2s ease;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.remove-item:hover {
    transform: scale(1.1);
    background: rgba(231, 76, 60, 0.1);
}

.remove-item:active {
    transform: scale(0.95);
}

.cart-footer {
    padding: 0 1.5rem 1.5rem;
    background: var(--white);
    flex-shrink: 0;
}

.cart-summary {
    padding-top: 1rem;
}

/* Vertical layout for better mobile experience */
.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    text-align: center;
    background: #fafafa;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.summary-label {
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.summary-amount {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
}

.summary-item.subtotal .summary-amount {
    color: var(--dark);
}

.summary-item.tax .summary-amount {
    color: var(--confidence);
    font-size: 1rem;
}

.summary-item.total {
    position: relative;
}

.summary-item.total::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--action);
}

.summary-item.total .summary-amount {
    color: var(--action);
    font-size: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 375px) {
    .summary-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        text-align: left;
    }
    
    .summary-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .summary-item.total::before {
        left: 0;
        transform: none;
        width: 100%;
        height: 1px;
    }
}

.checkout-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Payment Method Selection */
.payment-method-wrapper {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(63, 1, 2, 0.1);
}

.payment-methods {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.payment-method {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 1rem;
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
    position: relative;
    overflow: hidden;
}

.payment-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--action), var(--confidence));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.payment-method:hover {
    border-color: var(--action);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(190, 6, 4, 0.2);
}

.payment-method.active {
    background: var(--action);
    border-color: var(--action);
    color: var(--white);
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(190, 6, 4, 0.3);
}

.payment-method.active::before {
    opacity: 0.1;
}

.payment-method .payment-icon {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.25rem;
    filter: grayscale(20%);
    position: relative;
    z-index: 1;
}

.payment-method.active .payment-icon {
    filter: none;
    transform: scale(1.1);
}

.payment-method span:last-child {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.pickup-notice {
    background: rgba(242, 155, 48, 0.1);
    border: 1px solid var(--energy);
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    font-weight: 500;
    color: var(--confidence);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:active {
    transform: translateY(0);
}

.btn-whatsapp svg {
    width: 20px;
    height: 20px;
}

/* Customer Information within cart-summary */
.customer-info-wrapper {
    margin-top: 1rem;
}

.section-subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group {
    margin-bottom: 1rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--white);
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--dark);
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-input:focus {
    outline: none;
    border-color: var(--energy);
    box-shadow: 0 0 0 3px rgba(242, 155, 48, 0.1);
}

.form-input::placeholder {
    color: #999;
}

.form-input.error {
    border-color: var(--action);
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Enhanced Product Modal */
.modal-product-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-product-image-wrapper {
    width: 200px;
    margin: 0 auto;
}

.modal-product-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0 auto 1rem;
    border-radius: 12px;
    object-fit: cover;
    background: var(--gray-light);
}

.modal-product-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.modal-product-description {
    color: var(--gray);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Variant Selection */
.variant-section {
    margin-bottom: 1.5rem;
}

.variant-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.75rem;
}

.variant-option {
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.variant-option:hover {
    border-color: var(--energy);
}

.variant-option.active {
    border-color: var(--action);
    background: rgba(190, 6, 4, 0.05);
}

.variant-name {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.variant-price {
    display: block;
    font-size: 0.875rem;
    color: var(--action);
}

/* Extras Section */
.extras-section {
    margin-bottom: 1.5rem;
}

.extras-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.extra-option {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: var(--gray-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.extra-option:hover {
    background: rgba(242, 155, 48, 0.1);
}

.extra-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.75rem;
    accent-color: var(--action);
}

.extra-name {
    flex: 1;
    font-weight: 500;
    color: var(--dark);
}

.extra-price {
    color: var(--action);
    font-weight: 600;
    font-size: 0.875rem;
}

/* Modal Footer with Quantity and Add Button */
.modal-footer {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-light);
}

.quantity-selector {
    display: flex;
    align-items: center;
    background: var(--gray-light);
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--dark);
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: var(--action);
    color: var(--white);
}

.qty-value {
    padding: 0 1.25rem;
    font-weight: 600;
    font-size: 1rem;
}

.add-to-cart-btn {
    flex: 1;
    background: var(--action);
    color: var(--white);
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background: var(--confidence);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(190, 6, 4, 0.3);
}

.add-to-cart-btn:active {
    transform: translateY(0);
}

.price-display {
    font-size: 1.125rem;
    font-weight: 700;
}

/* Product Modal */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.product-modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--dark);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    max-height: 90vh;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--dark);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    display: none;
}

.notification.show {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .banner-section {
        padding: 0 0.5rem 1.5rem 0.5rem;
    }
    
    .banner-carousel {
        border-radius: 8px;
    }
    
    .banner-track {
        aspect-ratio: 16 / 10;
    }
    
    .carousel-nav {
        display: none;
    }
    
    .product-card {
        flex: 0 0 240px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .banner-track {
        aspect-ratio: 16 / 9;
    }
    
    .banner-content {
        padding: 0.75rem 1rem;
    }
    
    .banner-title {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
    }
    
    .banner-subtitle {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }
    
    .banner-cta {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .product-card {
        flex: 0 0 200px;
    }
    
    .product-image {
        aspect-ratio: 4 / 3;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-name {
        font-size: 1rem;
    }
    
    .product-price {
        font-size: 1.25rem;
    }
    
    /* Payment methods mobile optimization */
    .payment-methods {
        max-width: 100%;
        gap: 0.75rem;
    }
    
    .payment-method {
        padding: 1rem 0.75rem;
    }
    
    .payment-method .payment-icon {
        font-size: 1.75rem;
    }
    
    .payment-method span:last-child {
        font-size: 0.75rem;
    }
}
/* Ingredient Sections */
.ingredients-section,
.optional-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-light);
}

.section-description {
    font-size: 0.875rem;
    color: var(--gray);
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

.ingredients-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ingredient-item {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    background: var(--warm-beige);
    border-radius: 20px;
    font-size: 0.875rem;
}

.ingredient-item.base {
    background: var(--warm-beige);
    color: var(--primary-dark);
}

.ingredient-name {
    font-weight: 500;
}

.optional-list {
    display: grid;
    gap: 0.5rem;
}

.optional-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.optional-item:hover {
    background: var(--gray-light);
}

.optional-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.75rem;
    accent-color: var(--action);
}

.optional-name {
    flex: 1;
    font-weight: 500;
    color: var(--dark);
}

/* Cart item ingredient info */
.cart-item-removed {
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 0.25rem;
    font-style: italic;
}

.cart-item-extras {
    font-size: 0.75rem;
    color: var(--energy);
    margin-top: 0.25rem;
    font-weight: 500;
}
EOF < /dev/null
