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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f0;
    /* Better touch scrolling for mobile */
    -webkit-overflow-scrolling: touch;
    /* Prevent text size adjustment on orientation change */
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1a7a45 0%, #2d9c5e 100%);
    color: white;
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-image {
    height: 120px;
    width: auto;
    margin-bottom: 0;
    /* Logo is already light colored, no filter needed */
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: -5px;
}

.logo p {
    font-size: 1.8rem;
    opacity: 1;
    font-weight: 500;
    letter-spacing: 1px;
    margin-left: 3px;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    text-transform: lowercase;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.3rem;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.cart-icon:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff6b6b;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 122, 69, 0.85), rgba(45, 156, 94, 0.85)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 300"><defs><pattern id="coffee-beans" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><ellipse cx="20" cy="20" rx="8" ry="12" fill="%2324a85f" opacity="0.1"/><ellipse cx="70" cy="60" rx="8" ry="12" fill="%2324a85f" opacity="0.1"/><ellipse cx="50" cy="80" rx="8" ry="12" fill="%2324a85f" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23coffee-beans)"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.hero h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Opening Hours Banner */
.opening-hours-banner {
    background: linear-gradient(135deg, #1a7a45 0%, #2d9c5e 100%);
    padding: 0.75rem 0;
    box-shadow: 0 2px 10px rgba(26, 122, 69, 0.15);
    width: 100%;
}

.opening-hours-content {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    color: white;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    flex-wrap: wrap;
}

.hours-icon {
    font-size: 1.5rem;
    color: #ffffff;
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

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

.hours-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex-shrink: 0;
}

.hours-days {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #ffffff;
}

.hours-days strong {
    color: #ffd700;
    margin-right: 0.3rem;
    font-size: 0.85rem;
}

.closed-day {
    color: #ffcccc;
    font-weight: 600;
    padding: 0.1rem 0.5rem;
    background: rgba(255, 0, 0, 0.25);
    border-radius: 10px;
    margin-left: 0.3rem;
    font-size: 0.8rem;
    display: inline-block;
}

.hours-times {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    opacity: 0.95;
    color: #ffffff;
}

.time-slot {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.time-slot i {
    color: #ffd700;
    font-size: 0.75rem;
}

.time-divider {
    color: rgba(255, 255, 255, 0.5);
    font-weight: bold;
    font-size: 0.7rem;
}

/* Wednesday Closed Announcement */
.wednesday-announcement {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.announcement-content {
    max-width: 800px;
    margin: 0 auto;
    color: white;
}

.announcement-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

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

.announcement-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.announcement-text {
    font-size: 1.3rem;
    margin: 1.5rem 0;
    line-height: 1.8;
    font-weight: 500;
}

.announcement-subtext {
    font-size: 1.1rem;
    opacity: 0.9;
    font-style: italic;
    margin-top: 1rem;
}

/* Menu Section */
.menu-section {
    padding: 4rem 0;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: white;
    border: 2px solid #1a7a45;
    color: #1a7a45;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover,
.tab-btn.active {
    background: #1a7a45;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 122, 69, 0.3);
}

.category-section {
    display: none;
}

.category-section.active {
    display: block;
}

/* Subcategory tabs for cold drinks */
.subcategory-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.subcategory-btn {
    background: #f5f5f0;
    border: 2px solid #2d9c5e;
    color: #2d9c5e;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subcategory-btn:hover,
.subcategory-btn.active {
    background: #2d9c5e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 156, 94, 0.3);
}

.subcategory-content {
    display: none;
}

.subcategory-content.active {
    display: block;
}

/* Ramadan Special Styling */
.tab-btn-ramadan {
    background: linear-gradient(135deg, #7B2CBF 0%, #C77DFF 100%) !important;
    border: 2px solid #9D4EDD !important;
    color: white !important;
    position: relative;
    overflow: hidden;
}

.tab-btn-ramadan::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    transition: left 0.5s;
}

.tab-btn-ramadan:hover::before {
    left: 100%;
}

.tab-btn-ramadan:hover,
.tab-btn-ramadan.active {
    background: linear-gradient(135deg, #9D4EDD 0%, #E0AAFF 100%) !important;
    box-shadow: 0 5px 20px rgba(157, 78, 221, 0.4) !important;
    transform: translateY(-3px) !important;
}

.ramadan-section {
    background: linear-gradient(135deg, #FFF8E7 0%, #FFE8CC 50%, #FFD4A3 100%);
    border-radius: 20px;
    padding: 2rem;
    margin: 1rem 0;
    box-shadow: 0 8px 25px rgba(157, 78, 221, 0.2);
    border: 3px solid #FFD700;
}

.ramadan-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: linear-gradient(135deg, #7B2CBF 0%, #9D4EDD 100%);
    border-radius: 15px;
    color: white;
    box-shadow: 0 5px 15px rgba(123, 44, 191, 0.3);
}

.ramadan-title h3 {
    color: white;
    font-size: 2rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.ramadan-icon {
    color: #FFD700;
    font-size: 1.5rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.ramadan-section .menu-item {
    background: white;
    border: 3px solid #9D4EDD;
    box-shadow: 0 5px 20px rgba(157, 78, 221, 0.2);
    position: relative;
    overflow: hidden;
}

.ramadan-section .menu-item::before {
    content: '🌙';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    opacity: 0.2;
    z-index: 1;
}

.ramadan-section .menu-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.4);
    border-color: #FFD700;
}

.ramadan-section .add-to-cart-btn {
    background: linear-gradient(135deg, #7B2CBF 0%, #9D4EDD 100%);
    border: none;
}

.ramadan-section .add-to-cart-btn:hover {
    background: linear-gradient(135deg, #9D4EDD 0%, #C77DFF 100%);
    box-shadow: 0 5px 15px rgba(157, 78, 221, 0.4);
}

.category-title {
    text-align: center;
    margin-bottom: 2rem;
}

.category-title h3 {
    font-size: 2rem;
    color: #1a7a45;
    font-weight: 700;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.menu-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.item-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f5f5f0;
}

.item-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.item-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.item-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a7a45;
    white-space: nowrap;
}

.item-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    flex: 1;
}

.add-to-cart {
    background: linear-gradient(135deg, #1a7a45 0%, #2d9c5e 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 122, 69, 0.4);
}

/* Sold Out Styles */
.menu-item.out-of-stock {
    opacity: 0.7;
}

.menu-item.out-of-stock .item-image {
    position: relative;
    filter: grayscale(50%);
}

.out-of-stock-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 0, 0.9);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

/* Coming Soon Styles */
.menu-item.coming-soon {
    opacity: 0.85;
}

.menu-item.coming-soon .item-image {
    position: relative;
    filter: brightness(1.1) saturate(1.2);
}

.coming-soon-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(247, 147, 30, 0.5);
    z-index: 10;
    animation: comingSoonPulse 2s ease-in-out infinite;
}

@keyframes comingSoonPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 4px 15px rgba(247, 147, 30, 0.5);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 6px 20px rgba(247, 147, 30, 0.7);
    }
}

/* Weekend Only Styles */
.menu-item.weekend-only {
    opacity: 0.75;
}

.menu-item.weekend-only .item-image {
    position: relative;
    filter: grayscale(40%) brightness(0.95);
}

.weekend-only-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #9B59B6 0%, #8E44AD 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(142, 68, 173, 0.5);
    z-index: 10;
    animation: weekendPulse 2.5s ease-in-out infinite;
}

@keyframes weekendPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 4px 15px rgba(142, 68, 173, 0.5);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 6px 20px rgba(142, 68, 173, 0.7);
    }
}

/* Best Seller Badge Styles */
.best-seller-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #8B4513;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.5);
    z-index: 10;
    animation: bestSellerShine 3s ease-in-out infinite;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.best-seller-badge::before {
    content: '⭐';
    font-size: 0.9rem;
}

@keyframes bestSellerShine {
    0%, 100% {
        box-shadow: 0 3px 10px rgba(255, 215, 0, 0.5);
    }
    50% {
        box-shadow: 0 5px 20px rgba(255, 215, 0, 0.8);
    }
}

/* Flavors Badge Styles */
.flavors-badge {
    position: absolute;
    top: 50px;
    right: 10px;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.5);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.add-to-cart:disabled {
    background: linear-gradient(135deg, #999 0%, #777 100%);
    cursor: not-allowed;
    opacity: 0.6;
}

.add-to-cart:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    order: 1;
    flex-shrink: 0;
}

.cart-header h3 {
    font-size: 1.5rem;
    color: #333;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-cart:hover {
    background: #f5f5f5;
    color: #333;
}

.cart-items {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    order: 3;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.3rem;
}

.cart-item-info p {
    color: #666;
    font-size: 0.9rem;
}

.cart-item-price {
    font-weight: 600;
    color: #8B4513;
    font-size: 1.1rem;
}

.cart-footer {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    order: 2;
    flex-shrink: 0;
}

.cart-total {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: #333;
}

/* Cart Order Details Section */
.cart-order-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cart-input-group {
    width: 100%;
}

.cart-input {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    background: white;
    color: #333;
}

.cart-input:focus {
    outline: none;
    border-color: #1a7a45;
    box-shadow: 0 0 0 3px rgba(26, 122, 69, 0.1);
}

.cart-input::placeholder {
    color: #999;
    font-size: 0.9rem;
}

.checkout-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.show {
    opacity: 1;
    visibility: visible;
}

.empty-cart {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-top: 2rem;
}

.custom-details {
    font-size: 0.85rem;
    color: #1a7a45;
    margin-top: 0.2rem;
    font-style: italic;
}

/* Customization Modal */
.customization-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content h3 {
    font-size: 1.8rem;
    color: #1a7a45;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: #666;
    margin-bottom: 1.5rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    font-size: 1.2rem;
    color: #666;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #e0e0e0;
    color: #333;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.option-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-item:hover {
    border-color: #1a7a45;
    background: #f5f5f0;
}

.option-item input[type="radio"] {
    margin-right: 1rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.option-item input[type="radio"]:checked + .option-label {
    color: #1a7a45;
    font-weight: 600;
}

.option-item:has(input[type="radio"]:checked) {
    border-color: #1a7a45;
    background: #f5f5f0;
}

.option-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

.option-name {
    font-size: 1.1rem;
}

.option-price {
    color: #1a7a45;
    font-weight: 600;
}

/* V60 Bean Option Badges */
.option-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 0.5rem;
}

.option-badge.best-seller {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #8B4513;
    animation: badgeShine 2s ease-in-out infinite;
}

.option-badge.new {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgeShine {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 2px 12px rgba(255, 215, 0, 0.6);
    }
}

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

.modal-submit {
    background: linear-gradient(135deg, #1a7a45 0%, #2d9c5e 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.modal-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 122, 69, 0.4);
}

/* Cookie Customization Specific */
.cookie-modal {
    max-width: 550px;
}

.customization-section {
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.quantity-selector button {
    background: #1a7a45;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.quantity-selector button:hover {
    background: #2d9c5e;
    transform: scale(1.1);
}

.quantity-selector input {
    width: 80px;
    padding: 0.75rem;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-item:hover {
    border-color: #1a7a45;
    background: #f5f5f0;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 1rem;
    width: 22px;
    height: 22px;
    cursor: pointer;
}

.checkbox-item:has(input[type="checkbox"]:checked) {
    border-color: #1a7a45;
    background: #f5f5f0;
}

.total-display {
    background: #f5f5f0;
    padding: 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
}

.total-display span {
    color: #1a7a45;
    font-weight: 700;
    font-size: 1.5rem;
}

/* Universal image optimization - all products minimized for better display */
.menu-item .item-image {
    background-size: 70%;
}

/* Specific items to show more product (smaller zoom = more visible) */
/* Iced Latte */
#iced-coffee-grid .menu-item:nth-child(2) .item-image {
    background-size: 55%;
}

/* Iced Spanish Latte */
#iced-coffee-grid .menu-item:nth-child(3) .item-image {
    background-size: 55%;
}

/* Salted Caramel Latte */
#iced-coffee-grid .menu-item:nth-child(4) .item-image {
    background-size: 55%;
}

/* Take Signature (Iced) */
#iced-coffee-grid .menu-item:nth-child(5) .item-image {
    background-size: 70%;
}

/* Take Coconut Signature */
#iced-coffee-grid .menu-item:nth-child(6) .item-image {
    background-size: 55%;
}

/* Ice Cortado */
#iced-coffee-grid .menu-item:nth-child(7) .item-image {
    background-size: 55%;
}

/* Affogato */
#iced-coffee-grid .menu-item:nth-child(8) .item-image {
    background-size: 55%;
}

/* Cold Brew */
#iced-coffee-grid .menu-item:nth-child(9) .item-image {
    background-size: 55%;
}

/* Mango Matcha - center the cup */
#matcha-grid .menu-item:nth-child(4) .item-image {
    background-size: 65%;
    background-position: center center;
}

/* Strawberry Matcha - center the cup */
#matcha-grid .menu-item:nth-child(5) .item-image {
    background-size: 65%;
    background-position: center center;
}

/* Taro Matcha - center the cup */
#matcha-grid .menu-item:nth-child(6) .item-image {
    background-size: 65%;
    background-position: center center;
}

/* All V60 items - show full product */
#v60-grid .menu-item .item-image {
    background-size: 55%;
}

/* Take Signature Frappe */
#frappe-grid .menu-item:nth-child(2) .item-image {
    background-size: 55%;
}

/* Hot Chocolate - center the cup with marshmallows, zoomed in */
#hot-drinks-grid .menu-item:nth-child(4) .item-image {
    background-size: 95%;
    background-position: center center;
}

/* Hot Chocolate Jar */
#pre-order-box-grid .menu-item:nth-child(6) .item-image {
    background-size: 55%;
}

/* Cookie (Desserts) - zoomed in to show cookies without box */
#desserts-grid .menu-item:nth-child(6) .item-image {
    background-size: 115%;
    background-position: center center;
}
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .logo-image {
        height: 100px;
    }
    
    /* Wednesday Announcement - Mobile responsive */
    .wednesday-announcement {
        padding: 2rem 1rem;
    }
    
    .announcement-icon {
        font-size: 3rem;
    }
    
    .announcement-content h2 {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }
    
    .announcement-text {
        font-size: 1.1rem;
        margin: 1rem 0;
    }
    
    .announcement-subtext {
        font-size: 0.95rem;
    }
    
    .item-image {
        height: 250px;
        background-size: 75%;
    }
    
    /* Universal tablet optimization */
    .menu-item .item-image {
        background-size: 75%;
    }
    
    /* Specific items - smaller on tablet to show full product */
    /* Iced Latte */
    #iced-coffee-grid .menu-item:nth-child(2) .item-image {
        background-size: 60%;
    }
    
    /* Iced Spanish Latte */
    #iced-coffee-grid .menu-item:nth-child(3) .item-image {
        background-size: 60%;
    }
    
    /* Salted Caramel Latte */
    #iced-coffee-grid .menu-item:nth-child(4) .item-image {
        background-size: 60%;
    }
    
    /* Take Signature (Iced) */
    #iced-coffee-grid .menu-item:nth-child(5) .item-image {
        background-size: 60%;
    }
    
    /* Take Coconut Signature */
    #iced-coffee-grid .menu-item:nth-child(6) .item-image {
        background-size: 60%;
    }
    
    /* Ice Cortado */
    #iced-coffee-grid .menu-item:nth-child(7) .item-image {
        background-size: 60%;
    }
    
    /* Affogato */
    #iced-coffee-grid .menu-item:nth-child(8) .item-image {
        background-size: 60%;
    }
    
    /* Cold Brew */
    #iced-coffee-grid .menu-item:nth-child(9) .item-image {
        background-size: 60%;
    }
    
    /* All V60 items */
    #v60-grid .menu-item .item-image {
        background-size: 60%;
    }
    
    /* Take Signature Frappe */
    #frappe-grid .menu-item:nth-child(2) .item-image {
        background-size: 60%;
    }
    
    /* Hot Chocolate Jar */
    #pre-order-box-grid .menu-item:nth-child(6) .item-image {
        background-size: 60%;
    }
    
    /* Cookie (Desserts) - show full image on tablet */
    #desserts-grid .menu-item:nth-child(5) .item-image {
        background-size: contain;
    }
    
    .menu-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 200px;
        justify-content: center;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cart-sidebar {
        width: 85%;
        max-width: 380px;
        right: -85%;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .opening-hours-content {
        flex-direction: column;
        justify-content: center;
        gap: 0.5rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .hours-icon {
        font-size: 1.2rem;
    }
    
    .hours-times {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .time-divider {
        display: none;
    }
    
    .hours-days {
        font-size: 0.85rem;
    }
    
    .hours-times {
        font-size: 0.75rem;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }
    
    .logo-image {
        height: 85px;
    }
    
    .item-image {
        height: 220px;
        background-size: 80%;
    }
    
    /* Universal mobile optimization */
    .menu-item .item-image {
        background-size: 80%;
    }
    
    /* Specific items - smaller on mobile to show full product */
    /* Iced Latte */
    #iced-coffee-grid .menu-item:nth-child(2) .item-image {
        background-size: 65%;
    }
    
    /* Iced Spanish Latte */
    #iced-coffee-grid .menu-item:nth-child(3) .item-image {
        background-size: 65%;
    }
    
    /* Salted Caramel Latte */
    #iced-coffee-grid .menu-item:nth-child(4) .item-image {
        background-size: 65%;
    }
    
    /* Take Signature (Iced) */
    #iced-coffee-grid .menu-item:nth-child(5) .item-image {
        background-size: 65%;
    }
    
    /* Take Coconut Signature */
    #iced-coffee-grid .menu-item:nth-child(6) .item-image {
        background-size: 65%;
    }
    
    /* Ice Cortado */
    #iced-coffee-grid .menu-item:nth-child(7) .item-image {
        background-size: 65%;
    }
    
    /* Affogato */
    #iced-coffee-grid .menu-item:nth-child(8) .item-image {
        background-size: 65%;
    }
    
    /* Cold Brew */
    #iced-coffee-grid .menu-item:nth-child(9) .item-image {
        background-size: 65%;
    }
    
    /* All V60 items */
    #v60-grid .menu-item .item-image {
        background-size: 65%;
    }
    
    /* Take Signature Frappe */
    #frappe-grid .menu-item:nth-child(2) .item-image {
        background-size: 65%;
    }
    
    /* Hot Chocolate Jar */
    #pre-order-box-grid .menu-item:nth-child(6) .item-image {
        background-size: 65%;
    }
    
    /* Cookie (Desserts) - show full image on mobile */
    #desserts-grid .menu-item:nth-child(5) .item-image {
        background-size: contain;
    }
    
    .menu-section {
        padding: 2rem 0;
    }
    
    .menu-item {
        padding: 1rem;
    }
    
    .cart-header,
    .cart-footer {
        padding: 1rem;
    }
    
    .cart-items {
        padding: 0.5rem 1rem;
    }
    
    .cart-item {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .cart-item-name {
        font-size: 0.95rem;
    }
    
    .cart-item-price {
        font-size: 0.9rem;
    }
    
    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }
    
    .modal-content h3 {
        font-size: 1.5rem;
    }
    
    .option-item {
        padding: 0.75rem;
    }
    
    .option-name {
        font-size: 1rem;
    }
    
    .opening-hours-banner {
        padding: 0.5rem 0;
    }
    
    .opening-hours-content {
        padding: 0 0.5rem;
    }
    
    .hours-days {
        font-size: 0.8rem;
    }
    
    .hours-times {
        font-size: 0.7rem;
    }
}

/* Additional Android Device Support */

/* Small Android devices (320px - 360px) */
@media (max-width: 360px) {
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .logo-image {
        height: 75px;
    }
    
    .item-image {
        height: 200px;
    }
    
    .item-name {
        font-size: 1rem;
    }
    
    .item-description {
        font-size: 0.85rem;
    }
    
    .item-price {
        font-size: 1.1rem;
    }
    
    .add-to-cart-btn {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
    
    .cart-input {
        padding: 0.7rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .checkout-btn {
        padding: 0.8rem;
        font-size: 1rem;
    }
    
    .modal-content {
        padding: 1rem;
    }
    
    .modal-content h3 {
        font-size: 1.3rem;
    }
    
    .cart-sidebar {
        width: 90%;
        max-width: 320px;
        right: -90%;
    }
    
    .cart-header h3 {
        font-size: 1.2rem;
    }
    
    .cart-total {
        font-size: 1.1rem;
    }
}

/* Medium Android devices (360px - 414px) */
@media (min-width: 361px) and (max-width: 414px) {
    .item-image {
        height: 220px;
    }
    
    .cart-input {
        padding: 0.8rem 0.9rem;
        font-size: 0.95rem;
    }
    
    .cart-sidebar {
        width: 88%;
        max-width: 360px;
        right: -88%;
    }
}

/* Large Android devices (414px - 480px) */
@media (min-width: 415px) and (max-width: 480px) {
    .item-image {
        height: 240px;
    }
    
    .cart-sidebar {
        width: 85%;
        max-width: 380px;
        right: -85%;
    }
}

/* Android landscape mode optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 1.5rem 0;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .opening-hours-banner {
        padding: 0.4rem 0;
    }
    
    .item-image {
        height: 180px;
    }
    
    .menu-item {
        padding: 0.8rem;
    }
    
    .cart-sidebar {
        width: 50%;
        right: -50%;
    }
    
    .cart-sidebar.show {
        right: 0;
    }
}

/* High-resolution Android devices (1.5x - 3x density) */
@media (-webkit-min-device-pixel-ratio: 1.5),
       (min-resolution: 144dpi) {
    .item-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Touch-friendly button sizing for all Android devices */
@media (max-width: 768px) {
    button,
    .add-to-cart-btn,
    .checkout-btn,
    .tab-btn,
    .subcategory-btn,
    .option-item,
    input[type="radio"],
    input[type="checkbox"] {
        min-height: 44px; /* Apple's recommended touch target */
        min-width: 44px;
    }
    
    .cart-input {
        min-height: 48px; /* Larger for text input */
    }
    
    /* Prevent zoom on input focus (Android) */
    input,
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* Android Chrome address bar compensation */
@media (max-width: 768px) {
    .cart-sidebar {
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for modern browsers */
    }
}

/* Samsung Galaxy specific adjustments */
@media (max-width: 412px) and (max-height: 915px) {
    .opening-hours-banner {
        font-size: 0.85rem;
    }
    
    .menu-section {
        padding: 1.5rem 0;
    }
}

/* Pixel devices specific adjustments */
@media (max-width: 393px) and (max-height: 851px) {
    .container {
        padding: 0 12px;
    }
}