/* =========================================================
   BEBIDAS 25 DE MAYO - TIENDA ONLINE (LIGHT MODE COMERCIAL)
   Paleta clara institucional: fondo gris perla, tarjetas blancas
   puras para fusión perfecta de botellas, cabecera carbón,
   rojo (#dc2626) y dorado (#f59e0b) de marca.
   ========================================================= */

:root {
    /* Fondos claros comerciales */
    --bg-canvas: #f4f6f9;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --bg-input: #ffffff;
    --bg-surface-elevated: #f8fafc;
    --bg-header-dark: #0f172a;

    /* Bordes limpios */
    --border-subtle: #e2e8f0;
    --border-card: #e2e8f0;
    --border-gold: #f59e0b;
    --border-gold-glow: rgba(245, 158, 11, 0.35);

    /* Colores Oficiales Bebidas 25 de Mayo */
    --brand-red: #dc2626;
    --brand-red-hover: #b91c1c;
    --brand-gold: #f59e0b;
    --brand-gold-hover: #d97706;
    --brand-gold-text: #facc15;
    --brand-dark: #111827;

    --whatsapp-green: #16a34a;
    --whatsapp-hover: #15803d;
    --email-blue: #2563eb;
    --email-hover: #1d4ed8;

    /* Textos en modo claro */
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-dark: #0f172a;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-card: 0 4px 16px rgba(15, 23, 42, 0.06);
    --shadow-card-hover: 0 12px 28px rgba(15, 23, 42, 0.12);
    --shadow-modal: -8px 0 35px rgba(15, 23, 42, 0.25);

    --font-heading: 'Bebas Neue', Impact, sans-serif;
    --font-body: 'Montserrat', system-ui, -apple-system, sans-serif;
}

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

body {
    background-color: var(--bg-canvas);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14.5px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
}

input, select, textarea {
    font-family: inherit;
    color: var(--text-primary);
    background-color: var(--bg-input);
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius-sm);
    padding: 9px 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ----------------- TOP BAR INSTITUCIONAL ----------------- */
.top-bar {
    background: #090d16;
    border-bottom: 1px solid #1e293b;
    font-size: 12.5px;
    color: #cbd5e1;
    padding: 6px 0;
}

.top-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.top-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-info-item i {
    color: var(--brand-gold);
}

.promo-highlight {
    color: #ffffff;
    font-weight: 600;
}

.wholesale-pill {
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: var(--brand-gold-text);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-weight: 700;
    letter-spacing: 0.03em;
}

/* ----------------- HEADER PRINCIPAL ----------------- */
.main-header {
    background: var(--bg-header-dark);
    border-bottom: 2px solid var(--brand-red);
    position: sticky;
    top: 0;
    z-index: 900;
    padding: 11px 0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.18);
}

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

.header-left-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-hamburger-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1e293b;
    border: 1.5px solid #334155;
    color: #ffffff;
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 700;
    transition: all 0.2s;
}

.btn-hamburger-header i {
    font-size: 16px;
    color: var(--brand-gold);
}

.btn-hamburger-header:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
}

.btn-hamburger-header:hover i {
    color: #ffffff;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-img {
    height: 46px;
    width: 46px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: #1e293b;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 26px;
    letter-spacing: 0.04em;
    line-height: 1;
    color: #ffffff;
}

.brand-title strong {
    color: var(--brand-red);
}

.brand-subtitle {
    font-size: 9.5px;
    letter-spacing: 0.11em;
    font-weight: 700;
    color: var(--brand-gold);
    text-transform: uppercase;
    margin-top: 2px;
}

/* Buscador Central Claro y Destacado */
.search-box {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 10px 38px 10px 40px;
    border-radius: var(--radius-full);
    background: #ffffff;
    border: 2px solid transparent;
    color: #0f172a;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.search-box input:focus {
    border-color: var(--brand-gold);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
}

.search-box input::placeholder {
    color: #64748b;
}

.search-box .search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-red);
    font-size: 14.5px;
}

.clear-search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 15px;
    padding: 4px;
}

.clear-search-btn:hover {
    color: var(--brand-red);
}

/* Acciones Header */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-whatsapp-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #16a34a;
    border-radius: var(--radius-full);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s;
}

.btn-whatsapp-header:hover {
    background: #15803d;
    transform: translateY(-1px);
}

.btn-cart {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1e293b;
    border: 1.5px solid var(--brand-gold);
    border-radius: var(--radius-full);
    padding: 5px 15px 5px 8px;
    color: #ffffff;
    transition: all 0.2s;
}

.btn-cart:hover {
    background: #334155;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

.cart-icon-wrapper {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #ffffff;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--brand-gold);
    color: #0f172a;
    font-size: 11px;
    font-weight: 900;
    height: 18px;
    min-width: 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #0f172a;
}

.cart-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.cart-label {
    font-size: 10.5px;
    color: #cbd5e1;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.cart-total-preview {
    font-size: 14px;
    font-weight: 800;
    color: var(--brand-gold-text);
}

/* =========================================================
   DRAWER / MENÚ HAMBURGUESA DE CATEGORÍAS (MOBILE & PC)
   ========================================================= */
.categories-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.categories-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.categories-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background: #ffffff;
    box-shadow: 8px 0 35px rgba(15, 23, 42, 0.25);
    z-index: 1101;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.categories-drawer.open {
    transform: translateX(0);
}

.categories-drawer-header {
    background: #0f172a;
    color: #ffffff;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid var(--brand-red);
}

.categories-drawer-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.categories-drawer-title i {
    font-size: 22px;
    color: var(--brand-gold);
}

.categories-drawer-title h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    letter-spacing: 0.04em;
    line-height: 1;
    color: #ffffff;
}

.categories-drawer-title p {
    font-size: 12px;
    color: #cbd5e1;
    margin-top: 2px;
}

.btn-close-categories {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.btn-close-categories:hover {
    background: var(--brand-red);
}

.categories-drawer-body {
    padding: 18px 16px;
    overflow-y: auto;
    flex: 1;
    background: #f8fafc;
}

.categories-drawer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.cat-drawer-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 14px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    transition: all 0.18s ease;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.cat-drawer-card.full-span {
    grid-column: 1 / -1;
}

.cat-drawer-card:hover {
    border-color: var(--brand-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(220, 38, 38, 0.1);
}

.cat-drawer-card.active {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.28);
}

.cat-drawer-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #fef2f2;
    color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.cat-drawer-card.active .cat-drawer-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.cat-drawer-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cat-drawer-name {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    word-break: break-word;
}

.cat-drawer-card.active .cat-drawer-name {
    color: #ffffff;
}

.cat-drawer-count {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    margin-top: 2px;
}

.cat-drawer-card.active .cat-drawer-count {
    color: #fef08a;
}

.categories-drawer-footer {
    padding: 14px 16px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.drawer-whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #15803d;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    font-weight: 700;
}

/* ----------------- HERO CARRUSEL ----------------- */
.hero-carousel-section {
    padding: 20px 0 8px 0;
}

.carousel-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: radial-gradient(circle at 75% 50%, #291d15 0%, #111827 65%, #090d16 100%);
    border: 2px solid #1e293b;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
}

.carousel-track {
    display: flex;
    position: relative;
}

.carousel-slide {
    min-width: 100%;
    display: none;
    padding: 36px 48px;
}

.carousel-slide.active {
    display: block;
}

.slide-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.slide-text {
    flex: 1;
    max-width: 580px;
}

.slide-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--brand-red);
    color: #ffffff;
    margin-bottom: 12px;
}

.slide-badge.highlight-purple { background: #9333ea; }
.slide-badge.highlight-gold { background: #d97706; }
.slide-badge.highlight-green { background: #16a34a; }
.slide-badge.highlight-red { background: #dc2626; }

.slide-title {
    font-family: var(--font-heading);
    font-size: 38px;
    line-height: 1.08;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.slide-desc {
    color: #cbd5e1;
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.slide-pricing {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.slide-price {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--brand-gold-text);
    line-height: 1;
}

.slide-regular-price {
    color: #94a3b8;
    text-decoration: line-through;
    font-size: 16px;
}

.slide-savings {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #4ade80;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
}

.slide-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.slide-image-box {
    flex: 0 0 330px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.65));
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.2s;
    z-index: 10;
}

.carousel-nav-btn:hover {
    background: var(--brand-gold);
    color: #0f172a;
}

.carousel-nav-btn.prev { left: 14px; }
.carousel-nav-btn.next { right: 14px; }

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.2s;
}

.carousel-dot.active {
    background: var(--brand-gold);
    width: 24px;
    border-radius: 6px;
}

/* ----------------- BANNER DE GARANTÍAS (LIGHT MODE) ----------------- */
.trust-banner-section {
    padding: 18px 0 8px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.trust-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-card);
}

.trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-red);
    font-size: 18px;
    flex-shrink: 0;
}

.trust-text h4 {
    font-size: 12.5px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.02em;
}

.trust-text p {
    font-size: 11.5px;
    color: #64748b;
    margin-top: 2px;
}

/* ----------------- SECCIÓN COMBOS ----------------- */
.combos-section {
    padding: 28px 0 18px 0;
}

.section-header {
    margin-bottom: 18px;
}

.section-badge {
    display: inline-block;
    background: #fef2f2;
    color: var(--brand-red);
    border: 1px solid #fecaca;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 34px;
    letter-spacing: 0.03em;
    color: #0f172a;
    line-height: 1.08;
}

.section-subtitle {
    color: #475569;
    font-size: 14px;
    margin-top: 4px;
}

.combos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
    gap: 18px;
}

.combo-card {
    background: #ffffff;
    border: 2px solid #f59e0b;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.combo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.combo-card.in-cart-active {
    border-color: var(--brand-red);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.16);
}

.combo-badge-pill {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--brand-red);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    z-index: 5;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.combo-image-box {
    background: radial-gradient(circle at 50% 50%, #241c15 0%, #0f172a 85%);
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    position: relative;
    cursor: pointer;
}

.combo-image-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.65));
    transition: transform 0.25s;
}

.combo-card:hover .combo-image-box img {
    transform: scale(1.05);
}

.combo-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #ffffff;
}

.combo-name {
    font-size: 15.5px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 8px;
}

.combo-items-list {
    list-style: none;
    margin-bottom: 12px;
    flex: 1;
}

.combo-items-list li {
    font-size: 12.5px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-weight: 500;
}

.combo-items-list li i {
    color: #16a34a;
    font-size: 11px;
}

.combo-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}

.combo-price {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--brand-red);
    line-height: 1;
}

.combo-regular-price {
    font-size: 13px;
    color: #64748b;
    text-decoration: line-through;
}

.btn-add-combo {
    width: 100%;
    padding: 11px;
    background: #0f172a;
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-add-combo:hover {
    background: var(--brand-red);
}

/* =========================================================
   BARRA STICKY DE CATEGORÍAS (MENÚ HAMBURGUESA + SWITCH)
   ========================================================= */
.categories-bar-section {
    padding: 12px 0;
    position: sticky;
    top: 68px;
    z-index: 850;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #cbd5e1;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.catalog-nav-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.btn-categories-trigger {
    flex: 1;
    max-width: 440px;
    background: #0f172a;
    color: #ffffff;
    border: 1.5px solid #1e293b;
    border-radius: var(--radius-md);
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: all 0.2s;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.12);
}

.btn-categories-trigger:hover {
    border-color: var(--brand-red);
    background: #1e293b;
}

.trigger-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.trigger-hamburger-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--brand-red);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.trigger-text-wrap {
    display: flex;
    flex-direction: column;
    text-align: left;
    min-width: 0;
}

.trigger-small-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    font-weight: 700;
}

.trigger-active-name {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trigger-Action-pill {
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: var(--brand-gold-text);
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Switch Lista Minorista / Mayorista */
.price-mode-switcher {
    display: inline-flex;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    padding: 3px;
    gap: 3px;
    flex-shrink: 0;
}

.price-mode-btn {
    padding: 7px 12px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.18s;
}

.price-mode-btn small {
    font-size: 10.5px;
    opacity: 0.85;
}

.price-mode-btn.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.1);
}

#btnModeMayorista.active {
    background: #111827;
    color: var(--brand-gold-text);
    border: 1px solid var(--brand-gold);
}

/* Pastillas en PC */
.categories-scroll-wrapper {
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 4px;
}

.categories-pills {
    display: flex;
    gap: 8px;
    width: max-content;
}

.pill-btn {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: all 0.18s;
}

.pill-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.pill-btn.active {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.25);
}

/* =========================================================
   CATÁLOGO DE PRODUCTOS (TARJETAS BLANCAS PURAS)
   ========================================================= */
.products-catalog-section {
    padding: 20px 0 70px 0;
}

.catalog-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}

.results-info {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tag {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: var(--brand-red);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 800;
}

.btn-clear-filter {
    background: #e2e8f0;
    color: #0f172a;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--radius-full);
}

.btn-clear-filter:hover {
    background: #cbd5e1;
}

.catalog-quick-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.sort-select {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    background: #ffffff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
    gap: 18px;
}

/* Tarjeta individual de producto en Blanco Puro */
.product-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    box-shadow: var(--shadow-card-hover);
}

.product-card.in-cart-active {
    border-color: #16a34a;
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.14);
}

/* Etiqueta "En tu pedido" */
.in-cart-pill {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #16a34a;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.35);
}

.low-stock-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--brand-red);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    z-index: 5;
}

.out-of-stock-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #64748b;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    z-index: 5;
}

.featured-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #f59e0b;
    color: #0f172a;
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    z-index: 5;
}

/* Contenedor de imagen BLANCO PURO para fundirse con las fotos */
.product-image-container {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    height: 215px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.product-image-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.product-card:hover .product-image-container img {
    transform: scale(1.07);
}

.product-image-container::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(15, 23, 42, 0.08);
    color: #334155;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.product-card:hover .product-image-container::after {
    opacity: 1;
}

.product-info {
    padding: 12px 14px 14px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #ffffff;
}

.product-category-tag {
    font-size: 10.5px;
    font-weight: 800;
    color: var(--brand-red);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 3px;
}

.product-name {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
}

.product-presentation {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 10px;
}

/* Caja de precios con jerarquía Mayorista / Minorista */
.product-pricing-box {
    margin-top: auto;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-price-minorista {
    font-family: var(--font-heading);
    font-size: 26px;
    color: #0f172a;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.product-price-minorista small {
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

/* Insignia Mayorista estilo marca (bloque carbón con borde dorado y número amarillo) */
.product-price-mayorista {
    background: #111827;
    border: 1px solid #f59e0b;
    border-radius: 6px;
    padding: 4px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    font-weight: 700;
    color: #f8fafc;
}

.product-price-mayorista strong {
    font-family: var(--font-heading);
    font-size: 17px;
    letter-spacing: 0.03em;
    color: #facc15;
    line-height: 1;
}

/* Acciones en la tarjeta (stepper y botón) */
.product-actions {
    display: flex;
    gap: 7px;
}

.quantity-stepper {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.quantity-stepper button {
    width: 28px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
    transition: background 0.15s;
}

.quantity-stepper button:hover {
    background: #e2e8f0;
}

.quantity-stepper input {
    width: 30px;
    height: 36px;
    text-align: center;
    border: none;
    background: transparent;
    padding: 0;
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
}

.btn-add-cart {
    flex: 1;
    height: 36px;
    background: var(--brand-red);
    border: 1px solid var(--brand-red);
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.18s;
}

.btn-add-cart:hover {
    background: var(--brand-red-hover);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-add-cart:disabled {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
}

/* =========================================================
   CARRITO DRAWER CON BARRA DE PROGRESO MAYORISTA ($100.000)
   ========================================================= */
.cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background: #ffffff;
    box-shadow: var(--shadow-modal);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-header {
    padding: 16px 20px;
    background: #0f172a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid var(--brand-red);
}

.cart-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-header-title i {
    color: var(--brand-gold);
    font-size: 18px;
}

.cart-header-title h3 {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
}

.cart-counter-pill {
    background: var(--brand-red);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.btn-close-cart {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.btn-close-cart:hover {
    background: var(--brand-red);
}

/* Barra de progreso mayorista */
.wholesale-progress-box {
    background: #111827;
    color: #ffffff;
    padding: 10px 16px;
    border-bottom: 1px solid #1e293b;
}

.wholesale-progress-text {
    font-size: 12px;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 6px;
}

.wholesale-progress-text strong {
    color: var(--brand-gold-text);
}

.wholesale-progress-track {
    width: 100%;
    height: 8px;
    background: #1e293b;
    border-radius: 99px;
    overflow: hidden;
}

.wholesale-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b 0%, #16a34a 100%);
    border-radius: 99px;
    transition: width 0.35s ease;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f8fafc;
}

.cart-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04);
}

.cart-item-img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    flex-shrink: 0;
}

.cart-item-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

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

.cart-item-name {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-sub {
    font-size: 11px;
    color: #64748b;
}

.cart-item-price {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--brand-red);
    margin-top: 2px;
}

.cart-item-stepper {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    padding: 3px 6px;
    border-radius: var(--radius-sm);
}

.cart-item-stepper button {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-stepper span {
    font-size: 12.5px;
    font-weight: 800;
    min-width: 18px;
    text-align: center;
    color: #0f172a;
}

.btn-remove-item {
    color: #94a3b8;
    font-size: 14px;
    padding: 6px;
}

.btn-remove-item:hover {
    color: var(--brand-red);
}

/* Pie del Carrito */
.cart-footer {
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 14px 18px;
    max-height: 56vh;
    overflow-y: auto;
}

.wholesale-alert {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 11.5px;
    color: #166534;
}

.wholesale-alert i {
    font-size: 18px;
    color: #16a34a;
}

.cart-summary-totals {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #475569;
    margin-bottom: 4px;
}

.summary-row.total-row {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin-top: 4px;
}

.total-amount {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--brand-red);
}

.checkout-form .form-title {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.checkout-form .form-title i {
    color: var(--brand-red);
}

.form-group {
    margin-bottom: 9px;
}

.form-group label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 3px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 8px 10px;
    font-size: 13px;
}

.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.delivery-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 600;
    color: #0f172a;
}

.delivery-radio-label input {
    width: auto;
}

.checkout-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.btn-whatsapp-checkout {
    width: 100%;
    padding: 12px;
    background: var(--whatsapp-green);
    color: #ffffff;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-whatsapp-checkout:hover {
    background: var(--whatsapp-hover);
}

.btn-email-checkout {
    width: 100%;
    padding: 9px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.order-notice {
    font-size: 11px;
    color: #64748b;
    text-align: center;
    margin-top: 8px;
}

/* =========================================================
   BOTONES FLOTANTES RÁPIDOS (ITEM 4: VOLVER ARRIBA + CATEGORÍAS)
   ========================================================= */
.quick-fab-group {
    position: fixed;
    bottom: 24px;
    left: 20px;
    z-index: 880;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-fab-group.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.quick-fab-btn {
    height: 44px;
    border-radius: var(--radius-full);
    background: #0f172a;
    color: #ffffff;
    border: 1.5px solid var(--brand-gold);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 800;
    transition: all 0.2s;
}

.quick-fab-btn.top-fab,
.quick-fab-btn.search-fab {
    width: 44px;
    padding: 0;
}

.quick-fab-btn:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
    transform: translateY(-2px);
}

/* ----------------- FOOTER INSTITUCIONAL ----------------- */
.main-footer {
    background: #0f172a;
    border-top: 3px solid var(--brand-red);
    padding-top: 44px;
    color: #cbd5e1;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 36px;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: #ffffff;
    letter-spacing: 0.04em;
}

.slogan-text {
    color: var(--brand-gold);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.footer-desc {
    color: #94a3b8;
    font-size: 13.5px;
    margin-bottom: 16px;
    max-width: 360px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1e293b;
    border: 1px solid #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.2s;
}

.social-btn:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
}

.footer-title {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.footer-info-list {
    list-style: none;
}

.footer-info-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    font-size: 13.5px;
    margin-bottom: 10px;
}

.footer-info-list li i {
    color: var(--brand-gold);
    width: 16px;
}

.footer-text {
    color: #cbd5e1;
    font-size: 13.5px;
    margin-bottom: 16px;
}

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--brand-gold);
    color: var(--brand-gold-text);
    font-size: 13px;
    font-weight: 700;
}

.btn-outline-gold:hover {
    background: var(--brand-gold);
    color: #0f172a;
}

.footer-bottom {
    background: #090d16;
    border-top: 1px solid #1e293b;
    padding: 16px 0;
    font-size: 12.5px;
    color: #94a3b8;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-discreet-link {
    color: #64748b;
    font-size: 11.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Elementos móviles y notificaciones */
.floating-cart-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--brand-red);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    z-index: 800;
    border: 2px solid #ffffff;
}

.floating-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--brand-gold);
    color: #0f172a;
    font-size: 12px;
    font-weight: 900;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-shelf-hint, .mobile-bottom-bar {
    display: none;
}

.toast-notification {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #0f172a;
    border: 1.5px solid var(--brand-gold);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 13.5px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.35);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.loading-state, .empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px;
    color: #64748b;
}

.empty-icon {
    font-size: 42px;
    color: #94a3b8;
    margin-bottom: 12px;
}

.empty-state h3 {
    font-size: 18px;
    color: #0f172a;
    margin-bottom: 6px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 800;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--brand-red);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--brand-red-hover);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

/* =========================================================
   LIGHTBOX / MODAL DE ZOOM EN MODO CLARO
   ========================================================= */
.image-zoom-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.image-zoom-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.image-zoom-content {
    background: #ffffff;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.45);
    display: flex;
    flex-direction: column;
    position: relative;
}

.image-zoom-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #0f172a;
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    z-index: 20;
}

.image-zoom-img-box {
    background: #ffffff;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.image-zoom-img-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.image-zoom-details {
    padding: 18px 22px 22px 22px;
    background: #ffffff;
}

.image-zoom-category {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--brand-red);
    text-transform: uppercase;
    margin-bottom: 4px;
    display: inline-block;
}

.image-zoom-title {
    font-family: var(--font-heading);
    font-size: 26px;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 4px;
}

.image-zoom-pres {
    font-size: 13.5px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 14px;
}

.image-zoom-prices {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.image-zoom-price-box {
    flex: 1;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    padding: 10px 12px;
    border-radius: 10px;
}

.image-zoom-price-box.mayorista {
    background: #111827;
    border-color: var(--brand-gold);
}

.image-zoom-price-label {
    font-size: 10.5px;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
    display: block;
}

.image-zoom-price-box.mayorista .image-zoom-price-label {
    color: var(--brand-gold);
}

.image-zoom-price-val {
    font-family: var(--font-heading);
    font-size: 26px;
    color: #0f172a;
    line-height: 1.1;
}

.image-zoom-price-box.mayorista .image-zoom-price-val {
    color: var(--brand-gold-text);
}

.image-zoom-btn-cart {
    width: 100%;
    background: var(--brand-red);
    color: #ffffff;
    border-radius: 10px;
    padding: 12px;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* =========================================================
   RESPONSIVE MOBILE (OPTIMIZADO CON MENÚ HAMBURGUESA)
   ========================================================= */
@media (max-width: 992px) {
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr; }
    .slide-content { flex-direction: column-reverse; text-align: center; }
    .slide-pricing, .slide-actions { justify-content: center; }
    .slide-image-box { height: 200px; flex: none; }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 8px;
        padding: 6px 10px;
    }

    .header-left-group {
        order: 1;
        gap: 8px;
    }

    .btn-hamburger-header {
        padding: 8px 10px;
    }

    .btn-hamburger-header .hamburger-label {
        display: none;
    }

    .logo-img {
        height: 36px;
        width: 36px;
    }

    .brand-title {
        font-size: 21px;
    }

    .brand-subtitle {
        font-size: 8px;
    }

    .header-actions {
        order: 2;
        gap: 6px;
    }

    .btn-whatsapp-header .whatsapp-label {
        display: none;
    }

    .btn-whatsapp-header {
        padding: 8px 10px;
    }

    .btn-cart {
        padding: 4px 10px 4px 6px;
    }

    .cart-label {
        display: none;
    }

    .search-box {
        order: 3;
        max-width: 100%;
        width: 100%;
    }

    /* En móvil ocultamos la tira horizontal de pastillas y usamos el botón Hamburguesa */
    .desktop-only-pills {
        display: none !important;
    }

    .categories-bar-section {
        top: 0;
        padding: 8px 0;
    }

    .catalog-nav-toolbar {
        margin-bottom: 0;
        gap: 8px;
    }

    .btn-categories-trigger {
        padding: 7px 10px;
    }

    .trigger-hamburger-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .trigger-active-name {
        font-size: 12.5px;
    }

    .trigger-Action-pill {
        font-size: 10.5px;
        padding: 3px 7px;
    }

    .price-mode-btn {
        padding: 6px 8px;
        font-size: 11px;
    }

    .price-mode-btn small {
        display: none;
    }

    /* Carrusel móvil */
    .carousel-slide { padding: 16px 14px 22px 14px; }
    .slide-title { font-size: 22px; }
    .slide-desc { font-size: 12px; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
    .slide-price { font-size: 26px; }
    .slide-image-box { height: 150px; }

    /* Combos deslizables */
    .mobile-shelf-hint {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        font-size: 11px;
        font-weight: 700;
        color: var(--brand-red);
        background: #fef2f2;
        border: 1px solid #fecaca;
        padding: 3px 8px;
        border-radius: var(--radius-full);
    }

    .combos-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 12px;
        padding-bottom: 10px;
    }

    .combo-card {
        flex: 0 0 245px !important;
        scroll-snap-align: start;
    }

    .combo-image-box { height: 170px; }

    /* Grilla de 2 productos por fila en móvil */
    .products-catalog-section {
        padding: 14px 0 105px 0;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .product-image-container {
        height: 160px;
        padding: 6px;
    }

    .product-info {
        padding: 9px 8px 10px 8px;
    }

    .product-name {
        font-size: 12.5px;
        min-height: 32px;
    }

    .product-price-minorista {
        font-size: 21px;
    }

    .product-price-mayorista {
        padding: 3px 6px;
        font-size: 10px;
    }

    .product-price-mayorista strong {
        font-size: 14.5px;
    }

    .quantity-stepper button { width: 22px; height: 32px; }
    .quantity-stepper input { width: 22px; height: 32px; font-size: 12px; }
    .btn-add-cart { height: 32px; font-size: 12px; padding: 0 6px; }

    /* Botones rápidos flotantes ajustados para no chocar con barra inferior */
    .quick-fab-group {
        bottom: 82px;
        left: 10px;
    }

    .quick-fab-btn {
        height: 38px;
        font-size: 12px;
        padding: 0 11px;
    }

    .quick-fab-btn.top-fab,
    .quick-fab-btn.search-fab {
        width: 38px;
    }

    /* Barra inferior móvil con tira de progreso mayorista */
    .mobile-bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 950;
        background: #0f172a;
        border-top: 2px solid var(--brand-gold);
        box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.35);
        padding-bottom: env(safe-area-inset-bottom);
        display: none;
        flex-direction: column;
        cursor: pointer;
    }

    .mobile-bottom-bar.visible {
        display: flex;
    }

    .mobile-bar-wholesale-strip {
        background: #1e293b;
        color: #f8fafc;
        font-size: 11px;
        font-weight: 700;
        text-align: center;
        padding: 4px 8px;
        border-bottom: 1px solid #334155;
    }

    .mobile-bottom-bar-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 14px;
    }

    .mobile-bottom-bar-left {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mobile-bar-icon-wrap {
        position: relative;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: var(--brand-red);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        font-size: 15px;
    }

    .mobile-bar-badge {
        position: absolute;
        top: -4px;
        right: -4px;
        background: var(--brand-gold);
        color: #0f172a;
        font-size: 10.5px;
        font-weight: 900;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-bar-count {
        font-size: 11px;
        color: #cbd5e1;
        font-weight: 600;
    }

    .mobile-bar-total {
        font-family: var(--font-heading);
        font-size: 20px;
        color: var(--brand-gold-text);
        line-height: 1.05;
    }

    .mobile-bottom-bar-btn {
        background: var(--brand-red);
        color: #ffffff;
        padding: 8px 14px;
        border-radius: var(--radius-full);
        font-size: 12.5px;
        font-weight: 800;
        display: flex;
        align-items: center;
        gap: 6px;
    }
}
