/* RESET Y CONFIGURACIÓN GENERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/HieloFondo.png');
    background-repeat: repeat;
    background-size: cover;
    background-position: center center;
    opacity: 1;
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 50vh;
    background: radial-gradient(ellipse 120% 80% at top center, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
    pointer-events: none;
}

/* HEADER */
.header {
    background: #ffffff;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 10px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-text {
    font-size: 15px;
    font-weight: 700;
    color: #2c3e50;
}

/* NAVEGACIÓN */
.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 13px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #ff8c00;
}

/* HEADER ACTIONS */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.location {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #2c3e50;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.3s;
    position: relative;
}

.location:hover {
    background: rgba(255, 255, 255, 0.2);
}

.location i:first-child {
    color: #ff8c00;
}

.location i:last-child {
    font-size: 12px;
    transition: transform 0.3s;
}

.location.active i:last-child {
    transform: rotate(180deg);
}

/* LOCATION DROPDOWN MENU */
.location-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: 400px;
    overflow-y: auto;
}

.location-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.location-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.location-item:last-child {
    border-bottom: none;
}

.location-item:hover {
    background: #fff5eb;
    color: #ff8c00;
}

.location-item i {
    color: #ff8c00;
    font-size: 14px;
}

.account-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
}

.account-btn i {
    font-size: 20px;
    color: #2c3e50;
}

.account-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.account-label {
    font-size: 11px;
    color: #2c3e50;
}

.account-main {
    font-size: 13px;
    font-weight: 700;
    color: #2c3e50;
}

.icon-btn {
    display: none;
}

.checkout-btn {
    background: linear-gradient(135deg, #ff7e00 0%, #ff5500 100%);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 85, 0, 0.3);
}

.checkout-btn:hover {
    background: linear-gradient(135deg, #ff9a3c 0%, #ff7e00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 85, 0, 0.4);
}

/* HERO SECTION */
.hero {
    padding: 40px 5%;
    position: relative;
    min-height: 280px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    display: flex;
    transition: transform 0.6s ease-in-out;
    z-index: 1;
}

.hero-slide {
    width: 50%;
    background-size: cover;
    background-position: center;
}

.hero-slide:nth-child(1) {
    background-image: url('../img/banner.png');
}

.hero-slide:nth-child(2) {
    background-image: url('../img/banner2.png');
}

.hero-slider.slide-2 {
    transform: translateX(-50%);
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #0d2535;
    transition: all 0.3s ease;
}

.banner-arrow:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.banner-arrow-left {
    left: 20px;
}

.banner-arrow-right {
    right: 20px;
}

/* Banner arrows - same size on all screens */

.hero-content {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 600px;
    color: white;
}

.hero-text h1 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 4px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-text p {
    font-size: 19px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.btn-primary {
    background: linear-gradient(135deg, #ff7e00 0%, #ff5500 100%);
    border: none;
    padding: 10px 24px;
    color: white;
    font-size: 13px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 85, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff9a3c 0%, #ff7e00 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 85, 0, 0.5);
}

/* BADGE DE FRESCURA */
.hero-badge {
    position: relative;
}

.badge-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(255, 140, 0, 0.4));
    animation: pulse 2s infinite;
    margin-top: 10px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* SEARCH SECTION */
.search-section {
    background: transparent;
    padding: 0 5%;
    box-shadow: none;
    position: relative;
    margin-top: -40px;
    z-index: 10;
}

.search-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    position: relative;
    display: flex;
    z-index: 1;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 20px;
}

#searchInput {
    width: 100%;
    padding: 12px 70px 12px 55px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    background: white;
}

#searchInput:focus {
    border-color: #ff8c00;
}

.search-user-icon {
    display: none;
}

.search-btn {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ff7e00 0%, #ff5500 100%);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 85, 0, 0.3);
}

.search-btn:hover {
    background: linear-gradient(135deg, #ff7e00 0%, #ff5500 100%);
}

/* MAIN CONTAINER */
.main-container {
    max-width: 100%;
    width: 100%;
    margin: 10px auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
}

/* Main container - same size on all screens */

/* SIDEBAR FILTERS */
.sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.filters-box {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.filters-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a3a52;
}

.filter-group {
    margin-bottom: 10px;
}

.filter-toggle {
    width: 100%;
    background: white;
    border: 1px solid #e0e0e0;
    padding: 8px 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 12px;
    color: #333;
    transition: all 0.3s;
}

.filter-toggle:hover {
    background: #f8f9fa;
    border-color: #ff8c00;
}

.filter-toggle i:first-child {
    margin-right: 10px;
}

.filter-toggle span {
    flex: 1;
    text-align: left;
}

.clear-filters {
    width: 100%;
    background: transparent;
    border: none;
    color: #666;
    padding: 12px;
    margin-top: 15px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
}

.clear-filters:hover {
    color: #ff8c00;
}

/* PRODUCTS AREA */
.products-area {
    width: 100%;
}

/* CATEGORY TABS */
.category-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 8px;
    overflow-x: auto;
    padding: 0;
    justify-content: space-around;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 2px solid #e0e0e0;
    width: 100%;
    height: 50px;
    align-items: center;
}

.category-tab {
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-right: 1px solid #d0d0d0;
    padding: 12px 24px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s;
    white-space: nowrap;
    height: 100%;
    flex: 1;
}

.category-tab:first-child {
    border-radius: 0;
}

.category-tab:last-child {
    border-right: none;
    border-radius: 0;
}

.category-tab:hover {
    background: rgba(255, 140, 0, 0.1);
    color: #ff8c00;
}

.category-tab.active {
    background: linear-gradient(135deg, #ff7e00 0%, #ff5500 100%);
    color: white;
    border-radius: 8px;
}

.category-tab.active .tab-icon {
    color: white;
}

.tab-icon {
    font-size: 32px;
}

/* PRODUCTS HEADER */
.products-header {
    margin-bottom: 15px;
    margin-top: 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.products-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 0px;
    line-height: 1;
}

.products-subtitle {
    font-size: 22px;
    color: #333;
    margin-top: 2px;
}

.view-more {
    color: #0d2535;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.view-more:hover {
    gap: 10px;
}

/* PRODUCTS GRID */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 240px);
    gap: 25px;
    margin-bottom: 30px;
    justify-content: center;
}

/* Products grid - same size on all screens */

/* PRODUCT CARD */
.product-card {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: none;
    border-radius: 4px;
    overflow: visible;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
    border: 10px solid rgba(255, 255, 255, 0.3);
    padding: 0;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    width: 100%;
    height: 130px;
    overflow: hidden;
    background: linear-gradient(135deg, #d4ebf7 0%, #a8d8ea 50%, #79c2d0 100%);
    border-radius: 0;
}

.product-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image > img {
    transform: scale(1.05);
}

.product-logo {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.product-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 18px 12px;
    text-align: center;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 0;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a3a52;
    margin-bottom: 6px;
}

.product-description {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 8px;
    min-height: 34px;
}

.product-price {
    font-size: 17px;
    font-weight: 700;
    color: #ff8c00;
    margin-bottom: 10px;
}

.btn-add-cart {
    background: linear-gradient(135deg, #ff7e00 0%, #ff5500 100%);
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(255, 85, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-add-cart::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-add-cart:hover::before {
    width: 300px;
    height: 300px;
}

.btn-add-cart:hover {
    background: linear-gradient(135deg, #ff9a3c 0%, #ff7e00 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 85, 0, 0.45);
}

/* VIEW MORE BUTTON */
.view-more-container {
    display: none;
}

/* CART MODAL */
.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 2000;
}

.cart-modal.active {
    display: block;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    cursor: pointer;
}

.cart-content {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    animation: slideIn 0.3s ease;
    z-index: 2001;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.cart-header {
    padding: 25px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a3a52;
}

.close-cart {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.close-cart:hover {
    color: #ff8c00;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
}

.empty-cart {
    text-align: center;
    color: #999;
    padding: 40px 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: #1a3a52;
    margin-bottom: 5px;
}

.cart-item-price {
    color: #ff8c00;
    font-weight: 700;
    margin-bottom: 8px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-controls button {
    background: #f0f0f0;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.3s;
}

.cart-item-controls button:hover {
    background: #ff8c00;
    color: white;
}

.cart-footer {
    padding: 25px;
    border-top: 2px solid #e0e0e0;
    background: #f9f9f9;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
}

.total-price {
    color: #ff8c00;
    font-size: 24px;
}

.btn-checkout {
    width: 100%;
    background: linear-gradient(135deg, #ff7e00 0%, #ff5500 100%);
    border: none;
    padding: 15px;
    border-radius: 8px;
    color: white;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 85, 0, 0.35);
}

.btn-checkout:hover {
    background: linear-gradient(135deg, #ff9a3c 0%, #ff7e00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 85, 0, 0.45);
}

.btn-clear {
    width: 100%;
    background: transparent;
    border: 2px solid #e0e0e0;
    padding: 12px;
    border-radius: 8px;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-clear:hover {
    border-color: #ff8c00;
    color: #ff8c00;
}

/* CHAT FLOTANTE CON LANGOSTINO */
.chat-flotante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

/* Burbuja de texto "¿Puedo ayudarte?" */
.chat-bubble-text {
    background: white;
    color: #333;
    padding: 10px 16px;
    border-radius: 20px 20px 20px 4px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 3px 12px rgba(0,0,0,0.25);
    white-space: nowrap;
    animation: bubbleIn 0.4s ease forwards;
    position: relative;
}
.chat-bubble-text::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 24px;
    width: 0; height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}
@keyframes bubbleIn {
    0% { opacity: 0; transform: translateY(10px) scale(0.9); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
/* La burbuja nunca se oculta — siempre visible */

/* Icono Langostino — abre chat */
.chat-btn-langostino {
    width: 70px;
    height: 70px;
    cursor: pointer;
    transition: transform 0.3s ease;
    animation: shake 4s ease-in-out infinite;
}
.chat-btn-langostino:hover {
    transform: scale(1.1);
    animation: none;
}
.chat-langostino-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35));
}

/* Icono WhatsApp — va directo al número, mismo tamaño visual que langostino */
.chat-btn-whatsapp {
    display: block;
    width: 73px;
    height: 73px;
    text-decoration: none;
    transition: transform 0.3s ease;
    animation: shake 4s ease-in-out infinite;
    animation-delay: 2s;
}
.chat-btn-whatsapp:hover {
    transform: scale(1.1);
    animation: none;
}
.chat-whatsapp-logo {
    display: block;
    width: 73px;
    height: 73px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35));
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-4deg); }
    20%, 40%, 60%, 80% { transform: rotate(4deg); }
}

/* PANEL CHAT DE PREGUNTAS FRECUENTES */
.chat-panel {
    position: fixed;
    bottom: 110px;
    right: 25px;
    width: 320px;
    background: white;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    z-index: 1499;
    overflow: hidden;
    transform-origin: bottom right;
    transform: scale(0);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}
.chat-panel.open {
    transform: scale(1);
    opacity: 1;
}

/* Header del chat panel */
.chat-panel-header {
    background: linear-gradient(135deg, #e8603c, #c0392b);
    color: white;
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
    font-weight: 700;
}
.chat-panel-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 0 2px;
    opacity: 0.85;
    transition: opacity 0.2s;
}
.chat-panel-close:hover { opacity: 1; }

/* Body del chat panel */
.chat-panel-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 360px;
    overflow-y: auto;
}

/* Mensaje de saludo */
.chat-panel-greeting {
    background: #f5f5f5;
    border-radius: 12px 12px 12px 4px;
    padding: 12px 14px;
    font-size: 14px;
    color: #333;
    line-height: 1.45;
}

/* Botones de preguntas frecuentes */
.chat-preguntas {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.chat-pregunta {
    background: white;
    border: 2px solid #e8603c;
    color: #e8603c;
    border-radius: 22px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}
.chat-pregunta:hover {
    background: #e8603c;
    color: white;
    transform: scale(1.02);
}

/* Respuesta generada al clickear una pregunta */
.chat-respuesta {
    background: #fff3ee;
    border-radius: 12px 12px 4px 12px;
    padding: 12px 14px;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    border: 1px solid #ffdcc8;
}
.chat-respuesta .chat-resp-btn {
    display: inline-block;
    margin-top: 10px;
    background: #e8603c;
    color: white;
    border: none;
    border-radius: 18px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.chat-respuesta .chat-resp-btn:hover {
    background: #c0392b;
}

/* RESPONSIVE DESIGN - Keep desktop layout on all screens */

/* FOOTER */
.footer {
    background: url('../img/mar.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 15px 5% 8px;
    margin-top: 80px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    margin-bottom: 12px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.footer-heading {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.footer-links a:hover {
    color: #ff8c00;
}

.footer-bottom {
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    font-size: 14px;
    color: white;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Footer - same sizes on all screens */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* LOGIN MODAL */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.login-modal.active {
    display: flex;
}

.login-container {
    background: url('../img/mar.png');
    background-size: cover;
    background-position: center;
    position: relative;
    width: 90%;
    max-width: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 37, 53, 0.75);
    z-index: 1;
}

.login-content {
    position: relative;
    z-index: 2;
    padding: 40px 35px;
    color: white;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.login-header p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.login-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    z-index: 3;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.login-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.form-group input {
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus {
    outline: none;
    border-color: #ff8c00;
    background: rgba(255, 255, 255, 0.15);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.forgot-password {
    color: #ff8c00;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #ff7e00;
}

.login-submit {
    background: linear-gradient(135deg, #ff7e00 0%, #ff5500 100%);
    border: none;
    padding: 14px;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 85, 0, 0.3);
}

.login-submit:hover {
    background: linear-gradient(135deg, #ff9a3c 0%, #ff7e00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 85, 0, 0.4);
}

.login-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.login-divider::before,
.login-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.login-divider::before {
    left: 0;
}

.login-divider::after {
    right: 0;
}

.login-register {
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.login-register a {
    color: #ff8c00;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.login-register a:hover {
    color: #ff7e00;
}

/* Login Modal - same size on all screens */

/* ========== PRODUCT DETAIL MODAL ========== */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.product-modal.active {
    display: flex;
}

.product-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.product-modal-content {
    position: relative;
    background: #fff;
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.close-product-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    color: #333;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.close-product-modal:hover {
    background: #f44336;
    color: #fff;
}

.product-modal-body {
    display: flex;
    flex-direction: row;
}

.product-modal-image {
    flex: 1;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    min-height: 400px;
}

.product-modal-image img {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
    border-radius: 12px;
}

.product-modal-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-modal-info h2 {
    font-size: 28px;
    color: #1b2838;
    margin: 0;
    line-height: 1.3;
}

.product-modal-description {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.product-modal-price {
    font-size: 32px;
    font-weight: 700;
    color: #26c6da;
}

.product-modal-quantity {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-modal-quantity label {
    font-weight: 600;
    color: #333;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.qty-btn {
    width: 45px;
    height: 45px;
    border: none;
    background: #f5f5f5;
    color: #333;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: #26c6da;
    color: #fff;
}

.quantity-controls input {
    width: 60px;
    height: 45px;
    border: none;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.quantity-controls input:focus {
    outline: none;
}

.product-modal-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    font-size: 18px;
}

.product-modal-total span:first-child {
    color: #666;
}

.product-modal-total span:last-child {
    font-size: 24px;
    font-weight: 700;
    color: #1b2838;
}

.btn-add-to-cart-modal {
    width: 100%;
    padding: 16px 30px;
    background: linear-gradient(135deg, #ff8c00, #ff6b00);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn-add-to-cart-modal:hover {
    background: linear-gradient(135deg, #ff6b00, #ff5500);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.btn-add-to-cart-modal i {
    font-size: 18px;
}

/* Responsive para modal */
@media (max-width: 768px) {
    .product-modal-body {
        flex-direction: column;
    }

    .product-modal-image {
        min-height: 250px;
        padding: 30px;
    }

    .product-modal-info {
        padding: 25px;
    }

    .product-modal-info h2 {
        font-size: 22px;
    }

    .product-modal-price {
        font-size: 26px;
    }
}

/* ========== BOTONES DE PRODUCTO ========== */
.product-buttons {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.btn-agregar-rapido {
    flex: 1;
    padding: 10px 12px;
    background: linear-gradient(135deg, #ff8c00, #ff6b00);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.btn-agregar-rapido:hover {
    background: linear-gradient(135deg, #ff6b00, #ff5500);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
}

.btn-agregar-rapido i {
    font-size: 14px;
}

.btn-ver-mas {
    padding: 10px 16px;
    background: linear-gradient(135deg, #26c6da, #0288d1);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-ver-mas:hover {
    background: linear-gradient(135deg, #0288d1, #0277bd);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(38, 198, 218, 0.4);
}

/* Hacer la tarjeta clickeable */
.product-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Ocultar el botón anterior si existe */
.btn-add-cart {
    display: none;
}

/* ========== CHECKOUT MODAL ========== */
.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.checkout-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.checkout-content {
    position: relative;
    background: #fff;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: checkoutSlideIn 0.3s ease;
}

@keyframes checkoutSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.checkout-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    color: #333;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.checkout-close:hover {
    background: #f44336;
    color: #fff;
}

.checkout-header {
    background: linear-gradient(135deg, #ff8c00, #ff6b00);
    color: #fff;
    padding: 25px 30px;
    border-radius: 20px 20px 0 0;
}

.checkout-header h2 {
    margin: 0 0 5px 0;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-header p {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
}

.checkout-header p strong {
    font-size: 22px;
}

.checkout-body {
    padding: 25px 30px;
}

.checkout-section {
    margin-bottom: 25px;
}

.checkout-section h3 {
    font-size: 16px;
    color: #1b2838;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.checkout-section h3 i {
    color: #ff8c00;
}

.checkout-field {
    margin-bottom: 15px;
}

.checkout-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}

.checkout-field input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.checkout-field input:focus,
.checkout-field select:focus {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.checkout-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.checkout-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.checkout-map {
    margin-top: 15px;
}

.checkout-map iframe {
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.map-hint {
    margin: 8px 0 0 0;
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Sugerencias de direcciones */
.address-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 10px 10px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.address-loading,
.address-no-results {
    padding: 15px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.address-loading i,
.address-no-results i {
    margin-right: 8px;
    color: #ff8c00;
}

.address-option {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.address-option:last-child {
    border-bottom: none;
}

.address-option:hover {
    background: #fff8f0;
}

.address-main {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
}

.address-main i {
    color: #ff8c00;
}

.address-detail {
    margin-top: 4px;
    margin-left: 22px;
    font-size: 12px;
    color: #888;
}

/* Dirección seleccionada confirmada */
.selected-address-info {
    margin-top: 10px;
}

.address-confirmed {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border: 2px solid #4CAF50;
    border-radius: 10px;
    color: #2e7d32;
    font-size: 14px;
}

.address-confirmed i {
    color: #4CAF50;
    font-size: 18px;
}

/* Resultado de domicilio */
.delivery-result {
    margin-top: 12px;
    padding: 15px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 10px;
    border: 2px solid #2196F3;
}

.delivery-info {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.delivery-info span {
    font-size: 14px;
    color: #1565c0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.delivery-info span i {
    color: #2196F3;
}

.delivery-info strong {
    color: #0d47a1;
    font-size: 18px;
}

/* Hacer el campo de dirección posición relativa para las sugerencias */
.checkout-field {
    position: relative;
}

/* Métodos de pago */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.payment-option {
    cursor: pointer;
}

.payment-option input {
    display: none;
}

.payment-card {
    padding: 12px 10px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    min-height: 80px;
    justify-content: center;
}

.payment-option:hover .payment-card {
    border-color: #ff8c00;
    background: #fff8f0;
}

.payment-option.selected .payment-card {
    border-color: #ff8c00;
    background: linear-gradient(135deg, #fff8f0, #fff);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.2);
}

.payment-card i {
    font-size: 20px;
    color: #ff8c00;
}

.payment-card span {
    font-weight: 600;
    color: #1b2838;
    font-size: 12px;
    line-height: 1.2;
}

.payment-card small {
    color: #888;
    font-size: 10px;
    display: none;
}

.card-logos {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    margin-bottom: 3px;
}

.card-logos img {
    height: 18px;
    object-fit: contain;
}

/* Sección de resumen de pedido */
.order-summary-section {
    background: linear-gradient(135deg, #f8f9fa, #fff);
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 20px !important;
}

.order-summary-section h3 {
    color: #1b2838;
    margin-bottom: 15px;
}

.order-products-list {
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 15px;
    max-height: 200px;
    overflow-y: auto;
}

.order-product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.order-product-item:last-child {
    border-bottom: none;
}

.order-product-item:hover {
    background: #fff8f0;
}

.order-product-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.order-product-name {
    font-size: 14px;
    color: #1b2838;
    font-weight: 500;
}

.order-product-qty {
    background: #ff8c00;
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.order-product-price {
    font-size: 15px;
    font-weight: 600;
    color: #1b2838;
}

.order-totals {
    background: linear-gradient(135deg, #fff8f0, #fff);
    border: 2px solid #ff8c00;
    border-radius: 12px;
    padding: 15px;
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 15px;
    color: #555;
}

.order-total-row:not(:last-child) {
    border-bottom: 1px dashed #e0e0e0;
}

.order-total-row i {
    margin-right: 5px;
    color: #ff8c00;
}

.order-grand-total {
    padding-top: 12px !important;
    margin-top: 5px;
    border-top: 2px solid #ff8c00 !important;
    border-bottom: none !important;
}

.order-grand-total span {
    font-size: 18px;
    font-weight: 700;
    color: #1b2838;
}

.order-grand-total strong {
    font-size: 26px;
    color: #ff8c00;
}

/* Footer del checkout */
.checkout-footer {
    padding: 20px 30px;
    background: #f8f9fa;
    border-radius: 0 0 20px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-confirm-order {
    padding: 15px 30px;
    background: linear-gradient(135deg, #ff8c00, #ff6b00);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn-confirm-order:hover {
    background: linear-gradient(135deg, #ff6b00, #ff5500);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

/* Responsive checkout */
@media (max-width: 600px) {
    .checkout-content {
        max-height: 95vh;
        border-radius: 15px;
    }

    .checkout-header {
        padding: 20px;
        border-radius: 15px 15px 0 0;
    }

    .checkout-body {
        padding: 20px;
    }

    .checkout-row {
        grid-template-columns: 1fr;
    }

    .checkout-footer {
        padding: 15px 20px;
        border-radius: 0 0 15px 15px;
    }

    .btn-confirm-order {
        width: 100%;
        justify-content: center;
    }

    /* Resumen de pedido responsive */
    .order-summary-section {
        padding: 15px !important;
    }

    .order-product-item {
        padding: 8px 10px;
    }

    .order-product-name {
        font-size: 13px;
    }

    .order-grand-total span {
        font-size: 16px;
    }

    .order-grand-total strong {
        font-size: 22px;
    }

    .order-products-list {
        max-height: 150px;
    }
}

/* ========================================
   SECCION DE RECETAS
   ======================================== */

.recetas-section {
    padding: 60px 5%;
    background: transparent;
    min-height: 100vh;
}

.recetas-container {
    max-width: 1400px;
    margin: 0 auto;
}

.recetas-header {
    text-align: center;
    margin-bottom: 40px;
}

.recetas-title {
    font-size: 42px;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.recetas-icon {
    font-size: 48px;
}

.recetas-subtitle {
    font-size: 18px;
    color: #2c3e50;
    max-width: 600px;
    margin: 0 auto;
}

.recetas-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.recetas-search-container {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.recetas-search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.recetas-search-container input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.recetas-search-container input:focus {
    border-color: #ff8c00;
    outline: none;
}

.recetas-filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.recetas-filter-group label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.recetas-filter-group select {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    background: white;
    transition: border-color 0.3s;
}

.recetas-filter-group select:focus {
    border-color: #ff8c00;
    outline: none;
}

.recetas-category-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 2px solid #e0e0e0;
    overflow: hidden;
}

.receta-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    background: transparent;
    border: none;
    border-right: 1px solid #e0e0e0;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.receta-tab:last-child {
    border-right: none;
}

.receta-tab:hover {
    background: rgba(255, 140, 0, 0.1);
    color: #ff8c00;
}

.receta-tab.active {
    background: linear-gradient(135deg, #ff7e00 0%, #ff5500 100%);
    color: white;
}

.receta-tab .tab-icon {
    font-size: 24px;
}

.recetas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.receta-card {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 10px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.receta-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.receta-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #d4ebf7 0%, #a8d8ea 50%, #79c2d0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.receta-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.receta-card:hover .receta-card-image img {
    transform: scale(1.1);
}

.receta-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 140, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.receta-card:hover .receta-card-overlay {
    opacity: 1;
}

.ver-receta {
    color: white;
    font-size: 18px;
    font-weight: 700;
    padding: 12px 25px;
    border: 2px solid white;
    border-radius: 30px;
}

.receta-card-info {
    padding: 20px;
    background: rgba(255, 255, 255, 0.4);
}

.receta-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 12px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.receta-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #666;
}

.meta-item i {
    color: #ff8c00;
}

.dificultad-facil { color: #27ae60 !important; }
.dificultad-media { color: #f39c12 !important; }
.dificultad-dificil { color: #e74c3c !important; }

.receta-card-producto {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: linear-gradient(135deg, #fff5eb 0%, #ffe8d6 100%);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #ff7e00;
}

.receta-card-producto i {
    color: #ff5500;
}

.no-recetas {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-recetas i {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 20px;
    display: block;
}

/* ========================================
   MODAL DE RECETA
   ======================================== */

.receta-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
}

.receta-modal.active {
    display: flex;
}

.receta-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.receta-modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 1000px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    animation: recetaModalIn 0.3s ease;
}

@keyframes recetaModalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.close-receta-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.close-receta-modal:hover {
    background: #ff5500;
    color: white;
}

.receta-modal-body {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
}

.receta-modal-image {
    position: relative;
    min-height: 400px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.receta-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.receta-badges {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: white;
}

.badge.tiempo { background: #3498db; }
.badge.porciones { background: #9b59b6; }
.badge.dificultad { background: #27ae60; }

.receta-modal-info {
    padding: 35px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.receta-modal-info h2 {
    font-size: 28px;
    color: #1e3a5f;
    line-height: 1.3;
}

.receta-modal-descripcion {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.producto-destacado {
    background: linear-gradient(135deg, #fff5eb 0%, #ffe8d6 100%);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #ffcc80;
}

.producto-destacado h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #ff7e00;
    margin-bottom: 15px;
}

.producto-destacado h4 i {
    color: #ffc107;
}

.producto-destacado-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 15px;
    border-radius: 10px;
}

.producto-destacado-card img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.producto-destacado-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.producto-nombre {
    font-weight: 700;
    color: #1e3a5f;
    font-size: 14px;
}

.producto-cantidad {
    font-size: 13px;
    color: #666;
}

.producto-precio {
    font-weight: 700;
    color: #ff7e00;
    font-size: 16px;
}

.btn-agregar-producto {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7e00 0%, #ff5500 100%);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-agregar-producto:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 85, 0, 0.4);
}

.receta-ingredientes h4,
.receta-preparacion h4,
.receta-consejos h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #1e3a5f;
    margin-bottom: 15px;
}

.receta-ingredientes h4 i { color: #27ae60; }
.receta-preparacion h4 i { color: #3498db; }
.receta-consejos h4 i { color: #f1c40f; }

.receta-ingredientes ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0;
    margin: 0;
}

.receta-ingredientes li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
}

.receta-ingredientes li::before {
    content: "•";
    color: #ff8c00;
    font-weight: bold;
}

.receta-ingredientes li.producto-fm {
    background: linear-gradient(135deg, #fff5eb 0%, #ffe8d6 100%);
    border: 1px solid #ffcc80;
}

.receta-ingredientes li.producto-fm::before {
    content: "🐟";
}

.receta-preparacion ol {
    list-style: none;
    counter-reset: pasos;
    padding: 0;
    margin: 0;
}

.receta-preparacion li {
    counter-increment: pasos;
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.receta-preparacion li:last-child {
    border-bottom: none;
}

.receta-preparacion li::before {
    content: counter(pasos);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #ff7e00 0%, #ff5500 100%);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
}

.receta-consejos {
    background: #fffde7;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #f1c40f;
}

.receta-consejos ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.receta-consejos li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: #666;
}

.receta-consejos li::before {
    content: "💡";
}

.btn-agregar-ingredientes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #ff7e00 0%, #ff5500 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 85, 0, 0.3);
}

.btn-agregar-ingredientes:hover {
    background: linear-gradient(135deg, #ff9a3c 0%, #ff7e00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 85, 0, 0.4);
}

.recetas-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover,
.pagination-btn.active {
    background: linear-gradient(135deg, #ff7e00 0%, #ff5500 100%);
    border-color: #ff7e00;
    color: white;
}

.pagination-dots {
    display: flex;
    align-items: center;
    padding: 0 5px;
    color: #666;
}

/* RESPONSIVE RECETAS */
@media (max-width: 992px) {
    .receta-modal-body {
        grid-template-columns: 1fr;
    }

    .receta-modal-image {
        min-height: 250px;
    }

    .recetas-filters {
        flex-direction: column;
    }

    .recetas-search-container {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .recetas-section {
        padding: 40px 3%;
    }

    .recetas-title {
        font-size: 28px;
    }

    .recetas-category-tabs {
        flex-wrap: wrap;
    }

    .receta-tab {
        flex: 1 1 45%;
        padding: 12px 15px;
        font-size: 14px;
    }

    .receta-tab .tab-icon {
        font-size: 20px;
    }

    .receta-ingredientes ul {
        grid-template-columns: 1fr;
    }

    .receta-modal-info {
        padding: 20px;
    }

    .receta-modal-info h2 {
        font-size: 22px;
    }

    .recetas-grid {
        grid-template-columns: 1fr;
    }
}
