/**
 * QuickBite - Store Premium UI/UX Styles
 * Estilo inspirado en Rappi/Uber Eats
 * Optimizado para San Valentin
 */

/* ============================================
   VARIABLES DE TEMA SAN VALENTIN
   ============================================ */
:root {
    --valentine-pink: #FF4B6E;
    --valentine-red: #E53935;
    --valentine-rose: #FFB6C1;
    --valentine-gradient: linear-gradient(135deg, #FF4B6E 0%, #E53935 100%);
    --discount-yellow: #FFD700;
    --discount-bg: #FFF8E1;
    --identimex-purple: #7C3AED;
    --identimex-gradient: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
}

/* ============================================
   LAYOUT RESPONSIVO - Solo móvil (no afecta desktop)
   ============================================ */

/* Tablet - corregir margin-bottom insuficiente */
@media (max-width: 768px) {
    .restaurant-header {
        margin-bottom: 100px !important;
        height:auto !important; 
    }

    .restaurant-info {
        bottom: -80px !important;
    }

    .tabs-container {
        margin-bottom: 8px !important;
    }
}

/* Móvil */
@media (max-width: 576px) {
    .restaurant-header {
        height: 220px !important;
        margin-bottom: 95px !important;
    }

    .restaurant-info {
        bottom: -75px !important;
        padding: 50px 16px 16px 16px !important;
    }

    .restaurant-logo {
        width: 70px !important;
        height: 70px !important;
        top: -35px !important;
    }

    .restaurant-name {
        font-size: 1.3rem !important;
        margin-top: 18px !important;
    }

    .tabs-container {
        margin-bottom: 6px !important;
    }

    .nav-tabs .nav-link {
        padding: 14px 0 !important;
        font-size: 0.9rem !important;
    }
}

/* Móvil pequeño */
@media (max-width: 480px) {
    .restaurant-header {
        height: 200px !important;
        margin-bottom: 0px !important;
    }

    .restaurant-info {
        bottom: -25px !important;
        padding: px !important;
        padding: 48px 14px 14px 14px !important;
    }

    .restaurant-logo {
        width: 65px !important;
        height: 65px !important;
        top: -12px !important;
    }

    .restaurant-name {
        font-size: 1.2rem !important;
        margin-top: 16px !important;
    }
}

/* Móvil muy pequeño */
@media (max-width: 380px) {
    .restaurant-header {
        height: 180px !important;
        margin-bottom: 85px !important;
    }

    .restaurant-info {
        bottom: -65px !important;
        padding: 45px 12px 12px 12px !important;
    }

    .restaurant-logo {
        width: 60px !important;
        height: 60px !important;
        top: -30px !important;
    }

    .restaurant-name {
        font-size: 1.1rem !important;
    }
}

/* ============================================
   DELIVERY INFO BANNER (Tiempo + Costo)
   ============================================ */
.delivery-info-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0 0 20px 0;
    padding: 0;
}

.delivery-info-card {
    background: var(--card-bg, #ffffff);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color, #e9ecef);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.delivery-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.delivery-info-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.delivery-info-icon.time {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
}

.delivery-info-icon.cost {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
}

.delivery-info-text {
    flex: 1;
    min-width: 0;
}

.delivery-info-label {
    font-size: 0.65rem;
    color: var(--muted-text, #6c757d);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.delivery-info-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main, #212529);
}

.delivery-info-value.free {
    color: #10B981;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .delivery-info-banner {
        gap: 8px;
    }

    .delivery-info-card {
        padding: 12px;
        border-radius: 12px;
    }

    .delivery-info-icon {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    .delivery-info-label {
        font-size: 0.6rem;
    }

    .delivery-info-value {
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .delivery-info-banner {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* ============================================
   ESTADO DINAMICO DEL NEGOCIO
   ============================================ */
.status-tag-dynamic {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.status-tag-dynamic.open {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
    color: #059669;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-tag-dynamic.closed {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
    color: #DC2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-tag-dynamic .next-open {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-left: 4px;
}

.status-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: statusPulse 2s infinite;
}

.status-pulse.active {
    background: #22c55e;
}

.status-pulse.inactive {
    background: #ef4444;
    animation: none;
}

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

/* ============================================
   CATEGORIAS SCROLL HORIZONTAL (debajo del header)
   ============================================ */
.categories-sticky-nav {
    background: var(--body-bg, #ffffff);
    padding: 0;
    margin: 0 -1rem 16px -1rem;
}

.categories-scroll-container {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 1rem 12px 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.categories-scroll-container::-webkit-scrollbar {
    display: none;
}

.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    background: var(--card-bg, #f8f9fa);
    border: 2px solid var(--border-color, #e9ecef);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main, #374151);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.category-chip:hover {
    background: rgba(1, 101, 255, 0.1);
    color: var(--primary);
    border-color: var(--primary);
}

.category-chip.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(1, 101, 255, 0.3);
}

.category-chip .count {
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
}

.category-chip.active .count {
    background: rgba(255, 255, 255, 0.2);
}

/* Espacio para category title */
.menu-category {
    scroll-margin-top: 20px;
}

.menu-category .category-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    padding-top: 4px;
}

/* Responsive categorías */
@media (max-width: 480px) {
    .categories-scroll-container {
        gap: 6px;
        padding: 6px 0.75rem 10px 0.75rem;
    }

    .category-chip {
        padding: 6px 12px;
        font-size: 0.8rem;
        border-radius: 16px;
    }

    .category-chip .count {
        padding: 1px 5px;
        font-size: 0.65rem;
    }

    .menu-category .category-title {
        font-size: 1rem;
        margin-bottom: 10px;
    }
}

/* ============================================
   PRODUCT CARDS - ESTILO PREMIUM
   ============================================ */
.product-card-premium,
.menu-item {
    position: relative;
    background: var(--card-bg, #ffffff);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color, #e9ecef);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-premium:hover,
.menu-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Imagen del producto */
.product-image-container,
.menu-item-img {
    position: relative;
    width: 100%;
    height: 130px;
    overflow: hidden;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    flex-shrink: 0;
}

.product-image-container img,
.menu-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card-premium:hover .product-image-container img,
.menu-item:hover .menu-item-img img {
    transform: scale(1.05);
}

/* Ocultar inner wrapper para scroll horizontal */
.menu-item-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Badge de descuento */
.discount-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--discount-yellow);
    color: #1a1a1a;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
    z-index: 10;
}

/* Boton flotante de agregar */
.quick-add-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(1, 101, 255, 0.4);
    transition: all 0.2s ease;
    z-index: 15;
}

.quick-add-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(1, 101, 255, 0.5);
}

.quick-add-btn:active {
    transform: scale(0.95);
}

.quick-add-btn.added {
    background: #22c55e;
}

/* Contenido del producto */
.product-content,
.menu-item-content {
    padding: 10px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name,
.menu-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main, #1a1a1a);
    margin-bottom: 4px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-description,
.menu-item-desc {
    display: none;
}

/* Precios con descuento */
.product-pricing,
.menu-item-price {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.price-current,
.menu-item-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

.price-original {
    font-size: 0.8rem;
    color: var(--muted-text, #9ca3af);
    text-decoration: line-through;
}

.price-discount-percent {
    font-size: 0.65rem;
    font-weight: 700;
    color: #DC2626;
    background: #FEE2E2;
    padding: 2px 5px;
    border-radius: 4px;
}

/* Ocultar elementos extra en scroll */
.product-options,
.product-calories {
    display: none;
}

/* ============================================
   SAN VALENTIN - CHECKOUT FEATURES
   ============================================ */

/* Banner de incentivo */
.promo-banner-checkout {
    background: var(--valentine-gradient);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: white;
    box-shadow: 0 8px 25px rgba(229, 57, 53, 0.3);
    animation: shimmerBanner 3s infinite;
}

@keyframes shimmerBanner {
    0%, 100% { box-shadow: 0 8px 25px rgba(229, 57, 53, 0.3); }
    50% { box-shadow: 0 8px 35px rgba(229, 57, 53, 0.5); }
}

.promo-banner-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.promo-banner-text {
    flex: 1;
}

.promo-banner-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.promo-banner-subtitle {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Selector de fecha San Valentin */
.valentine-scheduler {
    background: linear-gradient(135deg, #FFF5F5 0%, #FED7D7 100%);
    border: 2px solid var(--valentine-pink);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.valentine-scheduler-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.valentine-scheduler-icon {
    width: 48px;
    height: 48px;
    background: var(--valentine-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.valentine-scheduler-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--valentine-red);
}

.valentine-scheduler-subtitle {
    font-size: 0.85rem;
    color: #666;
}

/* Bloques de horario */
.time-slots-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.time-slot {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.time-slot:hover {
    border-color: var(--valentine-pink);
    background: #FFF5F5;
}

.time-slot.selected {
    background: var(--valentine-gradient);
    border-color: var(--valentine-red);
    color: white;
}

.time-slot.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f3f4f6;
}

.time-slot-time {
    font-size: 0.95rem;
    font-weight: 700;
}

.time-slot-label {
    font-size: 0.7rem;
    opacity: 0.8;
    margin-top: 2px;
}

@media (max-width: 480px) {
    .time-slots-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Boton IDENTIMEX upload */
.identimex-upload-btn {
    background: var(--identimex-gradient);
    border: none;
    border-radius: 16px;
    padding: 18px 24px;
    width: 100%;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
    margin-bottom: 20px;
}

.identimex-upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.4);
}

.identimex-upload-btn i {
    font-size: 1.3rem;
}

.identimex-upload-btn .badge-new {
    background: #FFD700;
    color: #1a1a1a;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 800;
    margin-left: 8px;
}

/* Modal IDENTIMEX */
.identimex-modal-content {
    border-radius: 24px;
    overflow: hidden;
    border: none;
}

.identimex-modal-header {
    background: var(--identimex-gradient);
    color: white;
    padding: 24px;
    border: none;
}

.identimex-modal-body {
    padding: 24px;
}

.upload-zone {
    border: 3px dashed #d1d5db;
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
}

.upload-zone:hover,
.upload-zone.drag-over {
    border-color: var(--identimex-purple);
    background: rgba(124, 58, 237, 0.05);
}

.upload-zone-icon {
    font-size: 3rem;
    color: var(--identimex-purple);
    margin-bottom: 16px;
}

.upload-zone-text {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.upload-zone-hint {
    font-size: 0.85rem;
    color: #6b7280;
}

.upload-preview {
    display: none;
    margin-top: 20px;
    padding: 16px;
    background: #f0fdf4;
    border-radius: 12px;
    border: 1px solid #86efac;
}

.upload-preview.active {
    display: flex;
    align-items: center;
    gap: 12px;
}

.upload-preview-icon {
    width: 48px;
    height: 48px;
    background: #22c55e;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.upload-preview-info {
    flex: 1;
}

.upload-preview-name {
    font-weight: 600;
    color: #166534;
}

.upload-preview-size {
    font-size: 0.8rem;
    color: #15803d;
}

/* ============================================
   SKELETONS PREMIUM
   ============================================ */
.skeleton-premium {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes skeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-card {
    border-radius: 20px;
    overflow: hidden;
    background: var(--card-bg, #ffffff);
    border: 1px solid var(--border-color, #e9ecef);
}

.skeleton-image {
    height: 180px;
    background: linear-gradient(90deg, #e5e7eb 25%, #d1d5db 50%, #e5e7eb 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite;
}

.skeleton-content {
    padding: 16px;
}

.skeleton-title {
    height: 20px;
    width: 70%;
    margin-bottom: 8px;
}

.skeleton-text {
    height: 14px;
    width: 100%;
    margin-bottom: 6px;
}

.skeleton-text.short {
    width: 40%;
}

.skeleton-price {
    height: 24px;
    width: 30%;
    margin-top: 12px;
}

/* ============================================
   DARK MODE OVERRIDES
   ============================================ */
[data-theme="dark"] .delivery-info-card,
html.dark-mode .delivery-info-card {
    background: #1a1a1a;
    border-color: #333;
}

[data-theme="dark"] .categories-sticky-nav,
html.dark-mode .categories-sticky-nav {
    background: #000;
    border-color: #333;
}

[data-theme="dark"] .category-chip,
html.dark-mode .category-chip {
    background: #1a1a1a;
    color: #e5e7eb;
}

[data-theme="dark"] .category-chip:hover,
html.dark-mode .category-chip:hover {
    background: rgba(1, 101, 255, 0.2);
}

[data-theme="dark"] .product-card-premium,
html.dark-mode .product-card-premium {
    background: #111111;
    border-color: #333;
}

[data-theme="dark"] .valentine-scheduler,
html.dark-mode .valentine-scheduler {
    background: linear-gradient(135deg, #2d1f1f 0%, #3d2020 100%);
    border-color: #FF4B6E;
}

[data-theme="dark"] .time-slot,
html.dark-mode .time-slot {
    background: #1a1a1a;
    border-color: #444;
    color: #e5e7eb;
}

[data-theme="dark"] .time-slot:hover,
html.dark-mode .time-slot:hover {
    background: #2d1f1f;
}

[data-theme="dark"] .upload-zone,
html.dark-mode .upload-zone {
    background: #1a1a1a;
    border-color: #444;
}

[data-theme="dark"] .skeleton-premium,
html.dark-mode .skeleton-premium {
    background: linear-gradient(90deg, #222 25%, #333 50%, #222 75%);
    background-size: 200% 100%;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS - PRODUCTOS
   ============================================ */

/* Scroll horizontal de productos */
.products-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 0 16px 0;
    margin: 0 rem;
    padding-left: 1rem;
    padding-right: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}

.products-grid::-webkit-scrollbar {
    display: none;
}

.product-grid-item {
    flex: 0 0 170px;
    scroll-snap-align: start;
}

.product-grid-item .menu-item,
.product-grid-item .product-card-premium {
    width: 100%;
    height: 100%;
    margin-bottom: 0;
}

/* Ajustes para tablets y desktop */
@media (min-width: 768px) {
    .products-grid {
        gap: 18px;
    }

    .product-grid-item {
        flex: 0 0 200px;
    }
}

@media (min-width: 1024px) {
    .products-grid {
        gap: 20px;
    }

    .product-grid-item {
        flex: 0 0 220px;
    }
}

/* Ajustes de imagen para scroll horizontal */
.product-image-container {
    height: 130px;
}

.quick-add-btn {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    bottom: 8px;
    right: 8px;
}

.discount-badge {
    padding: 4px 8px;
    font-size: 0.7rem;
    top: 8px;
    left: 8px;
}

.product-content {
    padding: 12px;
}

.product-name {
    font-size: 0.9rem;
    -webkit-line-clamp: 2;
    line-height: 1.25;
    margin-bottom: 4px;
}

.product-description {
    display: none;
}

.product-pricing {
    margin-bottom: 0;
}

.price-current {
    font-size: 1rem;
}

.price-original {
    font-size: 0.75rem;
}

/* Ocultar controles de cantidad en tarjeta (solo usar modal) */
.product-grid-item .quantity-control,
.product-grid-item .add-to-cart-btn,
.product-grid-item .add-to-cart-form,
.product-grid-item .elegibles-selector {
    display: none;
}

/* Responsive para móviles pequeños */
@media (max-width: 380px) {
    .product-grid-item {
        flex: 0 0 150px;
    }

    .product-image-container {
        height: 110px;
    }

    .product-name {
        font-size: 0.85rem;
    }

    .price-current {
        font-size: 0.95rem;
    }
}

/* ============================================
   SECCION RECOMENDADOS / FAVORITOS
   ============================================ */
.featured-section {
    margin-bottom: 20px;
    padding: 0;
}

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

.featured-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main, #1a1a1a);
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-section-title i {
    color: var(--valentine-red, #E53935);
}

.featured-section-title .fire-icon {
    color: #FF6B35;
}

.featured-scroll-container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 1rem 12px 1rem;
    margin: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}

.featured-scroll-container::-webkit-scrollbar {
    display: none;
}

.featured-product-card {
    flex: 0 0 145px;
    scroll-snap-align: start;
    background: var(--card-bg, #ffffff);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color, #e9ecef);
    transition: all 0.3s ease;
    cursor: pointer;
}

.featured-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.featured-product-image {
    position: relative;
    height: 100px;
    overflow: hidden;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

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

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

.featured-product-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    padding: 3px 6px;
    border-radius: 5px;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 3px;
}

.featured-product-content {
    padding: 10px;
}

.featured-product-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main, #1a1a1a);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.25;
}

.featured-product-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
}

/* Dark mode */
[data-theme="dark"] .featured-product-card,
html.dark-mode .featured-product-card {
    background: #111111;
    border-color: #333;
}

[data-theme="dark"] .featured-product-name,
html.dark-mode .featured-product-name {
    color: #ffffff;
}

/* ============================================
   MODAL MEJORADO - ELEGIBLES
   ============================================ */
.elegibles-modal-section {
    margin: 16px 0;
    padding: 16px;
    background: linear-gradient(135deg, rgba(1, 101, 255, 0.05) 0%, rgba(1, 101, 255, 0.02) 100%);
    border-radius: 12px;
    border: 1px solid rgba(1, 101, 255, 0.1);
}

.elegibles-modal-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.elegible-option {
    display: flex;
    align-items: center;
    padding: 12px;
    background: var(--card-bg, #ffffff);
    border: 2px solid var(--border-color, #e9ecef);
    border-radius: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.elegible-option:hover {
    border-color: var(--primary);
    background: rgba(1, 101, 255, 0.02);
}

.elegible-option.selected {
    border-color: var(--primary);
    background: rgba(1, 101, 255, 0.08);
}

.elegible-option input[type="radio"],
.elegible-option input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.elegible-option-info {
    flex: 1;
}

.elegible-option-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main, #1a1a1a);
}

.elegible-option-desc {
    font-size: 0.75rem;
    color: var(--muted-text, #6b7280);
    margin-top: 2px;
}

.elegible-option-price {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
}

.elegible-option-price.free {
    color: #22c55e;
}

/* Dark mode elegibles */
[data-theme="dark"] .elegibles-modal-section,
html.dark-mode .elegibles-modal-section {
    background: rgba(1, 101, 255, 0.1);
    border-color: rgba(1, 101, 255, 0.2);
}

[data-theme="dark"] .elegible-option,
html.dark-mode .elegible-option {
    background: #1a1a1a;
    border-color: #333;
}

[data-theme="dark"] .elegible-option-name,
html.dark-mode .elegible-option-name {
    color: #ffffff;
}

/* ============================================
   CLICK TO VIEW - Badge mejorado
   ============================================ */
.view-details-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
    padding: 24px 8px 8px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-card-premium:hover .view-details-badge,
.menu-item:hover .view-details-badge {
    opacity: 1;
}

.view-details-badge i {
    font-size: 0.75rem;
}
