/* ========================================
   CELARES BOLSAS - ESTILOS PREMIUM ULTRA
   Diseño: Luxury Gold & Black Modern
   ======================================== */

/* ====== VARIABLES GLOBALES ====== */
:root {
    /* Colores principales */
    --gold: #C9A84C;
    --gold-light: #E8D48B;
    --gold-dark: #A07C2E;
    --gold-metallic: #D4AF37;
    --gold-shimmer: #F5E6A3;
    --black: #0A0A0A;
    --black-soft: #111111;
    --black-card: #161616;
    --black-card-hover: #1C1C1C;
    --black-surface: #1A1A1A;
    --white: #FFFFFF;
    --white-soft: #F5F5F5;
    --gray-100: #E8E8E8;
    --gray-200: #D0D0D0;
    --gray-300: #B0B0B0;
    --gray-400: #888888;
    --gray-500: #666666;
    --gray-600: #444444;
    --gray-700: #2A2A2A;
    --green-whatsapp: #25D366;
    --red-alert: #FF4757;
    --blue-info: #3B82F6;

    /* Gradientes Premium */
    --gradient-gold: linear-gradient(135deg, #A07C2E 0%, #C9A84C 25%, #F5E6A3 50%, #C9A84C 75%, #A07C2E 100%);
    --gradient-gold-subtle: linear-gradient(135deg, #C9A84C 0%, #D4AF37 50%, #E8D48B 100%);
    --gradient-dark: linear-gradient(180deg, #111111 0%, #0A0A0A 100%);
    --gradient-card: linear-gradient(145deg, #1A1A1A 0%, #111111 100%);
    --gradient-hero: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 40%, #111111 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);

    /* Sombras */
    --shadow-gold: 0 4px 30px rgba(201, 168, 76, 0.15);
    --shadow-gold-strong: 0 8px 40px rgba(201, 168, 76, 0.25);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.5);
    --shadow-float: 0 10px 50px rgba(0, 0, 0, 0.6);

    /* Bordes */
    --border-gold: 1px solid rgba(201, 168, 76, 0.2);
    --border-gold-strong: 1px solid rgba(201, 168, 76, 0.4);
    --border-subtle: 1px solid rgba(255, 255, 255, 0.06);
    --border-radius: 16px;
    --border-radius-sm: 10px;
    --border-radius-lg: 24px;

    /* Tipografía */
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-elegant: 'Cormorant Garamond', Georgia, serif;

    /* Transiciones */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ====== RESET & BASE ====== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

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

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

input, select {
    font-family: inherit;
    outline: none;
}

/* ====== SCROLLBAR CUSTOM ====== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--black);
}
::-webkit-scrollbar-thumb {
    background: var(--gray-600);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* ========================================
   PANTALLA DE BIENVENIDA
   ======================================== */
.welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    overflow: hidden;
}

.particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
}

/* Líneas decorativas */
.welcome-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.welcome-lines .line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.08), transparent);
}
.line-1 {
    top: 15%;
    left: -10%;
    width: 120%;
    height: 1px;
    animation: lineSweep 8s ease-in-out infinite;
}
.line-2 {
    top: 85%;
    left: -10%;
    width: 120%;
    height: 1px;
    animation: lineSweep 8s ease-in-out infinite 2s;
}
.line-3 {
    top: -10%;
    left: 15%;
    width: 1px;
    height: 120%;
    background: linear-gradient(180deg, transparent, rgba(201, 168, 76, 0.08), transparent);
    animation: lineVertical 10s ease-in-out infinite;
}
.line-4 {
    top: -10%;
    right: 15%;
    width: 1px;
    height: 120%;
    background: linear-gradient(180deg, transparent, rgba(201, 168, 76, 0.08), transparent);
    animation: lineVertical 10s ease-in-out infinite 3s;
}

@keyframes lineSweep {
    0%, 100% { opacity: 0; transform: translateX(-5%); }
    50% { opacity: 1; transform: translateX(5%); }
}
@keyframes lineVertical {
    0%, 100% { opacity: 0; transform: translateY(-5%); }
    50% { opacity: 1; transform: translateY(5%); }
}

.welcome-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 24px;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Logo container */
.welcome-logo-container {
    position: relative;
    margin-bottom: 32px;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.welcome-logo-img {
    width: 240px;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(201, 168, 76, 0.3));
    animation: logoFloat 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Tagline */
.welcome-tagline {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
    animation: fadeInUp 1.2s ease-out 0.3s both;
}

.tagline-line {
    width: 60px;
    height: 1px;
    background: var(--gradient-gold-subtle);
    opacity: 0.6;
}

.tagline-text {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--gold);
    text-transform: uppercase;
}

.welcome-subtitle {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--gray-300);
    letter-spacing: 1px;
    margin-bottom: 48px;
    animation: fadeInUp 1.2s ease-out 0.5s both;
}

/* Botón de entrada */
.enter-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 48px;
    background: var(--gradient-gold-subtle);
    color: var(--black);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-radius: 60px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-gold-strong);
    animation: fadeInUp 1.2s ease-out 0.7s both;
}

.enter-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 50px rgba(201, 168, 76, 0.4);
}

.enter-btn:active {
    transform: scale(0.98);
}

.btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

.btn-arrow {
    font-size: 14px;
    transition: var(--transition-fast);
}

.enter-btn:hover .btn-arrow {
    transform: translateX(6px);
}

/* Badge inferior */
.welcome-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
    padding: 10px 24px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 40px;
    font-size: 12px;
    color: var(--gray-400);
    letter-spacing: 0.5px;
    animation: fadeInUp 1.2s ease-out 0.9s both;
}

.welcome-badge i {
    color: var(--gold);
    font-size: 14px;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    transition: var(--transition-smooth);
}

.header.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.header-logo {
    width: 48px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(201, 168, 76, 0.2));
}

.header-center {
    text-align: center;
}

.header-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 6px;
    background: var(--gradient-gold);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 4s ease-in-out infinite;
}

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

.header-subtitle {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--gray-400);
    text-transform: uppercase;
}

.header-btn {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.2);
    color: var(--gold);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.header-btn:hover {
    background: rgba(201, 168, 76, 0.2);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    background: var(--gold);
    color: var(--black);
    font-size: 11px;
    font-weight: 800;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-spring);
    opacity: 0;
    transform: scale(0);
}

.cart-count.visible {
    opacity: 1;
    transform: scale(1);
}

/* ========================================
   HERO BANNER
   ======================================== */
.hero-banner {
    position: relative;
    padding: 48px 20px 40px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 40px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-badge i {
    font-size: 14px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--white);
}

.hero-highlight {
    background: var(--gradient-gold-subtle);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 17px;
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--gray-400);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* ========================================
   FILTROS
   ======================================== */
.filters-section {
    padding: 24px 20px;
    background: var(--black-soft);
    border-bottom: var(--border-subtle);
    max-width: 1400px;
    margin: 0 auto;
}

.filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.filters-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.filters-title i {
    color: var(--gold);
}

.filter-reset-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-400);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition-fast);
}

.filter-reset-btn:hover {
    color: var(--gold);
    border-color: rgba(201, 168, 76, 0.3);
    background: rgba(201, 168, 76, 0.08);
}

.filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gray-400);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-300);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.chip:hover {
    background: rgba(201, 168, 76, 0.08);
    border-color: rgba(201, 168, 76, 0.2);
    color: var(--gold-light);
}

.chip.active {
    background: rgba(201, 168, 76, 0.15);
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.1);
}

.chip-img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 4px;
}

.filter-search {
    min-width: 280px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 16px;
    color: var(--gray-500);
    font-size: 16px;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 12px 44px 12px 44px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    transition: var(--transition-fast);
}

.search-input::placeholder {
    color: var(--gray-500);
}

.search-input:focus {
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.05);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.search-clear {
    position: absolute;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: var(--gray-400);
    font-size: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.search-clear.visible {
    display: flex;
}

.search-clear:hover {
    background: rgba(255, 71, 87, 0.2);
    color: var(--red-alert);
}

/* Results & Sort */
.results-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 0;
    border-top: var(--border-subtle);
    flex-wrap: wrap;
    gap: 12px;
}

#resultsCount {
    font-size: 14px;
    color: var(--gray-400);
    font-weight: 500;
}

.sort-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-group label {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
}

.sort-select {
    padding: 8px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--gray-200);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.sort-select:focus {
    border-color: var(--gold);
}

.sort-select option {
    background: var(--black-card);
    color: var(--white);
}

/* ========================================
   CATÁLOGO
   ======================================== */
.catalog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 20px 120px;
}

.catalog-section {
    margin-bottom: 48px;
}

.section-header-catalog {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--gradient-glass);
    border: var(--border-gold);
    border-radius: var(--border-radius);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.section-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-type-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.section-info {
    flex: 1;
}

.section-title-catalog {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 4px;
}

.section-desc {
    font-size: 14px;
    color: var(--gray-400);
    font-weight: 400;
}

.section-count {
    padding: 6px 16px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    white-space: nowrap;
}

/* ====== GRID DE PRODUCTOS ====== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* ====== TARJETA DE PRODUCTO ====== */
.product-card {
    position: relative;
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.product-card:hover {
    border-color: rgba(201, 168, 76, 0.25);
    box-shadow: var(--shadow-gold);
    transform: translateY(-4px);
}

.product-card.in-cart {
    border-color: rgba(201, 168, 76, 0.4);
    box-shadow: 0 0 30px rgba(201, 168, 76, 0.12);
}

/* Parte superior con tipo badge e imagen */
.card-top {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 20px 0;
}

.card-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.card-type-badge.plano {
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.2);
    color: var(--gold);
}

.card-type-badge.adhesivo {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--blue-info);
}

.card-image-container {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    margin-left: auto;
    transition: var(--transition-smooth);
}

.product-card:hover .card-image-container {
    border-color: rgba(201, 168, 76, 0.2);
    background: rgba(201, 168, 76, 0.05);
}

.card-product-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

/* Contenido principal de la tarjeta */
.card-body {
    padding: 16px 20px 20px;
}

.card-measure {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -1px;
}

.card-measure-unit {
    font-size: 20px;
    font-weight: 500;
    color: var(--gray-400);
    margin-left: 4px;
}

.card-thickness {
    font-size: 15px;
    color: var(--gray-400);
    font-weight: 500;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-thickness i {
    font-size: 12px;
    color: var(--gold-dark);
}

/* Separador */
.card-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.15), transparent);
    margin-bottom: 16px;
}

/* Precio y controles */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-block {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.price-label i {
    font-size: 10px;
    color: var(--gold-dark);
}

.price-value {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.price-value .currency {
    font-size: 22px;
    font-weight: 600;
    margin-right: 2px;
}

/* Controles de cantidad */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 4px;
}

.qty-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    transition: var(--transition-fast);
}

.qty-btn.minus {
    background: rgba(255, 71, 87, 0.08);
    border: 1px solid rgba(255, 71, 87, 0.15);
    color: var(--red-alert);
}

.qty-btn.minus:hover {
    background: rgba(255, 71, 87, 0.2);
}

.qty-btn.plus {
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.25);
    color: var(--gold);
}

.qty-btn.plus:hover {
    background: rgba(201, 168, 76, 0.25);
    box-shadow: 0 0 15px rgba(201, 168, 76, 0.15);
}

.qty-display {
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);
}

.qty-display.has-qty {
    color: var(--gold);
    border-color: rgba(201, 168, 76, 0.2);
    background: rgba(201, 168, 76, 0.06);
}

/* ========================================
   CARRITO / PEDIDO
   ======================================== */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 5000;
    display: none;
    align-items: flex-end;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.cart-overlay.open {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cart-panel {
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    background: var(--black-soft);
    border-radius: 24px 24px 0 0;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(201, 168, 76, 0.1);
    border-bottom: none;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.cart-header h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-header h2 i {
    color: var(--gold);
}

.cart-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: var(--gray-300);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.cart-close:hover {
    background: rgba(255, 71, 87, 0.15);
    color: var(--red-alert);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.cart-empty {
    text-align: center;
    padding: 48px 20px;
    color: var(--gray-500);
}

.cart-empty i {
    font-size: 56px;
    margin-bottom: 16px;
    color: var(--gray-600);
}

.cart-empty p {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-400);
    margin-bottom: 8px;
}

.cart-empty span {
    font-size: 14px;
    color: var(--gray-500);
}

/* Cart items */
.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    margin-bottom: 10px;
    transition: var(--transition-fast);
}

.cart-item:hover {
    border-color: rgba(201, 168, 76, 0.15);
}

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

.cart-item-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.cart-item-detail {
    font-size: 13px;
    color: var(--gray-400);
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-price {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--gold);
    white-space: nowrap;
}

.cart-item-remove {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 71, 87, 0.08);
    color: var(--red-alert);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.cart-item-remove:hover {
    background: rgba(255, 71, 87, 0.2);
}

/* Cart footer */
.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.3);
}

.cart-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.cart-total-row span:first-child {
    font-size: 16px;
    color: var(--gray-300);
    font-weight: 500;
}

.cart-total {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--gold);
}

.customer-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    font-size: 15px;
    color: var(--white);
    margin-bottom: 14px;
    transition: var(--transition-fast);
}

.customer-input::placeholder {
    color: var(--gray-500);
}

.customer-input:focus {
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.05);
}

.whatsapp-btn {
    width: 100%;
    padding: 16px;
    background: var(--green-whatsapp);
    color: var(--white);
    font-size: 17px;
    font-weight: 700;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-fast);
    margin-bottom: 10px;
}

.whatsapp-btn:hover {
    background: #20BD5C;
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn i {
    font-size: 22px;
}

.clear-cart-btn {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition-fast);
}

.clear-cart-btn:hover {
    color: var(--red-alert);
    border-color: rgba(255, 71, 87, 0.2);
    background: rgba(255, 71, 87, 0.08);
}

/* ========================================
   WHATSAPP FLOAT
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    background: var(--green-whatsapp);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
    z-index: 3000;
    text-decoration: none;
    transition: var(--transition-spring);
    animation: floatBounce 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.5);
}

@keyframes floatBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background: var(--black-card);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
    border: 1px solid rgba(255,255,255,0.08);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--black);
    border-top: 1px solid rgba(201, 168, 76, 0.1);
    padding: 48px 20px 32px;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    width: 80px;
    margin: 0 auto 16px;
    filter: drop-shadow(0 0 20px rgba(201, 168, 76, 0.2));
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 6px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.footer-contact {
    margin-bottom: 24px;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: 40px;
    color: var(--green-whatsapp);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-link:hover {
    background: rgba(37, 211, 102, 0.15);
}

.footer-divider {
    width: 60px;
    height: 1px;
    background: var(--gradient-gold-subtle);
    margin: 24px auto;
    opacity: 0.4;
}

.footer-copy {
    font-size: 12px;
    color: var(--gray-600);
}

/* ========================================
   NO RESULTS
   ======================================== */
.no-results {
    text-align: center;
    padding: 64px 20px;
    color: var(--gray-500);
}

.no-results i {
    font-size: 64px;
    margin-bottom: 16px;
    color: var(--gray-600);
}

.no-results h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-400);
    margin-bottom: 8px;
}

.no-results p {
    font-size: 15px;
}

/* ========================================
   ANIMACIONES DE PRODUCTOS
   ======================================== */
.product-card {
    animation: cardAppear 0.5s ease-out both;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Toast notification */
.toast-notification {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--black-card);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-float);
    border: 1px solid rgba(201, 168, 76, 0.2);
    z-index: 9000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

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

.toast-notification i {
    color: var(--gold);
    font-size: 18px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .welcome-logo-img {
        width: 180px;
    }
    
    .logo-glow {
        width: 240px;
        height: 240px;
    }
    
    .tagline-text {
        font-size: 11px;
        letter-spacing: 2.5px;
    }
    
    .tagline-line {
        width: 30px;
    }
    
    .enter-btn {
        padding: 16px 36px;
        font-size: 14px;
        letter-spacing: 2px;
    }
    
    .header-title {
        font-size: 20px;
        letter-spacing: 4px;
    }
    
    .header-subtitle {
        font-size: 9px;
        letter-spacing: 2px;
    }
    
    .header-logo {
        width: 38px;
    }
    
    .hero-title {
        font-size: 30px;
    }
    
    .hero-desc {
        font-size: 15px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .card-measure {
        font-size: 34px;
    }
    
    .price-value {
        font-size: 28px;
    }
    
    .section-title-catalog {
        font-size: 17px;
        letter-spacing: 1px;
    }
    
    .section-icon-wrap {
        width: 52px;
        height: 52px;
    }
    
    .section-type-img {
        width: 36px;
        height: 36px;
    }
    
    .filters-row {
        flex-direction: column;
        gap: 16px;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .filter-search {
        min-width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-banner {
        padding: 64px 40px 56px;
    }
    
    .hero-title {
        font-size: 52px;
    }
    
    .cart-panel {
        border-radius: 24px;
        margin-bottom: 20px;
        border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    }
    
    .cart-overlay {
        align-items: center;
    }
}

@media (min-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ====== MICRO INTERACTIONS ====== */
.qty-btn:active {
    transform: scale(0.9);
}

.product-card:active {
    transform: scale(0.98);
}

/* Loading skeleton */
.skeleton {
    background: linear-gradient(90deg, var(--black-card) 25%, var(--gray-700) 50%, var(--black-card) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite;
    border-radius: 8px;
}

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