/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo h2 {
    color: #e74c3c;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-links {
    display: flex;
    gap: 1rem;
}

.user-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.user-name {
    cursor: pointer;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 150px;
    display: none;
    z-index: 1001;
}

.user-menu:hover .user-dropdown {
    display: block;
}

.user-option {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #333;
    transition: background 0.3s ease;
}

.user-option:hover {
    background: #f8f9fa;
}

.cart-btn {
    background: transparent;
    color: #333;
    border: 2px solid #8e44ad;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(142, 68, 173, 0.2);
    position: relative;
}

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

.cart-btn:hover {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(142, 68, 173, 0.5);
    border-radius: 10px;
}

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

.cart-btn:hover .cart-count {
    transform: none;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.8);
}

.cart-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(39, 174, 96, 0.4);
}

.cart-icon {
    transition: all 0.3s ease;
}

.cart-btn:hover .cart-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Language Selector */
.language-selector {
    position: relative;
    display: inline-block;
    margin-right: 1rem;
    z-index: 1002;
}

.current-lang {
    cursor: pointer;
    padding: 0.5rem 1rem;
    background: #ff6b6b;
    color: white;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.current-lang::after {
    content: '▼';
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.language-selector:hover .current-lang::after {
    transform: rotate(180deg);
}

.current-lang:hover {
    background: #e74c3c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 150px;
    display: none;
    z-index: 1001;
}

.language-selector:hover .language-dropdown {
    display: block;
}

.lang-option {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #333;
    transition: background 0.3s ease;
}

.lang-option:hover {
    background: #f8f9fa;
}

.lang-option.active {
    background: #007bff;
    color: white;
}



/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #e74c3c;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 1rem;
    }
    
    .nav-container {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .nav-logo h2 {
        font-size: 1.4rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu .nav-link {
        padding: 0.8rem 1rem;
        border-radius: 8px;
        background: #f8f9fa;
        text-align: center;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .nav-menu .nav-link:hover {
        background: #e74c3c;
        color: white;
        transform: translateY(-2px);
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu .nav-link {
        padding: 0.8rem 1rem;
        border-radius: 8px;
        background: #f8f9fa;
        text-align: center;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .nav-menu .nav-link:hover {
        background: #e74c3c;
        color: white;
        transform: translateY(-2px);
    }
    
    .nav-right {
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .language-selector {
        margin-right: 0.5rem;
    }
    
    .current-lang {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .language-dropdown {
        left: auto;
        right: 0;
        min-width: 120px;
    }
    
    .auth-links {
        gap: 0.5rem;
    }
    
    .auth-links .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .cart-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
        background: transparent !important;
        color: #333 !important;
        border: 2px solid #8e44ad !important;
        /* Disable hover effects on mobile */
        transform: none !important;
        box-shadow: 0 2px 8px rgba(142, 68, 173, 0.2) !important;
        border-radius: 8px !important;
    }
    
    .cart-btn:hover {
        transform: none !important;
        box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3) !important;
        border-radius: 8px !important;
    }
    
    .cart-btn:hover .cart-icon {
        transform: none !important;
    }
    
    .cart-btn:hover .cart-count {
        transform: none !important;
        box-shadow: 0 5px 15px rgba(255, 0, 0, 0.8) !important;
    }
    
    .cart-icon {
        font-size: 1rem;
    }
    
    .cart-count {
        display: none !important; /* Hide on mobile */
        opacity: 1 !important;
        visibility: visible !important;
        background: #ff0000 !important;
        color: white !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 1rem !important;
        border: 4px solid white !important;
        z-index: 9999 !important;
    }
    
    .cart-count-mobile {
        display: none !important; /* Hide on desktop */
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    
    /* Show mobile cart count on mobile devices */
    @media (max-width: 768px) {
        .cart-count-mobile {
            display: flex !important;
            opacity: 1 !important;
            visibility: visible !important;
        }
    }
    
    /* Mobile Cart Count - Top Corner */
    .cart-count-mobile {
        position: fixed;
        top: 80px;
        right: 15px;
        width: 24px;
        height: 24px;
        background: linear-gradient(135deg, #e74c3c, #c0392b);
        color: white;
        border-radius: 50%;
        display: none; /* Hide by default */
        align-items: center;
        justify-content: center;
        font-size: 0.7rem;
        font-weight: 700;
        z-index: 1003;
        box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
        border: 2px solid white;
        opacity: 0;
        transform: scale(0.8);
        transition: all 0.3s ease;
        pointer-events: auto;
    }
    
    .cart-count-mobile.show {
        opacity: 1;
        transform: scale(1);
    }
    
    .cart-count-mobile:hover {
        transform: scale(1.2);
        box-shadow: 0 8px 20px rgba(231, 76, 60, 0.7);
        background: linear-gradient(135deg, #c0392b, #e74c3c);
        cursor: pointer;
    }
    
    .cart-count-mobile:hover {
        transform: scale(1.15);
        box-shadow: 0 8px 20px rgba(231, 76, 60, 0.7);
        background: linear-gradient(135deg, #c0392b, #e74c3c);
    }
    
    .cart-count-mobile.pulse {
        animation: cartPulse 0.6s ease;
    }
    
    @keyframes cartPulse {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.2);
        }
        100% {
            transform: scale(1);
        }
    }
    
    .user-menu {
        position: relative;
    }
    
    .user-name {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .user-dropdown {
        right: 0;
        min-width: 120px;
    }
}

/* Mobile Modal Adjustments */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-footer {
        padding: 1rem;
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .modal-footer .btn-primary,
    .modal-footer .btn-secondary {
        width: 100%;
        padding: 0.8rem 1rem;
    }
    
    /* Cart Modal Mobile */
    #cartModal .modal-content {
        max-width: 95%;
    }
    
    #cartModal .modal-body {
        padding: 1rem;
        max-height: 60vh;
    }
    
    .cart-item {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
    
    .cart-item-image {
        width: 80px;
        height: 80px;
        margin: 0 auto;
    }
    
    .cart-item-quantity {
        margin: 0;
        justify-content: center;
    }
    
    .cart-total {
        padding: 1rem;
        margin-top: 0.8rem;
    }
    
    /* Product Modal Mobile */
    #productModal .modal-content {
        max-width: 95%;
    }
    
    #productModal .modal-body {
        padding: 1rem;
    }
    
    .product-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    #modalProductImage {
        height: 200px;
    }
    
    .product-options {
        padding: 1rem;
    }
    
    .option-item {
        padding: 0.6rem;
    }
    
    .quantity-selector {
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    .quantity-selector button {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    /* Cart Confirmation Modal */
    .cart-confirm-modal {
        max-width: 420px;
        text-align: center;
        border: none;
        box-shadow: 0 24px 60px rgba(0,0,0,0.18);
        transform: translateY(0);
        transition: transform .25s ease, box-shadow .25s ease;
        backdrop-filter: saturate(1.1);
    }
    .cart-confirm-icon {
        width: 72px;
        height: 72px;
        margin: 0 auto 1rem auto;
        border-radius: 50%;
        background: #e9f7ef;
        color: #27ae60;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 32px;
        box-shadow: inset 0 0 0 3px #c8f0d9;
        animation: popIn 280ms ease-out;
    }
    @keyframes popIn {
        0% { transform: scale(0.6); opacity: 0; }
        60% { transform: scale(1.05); opacity: 1; }
        100% { transform: scale(1); }
    }
    .product-badge {
        display: inline-block;
        margin: 0.3rem 0 1.2rem 0;
        padding: 0.45rem 0.8rem;
        background: #f6f8fa;
        border: 1px solid #e6e9ed;
        border-radius: 999px;
        font-size: 0.9rem;
        color: #34495e;
    }
    
    .cart-confirm-modal .modal-header {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .cart-confirm-modal .modal-header h3 {
        color: #27ae60;
        font-size: 1.6rem;
        margin-bottom: 0;
        letter-spacing: 0.2px;
    }
    
    .cart-confirm-modal .modal-body {
        padding: 2rem 1.5rem;
    }
    
    .cart-confirm-modal .modal-body p {
        font-size: 1.1rem;
        color: #666;
        margin-bottom: 2rem;
        line-height: 1.6;
    }
    
    .cart-confirm-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cart-confirm-buttons .btn-primary,
    .cart-confirm-buttons .btn-secondary {
        min-width: 150px;
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 9px;
        transition: all 0.25s ease;
    }
    
    .cart-confirm-buttons .btn-primary {
        background: #27ae60;
        border: 2px solid #27ae60;
        color: white;
    }
    
    .cart-confirm-buttons .btn-primary:hover {
        background: #219a52;
        border-color: #219a52;
        transform: translateY(-2px) scale(1.01);
        box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
    }
    
    .cart-confirm-buttons .btn-secondary {
        background: transparent;
        border: 2px solid #6c757d;
        color: #6c757d;
    }
    
    .cart-confirm-buttons .btn-secondary:hover {
        background: #6c757d;
        color: white;
        transform: translateY(-2px) scale(1.01);
        box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
    }
    
    /* Mobile Cart Confirmation Modal */
    @media (max-width: 768px) {
        .cart-confirm-modal {
            max-width: 95%;
            margin: 10% auto;
        }
        
        .cart-confirm-modal .modal-body {
            padding: 1.5rem 1rem;
        }
        
        .cart-confirm-buttons {
            flex-direction: column;
            gap: 0.8rem;
        }
        
        .cart-confirm-buttons .btn-primary,
        .cart-confirm-buttons .btn-secondary {
            width: 100%;
            min-width: auto;
        }
    }

    /* Desktop enhancements */
    @media (min-width: 992px) {
        .cart-confirm-modal { max-width: 540px; }
        .cart-confirm-modal .modal-body { padding: 2.2rem 2rem; }
        .cart-confirm-modal .modal-header h3 { font-size: 1.8rem; }
        .cart-confirm-icon { width: 84px; height: 84px; font-size: 38px; }
        .cart-confirm-buttons .btn-primary,
        .cart-confirm-buttons .btn-secondary { min-width: 180px; padding: 1rem 1.8rem; font-size: 1.05rem; }
        .cart-confirm-modal .modal-body p { font-size: 1.05rem; }
    }
    
    /* Checkout Modal Mobile */
    #checkoutModal .modal-content {
        max-width: 95%;
        max-height: 90vh;
        display: flex;
        flex-direction: column;
    }
    
    #checkoutModal .modal-body {
        padding: 1rem;
        max-height: 65vh;
        overflow-y: auto;
        flex: 1;
    }
    
    .user-info-card,
    .guest-info-card {
        padding: 1.5rem;
    }
    
    #checkoutForm {
        padding: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.95rem;
    }
    
    .delivery-options {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .delivery-options label {
        padding: 0.7rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .navbar {
        padding: 0.6rem 0.8rem;
    }
    
    .nav-logo h2 {
        font-size: 1.2rem;
    }
    
    .nav-right {
        gap: 0.3rem;
    }
    
    .current-lang {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .cart-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .auth-links .nav-link {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
    
    /* Adjust mobile cart count position for smaller screens */
    .cart-count-mobile {
        top: 90px;
        right: 10px;
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
    }
    
    .modal-content {
        width: 98%;
        margin: 2% auto;
    }
    
    .modal-header {
        padding: 0.8rem;
    }
    
    .modal-body {
        padding: 0.8rem;
    }
    
    .modal-footer {
        padding: 0.8rem;
    }
    
    .cart-item {
        padding: 0.8rem;
    }
    
    .cart-item-image {
        width: 60px;
        height: 60px;
    }
    
    .product-options {
        padding: 0.8rem;
    }
    
    .option-item {
        padding: 0.5rem;
    }
    
    .quantity-selector {
        padding: 0.6rem;
    }
    
    .quantity-selector button {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    
    .user-info-card,
    .guest-info-card,
    #checkoutForm {
        padding: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .modal-content {
        margin: 2% auto;
        max-height: 95vh;
    }
    
    #cartModal .modal-body,
    #checkoutModal .modal-body {
        max-height: 50vh;
    }
    
    .product-details {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    #modalProductImage {
        height: 150px;
    }
}

[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-right {
    flex-direction: row-reverse;
}

[dir="rtl"] .language-selector {
    margin-right: 0;
    margin-left: 1rem;
}

[dir="rtl"] .language-dropdown {
    left: auto;
    right: 0;
}

[dir="rtl"] .user-dropdown {
    left: auto;
    right: 0;
}

[dir="rtl"] .about-content {
    flex-direction: row-reverse;
}



[dir="rtl"] .delivery-options {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-content {
    flex-direction: row-reverse;
}

.nav-brand h1 {
    color: #e74c3c;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-brand i {
    margin-right: 0.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #e74c3c;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #e74c3c;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #ff0000 !important;
    color: white !important;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 900;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.8);
    z-index: 9999;
    pointer-events: none;
    transition: all 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
    border: 4px solid white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* RTL support for Arabic, Hebrew, Persian */
[dir="rtl"] .cart-count {
    right: auto;
    left: -15px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 50vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)),
                url('https://images.unsplash.com/photo-1626645738196-c2a7c87a8f58?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.4), rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 2.4rem;
    margin-bottom: 0.6rem;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 0.7rem 1.6rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

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

.cta-button:hover {
    background: linear-gradient(135deg, #ee5a52 0%, #ff6b6b 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    border-radius: 12px;
}

.cta-button:hover::before {
    left: 100%;
}



/* Alternative grüne Version */
.cta-button.green {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.cta-button.green:hover {
    background: linear-gradient(135deg, #45a049 0%, #4CAF50 100%);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

/* Alternative orange-rötliche Version */
.cta-button.orange {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.cta-button.orange:hover {
    background: linear-gradient(135deg, #f57c00 0%, #ff9800 100%);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.4);
}

/* Menu Section */
.menu-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.menu-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.menu-filters {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.filter-btn {
    padding: 1rem 2rem;
    border: 2px solid #e74c3c;
    background: transparent;
    color: #e74c3c;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

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

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

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    border-color: #c0392b;
}

.filter-btn.active {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    transform: translateY(-3px);
}

/* RTL Support for menu filters */
[dir="rtl"] .menu-filters {
    flex-direction: row-reverse;
}

[dir="rtl"] .filter-btn {
    text-align: center;
}

/* Mobile responsive for menu filters */
@media (max-width: 768px) {
    .menu-filters {
        gap: 0.8rem;
        padding: 0.5rem 0;
    }
    
    .filter-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
        border-radius: 25px;
    }
}

@media (max-width: 480px) {
    .menu-filters {
        gap: 0.5rem;
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
    }
}

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

.category-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid #e74c3c;
    background: transparent;
    color: #e74c3c;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-btn.active,
.category-btn:hover {
    background: #e74c3c;
    color: white;
}

.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 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-item-content {
    padding: 1.5rem;
}

.menu-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.menu-item p {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.options-indicator {
    display: inline-block;
    font-size: 0.8rem;
    color: #e74c3c;
    background: #ffeaea;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Product Options Styles */
.product-options {
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

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

.option-group:last-child {
    margin-bottom: 0;
}

.option-group h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.option-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.3rem 0;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.option-item:hover {
    background: #e9ecef;
}

.option-item input[type="radio"],
.option-item input[type="checkbox"] {
    margin: 0;
    cursor: pointer;
}

.option-text {
    font-size: 0.85rem;
    color: #555;
    flex: 1;
}

.option-item input:checked + .option-text {
    color: #e74c3c;
    font-weight: 500;
}

.menu-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e74c3c;
}

.add-to-cart {
    padding: 0.5rem 1rem;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.add-to-cart:hover {
    background: #c0392b;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 1rem;
    display: block;
}

.feature h3 {
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 1.3rem;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #e74c3c;
    margin-right: 1rem;
    margin-top: 0.5rem;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #e74c3c;
}

.submit-btn {
    padding: 1rem 2rem;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #c0392b;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 3% auto;
        width: 92%;
        max-height: 80vh;
    }
    
    #cartModal .modal-content,
    #checkoutModal .modal-content,
    #productModal .modal-content {
        margin: 2% auto;
        width: 94%;
        max-height: 85vh;
        max-width: 90%;
    }
}

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

.modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.close {
    color: #aaa;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.close:hover {
    color: #333;
}

.modal-body {
    padding: 1.5rem;
}

/* Modern Cart Modal Styles */
#cartModal .modal-content {
    max-width: 400px;
    max-height: 75vh;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
}

#cartModal .modal-header {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border-radius: 15px 15px 0 0;
    border-bottom: none;
}

#cartModal .modal-header h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

#cartModal .close {
    color: white;
    font-size: 1.8rem;
}

#cartModal .close:hover {
    color: #f1f2f6;
    transform: scale(1.1);
}

#cartModal .modal-body {
    padding: 1rem;
    overflow-y: visible;
}

#cartItems {
    margin-bottom: 2rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 0.6rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f2f6;
}

.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.cart-item-image {
    width: 35px;
    height: 35px;
    border-radius: 5px;
    object-fit: cover;
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.15rem;
    font-size: 0.85rem;
}

.cart-item-options {
    font-size: 0.7rem;
    color: #7f8c8d;
    margin-bottom: 0.15rem;
}

.cart-item-price {
    font-weight: 600;
    color: #27ae60;
    font-size: 0.9rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.quantity-btn {
    width: 20px;
    height: 20px;
    border: none;
    background: #27ae60;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-btn {
    width: 22px;
    height: 22px;
    border: none;
    background: #e74c3c;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.remove-btn:hover {
    background: #c0392b;
}

.quantity-btn:hover {
    background: #229954;
    transform: scale(1.1);
}

.quantity-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
}

.quantity-display {
    font-weight: 600;
    color: #2c3e50;
    min-width: 20px;
    text-align: center;
}

.cart-total {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.cart-total strong {
    font-size: 1.3rem;
    font-weight: 600;
}

#cartModal .modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

#cartModal .btn-secondary {
    background: #95a5a6;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
}

#cartModal .btn-secondary:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
}

#cartModal .btn-primary {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
}

#cartModal .btn-primary:hover {
    background: linear-gradient(135deg, #229954, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #7f8c8d;
}

.cart-empty i {
    font-size: 4rem;
    color: #bdc3c7;
    margin-bottom: 1rem;
}

.cart-empty p {
    font-size: 1.1rem;
    margin: 0;
}

/* Modern Product Modal Styles */
#productModal .modal-content {
    max-width: 580px;
    max-height: 80vh;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
}

#productModal .modal-header {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border-radius: 15px 15px 0 0;
    border-bottom: none;
}

#productModal .modal-header h3 {
    color: white;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
}

#productModal .close {
    color: white;
    font-size: 1.8rem;
}

#productModal .close:hover {
    color: #f1f2f6;
    transform: scale(1.1);
}

#productModal .modal-body {
    padding: 1rem;
    overflow-y: visible;
}

.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

#modalProductImage {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#modalProductDescription {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.product-options {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.option-group {
    margin-bottom: 1.5rem;
}

.option-group:last-child {
    margin-bottom: 0;
}

.option-group h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.option-group h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 2px;
}

.option-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.option-item:hover {
    border-color: #e74c3c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.1);
}

.option-item input[type="radio"],
.option-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #e74c3c;
}

.option-text {
    flex: 1;
    font-weight: 500;
    color: #2c3e50;
}

.option-item input:checked + .option-text {
    color: #e74c3c;
    font-weight: 600;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.quantity-selector label {
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.quantity-selector button {
    width: 35px;
    height: 35px;
    border: none;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.quantity-selector span {
    font-weight: 600;
    color: #2c3e50;
    min-width: 30px;
    text-align: center;
    font-size: 1.1rem;
}

.total-price {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.total-price strong {
    font-size: 1.1rem;
    font-weight: 600;
}

#productModal .modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: center;
}

#productModal .btn-primary {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-width: 160px;
}

#productModal .btn-primary:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

/* Modern Checkout Modal Styles */
#checkoutModal .modal-content {
    max-width: 480px;
    max-height: 80vh;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
}

#checkoutModal .modal-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border-radius: 15px 15px 0 0;
    border-bottom: none;
}

#checkoutModal .modal-header h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

#checkoutModal .close {
    color: white;
    font-size: 1.8rem;
}

#checkoutModal .close:hover {
    color: #f1f2f6;
    transform: scale(1.1);
}

#checkoutModal .modal-body {
    padding: 1rem;
    overflow-y: visible;
}

.user-status-section {
    margin-bottom: 2rem;
}

.user-info-card,
.guest-info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    text-align: center;
}

.user-info-card h3,
.guest-info-card h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.user-info-card p,
.guest-info-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

#checkoutForm {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.delivery-options {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.delivery-options label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.delivery-options label:hover {
    border-color: #3498db;
    background: #e3f2fd;
}

.delivery-options input[type="radio"] {
    accent-color: #3498db;
}

#checkoutModal .modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: center;
}

#checkoutModal .btn-primary,
#checkoutModal .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    min-width: 150px;
}

#checkoutModal .btn-primary {
    background: #3498db !important;
    color: #fff !important;
    box-shadow: none !important;
    transform: none !important;
}

#checkoutModal .btn-primary:hover,
#checkoutModal .btn-primary:active,
#checkoutModal .btn-primary:focus {
    background: #3498db !important;
    color: #fff !important;
    box-shadow: none !important;
    transform: none !important;
}

#checkoutModal .btn-secondary {
    background: #95a5a6;
    color: white;
}

#checkoutModal .btn-secondary:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
}

/* Modern Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
    z-index: 3000;
    font-weight: 600;
    font-size: 0.95rem;
    max-width: 350px;
    animation: notificationSlideIn 0.4s ease;
    border-left: 4px solid #229954;
}

@keyframes notificationSlideIn {
    0% {
        opacity: 0;
        transform: translateX(100%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes notificationSlideOut {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(100%) scale(0.8);
    }
}

.notification.success {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-left-color: #229954;
}

.notification.error {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-left-color: #c0392b;
}

.notification.info {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-left-color: #2980b9;
}

.notification.warning {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    border-left-color: #e67e22;
}

/* Responsive Design for Modals */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .product-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    #modalProductImage {
        height: 200px;
    }
    
    .delivery-options {
        flex-direction: column;
    }
    
    /* Mobile: Buttons untereinander */
    .form-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    #checkoutModal .modal-footer {
        flex-direction: column;
        gap: 1rem;
        position: sticky;
        bottom: 0;
        background: white;
        border-top: 2px solid #e9ecef;
        box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
        margin: 0 -1rem -1rem -1rem;
        padding: 1rem;
    }
    
    #checkoutModal .btn-primary,
    #checkoutModal .btn-secondary,
    #checkoutModal #placeOrder,
    #checkoutModal #paypalButton {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 8px;
        border: none;
        cursor: pointer;
        transition: none !important;
        box-shadow: none !important;
        transform: none !important;
        -webkit-appearance: none;
    }
    
    #checkoutModal #placeOrder {
        background: #27ae60 !important;
        color: white !important;
        margin-bottom: 0.5rem;
    }
    
    #checkoutModal #paypalButton {
        background: #3498db !important;
        color: white !important;
    }
    
    /* Disable ALL interaction effects on mobile for payment buttons */
    #checkoutModal #placeOrder:hover,
    #checkoutModal #placeOrder:focus,
    #checkoutModal #placeOrder:active {
        background: #27ae60 !important;
        color: white !important;
        box-shadow: none !important;
        transform: none !important;
    }
    
    #checkoutModal #paypalButton:hover,
    #checkoutModal #paypalButton:focus,
    #checkoutModal #paypalButton:active {
        background: #3498db !important;
        color: white !important;
        box-shadow: none !important;
        transform: none !important;
    }
    
    /* Remove any webkit appearances */
    #checkoutModal #placeOrder,
    #checkoutModal #paypalButton {
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
        -webkit-tap-highlight-color: transparent !important;
        -webkit-touch-callout: none !important;
        -webkit-user-select: none !important;
        user-select: none !important;
    }
    
    #checkoutModal .btn-secondary {
        background: #95a5a6;
        color: white;
        border: none;
        padding: 0.8rem 1.5rem;
        border-radius: 8px;
        cursor: pointer;
        font-weight: 600;
        transition: all 0.3s ease;
        flex: 1;
    }
    
    #checkoutModal .btn-secondary:hover {
        background: #7f8c8d;
        transform: translateY(-2px);
    }
    
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
        top: 80px;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

/* Product Info Styles */
.product-info {
    margin-bottom: 1.5rem;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.product-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.product-info-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-info-link i {
    color: #e74c3c;
    font-size: 0.9rem;
}

.info-link {
    color: #e74c3c;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.info-link:hover {
    text-decoration: underline;
}

/* User Status Section Styles */
.user-status-section {
    margin-bottom: 2rem;
}

.user-info-card, .guest-info-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

.user-info-card h3, .guest-info-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.user-info-card p, .guest-info-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.user-info-card .btn, .guest-info-card .btn {
    margin: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.user-info-card .btn-primary, .guest-info-card .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.user-info-card .btn-primary:hover, .guest-info-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.user-info-card .btn-secondary, .guest-info-card .btn-secondary {
    background: #6c757d;
    color: white;
}

.user-info-card .btn-secondary:hover, .guest-info-card .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Modal Product Options */
.modal .product-options {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.modal .option-group {
    margin-bottom: 1.5rem;
}

.modal .option-group:last-child {
    margin-bottom: 0;
}

.modal .option-group h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Removed automatic "Optional" label */

.modal .option-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.modal .option-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.modal .option-item:hover {
    background: #e9ecef;
}

.modal .option-item input[type="radio"],
.modal .option-item input[type="checkbox"] {
    margin: 0;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.modal .option-text {
    font-size: 0.9rem;
    color: #555;
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal .option-item input:checked + .option-text {
    color: #e74c3c;
    font-weight: 500;
}

/* Modal Footer */
.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border-radius: 0 0 15px 15px;
}

/* Form Actions Container */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Global Payment Button Styles */
#placeOrder {
    background: #27ae60 !important;
    color: white !important;
    border: 2px solid #27ae60 !important;
    transform: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    -webkit-tap-highlight-color: transparent !important;
    flex: 1;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

#paypalButton {
    background: #007bff !important;
    color: white !important;
    border: 2px solid #007bff !important;
    transform: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    -webkit-tap-highlight-color: transparent !important;
    flex: 1;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

#placeOrder:hover,
#placeOrder:focus,
#placeOrder:active {
    background: #27ae60 !important;
    border: 2px solid #27ae60 !important;
    transform: none !important;
    box-shadow: none !important;
}

#paypalButton:hover,
#paypalButton:focus,
#paypalButton:active {
    background: #007bff !important;
    border: 2px solid #007bff !important;
    transform: none !important;
    box-shadow: none !important;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    border-radius: 25px;
    padding: 0.5rem;
    border: 1px solid #ddd;
}

.qty-btn {
    width: 35px;
    height: 35px;
    border: none;
    background: #f8f9fa;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: #e74c3c;
    color: white;
}

#modalQuantity {
    font-weight: 600;
    color: #333;
    min-width: 30px;
    text-align: center;
}

.add-to-cart-modal {
    padding: 0.8rem 1.5rem;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.add-to-cart-modal:hover {
    background: #c0392b;
}

#modalTotalPrice {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 85vh;
    }
    
    .modal-footer {
        flex-direction: column;
        gap: 1rem;
    }
    
    .quantity-selector {
        align-self: flex-start;
    }
    
    .add-to-cart-modal {
        width: 100%;
        justify-content: center;
    }
}

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

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: #333;
}

.cart-item-options {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #e74c3c;
}

.cart-option-group {
    margin-bottom: 0.5rem;
}

.cart-option-group:last-child {
    margin-bottom: 0;
}

.cart-option-type {
    font-size: 0.75rem;
    font-weight: 600;
    color: #e74c3c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.cart-option-items {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.cart-option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #555;
}

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

.option-price {
    color: #e74c3c;
    font-weight: 600;
    font-size: 0.8rem;
}

.cart-item-price {
    color: #e74c3c;
    font-weight: 600;
}

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

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.cart-total {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 2px solid #eee;
    text-align: right;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e74c3c;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #e74c3c;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #e74c3c;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes modalFadeIn {
    0% {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    100% {
        opacity: 1;
        backdrop-filter: blur(5px);
    }
}

.modal {
    animation: modalFadeIn 0.3s ease;
    background-color: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
}

.modal-content {
    animation: modalSlideIn 0.4s ease;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 24px 64px rgba(0,0,0,0.22);
}

/* Cart Confirmation Modal – Global (Desktop & Mobile) */
.cart-confirm-modal {
    max-width: 480px;
    text-align: center;
    border: none;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
    transform: translateY(0);
    transition: transform .25s ease, box-shadow .25s ease;
    backdrop-filter: saturate(1.1);
}
.cart-confirm-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem auto;
    border-radius: 50%;
    background: #e9f7ef;
    color: #27ae60;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    box-shadow: inset 0 0 0 3px #c8f0d9;
    animation: popIn 280ms ease-out;
}
.product-badge {
    display: inline-block;
    margin: 0.3rem 0 1.2rem 0;
    padding: 0.5rem 0.9rem;
    background: #f6f8fa;
    border: 1px solid #e6e9ed;
    border-radius: 999px;
    font-size: 0.95rem;
    color: #34495e;
}
.cart-confirm-modal .modal-header {
    border-bottom: none;
    padding-bottom: 0;
}
.cart-confirm-modal .modal-header h3 {
    color: #27ae60;
    font-size: 1.75rem;
    margin-bottom: 0;
    letter-spacing: 0.2px;
}
.cart-confirm-modal .modal-body {
    padding: 2rem 2rem;
}
.cart-confirm-modal .modal-body p {
    font-size: 1.05rem;
    color: #5a5f63;
    margin-bottom: 1.6rem;
    line-height: 1.6;
}
.cart-confirm-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.cart-confirm-buttons .btn-primary,
.cart-confirm-buttons .btn-secondary {
    min-width: 170px;
    padding: 0.95rem 1.6rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.25s ease;
}
.cart-confirm-buttons .btn-primary {
    background: #27ae60;
    border: 2px solid #27ae60;
    color: white;
}
.cart-confirm-buttons .btn-primary:hover {
    background: #219a52;
    border-color: #219a52;
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}
.cart-confirm-buttons .btn-secondary {
    background: transparent;
    border: 2px solid #6c757d;
    color: #6c757d;
}
.cart-confirm-buttons .btn-secondary:hover {
    background: #6c757d;
    color: white;
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* Ultra Modern Payment Status Modal - Yeşilimsi Tema */
.ultra-payment-modal {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ultra-payment-content {
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    background: linear-gradient(145deg, #e8f5e8 0%, #f0fdf4 50%, #dcfce7 100%);
    border-radius: 25px;
    box-shadow: 
        0 25px 50px rgba(34, 197, 94, 0.4),
        0 0 0 1px rgba(34, 197, 94, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    animation: modalSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Animated Background */
.ultra-payment-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: linear-gradient(45deg, rgba(34, 197, 94, 0.1), rgba(74, 222, 128, 0.1));
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 30%;
    right: 20%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 25%;
    left: 25%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-15px) rotate(180deg);
        opacity: 1;
    }
}

/* Main Content */
.ultra-payment-main {
    position: relative;
    z-index: 2;
    padding: 30px 25px;
    text-align: center;
}

/* Status Icon */
.ultra-payment-icon {
    margin-bottom: 25px;
}

.icon-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 
        0 15px 30px rgba(34, 197, 94, 0.4),
        0 0 0 1px rgba(34, 197, 94, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: iconPulse 2s ease-in-out infinite;
}

.icon-container i {
    font-size: 2.5rem;
    color: white;
    animation: iconBounce 1s ease-in-out;
}

.success-icon {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.error-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.warning-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 15px 30px rgba(34, 197, 94, 0.4),
            0 0 0 1px rgba(34, 197, 94, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 20px 40px rgba(34, 197, 94, 0.6),
            0 0 0 1px rgba(34, 197, 94, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
}

@keyframes iconBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Status Title */
.ultra-payment-title h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #166534;
    margin: 0 0 12px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: titleSlideIn 0.8s ease-out;
}

/* Status Message */
.ultra-payment-message p {
    font-size: 1rem;
    color: #15803d;
    margin: 0 0 25px 0;
    line-height: 1.5;
    animation: messageSlideIn 1s ease-out;
}

/* Payment Cards */
.ultra-payment-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 
        0 8px 25px rgba(34, 197, 94, 0.15),
        0 0 0 1px rgba(34, 197, 94, 0.1);
    overflow: hidden;
    animation: cardSlideIn 1.2s ease-out;
    text-align: left;
}

.card-header {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-header i {
    font-size: 1.1rem;
}

.card-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.card-content {
    padding: 16px;
    color: #374151;
    font-size: 0.9rem;
}

/* Order Summary Content */
.order-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}

.order-item:last-child {
    border-bottom: none;
    font-weight: 700;
    border-top: 2px solid #22c55e;
    margin-top: 8px;
    padding-top: 12px;
}

.order-item-info {
    flex: 1;
}

.order-item-name {
    font-weight: 500;
    color: #1f2937;
    font-size: 0.9rem;
}

.order-item-details {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 2px;
}

.order-item-price {
    font-weight: 600;
    color: #22c55e;
    font-size: 0.9rem;
}

/* Transaction Details */
.transaction-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}

.transaction-detail:last-child {
    border-bottom: none;
}

.transaction-label {
    font-weight: 500;
    color: #374151;
    font-size: 0.85rem;
}

.transaction-value {
    font-weight: 600;
    color: #22c55e;
    font-size: 0.85rem;
}

/* Action Buttons */
.ultra-payment-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.ultra-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 130px;
    justify-content: center;
}

.primary-btn {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.6);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #22c55e;
    border: 2px solid #22c55e;
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.2);
}

.secondary-btn:hover {
    background: #22c55e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

/* Close Button */
.ultra-payment-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #22c55e;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.ultra-payment-close:hover {
    background: #22c55e;
    color: white;
    transform: scale(1.1);
}

/* Animations */
@keyframes modalSlideIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes titleSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes messageSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design for Payment Modal */
@media (max-width: 768px) {
    .ultra-payment-content {
        width: 95%;
        margin: 10px;
    }
    
    .ultra-payment-main {
        padding: 20px 15px;
    }
    
    .ultra-payment-title h2 {
        font-size: 1.5rem;
    }
    
    .ultra-payment-message p {
        font-size: 0.9rem;
    }
    
    .ultra-payment-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .ultra-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .icon-container {
        width: 70px;
        height: 70px;
    }
    
    .icon-container i {
        font-size: 2rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

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

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .menu-categories {
        flex-direction: column;
        align-items: center;
    }

    .category-btn {
        width: 200px;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .modal-footer {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .features {
        grid-template-columns: 1fr;
    }
}

/* Product Modal compact overrides to reduce content and enable internal scrolling */
#productModal .modal-content {
    max-width: 520px;
}

#productModal .modal-body {
    max-height: 58vh;
    overflow-y: auto;
}

#modalProductImage {
    height: 180px;
}

#productModal .product-details {
    gap: 1rem;
}

#productModal .product-options {
    padding: 0.8rem;
}

#productModal .option-item {
    gap: 0.5rem;
    padding: 0.5rem;
}

#productModal .option-group h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

#productModal .quantity-selector {
    gap: 0.6rem;
    padding: 0.6rem;
}

#productModal .quantity-selector button {
    width: 28px;
    height: 28px;
    font-size: 1rem;
}

#productModal .total-price {
    padding: 0.9rem;
}

#productModal .total-price strong {
    font-size: 1.05rem;
}

#modalTotalPrice {
    font-size: 1rem;
}

#productModal .btn-primary {
    padding: 0.6rem 1.2rem;
    min-width: 140px;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    #productModal .modal-body {
        max-height: 62vh;
    }
    #modalProductImage {
        height: 150px;
    }
}

.option-group {
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 1rem;
}

.option-group:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.option-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.option-group h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.optional-label {
    font-size: 0.75rem;
    color: #999;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Admin Panel Specific Styles for Option Grouping */
.admin-panel .option-group {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-bottom: none; /* Override general border-bottom */
}

.admin-panel .option-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee; /* Light border for admin group header */
}

.admin-panel .option-group-header h4 {
    color: #333;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-panel .optional-label {
    color: #666;
    font-size: 0.8rem;
    font-style: italic;
}

.admin-panel .options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}
