/**
 * ESTILOS GENERALES Y COMPONENTES
 * DE TU PUEBLO — Ushuaia
 */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

/* Tipografía de títulos */
h1, h2, h3, h4, .font-display, .brand-text {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

img, svg {
    display: block;
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Enfoque accesible */
:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
}

/* ==========================================================
   BOTONES Y ELEMENTOS COMUNES
   ========================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--orange);
    color: #0c0b0a;
    box-shadow: 0 4px 18px var(--orange-glow);
}

.btn-primary:hover {
    background-color: var(--orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(245, 130, 32, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: var(--orange-subtle);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--card-bg-hover);
    border-color: var(--border-orange);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-orange {
    background: var(--orange-subtle);
    color: var(--orange);
    border: 1px solid var(--border-orange);
}

/* ==========================================================
   HEADER
   ========================================================== */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(12, 11, 10, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: background-color var(--transition), border-color var(--transition);
}

.site-header.scrolled {
    background-color: rgba(12, 11, 10, 0.98);
    border-color: var(--border-orange);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
}

/* Marca en header */
.brand-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.header-logo-img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-orange);
}

.brand-title-wrap {
    display: flex;
    flex-direction: column;
}

.brand-text-header {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    line-height: 1.1;
    text-transform: uppercase;
}

.brand-subtext {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    color: var(--orange);
    text-transform: uppercase;
    font-weight: 600;
}

/* Navegación Desktop */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--orange);
    transition: width var(--transition);
}

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

/* Acciones de header */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-trigger-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text-primary);
    transition: all var(--transition);
}

.cart-trigger-btn:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-1px);
}

.cart-count-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--orange);
    color: #0c0b0a;
    font-size: 0.72rem;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 8px var(--orange-glow);
}

.menu-toggle-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero-section {
    position: relative;
    padding: 5rem 0 4rem 0;
    background: radial-gradient(circle at 50% 15%, rgba(245, 130, 32, 0.13) 0%, transparent 65%);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    opacity: 0.7;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.hero-emblem {
    width: 140px;
    height: 140px;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-orange);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 30px var(--orange-glow);
    overflow: hidden;
    background: #000;
}

.hero-emblem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-badge {
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-title .title-accent {
    color: var(--orange);
}

.hero-subtitle {
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 2rem;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

/* Fila de información rápida */
.hero-quick-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem 1.75rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.quick-info-item svg {
    color: var(--orange);
}

.quick-info-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--border);
}

/* ==========================================================
   SECCIONES COMUNES
   ========================================================== */
.section-padding {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem auto;
}

.section-tag {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--orange);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* ==========================================================
   ARMADOR DE DOCENAS
   ========================================================== */
.pack-builder-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    position: relative;
    box-shadow: var(--shadow-card);
}

.pack-builder-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 2rem;
    right: 2rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
}

.pack-type-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.pack-type-btn {
    flex: 1;
    min-width: 140px;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
}

.pack-type-btn.active {
    background: var(--orange-subtle);
    border-color: var(--orange);
    color: var(--orange);
    box-shadow: 0 0 15px var(--orange-glow);
}

/* Selector de Cocción: Horno vs Fritas */
.cooking-type-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin: 0 auto 1.25rem auto;
    flex-wrap: wrap;
}

.cooking-label {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cooking-btn-group {
    display: inline-flex;
    background: var(--bg-main);
    padding: 4px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    gap: 4px;
}

.cooking-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1.15rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.cooking-btn:hover {
    color: var(--text-primary);
}

.cooking-btn.active {
    background: var(--orange-subtle);
    border-color: var(--orange);
    color: var(--orange);
    box-shadow: 0 0 12px var(--orange-glow);
}

/* Banner de Precios Oficiales del Pack (Habitual vs Efectivo/Transferencia) */
.pack-price-banner {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin: 0 auto 1.5rem auto;
    padding: 0.65rem 1rem;
    background: rgba(245, 130, 32, 0.05);
    border: 1px solid rgba(245, 130, 32, 0.22);
    border-radius: var(--radius-lg);
    max-width: 780px;
}

.pack-price-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.4rem 0.85rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    flex: 1;
    min-width: 170px;
}

.pack-price-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pack-price-values {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.25;
}

.pack-price-regular {
    font-size: 0.78rem;
    color: var(--text-secondary);
    opacity: 0.75;
}

.pack-price-discount {
    font-size: 1rem;
    font-weight: 800;
    color: var(--orange);
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.pack-price-discount small {
    font-size: 0.72rem;
    font-weight: 600;
    color: #4ade80; /* Acento verde para ahorro/beneficio sin romper paleta */
}

.pack-price-divider {
    width: 1px;
    background: var(--border);
    align-self: stretch;
    display: none;
}

.pack-progress-wrap {
    margin-bottom: 2rem;
}

.pack-progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 0.75rem;
    border: 1px solid var(--border);
}

.pack-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--orange);
    transition: width var(--transition);
}

.pack-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.pack-flavors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    max-height: 460px;
    overflow-y: auto;
    padding-right: 0.5rem;
    margin-bottom: 2rem;
}

/* Scrollbar personalizada */
.pack-flavors-grid::-webkit-scrollbar {
    width: 6px;
}
.pack-flavors-grid::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}
.pack-flavors-grid::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.pack-flavor-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 0.9rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.pack-flavor-row:hover {
    border-color: var(--border-orange);
}

.pack-flavor-row--active {
    border-color: rgba(245, 130, 32, 0.45) !important;
    background: rgba(245, 130, 32, 0.05) !important;
}

.pack-flavor-info {
    flex: 1;
    min-width: 0;
}

.pack-flavor-head {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.pack-flavor-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.pack-flavor-price {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--orange);
}

.pack-flavor-desc {
    margin: 0.2rem 0 0 0;
    font-size: 0.76rem;
    color: var(--text-secondary);
    line-height: 1.32;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Filtros de Bebidas */
.drinks-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.pack-flavor-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pack-btn-minus, .pack-btn-plus {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.pack-btn-minus:hover, .pack-btn-plus:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.pack-flavor-qty,
.pack-flavor-qty-input {
    font-weight: 700;
    width: 44px;
    min-width: 36px;
    height: 32px;
    text-align: center;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    padding: 0 4px;
    transition: all var(--transition);
    -moz-appearance: textfield;
}

.pack-flavor-qty-input:focus {
    outline: none;
    border-color: var(--orange);
    background: rgba(245, 130, 32, 0.15);
    color: #ffffff;
}

.pack-flavor-qty-input::-webkit-inner-spin-button,
.pack-flavor-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pack-flavor-qty--has-items {
    color: var(--orange) !important;
    font-weight: 900 !important;
    border-color: rgba(245, 130, 32, 0.5) !important;
}

.pack-builder-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-end;
}

/* ==========================================================
   MENÚ INTERACTIVO (NUESTROS SABORES)
   ========================================================== */
.menu-controls {
    margin-bottom: 2.5rem;
}

.search-box {
    position: relative;
    max-width: 540px;
    margin: 0 auto 1.5rem auto;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 2.85rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color var(--transition);
}

.search-input:focus {
    border-color: var(--orange);
    outline: none;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.3rem;
    border-radius: var(--radius-full);
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.filter-btn:hover {
    border-color: var(--orange);
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--orange);
    border-color: var(--orange);
    color: #0c0b0a;
}

/* Grilla de productos */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-orange);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.product-card.in-cart {
    border-color: var(--orange);
    background: linear-gradient(180deg, var(--card-bg) 0%, rgba(245, 130, 32, 0.04) 100%);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.product-badge {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--orange);
    background: var(--orange-subtle);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-orange);
}

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

.product-title {
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}

/* Botón compacto de ingredientes para reducir scroll */
.btn-toggle-ingredients {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    padding: 0.2rem 0.65rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    margin-bottom: 0.65rem;
    transition: all var(--transition);
}

.btn-toggle-ingredients:hover,
.btn-toggle-ingredients.is-active {
    border-color: var(--orange);
    color: var(--orange);
    background: var(--orange-subtle);
}

.product-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin-bottom: 1rem;
    display: block !important;
    opacity: 1 !important;
    max-height: none !important;
}

.product-desc.product-desc-collapsible {
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.quantity-control {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.2rem;
}

.qty-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.qty-btn:hover {
    background: var(--card-bg-hover);
    color: var(--orange);
}

.qty-number,
.qty-number-input {
    width: 44px;
    min-width: 36px;
    height: 32px;
    text-align: center;
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-primary);
    background: transparent;
    border: none;
    padding: 0 4px;
    margin: 0;
    transition: all var(--transition);
    -moz-appearance: textfield;
}

.qty-number-input:focus {
    outline: none;
    color: var(--orange);
    background: rgba(245, 130, 32, 0.12);
    border-radius: var(--radius-sm);
}

.qty-number-input::-webkit-inner-spin-button,
.qty-number-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-add {
    flex: 1;
    padding: 0.65rem 1rem;
}

/* Estado de búsqueda vacía */
.empty-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    background: var(--card-bg);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
}

.empty-results p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

/* ==========================================================
   CÓMO PEDIR
   ========================================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.step-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    position: relative;
    transition: transform var(--transition), border-color var(--transition);
}

.step-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-orange);
}

.step-number {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================
   UBICACIÓN (VISITANOS)
   ========================================================== */
.location-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    box-shadow: var(--shadow-card);
    position: relative;
}

.location-address {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.hours-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--orange);
    background: var(--orange-subtle);
    border: 1px solid var(--border-orange);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* ==========================================================
   OPINIONES Y RECLAMOS
   ========================================================== */
.interactive-banner {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
}

.interactive-banner h3 {
    font-size: 1.5rem;
}

.interactive-banner p {
    color: var(--text-secondary);
    max-width: 560px;
}

/* ==========================================================
   CARRITO DRAWER LATERAL
   ========================================================== */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -480px;
    width: 100%;
    max-width: 440px;
    height: 100%;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border);
    z-index: 201;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-drawer);
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open {
    right: 0;
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.cart-drawer-title {
    font-size: 1.35rem;
    text-transform: uppercase;
}

.cart-drawer-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: color var(--transition);
}

.cart-drawer-close:hover {
    color: var(--orange);
}

.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cart-item-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
}

.cart-item-flavors {
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0.5rem 0 0.75rem 0.5rem;
}

.cart-item-footer, .cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.cart-item-price {
    font-weight: 600;
    color: var(--orange);
    font-size: 0.95rem;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.15rem 0.35rem;
}

.cart-item-qty button {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-qty button:hover {
    color: var(--orange);
}

.cart-item-qty span {
    font-weight: 700;
    font-size: 0.85rem;
    min-width: 18px;
    text-align: center;
}

.cart-item-remove {
    color: var(--text-secondary);
    transition: color var(--transition);
}

.cart-item-remove:hover {
    color: #ef4444;
}

.cart-drawer-empty {
    text-align: center;
    padding: 4rem 1.5rem;
    color: var(--text-secondary);
}

.cart-drawer-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    background: var(--bg-main);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.cart-total-row.total-final {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 1rem 0;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

/* ==========================================================
   MODALES (CHECKOUT Y RECLAMOS)
   ========================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.25rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.modal-title {
    font-size: 1.5rem;
    text-transform: uppercase;
}

.modal-close-btn {
    color: var(--text-secondary);
}

.modal-close-btn:hover {
    color: var(--orange);
}

/* Formularios */
.form-step {
    margin-bottom: 1.75rem;
}

.step-label {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--orange);
    margin-bottom: 0.75rem;
}

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

.form-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--orange);
    outline: none;
}

.form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

/* Radio buttons delivery / retiro */
.delivery-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.delivery-radio-card {
    border: 1px solid var(--border);
    background: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all var(--transition);
}

.delivery-radio-card input {
    accent-color: var(--orange);
}

.delivery-radio-card:hover {
    border-color: var(--border-orange);
}

.delivery-radio-card:has(input:checked) {
    border-color: var(--orange);
    background: var(--orange-subtle);
}

.checkout-summary-box {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.checkout-items-list {
    max-height: 120px;
    overflow-y: auto;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.checkout-summary-item {
    padding: 0.25rem 0;
}

.checkout-totals-row {
    display: flex;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    font-size: 0.95rem;
}

.payment-fallback-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--card-bg);
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.88rem;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
    background: #080706;
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .brand-text {
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--orange);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ==========================================================
   NOTIFICACIÓN TOAST
   ========================================================== */
.ui-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-orange);
    color: var(--text-primary);
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.ui-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.ui-toast.warning {
    border-color: #eab308;
    color: #fef08a;
}

.ui-toast.success {
    border-color: #22c55e;
}

/* Micro-animación de pulso */
.pulse {
    animation: cartPulse 0.35s ease-in-out;
}

@keyframes cartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.18); border-color: var(--orange); }
    100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* ==========================================================
   SELECTOR DE IDIOMA DISCRETO (ES | EN | PT)
   ========================================================== */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 2px 4px;
    gap: 2px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition);
    line-height: 1;
    font-family: inherit;
    text-transform: uppercase;
}

.lang-btn:hover {
    color: var(--text-primary);
}

.lang-btn.active {
    background: var(--orange);
    color: #0c0b0a;
}

/* ==========================================================
   MÉTODOS DE PAGO Y COMPROBANTE WHATSAPP
   ========================================================== */
.payment-methods-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.payment-method-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
}

.payment-method-card:hover {
    border-color: var(--border-orange);
}

.payment-method-card.selected {
    border-color: var(--orange);
    background: rgba(235, 94, 40, 0.05);
}

.payment-method-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.payment-method-header input[type="radio"] {
    accent-color: var(--orange);
    cursor: pointer;
}

.payment-method-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.payment-receipt-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 2px 6px;
    border-radius: var(--radius-full);
    margin-left: auto;
}

.payment-method-instructions {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px dashed var(--border);
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Botón destacado de comprobante WhatsApp */
.btn-whatsapp-receipt {
    background: #25D366 !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-receipt:hover {
    background: #1ebc59 !important;
    transform: translateY(-1px);
}

/* Badges de estado de pago */
.badge-payment {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    line-height: 1.2;
}

.badge-payment-pending {
    background: rgba(234, 179, 8, 0.15);
    color: #facc15;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.badge-payment-proof-sent {
    background: rgba(14, 165, 233, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(14, 165, 233, 0.3);
}

.badge-payment-paid {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-payment-rejected {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-payment-refunded {
    background: rgba(156, 163, 175, 0.15);
    color: #9ca3af;
    border: 1px solid rgba(156, 163, 175, 0.3);
}
