﻿/* CSS Variables - Color Palette */
:root {
    /* Background Colors */
    --bg-primary: hsl(210, 8%, 98%);
    --white: #ffffff;
    --light-cream: hsl(45, 36%, 96%);
    --cream: #e8e6e0;
    /* Primary Colors */
    --gold: #d4af37;
    --gold-light: #f39c12;
    --dark-blue: #2c3e50;
    --dark-blue-light: #34495e;
    /* Text Colors */
    --text-primary: #334155;
    --text-gray: #7f8c8d;
    --text-light-gray: #95a5a6;
    --text-dark-gray: #bdc3c7;
    /* Status Colors */
    --success-green-light: #27ae60;
    --red-gradient: #e74c3c;
    --red-gradient-dark: #c0392b;
    /* Additional Colors */
    --brown: #8b4513;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    background-image: radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(139, 69, 19, 0.1) 0%, transparent 50%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background: transparent;
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    padding: 16px 0;
}

.brand {
    text-align: center;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 128px;
    flex-direction: row;
}

.troi-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--dark-blue);
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 8px;
}

.brand-subtitle {
    font-family: 'Lato', sans-serif;
    font-style: italic;
    font-size: clamp(0.7rem, 2vw, 1rem);
    color: var(--brown);
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
}





.special-cards-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 0;
    padding: 20px 0 5px 0;
    scrollbar-width: none;
    -webkit-scrollbar: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
    scroll-snap-type: x mandatory;
    position: relative;
}

    .special-cards-container::before {
        content: '';
        flex: 0 0 50%;
        min-width: 50px;
    }

    .special-cards-container::after {
        content: '';
        flex: 0 0 50%;
        min-width: 50px;
    }

    .special-cards-container::-webkit-scrollbar {
        display: none;
    }

    .special-cards-container::-webkit-scrollbar {
        height: 6px;
    }

    .special-cards-container::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
    }

    .special-cards-container::-webkit-scrollbar-thumb {
        background: var(--gold);
        border-radius: 10px;
    }

.special-card {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--dark-blue-light) 100%);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(212, 175, 55, 0.3);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 850px;
    min-width: 280px;
    flex-shrink: 0;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    color: var(--light-cream);
    scroll-snap-align: center;
    margin: 0% 50%;
}

    .special-card:hover {
        transform: translateY(-5px);
    }

.discount-ribbon {
    position: absolute;
    top: 10%;
    right: -10%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--dark-blue);
    padding: 10px 10%;
    font-size: clamp(0.8rem, 2.5vw, 1rem);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    z-index: 10;
    /* border-radius: 0 16px 0 16px; */
    letter-spacing: 0.5px;
    transform: rotate(45deg);
    transform-origin: center;
}

.special-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    flex-direction: column;
}

    .special-header h2 {
        font-family: 'Playfair Display', serif;
        font-size: clamp(1.3rem, 4vw, 2rem);
        font-weight: 700;
        color: var(--gold);
        letter-spacing: 1px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

.special-content {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.special-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.3rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
    text-align: center;
}

.special-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 2.8vw, 1.6rem);
    font-weight: 400;
    color: var(--light-cream);
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    text-align: center;
}

.special-content .product-description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: var(--text-dark-gray);
    margin-bottom: 15px;
    font-style: italic;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    text-align: center;
}

.special-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

    .special-price .price {
        font-size: clamp(1.4rem, 3.9vw, 1.9rem);
        font-weight: 700;
        color: var(--gold);
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .special-price .original-price {
        font-size: clamp(0.9rem, 2.9vw, 1.2rem);
        color: var(--text-light-gray);
        text-decoration: line-through;
    }

.special-discount {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

    .special-discount .discount-badge {
        background: linear-gradient(135deg, var(--gold), var(--gold-light));
        color: var(--dark-blue);
        padding: 8px 16px;
        border-radius: 20px;
        font-weight: 700;
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
        box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    }

.discount-badge {
    background: linear-gradient(135deg, var(--red-gradient), var(--red-gradient-dark));
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
    white-space: nowrap;
}

.special-dots-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 5px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.special-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(212, 175, 55, 0.5);
}

    .special-dot.active {
        background: var(--gold);
        border-color: var(--gold);
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
    }

.special-decorative-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin-top: 20px;
    border-radius: 1px;
    opacity: 0.5;
}

/* Special Indicators */
.special-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.special-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(212, 175, 55, 0.5);
}

    .special-dot.active {
        background: var(--gold);
        border-color: var(--gold);
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
    }

/* Menu Header */
.menu-header {
    background: transparent;
    padding: 30px 0;
    text-align: center;
}

.menu-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    color: var(--dark-blue);
    letter-spacing: 2px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.menu-decorative-line {
    width: min(200px, 80%);
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 0 auto;
    border-radius: 1px;
    opacity: 0.5;
}

/* Sections Tabs */
.sections-tabs {
    background: linear-gradient(135deg, var(--dark-blue-light) 0%, var(--dark-blue) 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-radius: 16px;
    margin: 0 12px;
}

.tabs-container {
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-scrollbar: none;
}

    .tabs-container::-webkit-scrollbar {
        display: none;
    }

.tabs-wrapper {
    display: flex;
    gap: 8px;
    min-width: max-content;
    padding: 0 15px;
}

.tab-link {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-dark-gray);
    padding: 5px 15px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    white-space: nowrap;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
    min-width: fit-content;
}

    .tab-link:hover {
        background: rgba(212, 175, 55, 0.2);
        color: var(--gold);
        border-color: rgba(212, 175, 55, 0.3);
        transform: translateY(-2px);
    }

    .tab-link.active {
        background: linear-gradient(135deg, var(--gold), var(--gold-light));
        color: var(--dark-blue);
        border-color: var(--gold);
        font-weight: 700;
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    }

/* Dropdown Styles */
.dropdown-container {
    text-align: center;
    margin-top: 15px;
    position: relative;
}

.dropdown-btn {
    background: linear-gradient(135deg, var(--dark-blue), var(--dark-blue-light));
    color: var(--light-cream);
    border: 2px solid var(--gold);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    width: fit-content;
}

    .dropdown-btn:hover {
        background: linear-gradient(135deg, var(--gold), var(--gold-light));
        color: var(--dark-blue);
        transform: translateY(-2px);
    }

.dropdown-menu {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    min-width: 250px;
    max-width: 90vw;
    background: linear-gradient(135deg, var(--dark-blue), var(--dark-blue-light));
    color: var(--light-cream);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    margin-top: 10px;
    padding: 10px 0;
    border: 2px solid var(--gold);
    backdrop-filter: blur(10px);
    max-height: 60vh;
    overflow-y: auto;
}

.dropdown-section-link {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark-gray);
    text-decoration: none;
    font-size: clamp(0.9rem, 2vw, 1rem);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

    .dropdown-section-link:hover {
        background: rgba(212, 175, 55, 0.2);
        color: var(--gold);
        padding-left: 25px;
    }

    .dropdown-section-link:last-child {
        border-bottom: none;
    }

/* Content Container */
.content-container {
    padding: 30px 0;
    min-height: 400px;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 0 15px;
}

    .section-header h2 {
        font-family: 'Playfair Display', serif;
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        font-weight: 700;
        color: var(--dark-blue);
        letter-spacing: 1px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
        margin-bottom: 15px;
    }

.section-underline {
    width: min(150px, 60%);
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 0 auto;
    border-radius: 1px;
    opacity: 0.5;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 15px;
}

/* Product Card Base Styles */
.product-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-cream) 100%);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-height: auto;
}

    .product-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .product-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        border-color: var(--gold);
    }

        .product-card:hover::before {
            opacity: 1;
        }

    /* Product Card Layouts */

    /* Layout 1: No discount, no description - Single line with dots */
    .product-card.layout-simple {
        display: flex;
        align-items: center;
        padding: 15px 20px;
        min-height: 60px;
    }

        .product-card.layout-simple .product-details {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            gap: 15px;
        }

            .product-card.layout-simple .product-details h3 {
                margin-bottom: 0;
                flex-shrink: 0;
                min-width: 0;
                word-wrap: break-word;
                overflow-wrap: break-word;
                line-height: 1.3;
            }

        .product-card.layout-simple .dotted-line {
            flex: 1;
            margin: 0 15px;
            height: 2px;
            background: repeating-linear-gradient( to right, #d4af37, #d4af37 4px, transparent 4px, transparent 8px );
        }

        .product-card.layout-simple .product-price {
            margin-top: 0;
            flex-shrink: 0;
            justify-content: flex-end;
        }

    /* Layout 2: With discount, no description */
    .product-card.layout-discount {
        padding: 20px;
        min-height: 100px;
    }

        .product-card.layout-discount .discount-ribbon {
            position: absolute;
            top: 10px;
            right: 10px;
            background: linear-gradient(135deg, var(--gold), var(--gold-light));
            color: #f9f7f2;
            padding: 5px 10px;
            border-radius: 15px;
            font-size: clamp(0.7rem, 2vw, 0.8rem);
            font-weight: 900;
            box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
            z-index: 2;
            transform: rotate(0deg);
            transform-origin: center;
        }

        .product-card.layout-discount .product-details h3 {
            margin-bottom: 15px;
            padding-right: 80px; /* Space for discount ribbon */
        }

        .product-card.layout-discount .product-price {
            margin-top: 15px;
            justify-content: flex-start;
            gap: 10px;
            padding-top: 15px;
            position: relative;
        }

            .product-card.layout-discount .product-price::before {
                content: '';
                position: absolute;
                top: 0;
                left: 50%;
                transform: translateX(-50%);
                width: min(200px, 80%);
                height: 2px;
                background: linear-gradient(90deg, transparent, #d4af37, transparent);
                border-radius: 1px;
                opacity: 0.5;
            }

    /* Layout 3: With description, no discount */
    .product-card.layout-description {
        padding: 20px;
        min-height: 120px;
    }

        .product-card.layout-description .product-details h3 {
            margin-bottom: 10px;
        }

        .product-card.layout-description .product-description {
            font-size: clamp(0.9rem, 2.5vw, 1rem);
            color: var(--text-gray);
            margin-bottom: 15px;
            line-height: 1.6;
            font-style: italic;
        }

        .product-card.layout-description .product-price {
            margin-top: 15px;
            justify-content: flex-start;
            padding-top: 15px;
            position: relative;
        }

            .product-card.layout-description .product-price::before {
                content: '';
                position: absolute;
                top: 0;
                left: 50%;
                transform: translateX(-50%);
                width: min(200px, 80%);
                height: 2px;
                background: linear-gradient(90deg, transparent, #d4af37, transparent);
                border-radius: 1px;
                opacity: 0.5;
            }

    /* Layout 4: With both discount and description */
    .product-card.layout-full {
        padding: 20px;
        min-height: 140px;
    }

        .product-card.layout-full .discount-ribbon {
            position: absolute;
            top: 10px;
            right: 10px;
            background: linear-gradient(135deg, var(--gold), var(--gold-light));
            color: #f9f7f2;
            padding: 5px 10px;
            border-radius: 15px;
            font-size: clamp(0.7rem, 2vw, 0.8rem);
            font-weight: 900;
            box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
            z-index: 2;
            transform: rotate(0deg);
            transform-origin: center;
        }

        .product-card.layout-full .product-details h3 {
            margin-bottom: 10px;
            padding-right: 80px; /* Space for discount ribbon */
        }

        .product-card.layout-full .product-description {
            font-size: clamp(0.9rem, 2.5vw, 1rem);
            color: var(--text-gray);
            margin-bottom: 15px;
            line-height: 1.6;
            font-style: italic;
        }

        .product-card.layout-full .product-price {
            margin-top: 15px;
            justify-content: flex-start;
            gap: 10px;
            padding-top: 15px;
            position: relative;
        }

            .product-card.layout-full .product-price::before {
                content: '';
                position: absolute;
                top: 0;
                left: 50%;
                transform: translateX(-50%);
                width: min(200px, 80%);
                height: 2px;
                background: linear-gradient(90deg, transparent, #d4af37, transparent);
                border-radius: 1px;
                opacity: 0.5;
            }

/* Common Product Card Elements */
.product-details h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 2.8vw, 1.6rem);
    font-weight: 600;
    color: var(--dark-blue);
    position: relative;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.product-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.regular-price {
    font-size: clamp(1rem, 2.9vw, 1.2rem);
    font-weight: 700;
    color: var(--dark-blue);
}

.price-with-discount {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.original-price {
    font-size: clamp(0.8rem, 2.4vw, 1rem);
    color: var(--text-light-gray);
    text-decoration: line-through;
}

.final-price {
    font-size: clamp(1.1rem, 2.9vw, 1.3rem);
    font-weight: 700;
    color: var(--dark-blue);
}

/* No Products Message */
.no-products {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-gray);
}

    .no-products .coffee-icon {
        font-size: 3rem;
        margin-bottom: 20px;
        display: block;
    }

    .no-products p {
        font-size: clamp(1rem, 3vw, 1.2rem);
        font-style: italic;
    }

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--dark-blue-light) 100%);
    color: var(--light-cream);
    padding: 30px 0;
    text-align: center;
    border-top: 3px solid var(--gold);
    margin-top: 50px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

    .footer-content p {
        font-size: clamp(0.8rem, 2vw, 1rem);
        color: var(--text-dark-gray);
        margin: 0;
    }

/* Mobile Specific Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }

    .logo-container {
        flex-direction: row;
        gap: 52px;
    }

    .troi-logo img {
        width: 100px;
        height: 100px;
    }

    .brand-text h1 {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .special-card {
        padding: 20px;
        margin: 0% 50%;
        width: 100%;
        max-width: 850px;
        min-width: 250px;
    }

    .discount-ribbon {
        padding: 10px 10%;
        font-size: clamp(0.7rem, 2vw, 0.9rem);
    }

    .special-title {
        font-size: clamp(1.1rem, 3.5vw, 1.8rem);
        margin-bottom: 12px;
    }

    .special-content h3 {
        font-size: clamp(1.1rem, 2.8vw, 1.6rem);
    }

    .special-header {
        flex-direction: column;
        gap: 8px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 10px;
    }

    /* Mobile adjustments for simple layout */
    .product-card.layout-simple {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
        min-height: auto;
    }

        .product-card.layout-simple .product-details {
            flex-direction: column;
            gap: 10px;
            align-items: stretch;
        }

        .product-card.layout-simple .dotted-line {
            margin: 10px 0;
            order: 2;
        }

        .product-card.layout-simple .product-details h3 {
            order: 1;
            text-align: left;
            font-size: clamp(1.1rem, 2.8vw, 1.6rem);
        }

        .product-card.layout-simple .product-price {
            order: 3;
            justify-content: flex-start;
        }

    /* Mobile adjustments for other layouts */
    .product-card.layout-discount,
    .product-card.layout-description,
    .product-card.layout-full {
        padding: 15px;
    }

        .product-card.layout-description .product-details h3 {
            font-size: clamp(1.1rem, 2.8vw, 1.6rem);
        }

        .product-card.layout-discount .product-details h3,
        .product-card.layout-full .product-details h3 {
            padding-right: 70px; /* Reduced space for smaller screens */
            font-size: clamp(1.1rem, 2.8vw, 1.6rem);
        }

    .product-details h3 {
        font-size: clamp(1.1rem, 2.8vw, 1.6rem);
        line-height: 1.4;
    }

    .product-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        font-size: clamp(0.9rem, 2.4vw, 1.1rem);
    }

    .sections-tabs {
        border-radius: 12px;
        margin: 0 8px;
    }

    .tabs-wrapper {
        padding: 0 10px;
    }

    .tab-link {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .dropdown-menu {
        min-width: 200px;
        max-width: 85vw;
    }
}

@media (max-width: 480px) {
    .logo-container {
        flex-direction: row;
        gap: 40px;
    }

    .troi-logo img {
        width: 80px;
        height: 80px;
    }

    .brand-text h1 {
        font-size: 1.8rem;
    }

    .menu-title {
        font-size: 2.5rem;
    }

    .special-card {
        padding: 12px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .special-content {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

        .special-content h3 {
            font-size: clamp(1.1rem, 2.8vw, 1.6rem);
            word-wrap: break-word;
            overflow-wrap: break-word;
            hyphens: auto;
        }

        .special-content .product-description {
            font-size: clamp(0.8rem, 2vw, 1rem);
            word-wrap: break-word;
            overflow-wrap: break-word;
            hyphens: auto;
        }

    .product-card.layout-simple,
    .product-card.layout-discount,
    .product-card.layout-description,
    .product-card.layout-full {
        padding: 12px;
    }

        .product-card.layout-discount .product-details h3,
        .product-card.layout-full .product-details h3 {
            padding-right: 50px;
            font-size: clamp(1.1rem, 2.8vw, 1.6rem);
        }

        .product-card.layout-simple .product-details h3,
        .product-card.layout-description .product-details h3 {
            font-size: clamp(1.1rem, 2.8vw, 1.6rem);
        }

    .special-card {
        padding: 16px;
        margin: 10px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
        max-width: 380px;
        min-width: 200px;
    }

    .discount-ribbon {
        padding: 5px 10%;
        font-size: clamp(0.6rem, 1.8vw, 0.8rem);
    }

    .special-title {
        font-size: clamp(1rem, 3vw, 1.5rem);
        margin-bottom: 10px;
    }

    .special-discount .discount-badge {
        padding: 6px 12px;
        font-size: clamp(0.8rem, 2vw, 1rem);
    }

    .special-content {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

        .special-content h3 {
            font-size: clamp(1.1rem, 2.8vw, 1.6rem);
            word-wrap: break-word;
            overflow-wrap: break-word;
            hyphens: auto;
        }

        .special-content .product-description {
            font-size: clamp(0.7rem, 1.8vw, 0.9rem);
            word-wrap: break-word;
            overflow-wrap: break-word;
            hyphens: auto;
        }

    .sections-tabs {
        border-radius: 8px;
        margin: 0 4px;
    }

    .container {
        padding: 0 8px;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .menu-header {
        padding: 20px 0;
    }

    .todays-special-fixed {
        padding: 15px 0;
    }

    .sections-tabs {
        padding: 10px 0;
    }

    .content-container {
        padding: 20px 0;
    }
}

/* Large screens optimization */
@media (min-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 30px;
    }

    .product-card.layout-simple {
        padding: 24px 32px;
    }

    .product-card.layout-discount,
    .product-card.layout-description,
    .product-card.layout-full {
        padding: 32px;
    }

    .sections-tabs {
        border-radius: 20px;
        margin: 0 16px;
    }

    .special-card {
        padding: 32px;
        margin: 24px 12px;
    }

    .special-content h3 {
        font-size: clamp(1.1rem, 2.8vw, 1.6rem);
    }

    .product-card.layout-simple .product-details h3,
    .product-card.layout-discount .product-details h3,
    .product-card.layout-description .product-details h3,
    .product-card.layout-full .product-details h3 {
        font-size: clamp(1.1rem, 2.8vw, 1.6rem);
    }
}

/* Touch-friendly improvements */
@media (hover: none) {
    .tab-link:hover,
    .dropdown-btn:hover,
    .dropdown-section-link:hover,
    .product-card:hover,
    .special-card:hover {
        transform: none;
    }

    .tab-link,
    .dropdown-btn,
    .dropdown-section-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.product-card.layout-discount,
.product-card.layout-description,
.product-card.layout-full {
    padding: 12px;
}

    .product-card.layout-discount .product-details h3,
    .product-card.layout-full .product-details h3 {
        padding-right: 60px;
    }

.product-details h3 {
    font-size: clamp(1.1rem, 2.8vw, 1.6rem);
    line-height: 1.5;
}

.tabs-wrapper {
    gap: 5px;
}

.tab-link {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.dropdown-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
}

@media (max-width: 360px) {
    .products-grid {
        grid-template-columns: 1fr;
        padding: 5px;
    }

    .product-card.layout-simple,
    .product-card.layout-discount,
    .product-card.layout-description,
    .product-card.layout-full {
        padding: 16px;
    }

    .special-card {
        width: 100%;
        max-width: 320px;
        min-width: 180px;
        padding: 14px;
        margin: 8px;
    }

    .discount-ribbon {
        padding: 4px 12%;
        font-size: clamp(0.5rem, 1.5vw, 0.7rem);
    }

    .special-content h3 {
        font-size: clamp(1.1rem, 2.8vw, 1.6rem);
    }

    .product-card.layout-simple .product-details h3,
    .product-card.layout-discount .product-details h3,
    .product-card.layout-description .product-details h3,
    .product-card.layout-full .product-details h3 {
        font-size: clamp(1.1rem, 2.8vw, 1.6rem);
    }
}
