/* WordPress Lunch Box Product Styles */

.lunch-box-product-details-container {
    font-family: "Lato", sans-serif;
    padding-top: 20px;
}

/* Category Navigation */
.lunch-box-product-details-category-navigation {
    margin-bottom: 20px;
}

/* Desktop Tabs */
.lunch-box-product-details-category-tabs {
    display: flex;
    gap: 4px;
    background: #f8fcfa;
    padding: 8px;
    border-radius: 16px;
    border: 2px solid rgba(27, 156, 133, 0.1);
    overflow-x: auto;
}

.lunch-box-product-details-category-tab {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    
    position: relative;
    overflow: hidden;
}

.lunch-box-product-details-category-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(27, 156, 133, 0.1), transparent);
    transition: left 0.3s ease;
}

.lunch-box-product-details-category-tab:hover::before {
    left: 100%;
}

.lunch-box-product-details-category-tab:hover {
    color: #1B9C85;
    background: rgba(27, 156, 133, 0.05);
}

.lunch-box-product-details-category-tab.active {
    background: linear-gradient(135deg, #1B9C85, #7EC6B7);
    color: white;
    box-shadow: 0 4px 12px rgba(27, 156, 133, 0.3);
    transform: translateY(-1px);
}

/* Mobile Dropdown */
.lunch-box-product-details-category-dropdown-wrapper {
    display: none;
    position: relative;
}

.lunch-box-product-details-category-dropdown {
    width: 100%;
    background: linear-gradient(135deg, #ffffff, #f8fcfa);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.lunch-box-product-details-category-dropdown:hover {
    border-color: #1B9C85;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(27, 156, 133, 0.15);
}

.lunch-box-product-details-selected-category {
    font-size: 1rem;
    font-weight: 700;
    color: #1a202c;
}

.lunch-box-product-details-dropdown-arrow {
    font-size: 12px;
    color: #1B9C85;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #1B9C85, #7EC6B7);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.lunch-box-product-details-category-dropdown.open .lunch-box-product-details-dropdown-arrow {
    transform: rotate(180deg);
}

.lunch-box-product-details-category-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #1B9C85;
    border-top: none;
    border-radius: 0 0 12px 12px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 6px 20px rgba(27, 156, 133, 0.2);
}

.lunch-box-product-details-category-options.open {
    max-height: 300px;
    overflow-y: auto;
}

.lunch-box-product-details-category-option {
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(27, 156, 133, 0.1);
    font-weight: 600;
    color: #1a202c;
}

.lunch-box-product-details-category-option:last-child {
    border-bottom: none;
}

.lunch-box-product-details-category-option:hover {
    background: linear-gradient(135deg, #f8fcfa, #f0f9f7);
    transform: translateX(4px);
}

.lunch-box-product-details-category-option.selected {
    background: linear-gradient(135deg, rgba(27, 156, 133, 0.1), rgba(126, 198, 183, 0.1));
    color: #1B9C85;
    border-left: 4px solid #1B9C85;
}

/* Category Information Section */
.lunch-box-product-details-category-info {
    margin-bottom: 20px;
    padding: 16px;
    background: linear-gradient(135deg, #f8fcfa, #ffffff);
    border-radius: 16px;
    border: 2px solid rgba(27, 156, 133, 0.1);
}

.lunch-box-product-details-category-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #1a202c;
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, #1B9C85, #7EC6B7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lunch-box-product-details-category-description {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 12px 0;
    font-weight: 500;
}

/* Delivery Badge in Category Info */
.lunch-box-product-details-category-info .lunch-box-product-details-delivery-badge {
    background: linear-gradient(135deg, #1B9C85 0%, #159c85 50%, #0e8571 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    border: 2px solid rgba(27, 156, 133, 0.2);
    box-shadow: 0 4px 15px rgba(27, 156, 133, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    animation: deliveryFloat 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.lunch-box-product-details-category-info .lunch-box-product-details-delivery-badge span:first-child {
    font-size: 1rem;
    animation: deliveryTruckBounce 2s ease-in-out infinite;
}

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

@keyframes deliveryTruckBounce {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(2px); }
}

/* Remove old hero section styles and update main content */

/* .lunch-box-product-details-details-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
} */

.lunch-box-product-details-main-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 30px;
    padding: 0;
    align-items: start;
    max-width: none;
    margin-top: 20px;
    margin-bottom: 30px;
    width: 100%;
}

/* Bottom sections below main content - Remove outer boxes */
.lunch-box-product-details-allergies-section {
    margin-bottom: 30px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
}

.lunch-box-product-details-meals-section {
    margin-bottom: 30px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
}

/* Meals Header - Title and Counter on same line */
.lunch-box-product-details-meals-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.lunch-box-product-details-meals-header .lunch-box-product-details-section-title {
    margin: 0;
    flex-shrink: 0;
}

.lunch-box-product-details-meals-header .lunch-box-product-details-meals-counter {
    margin: 0;
    text-align: right;
    flex-shrink: 0;
    position: static;
    left: auto;
    transform: none;
    display: inline-block;
}

.lunch-box-product-details-cart-section {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Meal Selection Styles */
.lunch-box-product-details-meals-counter {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1B9C85;
    margin-bottom: 20px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(27, 156, 133, 0.1), rgba(126, 198, 183, 0.05));
    border-radius: 25px;
    border: 1px solid rgba(27, 156, 133, 0.2);
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.lunch-box-product-details-meals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Meal Card Layout Enhancement */
.lunch-box-product-details-meal-card {
    background: linear-gradient(135deg, #ffffff, #fafbfc);
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    min-height: 320px; /* Ensure consistent height */
}

.lunch-box-product-details-meal-info {
    padding: 16px;
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding-bottom: 8px; /* Reduce bottom padding */
}

/* Meal Quantity Controls - Enhanced with smooth transitions */
.lunch-box-product-details-meal-quantity-section {
    margin: 12px;
    margin-top: auto; /* Push to bottom of card */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 48px; /* Consistent height for all states */
    position: relative;
}

/* Add Button - Full Width */
.lunch-box-product-details-add-meal-btn {
    background:  linear-gradient(135deg, #1B9C85 0%, #159c85 50%, #0e8571 100%);
    color: white;
    border: none;
    padding: 6px 24px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 
        0 4px 15px rgba(37, 99, 235, 0.25),
        0 2px 4px rgba(37, 99, 235, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    width: 100%;
    
    overflow: hidden;
    position: relative;
}

/* Hide add button when quantity controls are visible */
.lunch-box-product-details-meal-quantity-section:has(.lunch-box-product-details-meal-quantity-controls.visible) .lunch-box-product-details-add-meal-btn {
    display: none;
}

/* Fallback for browsers that don't support :has() */
.lunch-box-product-details-add-meal-btn.hidden {
    display: none;
}

.lunch-box-product-details-add-meal-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;
}

.lunch-box-product-details-add-meal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px #1B9C85,
        0 4px 10px #0e8571,
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background:  linear-gradient(135deg, #1B9C85 0%, #159c85 50%, #0e8571 100%);
}

.lunch-box-product-details-add-meal-btn:hover::before {
    left: 100%;
}

.lunch-box-product-details-add-meal-btn:active {
    transform: translateY(-1px);
    transition: all 0.1s ease;
}

/* Quantity Controls Container - Full Width */
.lunch-box-product-details-meal-quantity-controls {
    display: none; /* Initially hidden, shown when meal is added */
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 2px solid #e2e8f0;
    border-radius: 40px;
    padding: 2px 12px;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.05),
        0 2px 4px rgba(0, 0, 0, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
   z-index: 3;
    animation: slideInUp 0.4s ease-out;
}

/* Animation for quantity controls appearing */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Show quantity controls when meal has quantity */
.lunch-box-product-details-meal-quantity-controls.visible {
    display: flex !important;
}

.lunch-box-product-details-meal-quantity-controls:hover {
    border-color: #cbd5e1;
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.08),
        0 3px 6px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Quantity Buttons - Optimized for full-width layout */
.lunch-box-product-details-quantity-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 
        0 2px 8px rgba(16, 185, 129, 0.2),
        0 1px 2px rgba(16, 185, 129, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    user-select: none;
    flex-shrink: 0;
}

.lunch-box-product-details-quantity-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
}

.lunch-box-product-details-quantity-btn:hover {
    transform: scale(1.08);
    box-shadow: 
        0 4px 16px rgba(16, 185, 129, 0.3),
        0 2px 4px rgba(16, 185, 129, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.lunch-box-product-details-quantity-btn:active {
    transform: scale(0.98);
    transition: all 0.1s ease;
}

.lunch-box-product-details-quantity-btn.decrease {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 
        0 2px 8px rgba(239, 68, 68, 0.2),
        0 1px 2px rgba(239, 68, 68, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.lunch-box-product-details-quantity-btn.decrease:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 
        0 4px 16px rgba(239, 68, 68, 0.3),
        0 2px 4px rgba(239, 68, 68, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Quantity Display - Enhanced for full-width layout */
.lunch-box-product-details-meal-quantity-display {
    font-weight: 700;
    font-size: 18px;
    color: #1e293b;
    min-width: 60px;
    text-align: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #ffffff 100%);
    border-radius: 8px;

    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    position: relative;
    flex-grow: 1;
    margin: 0 12px;
}

.lunch-box-product-details-meal-quantity-display::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.lunch-box-product-details-meal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(27, 156, 133, 0.1), transparent);
    transition: left 0.4s ease;
    z-index: 1;
}

.lunch-box-product-details-meal-card:hover::before {
    left: 100%;
}

.lunch-box-product-details-meal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(27, 156, 133, 0.15);
    border-color: #1B9C85;
}

.lunch-box-product-details-meal-card.selected {
    border-color: #1B9C85;
    background: linear-gradient(135deg, rgba(27, 156, 133, 0.08), rgba(126, 198, 183, 0.05));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(27, 156, 133, 0.2);
}

.lunch-box-product-details-meal-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.lunch-box-product-details-meal-image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lunch-box-product-details-meal-card:hover .lunch-box-product-details-meal-image img {
    transform: scale(1.05);
}

.lunch-box-product-details-meal-selected-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #1B9C85, #7EC6B7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(27, 156, 133, 0.3);
    z-index: 3;
}

.lunch-box-product-details-meal-tags {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.lunch-box-product-details-meal-tag {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.lunch-box-product-details-meal-tag.protein {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.9), rgba(220, 38, 38, 0.8));
}

.lunch-box-product-details-meal-tag.popular {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.9), rgba(245, 158, 11, 0.8));
}

.lunch-box-product-details-meal-tag.healthy {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.9), rgba(22, 163, 74, 0.8));
}

.lunch-box-product-details-meal-tag.omega {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(37, 99, 235, 0.8));
}

.lunch-box-product-details-meal-tag.vegetarian {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.9), rgba(22, 163, 74, 0.8));
}

.lunch-box-product-details-meal-tag.light {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.9), rgba(147, 51, 234, 0.8));
}

.lunch-box-product-details-meal-tag.traditional {
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.9), rgba(107, 114, 128, 0.8));
}

.lunch-box-product-details-meal-tag.comfort {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.9), rgba(249, 115, 22, 0.8));
}

.lunch-box-product-details-meal-tag.spicy {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.9), rgba(220, 38, 38, 0.8));
}

.lunch-box-product-details-meal-tag.asian {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.9), rgba(245, 158, 11, 0.8));
}

.lunch-box-product-details-meal-tag.creamy {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.9), rgba(147, 51, 234, 0.8));
}

.lunch-box-product-details-meal-tag.seafood {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(37, 99, 235, 0.8));
}

.lunch-box-product-details-meal-tag.quick {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.9), rgba(5, 150, 105, 0.8));
}

.lunch-box-product-details-meal-card.selected .lunch-box-product-details-meal-selected-indicator {
    opacity: 1;
    transform: scale(1);
}

.lunch-box-product-details-meal-info {
    padding: 16px;
    position: relative;
    z-index: 2;
}

/* .lunch-box-product-details-meal-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a202c;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.lunch-box-product-details-meal-description {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.4;
    margin: 0 0 8px 0;
    font-weight: 500;
} */

/* .lunch-box-product-details-meal-calories {
    font-size: 0.8rem;
    color: #1B9C85;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(27, 156, 133, 0.1), rgba(126, 198, 183, 0.05));
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-block;
    border: 1px solid rgba(27, 156, 133, 0.2);
    margin-bottom: 8px;
} */

/* Macros styling for regular cards */
.lunch-box-product-details-meal-macros {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.lunch-box-product-details-meal-macro {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.1), rgba(156, 163, 175, 0.05));
    padding: 3px 6px;
    border-radius: 8px;
    display: inline-block;
    border: 1px solid rgba(107, 114, 128, 0.15);
}

/* Meal Quantity Controls */
.lunch-box-product-details-meal-quantity-section {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lunch-box-product-details-media-section,
.lunch-box-product-details-configuration-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.lunch-box-product-details-media-section {
    position: relative;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    overflow: hidden;
    box-shadow: none;
}

.lunch-box-product-details-media-section::before {
    display: none;
}

.lunch-box-product-details-main-media-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(27, 156, 133, 0.15);
    margin-bottom: 15px;
    height: 420px;
    width: 100%;
    max-width: 100%;
    border: 3px solid rgba(27, 156, 133, 0.1);
    transition: all 0.4s ease;
}

/* .lunch-box-product-details-main-media-container:hover {
    box-shadow: 0 20px 45px rgba(27, 156, 133, 0.25);
    border-color: rgba(27, 156, 133, 0.3);
    transform: translateY(-2px);
} */

.lunch-box-product-details-main-media {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: all 0.4s ease;
    max-width: 100%;
}

.lunch-box-product-details-main-media-container:hover .lunch-box-product-details-main-media {
    transform: scale(1.02);
}

.lunch-box-product-details-media-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(27, 156, 133, 0.9));
    padding: 16px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.lunch-box-product-details-media-overlay-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.lunch-box-product-details-media-overlay-description {
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.95;
    margin: 0;
}

.lunch-box-product-details-main-media-container:hover .lunch-box-product-details-media-overlay {
    transform: translateY(0);
}

.lunch-box-product-details-carousel-wrapper {
    position: relative;
    margin: 0;
    padding: 8px;
    background: transparent;
    border-radius: 0;
    border: none;
}

.lunch-box-product-details-carousel-container {
    /* overflow: hidden; */
    position: relative;
    padding: 0 15px;
}

.lunch-box-product-details-thumbnail-carousel {
    display: flex;
    gap: 10px;
    padding: 8px 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.lunch-box-product-details-thumbnail-carousel::-webkit-scrollbar {
    height: 6px;
}

.lunch-box-product-details-thumbnail-carousel::-webkit-scrollbar-track {
    background: rgba(27, 156, 133, 0.1);
    border-radius: 3px;
}

.lunch-box-product-details-thumbnail-carousel::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #1B9C85, #7EC6B7);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.lunch-box-product-details-thumbnail-carousel::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #16a085, #6bb6a3);
}

.lunch-box-product-details-carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 252, 250, 0.9));
    border: 2px solid rgba(27, 156, 133, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #1B9C85;
    transition: all 0.3s ease;
    z-index: 100;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(27, 156, 133, 0.2);
    padding: 0px !important;
    font-weight: bold;
}

.lunch-box-product-details-carousel-nav-btn:hover {
    background: linear-gradient(135deg, #1B9C85, #7EC6B7);
    border-color: #1B9C85;
    color: white;
    box-shadow: 0 6px 18px rgba(27, 156, 133, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lunch-box-product-details-carousel-nav-btn.prev {
    left: 0px;
}

.lunch-box-product-details-carousel-nav-btn.next {
    right: 0px;
}

.lunch-box-product-details-carousel-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.5);
}

.lunch-box-product-details-thumbnail {
    flex: 0 0 85px;
    height: 85px;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid rgba(27, 156, 133, 0.2);
    transition: all 0.4s ease;
    position: relative;
    background: linear-gradient(135deg, #f8fcfa, #ffffff);
    box-shadow: 0 4px 12px rgba(27, 156, 133, 0.1);
}

.lunch-box-product-details-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(27, 156, 133, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.lunch-box-product-details-thumbnail:hover::before {
    opacity: 1;
}

.lunch-box-product-details-thumbnail:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(27, 156, 133, 0.25);
    border-color: #1B9C85;
}

.lunch-box-product-details-thumbnail.active {
    border-color: #1B9C85;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(27, 156, 133, 0.3);
    background: linear-gradient(135deg, rgba(27, 156, 133, 0.1), rgba(126, 198, 183, 0.05));
}

.lunch-box-product-details-thumbnail img,
.lunch-box-product-details-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lunch-box-product-details-video-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(27, 156, 133, 0.9), rgba(126, 198, 183, 0.8));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(27, 156, 133, 0.3);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.lunch-box-product-details-thumbnail:hover .lunch-box-product-details-video-indicator {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 18px rgba(27, 156, 133, 0.4);
}

.lunch-box-product-details-section-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding-left: 20px;
}

.lunch-box-product-details-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 18px;
    background: linear-gradient(180deg, #1B9C85, #7EC6B7);
    border-radius: 2px;
}

/* .lunch-box-product-details-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(27, 156, 133, 0.3), transparent);
    margin-left: 12px;
} */

.lunch-box-product-details-quantity-selector {
    position: relative;
    margin-bottom: 15px;
}

.lunch-box-product-details-quantity-dropdown {
    width: 100%;
    
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    background:white;
}

.lunch-box-product-details-quantity-dropdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(27, 156, 133, 0.1), transparent);
    transition: left 0.5s ease;
}

.lunch-box-product-details-quantity-dropdown:hover::before {
    left: 100%;
}

.lunch-box-product-details-quantity-dropdown:hover {
    border-color: #1B9C85;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(27, 156, 133, 0.15);
}

.lunch-box-product-details-quantity-dropdown.open {
    border-color: #1B9C85;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    box-shadow: 0 8px 20px rgba(27, 156, 133, 0.2);
}

.lunch-box-product-details-dropdown-selected {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.lunch-box-product-details-selected-quantity {
    font-size: 1.5rem;
    font-weight: 900;
    color: #1B9C85;
    
    min-width:30px;
    background: #1B9C85;
    -webkit-background-clip: text;
    
    background-clip: text;
    text-shadow: 0 2px 4px rgba(27, 156, 133, 0.2);
}

.lunch-box-product-details-selected-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.lunch-box-product-details-selected-label {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 1px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.lunch-box-product-details-selected-price {
    font-size: 1rem;
    font-weight: 700;
    color: #1a202c;
}

.lunch-box-product-details-dropdown-arrow {
    font-size: 12px;
    color: #1B9C85;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #1B9C85, #7EC6B7);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.lunch-box-product-details-quantity-dropdown.open .lunch-box-product-details-dropdown-arrow {
    transform: rotate(180deg);
    background: linear-gradient(135deg, #7EC6B7, #1B9C85);
}

.lunch-box-product-details-dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    /* border: 2px solid #1B9C85; */
    border-top: none;
    border-radius: 0 0 12px 12px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 6px 20px rgba(27, 156, 133, 0.2);
}

.lunch-box-product-details-dropdown-options.open {
    max-height: 280px;
    overflow-y: auto;
}

.lunch-box-product-details-dropdown-option {
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(27, 156, 133, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.lunch-box-product-details-dropdown-option::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(27, 156, 133, 0.1), transparent);
    transition: left 0.3s ease;
}

.lunch-box-product-details-dropdown-option:hover::before {
    left: 100%;
}

.lunch-box-product-details-dropdown-option:last-child {
    border-bottom: none;
    border-radius: 0 0 14px 14px;
}

.lunch-box-product-details-dropdown-option:hover {
    background: linear-gradient(135deg, #f8fcfa, #f0f9f7);
    transform: translateX(4px);
}

.lunch-box-product-details-dropdown-option.selected {
    background: linear-gradient(135deg, rgba(27, 156, 133, 0.1), rgba(126, 198, 183, 0.1));
    color: #1B9C85;
    border-left: 4px solid #1B9C85;
    font-weight: 700;
}

.lunch-box-product-details-option-left {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.lunch-box-product-details-option-quantity {
    font-size: 1.3rem;
    font-weight: 900;
    color: #1B9C85;
    min-width: 30px;
    background: #1B9C85;
    -webkit-background-clip: text;
  
    background-clip: text;
}

.lunch-box-product-details-option-details {
    display: flex;
    flex-direction: column;
}

.lunch-box-product-details-option-label {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 1px;
}

.lunch-box-product-details-option-price {
    font-weight: 600;
    color: #1a202c;
    font-size: 0.9rem;
}

.lunch-box-product-details-option-savings {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    position: relative;
    z-index: 2;
}

@keyframes savings-glow {
    0%, 100% { box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3); }
    50% { box-shadow: 0 4px 20px rgba(255, 107, 107, 0.5); }
}

/* Compact Discount Badge - New Design */
.lunch-box-product-details-compact-discount {
    background: linear-gradient(135deg, #1B9C85, #7EC6B7);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(27, 156, 133, 0.3);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 22px;
}

.lunch-box-product-details-compact-discount::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.lunch-box-product-details-dropdown-option:hover .lunch-box-product-details-compact-discount::before {
    transform: translateX(100%);
}

.lunch-box-product-details-dropdown-option:hover .lunch-box-product-details-compact-discount {
    box-shadow: 0 4px 12px rgba(27, 156, 133, 0.5);
    transform: scale(1.05);
}

.lunch-box-product-details-dropdown-option.selected .lunch-box-product-details-compact-discount {
    background: linear-gradient(135deg, #16a085, #6bb6a3);
    box-shadow: 0 3px 10px rgba(22, 160, 133, 0.4);
}

/* Subscription Discount Badge - Red Badge on Right Side */
.lunch-box-product-details-subscription-discount {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 24px;
    text-transform: uppercase;
}

.lunch-box-product-details-subscription-discount::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.lunch-box-product-details-dropdown-option:hover .lunch-box-product-details-subscription-discount::before {
    transform: translateX(100%);
}

.lunch-box-product-details-dropdown-option:hover .lunch-box-product-details-subscription-discount {
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.6);
    transform: scale(1.05);
}

.lunch-box-product-details-dropdown-option.selected .lunch-box-product-details-subscription-discount {
    background: linear-gradient(135deg, #e53e3e, #c53030);
    box-shadow: 0 3px 12px rgba(229, 62, 62, 0.5);
}

/* WooCommerce Discount Badge - Inline with Price */
.lunch-box-product-details-woo-discount-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.2px;
    box-shadow: 0 1px 4px rgba(245, 158, 11, 0.3);
    margin-left: 6px;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
}

/* Combined discount badge styling */
.lunch-box-product-details-combined-discount-badge {
    background: linear-gradient(135deg, #e2697e, #df2a4a);
    color: white;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.4);
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    position: relative;
}


/* Hover effects for combined badge */
.lunch-box-product-details-dropdown-option:hover .lunch-box-product-details-combined-discount-badge {
    background: linear-gradient(135deg, #e2697e, #df2a4a);
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(5, 150, 105, 0.6);
}

/* Update price display to handle inline badges */
.lunch-box-product-details-price-display {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.lunch-box-product-details-allergies-section {
    /* margin-bottom: 15px; */
    padding: 8px;
    background: transparent;
    border-radius: 0;
    border: none;
    position: relative;
    overflow: hidden;
}

.lunch-box-product-details-allergies-section::before {
    display: none;
}

.lunch-box-product-details-allergy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    position: relative;
    z-index: 2;
}

.lunch-box-product-details-allergy-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
   
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    
    min-width: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    background: linear-gradient(135deg, #ffffff, #fafbfc);
}

.lunch-box-product-details-allergy-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(27, 156, 133, 0.1), transparent);
    transition: left 0.4s ease;
}

.lunch-box-product-details-allergy-option:hover::before {
    left: 100%;
}

.lunch-box-product-details-allergy-option:hover {
    border-color: #1B9C85;
    background: linear-gradient(135deg, #f8fcfa, #f0f9f7);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(27, 156, 133, 0.15);
}

.lunch-box-product-details-allergy-checkbox {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid #cbd5e0;
    position: relative;
    transition: all 0.3s ease;
   
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.lunch-box-product-details-allergy-checkbox.checked {
    background: linear-gradient(135deg, #1B9C85, #7EC6B7);
    border-color: #1B9C85;
    transform: scale(1.05);
    box-shadow: 0 3px 12px rgba(27, 156, 133, 0.4);
}

.lunch-box-product-details-allergy-checkbox.checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: 900;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.lunch-box-product-details-subscription-section {
    margin-bottom: 15px;
    padding: 8px;
    background: transparent;
    border-radius: 0;
    border: none;
    position: relative;
    overflow: hidden;
}

.lunch-box-product-details-subscription-section::before {
    display: none;
}

.lunch-box-product-details-subscription-option {
    
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.lunch-box-product-details-subscription-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(27, 156, 133, 0.08), transparent);
    transition: left 0.5s ease;
}

.lunch-box-product-details-subscription-option:hover::before {
    left: 100%;
}

.lunch-box-product-details-radio-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.lunch-box-product-details-subscription-content {
    width: 100%;
    position: relative;
    z-index: 2;
}

.lunch-box-product-details-subscription-option:hover {
    border-color: #1B9C85;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(27, 156, 133, 0.15);
}

.lunch-box-product-details-subscription-option.selected {
    border-color: #1B9C85;
    background: linear-gradient(135deg, rgba(27, 156, 133, 0.08), rgba(126, 198, 183, 0.05));
    box-shadow: 0 8px 25px rgba(27, 156, 133, 0.2);
    transform: translateY(-2px);
}

.lunch-box-product-details-subscription-title {
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

.lunch-box-product-details-subscription-description {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.4;
    font-weight: 500;
    margin-left: 24px;
}

.lunch-box-product-details-radio-indicator {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e0;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    
    flex-shrink: 0;
}

.lunch-box-product-details-subscription-option.selected .lunch-box-product-details-radio-indicator {
    border-color: #1B9C85;
    background: linear-gradient(135deg, #1B9C85, #7EC6B7);
    transform: scale(1.05);
    box-shadow: 0 0 0 3px rgba(27, 156, 133, 0.2);
}

.lunch-box-product-details-subscription-option.selected .lunch-box-product-details-radio-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.lunch-box-product-details-cart-section {
   
    border: none;
    border-radius: 0;
    padding: 0px 16px;

    position: relative;
    overflow: hidden;
    box-shadow: none;
}

/* .lunch-box-product-details-cart-section::before {
    display: none;
} */

@keyframes shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

.lunch-box-product-details-total-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f8fcfa, #f0f9f7);
    border-radius: 16px;
    border: 1px solid rgba(27, 156, 133, 0.2);
}

.lunch-box-product-details-total-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.lunch-box-product-details-total-price {
    font-size: 2rem;
    font-weight: 900;
    color: #1B9C85;
    line-height: 1;
    margin-bottom: 2px;
    text-shadow: 0 2px 4px rgba(27, 156, 133, 0.2);
}

.lunch-box-product-details-total-label {
    font-size: 0.95rem;
    color: #4a5568;
    font-weight: 500;
    opacity: 0.8;
}

.lunch-box-product-details-savings-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 6px 12px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    animation: pulse-savings 2s ease-in-out infinite;
}

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

.lunch-box-product-details-add-to-cart-btn {
    width: 100%;
    max-width: 400px;
    background: linear-gradient(135deg, #1B9C85, #44a08d);
    color: white;
    border: none;
    padding: 18px 24px;
    border-radius: 16px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(27, 156, 133, 0.3);
    margin: 0 auto;
}

.lunch-box-product-details-add-to-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;
}

.lunch-box-product-details-add-to-cart-btn:hover::before {
    left: 100%;
}

.lunch-box-product-details-add-to-cart-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(27, 156, 133, 0.4);
    background: linear-gradient(135deg, #16a085, #3d9970);
}

.lunch-box-product-details-cart-icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.lunch-box-product-details-add-to-cart-btn:hover .lunch-box-product-details-cart-icon {
    transform: scale(1.2);
}

.lunch-box-product-details-cart-text {
    flex: 1;
    text-align: center;
}

.lunch-box-product-details-cart-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.lunch-box-product-details-add-to-cart-btn:hover .lunch-box-product-details-cart-arrow {
    transform: translateX(5px);
}

.lunch-box-product-details-add-to-cart-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(27, 156, 133, 0.3);
}

.lunch-box-product-details-contact-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.lunch-box-product-details-contact-link:hover {
    text-decoration: underline;
}
 .lunch-box-product-details-meal-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a202c;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.lunch-box-product-details-meal-description {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.4;
    margin: 0 0 8px 0;
    font-weight: 500;
 overflow: hidden;
  display: block;
  display: -webkit-box;        /* keep for wide compatibility */
  -webkit-box-orient: vertical;
  line-clamp: 2;               /* future-friendly shorthand where supported */
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
} 

/* Responsive Design */
@media (max-width: 1024px) {
    .lunch-box-product-details-main-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }
    
    /* Bottom sections remain full width on tablets */
    .lunch-box-product-details-bottom-sections {
        gap: 20px;
        padding: 0 30px;
    }
    
    .lunch-box-product-details-allergy-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 10px;
    }
    
    .lunch-box-product-details-meals-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
    
    .lunch-box-product-details-carousel-wrapper {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .lunch-box-product-details-container {
        padding: 12px;
    }
    
    /* Show mobile dropdown, hide desktop tabs */
    .lunch-box-product-details-category-tabs {
        display: none;
    }
    
    .lunch-box-product-details-category-dropdown-wrapper {
        display: block;
    }
    
    .lunch-box-product-details-category-title {
        font-size: 1.3rem;
    }
    
    .lunch-box-product-details-category-description {
        font-size: 0.9rem;
    }
    
    .lunch-box-product-details-main-content {
        padding: 0px;
    }
    
    /* Bottom sections remain full width on mobile */
    .lunch-box-product-details-bottom-sections {
        gap: 15px;
        padding: 0 12px;
    }
    
    .lunch-box-product-details-allergy-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 8px;
    }
    
    .lunch-box-product-details-meals-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    /* Add padding to allergies and meals sections on mobile */
    .lunch-box-product-details-allergies-section,
    .lunch-box-product-details-meals-section {
        padding: 0 30px;
    }

    .lunch-box-product-details-configuration-panel {
        padding: 25px;
    }    .lunch-box-product-details-carousel-wrapper {
        padding: 0 15px;
    }
    
    .lunch-box-product-details-carousel-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .lunch-box-product-details-carousel-nav-btn.prev {
        left: 5px;
    }
    
    .lunch-box-product-details-carousel-nav-btn.next {
        right: 5px;
    }
    
    .lunch-box-product-details-thumbnail {
        flex: 0 0 75px;
        height: 75px;
    }
    
    .lunch-box-product-details-main-media-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .lunch-box-product-details-category-title {
        font-size: 1.2rem;
    }
    
    .lunch-box-product-details-category-description {
        font-size: 0.85rem;
    }
    
    .lunch-box-product-details-configuration-panel {
        padding: 20px;
    }
    
    /* Add padding to allergies and meals sections on smaller mobile */
    /* .lunch-box-product-details-allergies-section,
    .lunch-box-product-details-meals-section {
        padding: 0 16px;
    } */

    .lunch-box-product-details-carousel-wrapper {
        padding: 0 10px;
    }    .lunch-box-product-details-thumbnail {
        flex: 0 0 65px;
        height: 65px;
    }
    
    .lunch-box-product-details-allergy-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .lunch-box-product-details-meals-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .lunch-box-product-details-meal-image {
        height: 180px;
    }
    
    .lunch-box-product-details-add-to-cart-btn {
        font-size: 1rem;
        padding: 16px 20px;
    }
}

/* Chef's Choice Section Styling */
.lunch-box-product-details-meals-subsection.chefs-choice {
    margin-top: 20px;
    /* padding-top: 30px;
    border-top: 3px solid #ff6b35; */
    position: relative;
}

/* .lunch-box-product-details-meals-subsection.chefs-choice::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #f39c12);
    border-radius: 3px;
} */

.lunch-box-product-details-meals-subsection.chefs-choice .lunch-box-product-details-subsection-title {
    color: #ff6b35;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}



/* .lunch-box-product-details-meals-subsection.chefs-choice .lunch-box-product-details-subsection-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 107, 53, 0.3), transparent);
    margin-left: 10px;
} */

/* Chef's Choice Grid */
/* .chefs-choice-grid {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.02), rgba(243, 156, 18, 0.02));
    border-radius: 20px;
    padding: 20px;
    border: 2px solid rgba(255, 107, 53, 0.1);
} */

/* Chef's Choice Cards */
.lunch-box-product-details-meal-card.chefs-choice-card {
    position: relative;
    background: #fff;
    /* border: 2px solid #ff6b35; */
    /* box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15); */
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lunch-box-product-details-meal-card.chefs-choice-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.25);
    border: 2px solid #ff6b35;
}

/* Chef's Badge */
.lunch-box-product-details-chefs-badge {
    position: absolute;
    bottom: 60px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b35, #f39c12);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    animation: pulse-chef 2s infinite;
}

@keyframes pulse-chef {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    }
}

/* Chef's Choice Tags */
.chefs-choice-card .lunch-box-product-details-meal-tags {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.chefs-choice-card .lunch-box-product-details-meal-tag.chefs-special {
    background: linear-gradient(135deg, #ff6b35, #f39c12);
    color: white;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.3);
}

.chefs-choice-card .lunch-box-product-details-meal-tag.premium {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.chefs-choice-card .lunch-box-product-details-meal-tag.gourmet {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.chefs-choice-card .lunch-box-product-details-meal-tag.luxury {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.chefs-choice-card .lunch-box-product-details-meal-tag.exclusive {
    background: linear-gradient(135deg, #1f2937, #374151);
    color: #fbbf24;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    border: 1px solid rgba(251,191,36,0.3);
}

/* Chef's Choice Meal Info */
/* .chefs-choice-card .lunch-box-product-details-meal-title {
    color: #ff6b35;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.chefs-choice-card .lunch-box-product-details-meal-description {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.4;
    margin: 0 0 8px 0;
    font-weight: 500;
} */

/* .chefs-choice-card .lunch-box-product-details-meal-calories {
    font-size: 0.8rem;
    color: #ff6b35;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(243, 156, 18, 0.05));
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-block;
    border: 1px solid rgba(255, 107, 53, 0.2);
    margin-bottom: 8px;
} */

/* Macros styling for chef's choice cards */
.chefs-choice-card .lunch-box-product-details-meal-macros {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.chefs-choice-card .lunch-box-product-details-meal-macro {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.1), rgba(156, 163, 175, 0.05));
    padding: 3px 6px;
    border-radius: 8px;
    display: inline-block;
    border: 1px solid rgba(107, 114, 128, 0.15);
}

/* Chef's Choice Selected State */
.chefs-choice-card.selected {
    border-color: #f39c12;
   background: linear-gradient(135deg, #f39d1214, #ff6b351c);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.3);
}

.chefs-choice-card.selected .lunch-box-product-details-meal-selected-indicator {
    background: linear-gradient(135deg, #f39c12, #ff6b35);
    border-color: #f39c12;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Responsive Design for Chef's Choice */
@media (max-width: 1024px) {
    .chefs-choice-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px;
    }
    
    .lunch-box-product-details-chefs-badge {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .lunch-box-product-details-meals-subsection.chefs-choice .lunch-box-product-details-subsection-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .lunch-box-product-details-meals-subsection.chefs-choice {
        margin-top: 30px;
        padding-top: 25px;
    }
    
    .chefs-choice-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 12px;
    }
    
    .lunch-box-product-details-meals-subsection.chefs-choice .lunch-box-product-details-subsection-title {
        font-size: 1.4rem;
    }
    
    .chefs-choice-card .lunch-box-product-details-meal-tags {
        gap: 4px;
    }
}

@media (max-width: 480px) {
    /* Meals Header Responsive */
    .lunch-box-product-details-meals-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .lunch-box-product-details-meals-header .lunch-box-product-details-meals-counter {
        text-align: left;
        align-self: stretch;
    }
    
    .chefs-choice-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px;
    }
    
    .lunch-box-product-details-chefs-badge {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        bottom: 12px;
        right: 12px;
    }
    
    .lunch-box-product-details-meals-subsection.chefs-choice .lunch-box-product-details-subsection-title {
        font-size: 1.3rem;
        gap: 8px;
    }
    
    .chefs-choice-card .lunch-box-product-details-meal-title {
        font-size: 1.1rem;
    }
}

/* Enhanced Pricing Display Styles */
.lunch-box-product-details-price-display {
    display: flex;
    flex-direction: row;
    gap: 4px;
    margin-top: 4px;
}

.lunch-box-product-details-original-price {
    font-size: 0.85rem;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 400;
}

.lunch-box-product-details-sale-price,
.lunch-box-product-details-current-price {
    font-size: 1rem;
    font-weight: 700;
    color: #1b9c85;
}

.lunch-box-product-details-option-savings {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 2px;
    margin-left: auto;
}

.discount-percentage {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.savings-amount {
    font-size: 0.7rem;
    color: #059669;
    font-weight: 600;
    white-space: nowrap;
}

/* Selected dropdown pricing */
.lunch-box-product-details-selected-pricing {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
}

.lunch-box-product-details-price-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.lunch-box-product-details-selected-pricing .lunch-box-product-details-original-price {
    font-size: 0.8rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.lunch-box-product-details-selected-pricing .lunch-box-product-details-current-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1b9c85;
}

.lunch-box-product-details-discount-badge {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    align-self: flex-start;
}

/* Plan type specific labels */
.lunch-box-product-details-option-details .lunch-box-product-details-option-label {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.lunch-box-product-details-selected-label {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

/* Enhanced dropdown option layout with badges on the right */
.lunch-box-product-details-option-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 2;
}

.lunch-box-product-details-option-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.lunch-box-product-details-option-right {
    display: flex;
    align-items: center;
    margin-left: 12px;
}

.lunch-box-product-details-option-badges {
    display: flex;
    gap: 6px;
    align-items: center;
}

/* Enhanced selected pricing layout */
.lunch-box-product-details-price-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
}

.lunch-box-product-details-price-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.lunch-box-product-details-badges-section {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-shrink: 0;
}

.lunch-box-product-details-selected-pricing {
    width: 100%;
}

/* Improved WooCommerce discount badge */
.lunch-box-product-details-woo-discount-badge {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(249, 115, 22, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

/* Improved subscription discount badge */
.lunch-box-product-details-subscription-discount {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

/* Hover effects for badges */
.lunch-box-product-details-dropdown-option:hover .lunch-box-product-details-woo-discount-badge {
    box-shadow: 0 3px 8px rgba(249, 115, 22, 0.4);
    transform: translateY(-1px);
}

.lunch-box-product-details-dropdown-option:hover .lunch-box-product-details-subscription-discount {
    box-shadow: 0 3px 8px rgba(220, 38, 38, 0.4);
    transform: translateY(-1px);
}

/* Selected dropdown styling update */


/* Responsive adjustments */
@media (max-width: 768px) {
    .lunch-box-product-details-price-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .lunch-box-product-details-badges-section {
        align-self: flex-end;
    }
    
    .lunch-box-product-details-option-content {
        flex-direction: column;
        gap: 8px;
    }
    
    .lunch-box-product-details-option-right {
        margin-left: 0;
        align-self: flex-end;
    }
}

/* ==================== MEAL INFO BUTTON STYLES ==================== */

/* Info Button Styles - Redesigned for Better Visibility */
.category-meals-info-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100; /* High z-index to ensure visibility */
    color: #374151;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.category-meals-info-btn:hover {
    background: #1B9C85; /* Primary green color */
    color: white;
    border-color: #1B9C85;
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.category-meals-info-btn:active {
    transform: scale(1.05);
}

.category-meals-info-btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
    transition: all 0.2s ease;
}

/* Ensure info button stays visible on mobile with higher z-index */
@media (max-width: 768px) {
    .category-meals-info-btn {
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
        z-index: 200; /* Even higher on mobile */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
        background: rgba(255, 255, 255, 0.98);
        border: 2px solid rgba(0, 0, 0, 0.15);
    }
    
    .category-meals-info-btn svg {
        width: 17px;
        height: 17px;
    }
}

@media (max-width: 480px) {
    .category-meals-info-btn {
        bottom: 8px;
        right: 8px;
        width: 36px;
        height: 36px;
        z-index: 200;
    }
    
    .category-meals-info-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* ==================== MODAL TAG STYLES ==================== */

.lunch-box-product-details-modal-tags .meal-modal-tag {
    background: rgba(27, 156, 133, 0.1);
    color: #1B9C85;
    border: 1.5px solid #1B9C85;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    margin: 2px 4px;
}

.lunch-box-product-details-modal-tags .meal-modal-tag:hover {
    background: #1B9C85;
    color: white;
    transform: translateY(-1px);
}

/* ==================== MODAL STYLES ==================== */

/* Body scroll lock when modal is open */
body.modal-open {
    overflow: hidden;
}

.lunch-box-product-details-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.lunch-box-product-details-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
}

.lunch-box-product-details-modal-container {
    position: relative;
    background: #EDF6EE;
    border-radius: 20px;
    max-width: 1100px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    overflow-y: auto;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        0 4px 20px -4px rgba(0, 0, 0, 0.2);
    transform: scale(0.92) translateY(30px);
    animation: modalSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
    scrollbar-width: thin;
    scrollbar-color: rgba(156, 163, 175, 0.5) transparent;
}

/* Custom scrollbar styling */
.lunch-box-product-details-modal-container::-webkit-scrollbar {
    width: 8px;
}

.lunch-box-product-details-modal-container::-webkit-scrollbar-track {
    background: transparent;
}

.lunch-box-product-details-modal-container::-webkit-scrollbar-thumb {
    background: rgba(156, 163, 175, 0.3);
    border-radius: 4px;
}

.lunch-box-product-details-modal-container::-webkit-scrollbar-thumb:hover {
    background: rgba(156, 163, 175, 0.5);
}

.lunch-box-product-details-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 50;
    width: 44px;
    height: 44px;
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #64748b;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lunch-box-product-details-modal-close:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.25);
}

.lunch-box-product-details-modal-close:active {
    transform: scale(0.98);
}

.lunch-box-product-details-modal-close svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.lunch-box-product-details-modal-content {
    display: flex;
    flex-direction: column;
    min-height: 500px;
    position: relative;
}

.lunch-box-product-details-modal-hero {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.lunch-box-product-details-modal-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.lunch-box-product-details-modal-hero:hover .lunch-box-product-details-modal-hero-image {
    transform: scale(1.02);
}

.lunch-box-product-details-modal-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 0, 0, 0.1) 50%, 
        rgba(0, 0, 0, 0.3) 100%
    );
}

.lunch-box-product-details-modal-card-content {
    flex: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.lunch-box-product-details-modal-main {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 0;
    min-height: 400px;
}

.lunch-box-product-details-modal-image {
    position: relative;
    background: #EDF6EE;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lunch-box-product-details-modal-image img {
    width: 100%;
    height: 280px !important;
    object-fit: cover !important;
    display: block;
    border-radius: 12px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.lunch-box-product-details-modal-badge {
    position: absolute;
    top: 10px;
    left: 20px;
    z-index: 20;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: rgba(0, 0, 0, 0.85);
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lunch-box-product-details-modal-badge svg {
    width: 14px;
    height: 14px;
}

.lunch-box-product-details-modal-details {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.lunch-box-product-details-modal-nutrition-container {
    width: 100%;
    padding: 24px 32px 32px;
    background: #EDF6EE;
    border-top: 1px solid #e2e8f0;
}

.lunch-box-product-details-modal-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lunch-box-product-details-modal-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.lunch-box-product-details-modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lunch-box-product-details-modal-description-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lunch-box-product-details-modal-description-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 5px;
}

.lunch-box-product-details-modal-description-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #1B9C85;
    border-radius: 2px;
    flex-shrink: 0;
}

.lunch-box-product-details-modal-description-text {
    color: #475569;
    line-height: 1.7;
    font-size: 16px;
    margin: 0;
    font-weight: 400;
}

.lunch-box-product-details-modal-nutrition-section {
    background: #EDF6EE;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lunch-box-product-details-modal-nutrition-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.lunch-box-product-details-modal-ingredients-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    display: flex;
    align-items: center;
    gap: 12px;
   
}

.lunch-box-product-details-modal-nutrition-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #10b981;
    border-radius: 2px;
    flex-shrink: 0;
}

.lunch-box-product-details-modal-ingredients-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #10b981;
    border-radius: 2px;
    flex-shrink: 0;
}
.lunch-box-product-details-modal-ingredients-content{
margin-bottom:20px;
line-height:1.7;
font-size:16px;
font-weight:400;
}

.lunch-box-product-details-modal-nutrition-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.lunch-box-product-details-modal-nutrition-item {
    background: #EDF6EE;
    border: 1px solid #e2e8f0;
    padding: 24px 16px;
    border-radius: 14px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.lunch-box-product-details-modal-nutrition-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1B9C85 0%, #7EC6B7 100%);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lunch-box-product-details-modal-nutrition-item:hover {
    background: #EDF6EE;
    border-color: #1B9C85;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(27, 156, 133, 0.12);
}

.lunch-box-product-details-modal-nutrition-item:hover::before {
    opacity: 1;
}

.lunch-box-product-details-modal-nutrition-value {
    font-size: 28px;
    font-weight: 900;
    color: #1B9C85;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    line-height: 1;
}

.lunch-box-product-details-modal-nutrition-label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
    margin-top: 4px;
}

.lunch-box-product-details-modal-footer {
    padding: 24px 32px 32px;
    display: flex;
    justify-content: center;
    border-top: 1px solid #e2e8f0;
    background: #fafafa;
}

.lunch-box-product-details-modal-btn {
    background: linear-gradient(135deg, #1B9C85 0%, #7EC6B7 100%);
    color: white;
    border: none;
    padding: 14px 36px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.75px;
    min-width: 140px;
    box-shadow: 0 4px 14px rgba(27, 156, 133, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lunch-box-product-details-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(27, 156, 133, 0.35);
    background: linear-gradient(135deg, #7EC6B7 0%, #1B9C85 100%);
}

.lunch-box-product-details-modal-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(27, 156, 133, 0.3);
}

/* Modal Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideUp {
    from {
        transform: scale(0.95) translateY(20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Mobile Responsive Modal */
@media (max-width: 768px) {
    .lunch-box-product-details-modal-overlay {
        padding: 16px;
        padding-top: 40px; /* Space for mobile browser UI */
        padding-bottom: 40px;
        align-items: flex-end;
    }
    
    .lunch-box-product-details-modal-container {
        max-height: 85vh;
        max-width: 95vw;
        border-radius: 16px 16px 0 0;
        transform: translateY(100%);
        animation: modalSlideUpMobile 0.3s ease-out 0.1s forwards;
    }
    
    .lunch-box-product-details-modal-main {
        grid-template-columns: 1fr;
    }
    
    .lunch-box-product-details-modal-image {
        height: auto;
        padding: 20px;
    }
    
    .lunch-box-product-details-modal-image img {
        height: 200px;
    }
    
    .lunch-box-product-details-modal-details {
        padding: 24px;
    }
    
    .lunch-box-product-details-modal-nutrition-container {
        padding: 20px 24px 24px;
    }
    
    .lunch-box-product-details-modal-title {
        font-size: 24px;
        margin-right: 40px;
    }
    
    .lunch-box-product-details-modal-close {
        top: 20px; /* Fixed position that stays within modal bounds */
        right: 20px;
        width: 36px;
        height: 36px;
    }
    
    .lunch-box-product-details-modal-badge {
        top: 12px;
        left: 12px;
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .lunch-box-product-details-modal-nutrition-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .lunch-box-product-details-modal-nutrition-item {
        padding: 16px;
    }
    
    .lunch-box-product-details-modal-nutrition-value {
        font-size: 20px;
        margin-bottom: 6px;
    }
    
    .lunch-box-product-details-modal-nutrition-label {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .lunch-box-product-details-modal-overlay {
        padding: 16px;
        padding-top: 60px; /* Space for mobile browser address bar */
        padding-bottom: 60px; /* Space for mobile browser navigation */
    }
    
    .lunch-box-product-details-modal-container {
        border-radius: 12px;
        max-height: 80vh; /* Conservative height that accounts for browser UI */
    }
    
    .lunch-box-product-details-modal-image {
        padding: 16px;
    }
    
    .lunch-box-product-details-modal-image img {
        height: 160px;
    }
    
    .lunch-box-product-details-modal-details {
        padding: 20px;
    }
    
    .lunch-box-product-details-modal-nutrition-container {
        padding: 16px 20px 20px;
    }
    
    .lunch-box-product-details-modal-title {
        font-size: 20px;
    }
    
    .lunch-box-product-details-modal-description div,
    .lunch-box-product-details-modal-nutrition div {
        font-size: 14px;
    }
    
    .lunch-box-product-details-modal-nutrition-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .lunch-box-product-details-modal-nutrition-item {
        padding: 12px;
    }
    
    .lunch-box-product-details-modal-nutrition-value {
        font-size: 18px;
    }
    
    .lunch-box-product-details-modal-nutrition-label {
        font-size: 10px;
    }
}

@keyframes modalSlideUpMobile {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}