/* ========================================
   MEGA-PRINT — CENTRO DE IMPRESIÓN
   Ultra Premium Mobile-First Design
   ======================================== */

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #00d4ff;
    --primary-dark: #00a8cc;
    --primary-light: #66e5ff;
    --accent: #ff6b35;
    --accent-light: #ff8f66;
    --accent-dark: #e55a28;
    --cyan: #00bcd4;
    --magenta: #e91e63;
    --yellow: #ffc107;
    --key-black: #212121;
    --bg-primary: #0a0e17;
    --bg-secondary: #0f1524;
    --bg-card: #151c2e;
    --bg-card-hover: #1a2340;
    --bg-elevated: #1e2844;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #64748b;
    --border: rgba(255,255,255,0.06);
    --border-active: rgba(0,212,255,0.3);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 30px rgba(0,212,255,0.15);
    --shadow-accent: 0 0 30px rgba(255,107,53,0.2);
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #00a8cc 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #ff8f66 100%);
    --gradient-dark: linear-gradient(180deg, #0f1524 0%, #0a0e17 100%);
    --gradient-card: linear-gradient(145deg, #151c2e 0%, #1a2340 100%);
    --gradient-cmyk: linear-gradient(135deg, #00bcd4, #e91e63, #ffc107, #212121);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 50px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-spring: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    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; background: none; font-family: inherit; }
a { text-decoration: none; color: inherit; }
input { font-family: inherit; }

/* ===== SPLASH SCREEN ===== */
.splash-screen {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10000;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.splash-screen.fade-out {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
}
.splash-bg-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}
.splash-particles {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
}
.splash-particle {
    position: absolute;
    width: 4px; height: 4px;
    border-radius: 50%;
    animation: particleFloat 4s infinite ease-in-out;
}
@keyframes particleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0; }
    50% { transform: translateY(-80px) scale(1.5); opacity: 1; }
}
.splash-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}
.splash-logo-container {
    margin-bottom: 48px;
}
.splash-cmyk-ring {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}
.splash-cmyk-ring span {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    animation: cmykPulse 2s infinite ease-in-out;
}
.cmyk-c { background: var(--cyan); color: #fff; animation-delay: 0s; }
.cmyk-m { background: var(--magenta); color: #fff; animation-delay: 0.15s; }
.cmyk-y { background: var(--yellow); color: #000; animation-delay: 0.3s; }
.cmyk-k { background: var(--key-black); color: #fff; border: 1px solid rgba(255,255,255,0.2); animation-delay: 0.45s; }
@keyframes cmykPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
.splash-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-primary);
}
.splash-title .accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.splash-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 8px;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.splash-loading {
    max-width: 240px;
    margin: 0 auto;
}
.loading-bar {
    height: 3px;
    background: var(--bg-elevated);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}
.loading-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: width 0.3s ease;
}
.loading-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ===== APP HEADER ===== */
.app-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10,14,23,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.app-header.scrolled {
    background: rgba(10,14,23,0.95);
    box-shadow: var(--shadow-md);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    max-width: 600px;
    margin: 0 auto;
}
.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.brand-icon {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 10px;
    font-size: 0.9rem;
    color: #fff;
}
.brand-text h1 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.brand-text h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.header-actions {
    display: flex;
    gap: 8px;
}
.header-btn {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}
.header-btn:active {
    transform: scale(0.9);
    background: var(--bg-elevated);
}
.header-btn.active {
    background: rgba(0,212,255,0.1);
    border-color: var(--border-active);
    color: var(--primary);
}
.cart-badge {
    position: absolute;
    top: -4px; right: -4px;
    min-width: 18px; height: 18px;
    background: var(--accent);
    color: #fff;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    animation: badgePop 0.3s ease;
}
@keyframes badgePop {
    0% { transform: scale(0); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Search Bar */
.search-bar-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 16px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}
.search-bar-container.open {
    max-height: 200px;
    padding: 0 16px 12px;
}
.search-bar {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0 14px;
    transition: var(--transition);
}
.search-bar:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}
.search-icon {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-right: 10px;
}
.search-bar input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    padding: 12px 0;
    outline: none;
}
.search-bar input::placeholder {
    color: var(--text-muted);
}
.search-clear {
    width: 28px; height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-elevated);
    color: var(--text-secondary);
    font-size: 0.7rem;
    transition: var(--transition);
}
.search-results-dropdown {
    position: absolute;
    top: calc(100% - 8px);
    left: 16px; right: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-height: 320px;
    overflow-y: auto;
    z-index: 100;
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition-fast);
    cursor: pointer;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:active { background: var(--bg-elevated); }
.search-result-icon {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.search-result-icon.cat-tarjetas { background: rgba(0,212,255,0.1); color: var(--primary); }
.search-result-icon.cat-volantes { background: rgba(255,107,53,0.1); color: var(--accent); }
.search-result-icon.cat-laser { background: rgba(233,30,99,0.1); color: var(--magenta); }
.search-result-info { flex: 1; min-width: 0; }
.search-result-name {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-result-detail {
    font-size: 0.72rem;
    color: var(--text-muted);
}
.search-result-price {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    flex-shrink: 0;
}

/* ===== HERO BANNER ===== */
.hero-banner {
    margin-top: 60px;
    position: relative;
    overflow: hidden;
    height: 220px;
}
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}
.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 6s ease;
}
.hero-slide.active .hero-slide-bg {
    transform: scale(1);
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(10,14,23,0.9) 0%, rgba(10,14,23,0.5) 100%);
}
.hero-text {
    position: relative;
    z-index: 2;
    padding: 36px 20px 20px;
    max-width: 600px;
    margin: 0 auto;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(0,212,255,0.15);
    border: 1px solid rgba(0,212,255,0.3);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.hero-text h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.hero-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}
.dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transition: var(--transition);
    cursor: pointer;
}
.dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--primary);
}

/* ===== QUICK INFO BAR ===== */
.quick-info {
    padding: 14px 0;
    overflow: hidden;
}
.info-scroll {
    display: flex;
    gap: 10px;
    padding: 0 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.info-scroll::-webkit-scrollbar { display: none; }
.info-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    white-space: nowrap;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    flex-shrink: 0;
}
.info-chip i {
    color: var(--primary);
    font-size: 0.8rem;
}

/* ===== CATEGORY NAVIGATION ===== */
.category-nav {
    position: sticky;
    top: 60px;
    z-index: 100;
    background: rgba(10,14,23,0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.category-scroll {
    display: flex;
    gap: 8px;
    padding: 0 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.category-scroll::-webkit-scrollbar { display: none; }
.cat-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition);
    flex-shrink: 0;
}
.cat-icon {
    width: 32px; height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--bg-elevated);
    font-size: 0.85rem;
    transition: var(--transition);
}
.cat-btn.active {
    background: rgba(0,212,255,0.08);
    border-color: var(--primary);
    color: var(--primary);
}
.cat-btn.active .cat-icon {
    background: var(--gradient-primary);
    color: #fff;
}
.cat-btn:active { transform: scale(0.95); }

/* ===== SPECS BANNER ===== */
.specs-banner {
    margin: 0 16px;
    padding: 14px 0;
    max-width: 568px;
    margin-left: auto;
    margin-right: auto;
}
.specs-inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(0,188,212,0.08), rgba(233,30,99,0.05));
    border: 1px solid rgba(0,188,212,0.2);
    border-radius: var(--radius-md);
    position: relative;
}
.specs-icon {
    flex-shrink: 0;
    color: var(--cyan);
    font-size: 1rem;
    margin-top: 2px;
}
.specs-text {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.specs-text strong {
    color: var(--text-primary);
}
.specs-close {
    position: absolute;
    top: 8px; right: 8px;
    width: 24px; height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.65rem;
    transition: var(--transition);
}
.specs-banner.hidden {
    display: none;
}

/* ===== PRODUCTS MAIN ===== */
.products-main {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 16px 100px;
}
.product-section {
    margin-bottom: 32px;
}
.product-section.hidden {
    display: none;
}
.section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-top: 8px;
}
.section-title-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.section-icon {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 12px;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
}
.section-header h2 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}
.section-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}
.section-count {
    font-size: 0.7rem;
    color: var(--text-muted);
    background: var(--bg-card);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    margin-top: 4px;
}

/* ===== PRODUCT CARDS ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.product-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}
.product-card:active {
    transform: scale(0.97);
}
.product-card.highlight {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}
.card-image {
    position: relative;
    height: 130px;
    overflow: hidden;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.product-card:active .card-image img {
    transform: scale(1.05);
}
.card-badge {
    position: absolute;
    top: 8px; left: 8px;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}
.badge-popular {
    background: rgba(255,107,53,0.9);
    color: #fff;
}
.badge-premium {
    background: rgba(233,30,99,0.9);
    color: #fff;
}
.badge-best {
    background: rgba(0,212,255,0.9);
    color: #fff;
}
.badge-eco {
    background: rgba(76,175,80,0.9);
    color: #fff;
}
.card-overlay-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 8px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
}
.overlay-tag {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}
.card-body {
    padding: 12px;
}
.card-body h3 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
}
.card-desc {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.3;
}
.card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.card-specs span {
    font-size: 0.62rem;
    color: var(--text-secondary);
    background: var(--bg-elevated);
    padding: 3px 7px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 4px;
}
.card-specs span i {
    color: var(--primary);
    font-size: 0.6rem;
}
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-price {
    display: flex;
    align-items: baseline;
    gap: 3px;
}
.price-amount {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}
.price-unit {
    font-size: 0.6rem;
    color: var(--text-muted);
}
.add-btn {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 10px;
    color: #fff;
    font-size: 0.85rem;
    transition: var(--transition-spring);
    box-shadow: 0 2px 10px rgba(0,212,255,0.3);
}
.add-btn:active {
    transform: scale(0.8);
}
.add-btn.added {
    background: var(--gradient-accent);
    animation: addBounce 0.4s ease;
}
@keyframes addBounce {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* ===== LASER SECTION ===== */
.laser-subnav {
    display: flex;
    gap: 6px;
    padding-bottom: 14px;
    overflow-x: auto;
    scrollbar-width: none;
}
.laser-subnav::-webkit-scrollbar { display: none; }
.laser-tab {
    padding: 7px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition);
    flex-shrink: 0;
}
.laser-tab.active {
    background: rgba(0,212,255,0.1);
    border-color: var(--primary);
    color: var(--primary);
}
.laser-tab:active { transform: scale(0.95); }
.laser-panel {
    display: none;
    animation: fadeUp 0.3s ease;
}
.laser-panel.active { display: block; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.laser-table {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.laser-table-header {
    padding: 12px 16px;
    background: rgba(0,212,255,0.05);
    border-bottom: 1px solid var(--border);
}
.lt-paper {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
}
.laser-grid {
    padding: 8px;
}
.laser-size-block {
    margin-bottom: 8px;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.laser-size-block:last-child { margin-bottom: 0; }
.size-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    background: rgba(0,0,0,0.2);
}
.size-label i { color: var(--primary); font-size: 0.7rem; }
.size-dim {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.68rem;
    margin-left: auto;
}
.laser-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
}
.laser-item {
    padding: 10px 12px;
    background: var(--bg-card);
}
.laser-type {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.type-bn {
    padding: 2px 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.6rem;
    color: var(--text-primary);
}
.type-clr {
    padding: 2px 6px;
    background: linear-gradient(135deg, rgba(0,188,212,0.3), rgba(233,30,99,0.3));
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.6rem;
    color: #fff;
}
.laser-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.laser-price {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}
.add-btn-sm {
    width: 28px; height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 8px;
    color: #fff;
    font-size: 0.7rem;
    transition: var(--transition-spring);
}
.add-btn-sm:active { transform: scale(0.8); }
.add-btn-sm.added {
    background: var(--gradient-accent);
    animation: addBounce 0.4s ease;
}

/* ===== NO RESULTS ===== */
.no-results {
    text-align: center;
    padding: 60px 20px;
}
.no-results-icon {
    width: 64px; height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--text-muted);
    margin: 0 auto 16px;
}
.no-results h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}
.no-results p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== FLOATING QUOTE BUTTON ===== */
.floating-quote {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 900;
    width: calc(100% - 32px);
    max-width: 568px;
    animation: floatUp 0.4s ease;
}
@keyframes floatUp {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.quote-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 18px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    color: #fff;
    box-shadow: 0 4px 24px rgba(0,212,255,0.35);
    transition: var(--transition);
}
.quote-btn:active { transform: scale(0.98); }
.quote-btn-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.9rem;
}
.quote-total {
    font-family: var(--font-mono);
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
}
.quote-items {
    font-size: 0.72rem;
    opacity: 0.85;
}

/* ===== QUOTE PANEL ===== */
.quote-panel-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.quote-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}
.quote-panel {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 1600;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.quote-panel.active {
    transform: translateY(0);
}
.quote-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}
.quote-panel-header h2 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}
.quote-panel-header h2 i {
    color: var(--primary);
}
.panel-close {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}
.panel-close:active { background: var(--bg-elevated); }
.quote-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}
.quote-empty {
    text-align: center;
    padding: 40px 0;
}
.empty-icon {
    width: 56px; height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 50%;
    font-size: 1.3rem;
    color: var(--text-muted);
    margin: 0 auto 14px;
}
.quote-empty h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}
.quote-empty p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Quote List Items */
.quote-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    transition: var(--transition);
    animation: fadeUp 0.3s ease;
}
.quote-item-icon {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.quote-item-icon.qi-tarjetas { background: rgba(0,212,255,0.1); color: var(--primary); }
.quote-item-icon.qi-volantes { background: rgba(255,107,53,0.1); color: var(--accent); }
.quote-item-icon.qi-laser { background: rgba(233,30,99,0.1); color: var(--magenta); }
.quote-item-info { flex: 1; min-width: 0; }
.quote-item-name {
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.quote-item-detail {
    font-size: 0.68rem;
    color: var(--text-muted);
}
.quote-item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}
.quote-item-price {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
}
.qty-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}
.qty-btn {
    width: 26px; height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.7rem;
    transition: var(--transition);
}
.qty-btn:active { transform: scale(0.9); }
.qty-btn.delete { color: #ef5350; }
.qty-value {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

/* Quote Footer */
.quote-panel-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    background: var(--bg-primary);
}
.quote-summary {
    margin-bottom: 14px;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.total-row {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    padding-top: 10px;
    border-top: 1px solid var(--border);
    margin-top: 4px;
}
.total-row span:last-child {
    font-family: var(--font-mono);
    color: var(--primary);
}
.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background: #25d366;
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    transition: var(--transition);
    margin-bottom: 10px;
    box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
.whatsapp-btn:active { transform: scale(0.97); }
.whatsapp-btn i { font-size: 1.2rem; }
.clear-quote-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    background: rgba(239,83,80,0.08);
    border: 1px solid rgba(239,83,80,0.2);
    border-radius: var(--radius-md);
    color: #ef5350;
    font-size: 0.82rem;
    font-weight: 600;
    transition: var(--transition);
}
.clear-quote-btn:active { background: rgba(239,83,80,0.15); }

/* ===== FOOTER ===== */
.app-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 32px 16px;
}
.footer-content {
    max-width: 600px;
    margin: 0 auto;
}
.footer-brand {
    text-align: center;
    margin-bottom: 24px;
}
.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.footer-brand h3 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-brand p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}
.footer-specs {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}
.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}
.spec-item i {
    color: var(--primary);
    font-size: 1rem;
    margin-top: 2px;
}
.spec-item strong {
    font-size: 0.82rem;
    display: block;
    margin-bottom: 2px;
}
.spec-item p {
    font-size: 0.72rem;
    color: var(--text-muted);
}
.footer-copy {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.footer-copy p {
    font-size: 0.72rem;
    color: var(--text-muted);
}
.footer-note {
    margin-top: 6px;
    font-style: italic;
}

/* ===== TOAST NOTIFICATION ===== */
.toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    z-index: 5000;
    padding: 10px 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-active);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.toast i {
    color: var(--primary);
}

/* ===== RESPONSIVE ===== */
@media (min-width: 420px) {
    .hero-banner { height: 260px; }
    .hero-text h2 { font-size: 2.1rem; }
    .products-grid { gap: 14px; }
    .card-image { height: 150px; }
}
@media (min-width: 600px) {
    .hero-banner { height: 300px; }
    .hero-text h2 { font-size: 2.4rem; }
    .card-image { height: 170px; }
    .products-grid { gap: 16px; }
}

/* ===== UTILITY ANIMATIONS ===== */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-elevated) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 10px; }
