/* TIENDAYA Catalog - Clean Modern Design 2026 */
/* Version Consolidada y Optimizada */

:root {
    /* TIENDAYA Colors - se sobrescriben dinámicamente */
    --neon: #FF0000;
    --neon-light: #FF3333;
    --neon-bg: rgba(255, 0, 0, 0.08);
    --bg: #020202;
    --bg-light: #0a0a0a;
    --bg-medium: #151515;
    --bg-dark: #0f0f0f;
    --surface: rgba(20, 20, 20, 0.95);
    --surface-light: rgba(255, 255, 255, 0.05);
    --surface-medium: rgba(20, 20, 20, 0.15);
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --text-muted: #808080;
    --text-light: #d0d0d0;
    --success: #22c55e;
    --success-light: #34d399;
    --success-bg: rgba(34, 197, 94, 0.1);
    --warning: #f59e0b;
    --warning-light: #ffab40;
    --warning-bg: rgba(245, 158, 11, 0.1);
    --error: #dc2626;
    --error-light: #ef4444;
    --error-bg: rgba(220, 38, 38, 0.1);
    --border: rgba(255, 255, 255, 0.1);
    --border-light: rgba(255, 255, 255, 0.05);
    --border-medium: rgba(255, 255, 255, 0.15);
    --border-dark: rgba(255, 255, 255, 0.25);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.35);
    --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.45);
    --shadow-2xl: 0 25px 80px rgba(0, 0, 0, 0.55);
    --gradient-neon: linear-gradient(135deg, var(--neon-bg) 0%, var(--neon) 100%);
    --gradient-surface: linear-gradient(180deg, var(--surface), rgba(20, 20, 20, 0.98), var(--bg-light));
    --gradient-primary: linear-gradient(135deg, var(--neon) 0%, var(--neon-light) 100%);
    --gradient-accent: linear-gradient(135deg, #ff3333 0%, #ff6666 100%);
    --gradient-hero: linear-gradient(135deg, #020202 0%, #1a0505 50%, #0a0a0a 100%);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    /* Cosmetic enhancements for a fresher look */
    --shadow-soft: 0 6px 20px rgba(0,0,0,0.15);
    --bg-gradient-section: linear-gradient(135deg, rgba(2,2,2,0.25) 0%, rgba(20,20,20,0.75) 100%);
    --shadow-glow: 0 0 20px rgba(255, 0, 0, 0.15);
    --shadow-lift: 0 12px 40px rgba(0,0,0,0.25);
    --gradient-subtle: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(255,0,0,0.05) 100%);
}

/* ============================================
   RESET & BASE
   ============================================ */

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

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: 120px;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    letter-spacing: -0.025em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

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

a:hover {
    color: var(--neon-light);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    padding: 140px 1.5rem 100px;
    background: var(--gradient-hero);
    color: var(--text-primary);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,0,0,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,0,0,0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255,255,255,0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 2;
}

.hero-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: blur(2px);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(2, 2, 2, 0.7) 0%,
        rgba(2, 2, 2, 0.5) 50%,
        rgba(2, 2, 2, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-logo {
    margin-bottom: 1.5rem;
}

.logo-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    border: 3px solid var(--neon);
}

.logo-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--bg-medium);
    border: 3px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--text-muted);
    margin: 0 auto;
}

.hero-content h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    line-height: 1.1;
    text-shadow: 0 4px 12px rgba(0,0,0,0.6), 0 0 30px rgba(255,0,0,0.2);
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--neon);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px var(--neon-bg);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   SEARCH SECTION
   ============================================ */

.search {
    padding: 2rem 1.5rem;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.search-form {
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.search-wrapper {
    display: flex;
    align-items: center;
    background: var(--bg-medium);
    border: 2px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: 0.25rem;
    transition: all 0.3s ease;
}

.search-wrapper:focus-within {
    border-color: var(--neon);
    box-shadow: 0 0 0 4px var(--neon-bg);
}

.search-icon {
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.search-input {
    flex: 1;
    padding: 0.875rem 0.5rem;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
}

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

.search-input.searching {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='%23FF0000' stroke-width='2' opacity='0.3'/%3E%3Cpath fill='%23FF0000' d='M12 4a8 8 0 0 1 8 8h2a10 10 0 0 0-10-10z'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='1s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 3.5rem center;
    background-size: 20px;
}

.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-xl);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px var(--neon-bg);
}

.categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.categories > span {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: var(--bg-medium);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.category-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.category-tag:hover {
    color: var(--text-primary);
    transform: translateY(-2px) scale(1.05);
    border-color: var(--neon-light);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.category-tag:hover::before {
    left: 0;
}

.category-tag.active {
    background: var(--gradient-primary);
    border-color: var(--neon-light);
    color: var(--text-primary);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    transform: scale(1.05);
}

/* ============================================
   SECTIONS
   ============================================ */

.products,
.services {
    padding: 3rem 1.5rem;
}

.products {
    background: var(--bg-gradient-section);
}

.services {
    background: var(--bg-gradient-section);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(20px);
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    margin: 1rem auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--neon), transparent);
    box-shadow: 0 0 20px var(--neon-bg);
    position: relative;
}

.section-title h2 {
    position: relative;
    z-index: 1;
}

/* Declarative accent under section titles */
.section-title::after {
    content: '';
    display: block;
    width: 72px;
    height: 4px;
    margin: 0.75rem auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--neon), transparent);
}

.section-title h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Grid Layouts */
.products-grid,
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, box-shadow;
    box-shadow: var(--shadow-sm);
}
    opacity: 0;
    transform: translateY(30px);
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
    box-shadow: var(--shadow-md);
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-lift), var(--shadow-glow);
    border-color: var(--neon);
    background: var(--gradient-subtle);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: inherit;
    z-index: 0;
}

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

.product-image {
    position: relative;
    height: 220px;
    background: var(--bg-medium);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, filter 0.4s ease;
    opacity: 0;
    filter: brightness(1);
}

.product-image img.loaded {
    opacity: 1;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.no-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-medium), var(--bg-light));
    color: var(--text-muted);
    font-size: 3rem;
}

.product-info {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.product-header {
    margin-bottom: 0.75rem;
}

.product-category {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.875rem;
    background: var(--neon-bg);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--neon);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.product-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.product-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--neon);
    margin-bottom: 1.25rem;
    text-shadow: 0 0 20px var(--neon-bg), 0 2px 4px rgba(0,0,0,0.3);
    background: var(--neon-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--neon);
    background-clip: text;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    display: inline-block;
}

.product-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-add-cart,
.btn-contact {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--gradient-accent);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.btn-contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-add-cart {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    background: transparent;
    border: 2px solid var(--neon);
    color: var(--neon);
    box-shadow: 0 0 0 rgba(255,0,0,0);
    position: relative;
    overflow: hidden;
}

.btn-add-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-add-cart:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--neon-bg), 0 0 20px rgba(255,0,0,0.3);
    border-color: var(--neon-light);
}

.btn-add-cart:hover::before {
    left: 0;
}

.btn-add-cart.btn-success {
    background: var(--success) !important;
    border-color: var(--success) !important;
    color: var(--text-primary) !important;
}

.btn-contact {
    background: var(--gradient-accent);
    color: var(--text-primary);
}

.btn-contact:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 51, 51, 0.4), 0 0 20px rgba(255,51,51,0.2);
}

.btn-contact:hover::after {
    opacity: 1;
}

/* ============================================
   SERVICE CARDS
   ============================================ */

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    background-image: var(--gradient-subtle);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
    box-shadow: var(--shadow-md);
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-lift), var(--shadow-glow);
    border-color: var(--neon);
    background: var(--gradient-surface);
}

.service-card:hover .service-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 0 40px var(--neon-bg), 0 12px 24px rgba(255,0,0,0.4);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.2rem;
    color: var(--text-primary);
    box-shadow: 0 0 30px var(--neon-bg), 0 8px 16px rgba(255,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: var(--gradient-primary);
    border-radius: inherit;
    opacity: 0.6;
    filter: blur(12px);
    z-index: -1;
}

.service-info {
    margin-bottom: 1rem;
}

.service-category {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.875rem;
    background: var(--neon-bg);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--neon);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.75rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-price {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--neon);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px var(--neon-bg), 0 2px 4px rgba(0,0,0,0.3);
    background: var(--neon-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--neon);
    background-clip: text;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    display: inline-block;
    position: relative;
}

.service-price::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: inherit;
    opacity: 0.3;
    filter: blur(8px);
    z-index: -1;
}

.service-actions {
    display: flex;
    gap: 0.75rem;
}

/* ============================================
   EMPTY STATE
   ============================================ */

.empty-state {
    padding: 4rem 1.5rem;
    animation: fadeInUp 0.8s ease;
}

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

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

.empty-icon {
    width: 100px;
    height: 100px;
    background: var(--bg-medium);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--text-muted);
}

.empty-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.empty-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--neon-bg);
}

/* ============================================
   BOTTOM NAVIGATION
   ============================================ */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.75rem 0;
    z-index: 1000;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 1.25rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--neon-bg);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link i {
    font-size: 1.25rem;
    transition: transform 0.2s ease;
}

.nav-link:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link.active {
    color: var(--neon);
    background: var(--gradient-neon);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--neon-bg);
}

.nav-link:hover i {
    transform: translateY(-2px);
}

.whatsapp-link {
    color: #25D366;
}

.whatsapp-link:hover {
    color: #20BD5A;
}

/* Cart Badge */
.cart-link-btn {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: 5px;
    min-width: 18px;
    height: 18px;
    background: var(--neon);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ============================================
   CART DRAWER
   ============================================ */

.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: var(--bg-medium);
    z-index: 10000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(255,0,0,0.1);
    backdrop-filter: blur(10px);
}

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

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-drawer.open + .cart-overlay,
.cart-drawer.open ~ .cart-overlay {
    opacity: 1;
    visibility: visible;
}

.cart-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10001;
}

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

.cart-header h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin: 0;
}

.cart-close {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cart-close:hover {
    background: var(--neon);
    color: var(--text-primary);
    border-color: var(--neon);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    gap: 1rem;
}

.cart-empty i {
    font-size: 3rem;
    opacity: 0.5;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
}

.item-info h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.item-type {
    font-size: 0.75rem;
    color: var(--neon);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.25rem 0;
}

.item-price {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    width: 32px;
    height: 32px;
    background: var(--surface-medium);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.qty-btn:hover {
    background: var(--neon);
    border-color: var(--neon);
}

.item-quantity {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 24px;
    text-align: center;
}

.remove-btn {
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 4px;
    color: #dc2626;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    background: #dc2626;
    color: var(--text-primary);
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.cart-total span:last-child {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon);
}

.cart-checkout {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.125rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.cart-checkout:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-xl), 0 8px 25px rgba(255,0,0,0.4);
}

.cart-checkout:hover::after {
    left: 100%;
}

.cart-checkout:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

body.cart-open {
    overflow: hidden;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 11000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
    min-width: 280px;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast i {
    font-size: 1.25rem;
}

.toast-success {
    border-color: var(--success);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), var(--surface));
}

.toast-success i {
    color: var(--success);
}

.toast-error {
    border-color: var(--error);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), var(--surface));
}

.toast-error i {
    color: var(--error);
}

.toast-info {
    border-color: var(--neon);
    background: linear-gradient(135deg, var(--neon-bg), var(--surface));
}

.toast-info i {
    color: var(--neon);
}

.toast span {
    color: var(--text-primary);
    font-weight: 500;
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */

.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: var(--shadow-lg);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--neon);
    border-color: var(--neon);
    color: var(--text-primary);
    transform: translateY(-4px);
}

/* ============================================
   SKELETON LOADING
   ============================================ */

.skeleton-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    animation: fadeIn 0.3s ease;
}

.skeleton-image {
    height: 200px;
    background: linear-gradient(90deg, var(--bg-medium) 25%, var(--bg-light) 50%, var(--bg-medium) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

.skeleton-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skeleton-line {
    height: 12px;
    background: linear-gradient(90deg, var(--bg-medium) 25%, var(--bg-light) 50%, var(--bg-medium) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}

.skeleton-line-short {
    width: 60%;
}

.skeleton-line-medium {
    width: 80%;
}

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

/* ============================================
   ACCESSIBILITY & FOCUS STATES
   ============================================ */

.btn-add-cart:focus,
.btn-contact:focus,
.nav-link:focus,
.cart-close:focus,
.qty-btn:focus,
.remove-btn:focus,
.cart-checkout:focus {
    outline: 2px solid var(--neon);
    outline-offset: 2px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .products-grid,
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        padding: 120px 1rem 60px;
    }
    
    .hero-logo .logo-img,
    .logo-placeholder {
        width: 80px;
        height: 80px;
    }
    
    .hero-content h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .products-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .product-image {
        height: 200px;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .search-wrapper {
        flex-wrap: wrap;
    }
    
    .search-btn {
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .categories {
        gap: 0.5rem;
    }
    
    .category-tag {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .bottom-nav {
        padding: 0.5rem 0;
    }
    
    .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .nav-link i {
        font-size: 1.1rem;
    }
    
    .cart-drawer {
        width: 100%;
        max-width: 100%;
        right: -100%;
    }
    
    .toast-container {
        left: 20px;
        right: 20px;
        top: 10px;
    }
    
    .toast {
        min-width: auto;
        width: 100%;
    }
    
    .product-card,
    .service-card {
        transition-delay: 0s !important;
    }
}

@media (max-width: 480px) {
    .product-info h3,
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .product-price,
    .service-price {
        font-size: 1.35rem;
    }
    
    .btn-add-cart,
    .btn-contact {
        padding: 0.65rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .scroll-top {
        bottom: 90px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .product-card,
    .service-card {
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   HIGH CONTRAST MODE
   ============================================ */

@media (prefers-contrast: high) {
    :root {
        --border: rgba(255, 255, 255, 0.3);
        --text-secondary: #ffffff;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .bottom-nav,
    .cart-drawer,
    .toast-container,
    .scroll-top {
        display: none !important;
    }
    
    .product-card,
    .service-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
