/* ============================================================
   DEMOSTRACIÓN INTERACTIVA: TIENDA ONLINE Y CATÁLOGO (TECHPULSE PRO)
   Desarrollada por AER Multinet
   Tipografía: Outfit (Títulos) + Plus Jakarta Sans (Cuerpo)
   ============================================================ */

:root {
    --store-primary: #0284c7;
    --store-primary-hover: #0369a1;
    --store-dark: #0b132b;
    --store-dark-card: #1c2541;
    --store-accent: #38bdf8;
    --store-discount: #ea580c;
    --store-success: #10b981;
    --store-bg: #f8fafc;
    --store-card-bg: #ffffff;
    --store-border: #e2e8f0;
    --store-text: #1e293b;
    --store-muted: #64748b;
    --store-light: #94a3b8;
    --store-white: #ffffff;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(11, 19, 43, 0.06);
    --shadow-md: 0 8px 24px rgba(11, 19, 43, 0.09);
    --shadow-lg: 0 16px 36px rgba(11, 19, 43, 0.14);
    --transition: all 0.22s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body.store-body {
    font-family: var(--font-body);
    color: var(--store-text);
    background-color: var(--store-bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.store-container {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ============================================================
   1. BARRA SUPERIOR AER MULTINET (CONTROL DE DEMO)
   ============================================================ */
.aer-demo-topbar {
    background: #08172c;
    border-bottom: 1px solid #1e3653;
    color: #e2e8f0;
    font-size: 0.8rem;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.aer-demo-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0.5rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.aer-demo-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
}

.aer-demo-indicator {
    width: 9px;
    height: 9px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
    animation: pulseStoreDemo 2s infinite;
}

@keyframes pulseStoreDemo {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
}

.aer-demo-badge strong {
    color: #38bdf8;
    letter-spacing: 0.5px;
}

.aer-demo-sub {
    color: #94a3b8;
    font-size: 0.78rem;
}

.aer-demo-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.aer-demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    transition: var(--transition);
}

.aer-demo-btn-back {
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.35);
}

.aer-demo-btn-back:hover {
    background: #38bdf8;
    color: #08172c;
}

.aer-demo-btn-wa {
    background: #25d366;
    color: #ffffff;
    border: 1px solid #1eb954;
}

.aer-demo-btn-wa:hover {
    background: #1eb954;
    color: #ffffff;
}

/* ============================================================
   2. TIRA PROMOCIONAL SUPERIOR
   ============================================================ */
.store-announcement-bar {
    background: #0b132b;
    color: #cbd5e1;
    font-size: 0.76rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.announcement-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.announcement-text i {
    color: #f59e0b;
    margin-right: 0.25rem;
}

.announcement-links {
    display: flex;
    gap: 1.25rem;
    font-size: 0.74rem;
}

.announcement-links span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #94a3b8;
}

/* ============================================================
   3. CABECERA PRINCIPAL & BUSCADOR
   ============================================================ */
.store-header {
    background: var(--store-white);
    border-bottom: 1px solid var(--store-border);
    position: sticky;
    top: 38px; /* Debajo de la demo bar */
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(11, 19, 43, 0.04);
}

.header-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.95rem 1.25rem;
}

.store-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.store-brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: var(--store-white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

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

.store-brand-name {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--store-dark);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.brand-accent {
    color: var(--store-primary);
}

.store-brand-tagline {
    font-size: 0.72rem;
    color: var(--store-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Buscador */
.store-search-box {
    flex: 1;
    max-width: 540px;
}

.search-form {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid var(--store-border);
    border-radius: 30px;
    padding: 3px 5px 3px 18px;
    transition: var(--transition);
}

.search-form:focus-within {
    border-color: var(--store-primary);
    background: var(--store-white);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.search-input {
    width: 100%;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.88rem;
    color: var(--store-text);
    outline: none;
}

.search-btn {
    width: 36px;
    height: 36px;
    background: var(--store-primary);
    color: var(--store-white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.search-btn:hover {
    background: var(--store-primary-hover);
}

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

.header-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.95rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background: transparent;
}

.action-whatsapp {
    color: #16a34a;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.action-whatsapp:hover {
    background: #25d366;
    color: #ffffff;
}

.action-cart {
    background: var(--store-dark);
    color: var(--store-white);
    border: 1px solid var(--store-dark);
}

.action-cart:hover {
    background: var(--store-primary);
    border-color: var(--store-primary);
}

.cart-icon-wrapper {
    position: relative;
    font-size: 1.15rem;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--store-discount);
    color: var(--store-white);
    font-size: 0.65rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--store-white);
}

.cart-btn-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.cart-btn-title {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 500;
}

.cart-btn-total {
    font-size: 0.88rem;
    font-weight: 800;
    color: #38bdf8;
}

.store-mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--store-border);
    border-radius: 8px;
    padding: 0.45rem 0.65rem;
    font-size: 1.15rem;
    color: var(--store-dark);
    cursor: pointer;
}

/* Barra de Categorías */
.store-cat-nav {
    background: #0b132b;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cat-nav-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.4rem 0;
    scrollbar-width: none;
}
.cat-nav-list::-webkit-scrollbar {
    display: none;
}

.cat-nav-list a {
    color: #cbd5e1;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.45rem 0.95rem;
    border-radius: 20px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.cat-nav-list a i {
    font-size: 0.78rem;
    color: #38bdf8;
}

.cat-nav-list a:hover,
.cat-nav-list a.active {
    color: var(--store-white);
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

/* ============================================================
   4. HERO BANNER COMERCIAL / OFERTAS
   ============================================================ */
.store-hero-banner {
    background: linear-gradient(135deg, #0b132b 0%, #1c2541 65%, #0f172a 100%);
    color: var(--store-white);
    padding: 3.5rem 0 3rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.hero-banner-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-banner-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(234, 88, 12, 0.2);
    border: 1px solid rgba(234, 88, 12, 0.45);
    color: #fb923c;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.hero-banner-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.8px;
}

.hero-banner-title .banner-highlight {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-banner-desc {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.55;
    margin-bottom: 1.75rem;
    max-width: 520px;
}

.hero-banner-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-featured-promo-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.promo-badge-ribbon {
    display: inline-block;
    background: var(--store-discount);
    color: var(--store-white);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.promo-img-wrapper {
    max-width: 260px;
    margin: 0 auto 1.25rem;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.promo-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.promo-prices {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.price-current {
    font-size: 1.75rem;
    font-weight: 900;
    color: #38bdf8;
}

.price-old {
    font-size: 1.05rem;
    color: #94a3b8;
    text-decoration: line-through;
}

/* ============================================================
   5. BOTONES GLOBALES DE LA TIENDA
   ============================================================ */
.btn-store-primary {
    background: var(--store-primary);
    color: var(--store-white);
    border: 1px solid var(--store-primary);
    padding: 0.65rem 1.35rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-store-primary:hover {
    background: var(--store-primary-hover);
    color: var(--store-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-store-secondary {
    background: #f1f5f9;
    color: var(--store-dark);
    border: 1px solid var(--store-border);
    padding: 0.65rem 1.35rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-store-secondary:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.btn-store-whatsapp {
    background: #25d366;
    color: var(--store-white);
    border: 1px solid #1eb954;
    padding: 0.65rem 1.35rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-store-whatsapp:hover {
    background: #1eb954;
    color: var(--store-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-sm {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
}

.btn-block {
    width: 100%;
}

/* ============================================================
   6. GRILLA DE CATEGORÍAS RÁPIDAS
   ============================================================ */
.store-quick-cats {
    margin-bottom: 3.5rem;
}

.quick-cats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.quick-cat-card {
    background: var(--store-card-bg);
    border: 1px solid var(--store-border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.quick-cat-card:hover {
    border-color: var(--store-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.cat-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(2, 132, 199, 0.08);
    color: var(--store-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
    transition: var(--transition);
}

.quick-cat-card:hover .cat-card-icon {
    background: var(--store-primary);
    color: var(--store-white);
}

.cat-card-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--store-dark);
    margin-bottom: 0.2rem;
}

.cat-card-count {
    font-size: 0.76rem;
    color: var(--store-muted);
}

/* ============================================================
   7. TARJETAS DE PRODUCTOS
   ============================================================ */
.products-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.sec-title-wrap h2 {
    font-family: var(--font-heading);
    font-size: 1.95rem;
    font-weight: 800;
    color: var(--store-dark);
    letter-spacing: -0.5px;
    margin-bottom: 0.35rem;
}

.sec-title-wrap p {
    font-size: 0.95rem;
    color: var(--store-muted);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.product-card {
    background: var(--store-card-bg);
    border: 1px solid var(--store-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.product-card:hover {
    border-color: var(--store-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--store-discount);
    color: var(--store-white);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    z-index: 2;
}

.product-img-box {
    height: 210px;
    background: #0f172a;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--store-border);
}

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

.product-card:hover .product-img {
    transform: scale(1.06);
}

.product-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-cat {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--store-primary);
    letter-spacing: 0.5px;
    margin-bottom: 0.35rem;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--store-dark);
    margin-bottom: 0.45rem;
    line-height: 1.3;
}

.product-title a:hover {
    color: var(--store-primary);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: #f59e0b;
    margin-bottom: 0.75rem;
}

.product-rating span {
    color: var(--store-muted);
    font-weight: 500;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--store-muted);
    line-height: 1.45;
    margin-bottom: 1.15rem;
    flex: 1;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin-bottom: 1.15rem;
}

.current-price {
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--store-dark);
}

.old-price {
    font-size: 0.88rem;
    color: var(--store-muted);
    text-decoration: line-through;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
}

.btn-add-cart {
    background: var(--store-primary);
    color: var(--store-white);
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.9rem;
    font-weight: 700;
    font-size: 0.84rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-add-cart:hover {
    background: var(--store-primary-hover);
}

.btn-view-detail {
    background: #f1f5f9;
    color: var(--store-dark);
    border: 1px solid var(--store-border);
    border-radius: var(--radius-sm);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-view-detail:hover {
    border-color: var(--store-primary);
    color: var(--store-primary);
}

/* ============================================================
   8. CATÁLOGO & FILTROS (catalogo.php)
   ============================================================ */
.catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    padding: 2.5rem 0 4rem;
}

.catalog-sidebar {
    background: var(--store-card-bg);
    border: 1px solid var(--store-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    height: fit-content;
    box-shadow: var(--shadow-sm);
}

.filter-group {
    margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--store-border);
    padding-bottom: 1.5rem;
}
.filter-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.filter-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--store-dark);
    margin-bottom: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-cat-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.filter-cat-btn {
    text-align: left;
    background: transparent;
    border: none;
    padding: 0.45rem 0.65rem;
    border-radius: 6px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--store-text);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
}

.filter-cat-btn:hover,
.filter-cat-btn.active {
    background: rgba(2, 132, 199, 0.08);
    color: var(--store-primary);
}

.price-range-slider {
    width: 100%;
    margin-bottom: 0.5rem;
    accent-color: var(--store-primary);
}

.price-slider-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.84rem;
    color: var(--store-muted);
}

/* Barra superior de catálogo */
.catalog-top-controls {
    background: var(--store-card-bg);
    border: 1px solid var(--store-border);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
}

.sort-select {
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--store-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.86rem;
    color: var(--store-text);
    background: var(--store-white);
    outline: none;
}

/* ============================================================
   9. FICHA INDIVIDUAL DE PRODUCTO (producto.php)
   ============================================================ */
.product-detail-section {
    padding: 2.5rem 0 4rem;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--store-muted);
    margin-bottom: 1.75rem;
}

.breadcrumb-nav a:hover {
    color: var(--store-primary);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 3rem;
    background: var(--store-card-bg);
    border: 1px solid var(--store-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-sm);
}

.detail-img-box {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #0f172a;
    border: 1px solid var(--store-border);
}

.detail-sku {
    font-size: 0.76rem;
    color: var(--store-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.35rem;
}

.detail-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--store-dark);
    margin-bottom: 0.65rem;
    line-height: 1.2;
}

.detail-stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(16, 185, 129, 0.12);
    color: var(--store-success);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 1.25rem;
}

.detail-price-box {
    background: #f8fafc;
    border: 1px solid var(--store-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.detail-price-current {
    font-size: 2.3rem;
    font-weight: 900;
    color: var(--store-primary);
}

.detail-price-old {
    font-size: 1.25rem;
    color: var(--store-muted);
    text-decoration: line-through;
}

.detail-purchase-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.detail-qty-box {
    display: flex;
    align-items: center;
    border: 1px solid var(--store-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn-box {
    width: 40px;
    height: 44px;
    background: #f1f5f9;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.qty-btn-box:hover {
    background: #e2e8f0;
}

.qty-input-box {
    width: 50px;
    height: 44px;
    border: none;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    outline: none;
}

/* Tabs de Producto */
.product-tabs-wrap {
    background: var(--store-card-bg);
    border: 1px solid var(--store-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 3.5rem;
}

.prod-tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--store-border);
    background: #f8fafc;
}

.prod-tab-btn {
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--store-muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.prod-tab-btn.active {
    color: var(--store-primary);
    background: var(--store-white);
    border-bottom-color: var(--store-primary);
}

.tab-pane {
    display: none;
    padding: 2rem;
}

.tab-pane.active {
    display: block;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--store-border);
    font-size: 0.9rem;
}

.specs-table td:first-child {
    font-weight: 700;
    color: var(--store-dark);
    width: 35%;
    background: #f8fafc;
}

/* ============================================================
   10. DRAWER DEL CARRITO & TOAST
   ============================================================ */
.cart-drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 19, 43, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10001;
}

.cart-drawer-overlay.active {
    display: block;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100%;
    background: var(--store-white);
    z-index: 10002;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.drawer-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.drawer-title-wrap h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--store-dark);
}

.drawer-items-count {
    font-size: 0.8rem;
    color: var(--store-muted);
}

.drawer-close-btn {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    color: var(--store-muted);
    cursor: pointer;
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-icon {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--store-border);
    align-items: center;
}

.cart-item-img {
    width: 68px;
    height: 68px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid var(--store-border);
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--store-dark);
    margin-bottom: 0.25rem;
    line-height: 1.25;
}

.cart-item-price {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--store-primary);
    margin-bottom: 0.45rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--store-border);
    border-radius: 6px;
    overflow: hidden;
}

.qty-btn {
    width: 28px;
    height: 28px;
    background: #f1f5f9;
    border: none;
    font-weight: 700;
    cursor: pointer;
}

.qty-val {
    padding: 0 8px;
    font-size: 0.85rem;
    font-weight: 700;
}

.cart-item-remove {
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 0.88rem;
}

.cart-drawer-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--store-border);
    background: #f8fafc;
}

.drawer-summary {
    margin-bottom: 1.25rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: var(--store-muted);
}

.total-line {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--store-dark);
    border-top: 1px solid var(--store-border);
    padding-top: 0.65rem;
    margin-top: 0.65rem;
}

.free-shipping-tag {
    color: var(--store-success);
    font-weight: 700;
    font-size: 0.78rem;
}

.drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.drawer-disclaimer {
    font-size: 0.72rem;
    color: var(--store-muted);
    text-align: center;
    line-height: 1.35;
}

/* Toast de Producto Agregado */
.store-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0b132b;
    color: var(--store-white);
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    z-index: 10005;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.store-toast.active {
    transform: translateY(0);
    opacity: 1;
}

.store-toast i {
    color: #10b981;
}

/* ============================================================
   11. CHECKOUT SIMULADO (checkout.php)
   ============================================================ */
.checkout-section {
    padding: 2.5rem 0 4rem;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
}

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

.checkout-box-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--store-dark);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.store-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.store-form-group label {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--store-dark);
}

.store-input {
    width: 100%;
    padding: 0.65rem 0.95rem;
    border: 1px solid var(--store-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.store-input:focus {
    border-color: var(--store-primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.payment-method-selector {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payment-radio-card {
    border: 1px solid var(--store-border);
    border-radius: var(--radius-sm);
    padding: 0.95rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}

.payment-radio-card:hover {
    border-color: var(--store-primary);
    background: #f8fafc;
}

/* Modal de Simulación Exitosa */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 19, 43, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10010;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-card-success {
    background: var(--store-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 520px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: modalScale 0.3s ease;
}

@keyframes modalScale {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.success-icon-box {
    width: 70px;
    height: 70px;
    background: rgba(16, 185, 129, 0.12);
    color: var(--store-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 1.25rem;
}

.order-badge-box {
    background: #f1f5f9;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 800;
    color: var(--store-primary);
    font-size: 1.1rem;
    margin: 1rem 0 1.25rem;
    letter-spacing: 0.5px;
}

/* ============================================================
   12. FOOTER & TIRA DE CONFIANZA
   ============================================================ */
.store-features-strip {
    background: var(--store-white);
    border-top: 1px solid var(--store-border);
    border-bottom: 1px solid var(--store-border);
    padding: 2.5rem 0;
}

.features-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.strip-icon {
    width: 48px;
    height: 48px;
    background: rgba(2, 132, 199, 0.08);
    color: var(--store-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.strip-text h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--store-dark);
    margin-bottom: 0.15rem;
}

.strip-text p {
    font-size: 0.8rem;
    color: var(--store-muted);
}

.store-footer {
    background: #0b132b;
    color: #94a3b8;
    padding: 4.5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 0.9fr 1.1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-col-brand .store-brand-name {
    color: var(--store-white);
}

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 1rem 0 1.25rem;
}

.store-payment-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pay-badge {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-size: 0.72rem;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--store-white);
    margin-bottom: 1.25rem;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    font-size: 0.86rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.footer-links a:hover {
    color: #38bdf8;
    transform: translateX(4px);
}

.footer-contact-info li {
    font-size: 0.86rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: #cbd5e1;
}

.footer-contact-info i {
    color: #38bdf8;
    margin-top: 0.25rem;
}

.footer-bottom-row {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.75rem;
}

.footer-disclaimer-box {
    background: rgba(15, 23, 42, 0.8);
    border: 1px dashed rgba(56, 189, 248, 0.35);
    border-radius: var(--radius-sm);
    padding: 0.95rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.82rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.footer-disclaimer-box a {
    color: #38bdf8;
    text-decoration: underline;
}

.footer-copyright-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #64748b;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright-line a {
    color: #38bdf8;
}

/* ============================================================
   13. MENÚ MÓVIL
   ============================================================ */
.store-mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10001;
}

.store-mobile-overlay.active {
    display: block;
}

.store-mobile-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 290px;
    height: 100%;
    background: var(--store-white);
    z-index: 10002;
    display: flex;
    flex-direction: column;
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
}

.store-mobile-drawer.open {
    left: 0;
}

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

.mobile-drawer-close {
    background: transparent;
    border: none;
    font-size: 1.35rem;
    color: var(--store-dark);
}

.mobile-drawer-search {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--store-border);
}

.mobile-cat-list {
    padding: 1rem 1.5rem;
    flex: 1;
    overflow-y: auto;
}

.mobile-cat-list li {
    margin-bottom: 0.85rem;
}

.mobile-cat-list a {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--store-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-cat-list a i {
    color: var(--store-primary);
}

.mobile-drawer-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--store-border);
}

/* ============================================================
   14. ADAPTACIÓN RESPONSIVE
   ============================================================ */
@media (max-width: 1120px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .features-strip-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .quick-cats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 860px) {
    .store-search-box {
        display: none;
    }
    .store-mobile-toggle {
        display: block;
    }
    .action-whatsapp {
        display: none;
    }
    .catalog-layout {
        grid-template-columns: 1fr;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-detail-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 2rem;
    }
    .hero-banner-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-featured-promo-card {
        max-width: 420px;
        margin: 0 auto;
    }
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    .quick-cats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-strip-grid {
        grid-template-columns: 1fr;
    }
    .hero-banner-title {
        font-size: 2rem;
    }
    .announcement-links {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .aer-demo-container {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    .aer-demo-actions {
        justify-content: space-between;
    }
    .form-group-row {
        grid-template-columns: 1fr;
    }
}
