/* ========================================
   BOLSAS CELARES - ESTILOS PRINCIPALES
   Tema: Futurístico Premium Mobile-First
   ======================================== */

/* Variables CSS */
:root {
    --primary-cyan: #00d4ff;
    --primary-cyan-light: #33e0ff;
    --primary-cyan-dark: #0099cc;
    --accent-blue: #0066ff;
    --accent-blue-light: #3388ff;
    --accent-purple: #7c3aed;
    --bg-black: #050508;
    --bg-dark: #0a0a10;
    --bg-card: #0f0f18;
    --bg-card-hover: #15152a;
    --bg-surface: #12121e;
    --text-white: #ffffff;
    --text-gray: #a8b2c1;
    --text-light-gray: #6b7280;
    --success-green: #10b981;
    --whatsapp-green: #25d366;
    --warning-orange: #f59e0b;
    --danger-red: #ef4444;
    --shadow-cyan: rgba(0, 212, 255, 0.25);
    --shadow-blue: rgba(0, 102, 255, 0.2);
    --gradient-cyan: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    --gradient-blue: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    --gradient-purple: linear-gradient(135deg, #7c3aed 0%, #00d4ff 100%);
    --gradient-dark: linear-gradient(180deg, #0f0f18 0%, #050508 100%);
    --glass: rgba(15, 15, 24, 0.8);
    --glass-border: rgba(0, 212, 255, 0.12);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-black);
    color: var(--text-white);
    min-height: 100vh;
    padding-bottom: 100px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ========================================
   PANTALLA DE BIENVENIDA
   ======================================== */
.welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 50%, #0a0a1a 0%, #050508 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.welcome-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-cyan);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

.welcome-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 102, 255, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.03) 0%, transparent 40%);
    z-index: 1;
}

.welcome-content {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
}

.welcome-logo {
    margin-bottom: 35px;
}

.celares-icon {
    margin-bottom: 20px;
    animation: floatIcon 4s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.4));
}

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

.welcome-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 0.3em;
    margin-bottom: 8px;
    text-shadow: 0 0 60px rgba(0, 212, 255, 0.3);
}

.welcome-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-cyan);
    letter-spacing: 0.4em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.welcome-tagline {
    font-size: 0.8rem;
    color: var(--text-light-gray);
    letter-spacing: 0.15em;
}

.welcome-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.ornament-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
}

.ornament-diamond {
    color: var(--primary-cyan);
    font-size: 0.6rem;
    text-shadow: 0 0 10px var(--primary-cyan);
}

.enter-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--gradient-cyan);
    color: var(--bg-black);
    border: none;
    padding: 16px 42px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px var(--shadow-cyan), 0 0 80px rgba(0, 212, 255, 0.15);
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.enter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.enter-btn:hover::before {
    left: 100%;
}

.enter-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 50px var(--shadow-cyan), 0 0 100px rgba(0, 212, 255, 0.2);
}

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

.btn-arrow {
    transition: transform 0.3s ease;
}

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

.welcome-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.welcome-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
}

.welcome-feature i {
    font-size: 1.2rem;
    color: var(--primary-cyan);
}

.welcome-feature span {
    font-size: 0.7rem;
    color: var(--text-gray);
    letter-spacing: 0.05em;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    background: rgba(5, 5, 8, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 800px;
    margin: 0 auto;
}

.header-logo {
    width: 44px;
    height: 44px;
    background: var(--gradient-cyan);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px var(--shadow-cyan);
    flex-shrink: 0;
}

.logo-icon {
    font-size: 1.2rem;
    color: var(--bg-black);
}

.header-text {
    flex: 1;
}

.brand-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 0.15em;
}

.brand-subtitle {
    font-size: 0.65rem;
    color: var(--primary-cyan);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.8;
}

.header-info-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 212, 255, 0.08);
    color: var(--primary-cyan);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.header-info-btn:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--primary-cyan);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

/* ========================================
   SEARCH & FILTER BAR
   ======================================== */
.search-filter-bar {
    padding: 16px 16px 8px;
    max-width: 800px;
    margin: 0 auto;
    position: sticky;
    top: 76px;
    z-index: 90;
    background: rgba(5, 5, 8, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.search-container {
    position: relative;
    margin-bottom: 12px;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light-gray);
    font-size: 0.9rem;
}

.search-input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 14px 44px 14px 44px;
    font-size: 0.9rem;
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

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

.search-input:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

.search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: all 0.2s ease;
}

.search-clear:hover {
    background: var(--danger-red);
    color: white;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-tab {
    flex-shrink: 0;
    padding: 10px 20px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    color: var(--text-gray);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'Inter', sans-serif;
}

.filter-tab:hover {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

.filter-tab.active {
    background: var(--gradient-cyan);
    color: var(--bg-black);
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 4px 15px var(--shadow-cyan);
}

.thickness-filter {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.thickness-filter::-webkit-scrollbar {
    display: none;
}

.thickness-btn {
    flex-shrink: 0;
    padding: 7px 14px;
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text-light-gray);
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.thickness-btn:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
}

.thickness-btn.active {
    background: rgba(124, 58, 237, 0.15);
    color: var(--accent-purple);
    border-color: var(--accent-purple);
    font-weight: 600;
}

.price-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 0;
}

.toggle-label, .toggle-label-alt {
    font-size: 0.78rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.toggle-label {
    color: var(--primary-cyan);
}

.toggle-label-alt {
    color: var(--text-light-gray);
}

.toggle-label.dimmed {
    color: var(--text-light-gray);
}

.toggle-label-alt.active {
    color: var(--warning-orange);
}

.toggle-switch {
    position: relative;
    width: 48px;
    height: 26px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-full);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    bottom: 2px;
    background: var(--primary-cyan);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.4);
}

.toggle-switch input:checked + .toggle-slider {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.3);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(22px);
    background: var(--warning-orange);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

/* ========================================
   RESULTS COUNTER
   ======================================== */
.results-counter {
    padding: 8px 20px;
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.75rem;
    color: var(--text-light-gray);
    letter-spacing: 0.05em;
}

.results-counter span {
    color: var(--primary-cyan);
    font-weight: 700;
}

/* ========================================
   CATÁLOGO
   ======================================== */
.catalog-container {
    padding: 8px 16px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.category-section {
    margin-bottom: 30px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    margin-bottom: 14px;
    position: relative;
}

.category-header::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient-cyan);
    border-radius: 2px;
}

.category-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.category-icon.plano {
    background: rgba(0, 212, 255, 0.12);
    color: var(--primary-cyan);
}

.category-icon.adhesivo {
    background: rgba(124, 58, 237, 0.12);
    color: var(--accent-purple);
}

.category-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.category-count {
    font-size: 0.7rem;
    color: var(--text-light-gray);
    font-weight: 400;
    letter-spacing: 0;
}

.category-image {
    width: 100%;
    height: 160px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-image:hover img {
    transform: scale(1.05);
}

.category-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(transparent, rgba(5, 5, 8, 0.9));
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.category-image-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-white);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover {
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 212, 255, 0.05);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card.selected {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 25px var(--shadow-cyan);
}

.product-card.added {
    animation: cardPulse 0.35s ease;
}

@keyframes cardPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.015); }
}

.product-measure {
    min-width: 70px;
    height: 60px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.product-card.adhesivo .product-measure {
    background: rgba(124, 58, 237, 0.08);
    border-color: rgba(124, 58, 237, 0.15);
}

.measure-size {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
}

.measure-unit {
    font-size: 0.6rem;
    color: var(--text-light-gray);
    letter-spacing: 0.05em;
}

.product-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.product-type-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.product-type-badge {
    font-size: 0.6rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.product-type-badge.plano {
    background: rgba(0, 212, 255, 0.12);
    color: var(--primary-cyan);
}

.product-type-badge.adhesivo {
    background: rgba(124, 58, 237, 0.12);
    color: var(--accent-purple);
}

.product-thickness {
    font-size: 0.6rem;
    color: var(--text-light-gray);
}

.product-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 2px;
}

.product-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-cyan);
}

.product-price.public-price {
    color: var(--warning-orange);
}

.product-price-label {
    font-size: 0.6rem;
    color: var(--text-light-gray);
    font-weight: 400;
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1;
}

.btn-qty {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: var(--bg-surface);
    color: var(--text-white);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-subtle);
}

.btn-qty:hover {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

.btn-qty.increase {
    background: var(--gradient-cyan);
    color: var(--bg-black);
    border: none;
}

.btn-qty.increase:hover {
    box-shadow: 0 4px 15px var(--shadow-cyan);
    transform: scale(1.08);
}

.product-qty {
    font-weight: 700;
    font-size: 1rem;
    min-width: 26px;
    text-align: center;
    color: var(--text-white);
}

/* ========================================
   REVIEW BAR
   ======================================== */
.review-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(5, 5, 8, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 20px;
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 200;
    border-top: 1px solid var(--glass-border);
}

.review-bar.active {
    transform: translateY(0);
}

.review-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.review-info {
    display: flex;
    flex-direction: column;
}

.review-items {
    font-size: 0.7rem;
    color: var(--text-gray);
    letter-spacing: 0.05em;
}

.review-total {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.review-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-cyan);
    color: var(--bg-black);
    border: none;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px var(--shadow-cyan);
    font-family: 'Inter', sans-serif;
}

.review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px var(--shadow-cyan);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--bg-card);
    padding: 40px 20px;
    margin-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.footer-icon {
    font-size: 1.5rem;
    color: var(--primary-cyan);
}

.footer-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-white);
}

.footer-slogan {
    font-size: 0.75rem;
    color: var(--text-light-gray);
    margin-bottom: 25px;
    letter-spacing: 0.05em;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.footer-contact-item i {
    color: var(--primary-cyan);
    width: 20px;
    text-align: center;
}

.footer-link {
    text-decoration: none;
    color: var(--text-gray);
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-cyan);
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: var(--text-light-gray);
    background: rgba(0, 212, 255, 0.05);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
}

.footer-badge i {
    color: var(--primary-cyan);
    font-size: 0.75rem;
}

.footer-copy {
    font-size: 0.7rem;
    color: var(--text-light-gray);
    opacity: 0.5;
}

/* ========================================
   MODALS
   ======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    width: 100%;
    max-width: 500px;
    max-height: 92vh;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-bottom: none;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-subtle);
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.05) 0%, transparent 100%);
}

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

.modal-icon {
    font-size: 1.2rem;
    color: var(--primary-cyan);
}

.modal-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.modal-close {
    width: 38px;
    height: 38px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-gray);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.modal-close:hover {
    background: var(--danger-red);
    border-color: var(--danger-red);
    color: white;
}

.modal-body {
    flex: 1;
    padding: 20px 24px;
    overflow-y: auto;
}

.order-items {
    margin-bottom: 16px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    border: 1px solid var(--border-subtle);
}

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

.order-item-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.order-item-detail {
    font-size: 0.75rem;
    color: var(--text-light-gray);
}

.order-item-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.order-qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    background: transparent;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.order-qty-btn:hover {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

.order-qty-btn.increase {
    background: var(--gradient-cyan);
    color: var(--bg-black);
    border: none;
}

.order-item-qty {
    min-width: 22px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.order-item-subtotal {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--primary-cyan);
    margin-left: 14px;
    min-width: 65px;
    text-align: right;
    font-size: 0.95rem;
}

.empty-order {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light-gray);
}

.empty-order i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: var(--primary-cyan);
    opacity: 0.3;
}

.order-summary {
    padding: 16px 0;
    border-top: 1px solid var(--border-subtle);
    margin-bottom: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.summary-row.total {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0;
}

.total-amount {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--primary-cyan);
    font-size: 1.4rem;
}

.name-label {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.name-input-container {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light-gray);
    font-size: 0.85rem;
}

.customer-name-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 16px 14px 44px;
    font-size: 0.95rem;
    color: var(--text-white);
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.customer-name-input::placeholder {
    color: var(--text-light-gray);
}

.customer-name-input:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
}

.modal-footer {
    padding: 16px 24px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border-subtle);
}

.send-order-btn {
    width: 100%;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: var(--text-white);
    border: none;
    padding: 16px;
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.3);
    font-family: 'Inter', sans-serif;
}

.send-order-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.send-order-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.4);
}

.send-order-btn i {
    font-size: 1.3rem;
}

/* ========================================
   SUCCESS MODAL
   ======================================== */
.success-modal {
    text-align: center;
    padding: 40px 30px;
    max-height: none;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.success-icon {
    margin-bottom: 20px;
}

.check-circle {
    font-size: 4rem;
    color: var(--success-green);
    animation: successBounce 0.6s ease;
}

@keyframes successBounce {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.success-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    color: var(--text-white);
    margin-bottom: 12px;
}

.success-message {
    font-size: 1rem;
    color: var(--text-white);
    margin-bottom: 8px;
}

.success-submessage {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 12px;
    line-height: 1.5;
}

.success-thanks {
    font-size: 1rem;
    color: var(--primary-cyan);
    font-weight: 600;
    margin-bottom: 25px;
}

.success-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-number-display {
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 14px;
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--primary-cyan);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.success-btn {
    background: var(--gradient-cyan);
    color: var(--bg-black);
    border: none;
    padding: 16px;
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px var(--shadow-cyan);
    font-family: 'Inter', sans-serif;
}

.success-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px var(--shadow-cyan);
}

/* ========================================
   INFO MODAL
   ======================================== */
.info-modal {
    max-height: 92vh;
}

.info-body {
    padding-bottom: 30px;
}

.info-section {
    margin-bottom: 24px;
}

.info-brand {
    text-align: center;
    padding: 24px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(124, 58, 237, 0.03) 100%);
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
}

.info-brand-icon {
    font-size: 2.5rem;
    color: var(--primary-cyan);
    margin-bottom: 10px;
}

.info-brand h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    margin-bottom: 6px;
}

.info-brand-desc {
    font-size: 0.8rem;
    color: var(--text-gray);
    letter-spacing: 0.02em;
}

.info-section h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-cyan);
}

.info-section h4 i {
    font-size: 0.9rem;
}

.info-section p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 10px;
}

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

.info-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-gray);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.info-features li:last-child {
    border-bottom: none;
}

.info-features li i {
    color: var(--success-green);
    margin-top: 2px;
    flex-shrink: 0;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}

.payment-method i {
    font-size: 1.5rem;
    color: var(--primary-cyan);
}

.payment-method span {
    font-size: 0.72rem;
    color: var(--text-gray);
    font-weight: 500;
}

.delivery-note {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    padding: 14px;
    color: var(--success-green) !important;
    font-weight: 500;
    text-align: center;
}

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

.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--primary-cyan);
    background: rgba(0, 212, 255, 0.03);
}

.contact-card.whatsapp-card {
    border-color: rgba(37, 211, 102, 0.2);
    background: rgba(37, 211, 102, 0.05);
}

.contact-card.whatsapp-card:hover {
    border-color: var(--whatsapp-green);
    background: rgba(37, 211, 102, 0.1);
}

.contact-card i {
    font-size: 1.2rem;
    color: var(--primary-cyan);
    width: 24px;
    text-align: center;
}

.contact-card.whatsapp-card i {
    color: var(--whatsapp-green);
}

.contact-label {
    display: block;
    font-size: 0.65rem;
    color: var(--text-light-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value {
    display: block;
    font-size: 0.85rem;
    color: var(--text-white);
    font-weight: 500;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 380px) {
    .welcome-title {
        font-size: 2.5rem;
        letter-spacing: 0.2em;
    }
    
    .welcome-features {
        gap: 20px;
    }
    
    .product-card {
        padding: 12px;
    }
    
    .product-measure {
        min-width: 60px;
        height: 50px;
    }
    
    .measure-size {
        font-size: 0.95rem;
    }
    
    .product-price {
        font-size: 1rem;
    }
}

@media (min-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-card {
        flex-direction: column;
        text-align: center;
        padding: 18px;
    }
    
    .product-measure {
        width: 100%;
        height: 50px;
    }
    
    .product-info {
        width: 100%;
    }
    
    .product-type-row {
        justify-content: center;
    }
    
    .product-actions {
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .modal-content {
        max-width: 500px;
        border-radius: var(--radius-2xl);
        margin: auto;
        border: 1px solid var(--glass-border);
    }
    
    .success-modal {
        border-radius: var(--radius-2xl);
    }
    
    .category-image {
        height: 200px;
    }
    
    .payment-methods {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-cyan);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-cyan-light);
}

/* ========================================
   ANIMATIONS
   ======================================== */
.product-card {
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

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

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

/* Staggered animation delays */
.product-card:nth-child(1) { animation-delay: 0.02s; }
.product-card:nth-child(2) { animation-delay: 0.04s; }
.product-card:nth-child(3) { animation-delay: 0.06s; }
.product-card:nth-child(4) { animation-delay: 0.08s; }
.product-card:nth-child(5) { animation-delay: 0.10s; }
.product-card:nth-child(6) { animation-delay: 0.12s; }
.product-card:nth-child(7) { animation-delay: 0.14s; }
.product-card:nth-child(8) { animation-delay: 0.16s; }
.product-card:nth-child(9) { animation-delay: 0.18s; }
.product-card:nth-child(10) { animation-delay: 0.20s; }

/* No results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light-gray);
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary-cyan);
    opacity: 0.2;
}

.no-results p {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.no-results span {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Scroll to top */
.scroll-top-btn {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    color: var(--primary-cyan);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    z-index: 190;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--primary-cyan);
    color: var(--bg-black);
    box-shadow: 0 4px 20px var(--shadow-cyan);
}
