/* ============================================
   VENTAMAX - TIENDA ONLINE
   ============================================ */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #0f0f2a;
    --bg-tertiary: #1a1a3e;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-bg-hover: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.15);
    --glass-blur: 20px;
    --emerald: #10b981;
    --emerald-light: #34d399;
    --emerald-dark: #059669;
    --emerald-glow: rgba(16, 185, 129, 0.3);
    --gold: #f59e0b;
    --gold-light: #fbbf24;
    --gold-glow: rgba(245, 158, 11, 0.3);
    --cyan: #22d3ee;
    --cyan-light: #67e8f9;
    --cyan-glow: rgba(34, 211, 238, 0.25);
    --red: #ef4444;
    --orange: #f97316;
    --text-primary: rgba(255, 255, 255, 0.95);
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-tertiary: rgba(255, 255, 255, 0.4);
    --whatsapp: #25d366;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-title: 'Playfair Display', Georgia, serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --shadow-sm: 0 2px 8px 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-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.15);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    --header-height: 64px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Mesh gradient background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(34, 211, 238, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(245, 158, 11, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
    z-index: -2;
    pointer-events: none;
}

/* Noise texture overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    z-index: -1;
    pointer-events: none;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

input, textarea {
    font-family: inherit;
    font-size: inherit;
}

ul { list-style: none; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children */
.animate-on-scroll.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.animate-on-scroll.is-visible > *:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll.is-visible > *:nth-child(3) { transition-delay: 0.15s; }
.animate-on-scroll.is-visible > *:nth-child(4) { transition-delay: 0.2s; }

/* ===== SHIMMER LOADING ===== */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.shimmer {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.03) 25%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.03) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.8s ease-in-out infinite;
    border-radius: var(--radius-md);
}

.skeleton-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skeleton-card__img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
}

.skeleton-card__text {
    height: 16px;
    width: 80%;
}

.skeleton-card__text--short {
    width: 50%;
}

.skeleton-card__btn {
    height: 40px;
    margin-top: 8px;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(10, 10, 26, 0.7);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--glass-border);
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

.header.scrolled {
    background: rgba(10, 10, 26, 0.92);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.header__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header__logo-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--emerald);
    box-shadow: 0 0 12px var(--emerald-glow);
}

.header__brand {
    font-family: var(--font-title);
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.header__brand-name {
    font-family: inherit;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
}

.header__brand-sub {
    font-family: inherit;
    font-weight: 300;
    font-size: 11px;
    color: var(--emerald-light);
    letter-spacing: 0.5px;
}

.header__nav {
    display: none;
    gap: 8px;
}

.header__nav-link {
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.header__nav-link:hover {
    color: var(--text-primary);
    background: var(--glass-bg-hover);
}

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

.header__search-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.header__search-toggle:hover {
    color: var(--text-primary);
    background: var(--glass-bg-hover);
}

/* Search Bar */
.header__search-bar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 20px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
}

.header__search-bar.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.header__search-inner {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 0 14px;
    color: var(--text-secondary);
}

.header__search-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    padding: 12px 0;
    font-size: 15px;
}

.header__search-input::placeholder {
    color: var(--text-tertiary);
}

.header__search-close {
    color: var(--text-secondary);
    padding: 4px;
    display: flex;
    transition: color var(--transition-fast);
}

.header__search-close:hover {
    color: var(--text-primary);
}

/* Cart Button */
.cart-btn {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.cart-btn:hover {
    color: var(--emerald-light);
    background: var(--glass-bg-hover);
}

.cart-btn__badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--emerald);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 0 5px;
    opacity: 0;
    transform: scale(0);
    transition: all var(--transition-spring);
}

.cart-btn__badge.active {
    opacity: 1;
    transform: scale(1);
}

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

.cart-btn__badge.pulse {
    animation: badge-pulse 0.4s ease-in-out;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-height) + 40px) 20px 60px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: orb-float 20s ease-in-out infinite;
}

.hero__orb--1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--emerald-glow), transparent 70%);
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

.hero__orb--2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.15), transparent 70%);
    bottom: 10%;
    left: -5%;
    animation-delay: -7s;
}

.hero__orb--3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1), transparent 70%);
    top: 40%;
    left: 40%;
    animation-delay: -14s;
}

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero__container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__logo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--emerald);
    box-shadow: 0 0 30px var(--emerald-glow), 0 0 60px rgba(16, 185, 129, 0.1);
    margin-bottom: 24px;
}

.hero__title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero__title-line {
    font-family: inherit;
    display: block;
    color: var(--text-primary);
}

.hero__title-accent {
    font-family: inherit;
    display: block;
    background: linear-gradient(135deg, var(--emerald-light), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 500px;
    margin-bottom: 20px;
}

.hero__hours {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 100%;
    box-sizing: border-box;
}

.hero__hours svg {
    color: var(--gold);
    flex-shrink: 0;
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Hero Gallery */
.hero__gallery {
    position: relative;
    display: flex;
    gap: 16px;
    justify-content: center;
}

.hero__gallery-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-base);
    height: 240px;
}

.hero__gallery-card:hover {
    transform: translateY(-4px);
}

.hero__gallery-card--main {
    max-width: 360px;
    flex: 1;
}

.hero__gallery-card--secondary {
    max-width: 280px;
    flex: 0.8;
    display: none;
}

.hero__gallery-card--fallback {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-tertiary);
    animation: bounce-down 2s ease-in-out infinite;
}

@keyframes bounce-down {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255,255,255,0.15), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity var(--transition-fast);
}

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

.btn:active {
    transform: scale(0.97);
}

.btn--whatsapp {
    background: var(--whatsapp);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn--whatsapp:hover {
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
}

.btn--location {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    white-space: normal;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn--location:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

.btn--outline:hover {
    border-color: var(--emerald);
    color: var(--emerald-light);
}

.btn--sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn--send {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
    color: white;
    font-size: 15px;
    box-shadow: 0 4px 20px var(--emerald-glow);
}

.btn--send:hover {
    box-shadow: 0 8px 30px var(--emerald-glow);
    transform: translateY(-2px);
}

.btn--send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ===== STORE CONTINUITY BANNER ===== */
.availability-banner {
    background: linear-gradient(90deg, rgba(14, 116, 144, 0.18), rgba(8, 145, 178, 0.1));
    border-bottom: 1px solid rgba(34, 211, 238, 0.28);
    padding: 16px 20px;
    margin-top: var(--header-height);
}

.error-banner__content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.error-banner__content svg {
    color: var(--cyan, #22d3ee);
    flex-shrink: 0;
}

.error-banner__content div {
    flex: 1;
    min-width: 200px;
}

.error-banner__content strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 2px;
}

.error-banner__content p {
    font-size: 13px;
    color: var(--text-secondary);
}

.availability-banner__meta {
    display: block;
    margin-top: 5px;
    color: var(--cyan, #22d3ee);
    font-size: 11px;
    font-weight: 600;
}

.cart-btn:disabled,
.mobile-nav-btn:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header__tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--emerald-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section-header__title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header__desc {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 300;
}

/* ===== CATEGORIES ===== */
.categories {
    padding: 80px 0;
    position: relative;
}

.categories__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.category-card {
    position: relative;
    padding: 20px 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(34, 211, 238, 0.05));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.category-card:hover,
.category-card.active {
    border-color: var(--emerald);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.15);
}

.category-card:hover::before,
.category-card.active::before {
    opacity: 1;
}

.category-card.active {
    border-color: var(--emerald);
    box-shadow: 0 0 20px var(--emerald-glow);
}

.category-card__emoji {
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
    position: relative;
    z-index: 1;
    transition: transform var(--transition-spring);
}

.category-card:hover .category-card__emoji {
    transform: scale(1.2);
}

.category-card__name {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    transition: color var(--transition-fast);
}

.category-card:hover .category-card__name,
.category-card.active .category-card__name {
    color: var(--text-primary);
}

.category-card__count {
    font-size: 10px;
    color: var(--text-tertiary);
    margin-top: 4px;
    position: relative;
    z-index: 1;
}

/* ===== PROMOTIONS ===== */
.promos {
    padding: 0 0 80px;
    position: relative;
}

.promos__carousel {
    position: relative;
    overflow: hidden;
}

.promos__track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 4px 16px;
}

.promos__track::-webkit-scrollbar {
    display: none;
}

.promos__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(10, 10, 26, 0.9);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
}

.promos__arrow:hover {
    background: var(--glass-bg-hover);
    border-color: var(--emerald);
    color: var(--emerald-light);
}

.promos__arrow--left { left: 8px; }
.promos__arrow--right { right: 8px; }

.promo-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    background: var(--glass-bg);
    border: 1px solid var(--gold);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    transition: all var(--transition-base);
}

.promo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), transparent);
    pointer-events: none;
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.15);
}

.promo-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 4px 10px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #000;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promo-card__img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.promo-card__img-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
}

.promo-card__body {
    padding: 16px;
    position: relative;
    z-index: 1;
}

.promo-card__name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.promo-card__prices {
    display: flex;
    align-items: center;
    gap: 8px;
}

.promo-card__price-old {
    font-size: 13px;
    color: var(--text-tertiary);
    text-decoration: line-through;
}

.promo-card__price-new {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold-light);
}

.promo-card__add {
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #000;
    font-weight: 600;
    font-size: 13px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all var(--transition-fast);
}

.promo-card__add:hover {
    box-shadow: 0 4px 20px var(--gold-glow);
    transform: translateY(-1px);
}

/* ===== PRODUCTS ===== */
.products {
    padding: 0 0 80px;
    position: relative;
}

.products__toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.products__search {
    flex: 1;
    min-width: 200px;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 0 14px;
    color: var(--text-secondary);
    transition: border-color var(--transition-fast);
}

.products__search:focus-within {
    border-color: var(--emerald);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
}

.products__search-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    padding: 12px 0;
    font-size: 14px;
}

.products__search-input::placeholder {
    color: var(--text-tertiary);
}

.products__count {
    font-size: 13px;
    color: var(--text-tertiary);
    white-space: nowrap;
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.products__empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-tertiary);
}

.products__empty svg {
    margin: 0 auto 16px;
    opacity: 0.3;
}

.products__empty p {
    font-size: 16px;
    margin-bottom: 16px;
}

/* ===== PRODUCT CARD ===== */
.product-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    perspective: 1000px;
}

.product-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.product-card__img-wrap {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
}

.product-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-card__img {
    transform: scale(1.05);
}

.product-card__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
}

.product-card__category {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 10px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.product-card__stock {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 2px 7px;
    border-radius: 100px;
    font-size: 8.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.product-card__stock--available {
    background: rgba(16, 185, 129, 0.2);
    color: var(--emerald-light);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.product-card__stock--low {
    background: rgba(249, 115, 22, 0.2);
    color: var(--orange);
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.product-card__stock--out {
    background: rgba(239, 68, 68, 0.2);
    color: var(--red);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.product-card__video-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 7px;
    border: 1px solid rgba(56, 189, 248, 0.42);
    border-radius: 100px;
    background: rgba(8, 47, 73, 0.86);
    color: #bae6fd;
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    pointer-events: none;
}

.product-card__body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card__name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__unit {
    font-size: 11px;
    color: var(--text-tertiary);
    margin-bottom: 12px;
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}

.product-card__price {
    font-size: 20px;
    font-weight: 700;
    color: var(--cyan);
    text-shadow: 0 0 20px var(--cyan-glow);
}

.product-card__add-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--emerald);
    color: white;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.product-card__add-btn:hover {
    background: var(--emerald-light);
    transform: scale(1.1);
    box-shadow: 0 4px 15px var(--emerald-glow);
}

.product-card__add-btn:active {
    transform: scale(0.95);
}

.product-card__add-btn:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-tertiary);
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

@keyframes add-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.product-card__add-btn.added {
    animation: add-pop 0.3s ease-out;
    background: var(--emerald-light);
}

/* ===== PROMOTIONS ===== */
.product-card--promo {
    border: 1px solid var(--orange);
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.15);
}

.promo-badge {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.4);
    animation: pulse-promo 2s infinite;
    display: inline-block;
}

@keyframes pulse-promo {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
    margin-bottom: 8px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px dashed rgba(249, 115, 22, 0.3);
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-secondary);
}

.price-item.main-promo {
    color: var(--orange);
    font-weight: 700;
    font-size: 13px;
}

.price-item span:last-child {
    font-weight: 600;
}

/* ===== CART PANEL ===== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100%;
    z-index: 2001;
    background: rgba(15, 15, 42, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-left: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

.cart-panel.active {
    transform: translateX(0);
}

.cart-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--glass-border);
    flex-shrink: 0;
}

.cart-panel__title {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-panel__title svg {
    color: var(--emerald);
}

.cart-panel__close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.cart-panel__close:hover {
    color: var(--text-primary);
    background: var(--glass-bg-hover);
}

.cart-panel__body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.cart-panel__body::-webkit-scrollbar {
    width: 4px;
}

.cart-panel__body::-webkit-scrollbar-track {
    background: transparent;
}

.cart-panel__body::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}

.cart-panel__empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-tertiary);
}

.cart-panel__empty svg {
    margin: 0 auto 16px;
    opacity: 0.3;
}

.cart-panel__empty p {
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--text-secondary);
}

.cart-panel__empty span {
    font-size: 13px;
}

.cart-panel__items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Cart Item */
.cart-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.cart-item__img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--bg-tertiary);
}

.cart-item__info {
    flex: 1;
    min-width: 0;
}

.cart-item__name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item__price {
    font-size: 14px;
    font-weight: 700;
    color: var(--cyan);
}

.cart-item__controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}

.cart-item__qty {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-item__qty-btn {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--glass-bg-hover);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.cart-item__qty-btn:hover {
    border-color: var(--emerald);
    color: var(--emerald-light);
}

.cart-item__qty-num {
    font-size: 14px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.cart-item__remove {
    color: var(--text-tertiary);
    font-size: 11px;
    transition: color var(--transition-fast);
    padding: 2px 4px;
}

.cart-item__remove:hover {
    color: var(--red);
}

/* Cart Footer */
.cart-panel__footer {
    padding: 16px 20px;
    border-top: 1px solid var(--glass-border);
    flex-shrink: 0;
    background: rgba(10, 10, 26, 0.5);
}

.cart-panel__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--glass-border);
    font-size: 15px;
    font-weight: 600;
}

.cart-panel__total-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--cyan);
    text-shadow: 0 0 20px var(--cyan-glow);
}

.cart-panel__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    color: var(--text-primary);
    outline: none;
    font-size: 14px;
    transition: border-color var(--transition-fast);
}

.form-input:focus {
    border-color: var(--emerald);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.1);
}

.form-input::placeholder {
    color: var(--text-tertiary);
}

.form-textarea {
    resize: vertical;
    min-height: 60px;
}

.form-input.error {
    border-color: var(--red);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.15);
}

.cart-panel__disclaimer {
    text-align: center;
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 8px;
}

/* ===== FLOATING CART BUTTON ===== */
.floating-cart {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: auto;
    height: 56px;
    display: none !important; /* Hide in favor of mobile bottom navbar */
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
    color: white;
    box-shadow: 0 8px 30px var(--emerald-glow), 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-base);
}

.floating-cart:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--emerald-glow), 0 8px 25px rgba(0, 0, 0, 0.3);
}

.floating-cart__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--gold);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    padding: 0 6px;
    box-shadow: 0 2px 8px var(--gold-glow);
}

.floating-cart__total {
    font-size: 14px;
    font-weight: 700;
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 20px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--emerald);
    margin-bottom: 12px;
}

.footer__name {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer__desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer__heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--emerald-light);
    margin-bottom: 16px;
}

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

.footer__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.footer__list li svg {
    color: var(--emerald);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer__list li a {
    transition: color var(--transition-fast);
}

.footer__list li a:hover {
    color: var(--emerald-light);
}

.footer__hours-list {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer__bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    font-size: 12px;
    color: var(--text-tertiary);
}

.footer__powered strong {
    color: var(--emerald);
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container {
    position: fixed;
    top: calc(var(--header-height) + 12px);
    right: 12px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.toast {
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    background: rgba(15, 15, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
    transform: translateX(120%);
    opacity: 0;
    transition: all var(--transition-base);
    max-width: 320px;
}

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

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

.toast--success::before {
    content: '✓';
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--emerald);
    color: white;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

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

.toast--error::before {
    content: '✕';
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--red);
    color: white;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.toast--info {
    border-color: var(--cyan);
}

.toast--info::before {
    content: 'i';
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--cyan);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    font-style: italic;
    flex-shrink: 0;
}

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

/* Tablet (640px+) */
@media (min-width: 640px) {
    .categories__grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .products__grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .hero__gallery-card--secondary {
        display: block;
    }

    .promo-card {
        flex: 0 0 280px;
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop (768px+) */
@media (min-width: 768px) {
    :root {
        --header-height: 72px;
    }

    .header__nav {
        display: flex;
    }

    .header__search-toggle {
        display: none;
    }

    .products__search {
        display: flex;
    }

    .hero__container {
        grid-template-columns: 1fr 1fr;
    }

    .hero__gallery {
        justify-content: flex-end;
    }

    .promos__arrow {
        display: flex;
    }

    .footer__grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .floating-cart {
        display: none !important;
    }
}

/* Large Desktop (1024px+) */
@media (min-width: 1024px) {
    .container {
        padding: 0 40px;
    }

    .categories__grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }

    .products__grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .hero__buttons {
        flex-direction: column;
    }

    .hero__buttons .btn {
        width: 100%;
    }

    .categories__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .products__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-card__name {
        font-size: 12px;
    }

    .product-card__price {
        font-size: 16px;
    }

    .product-card__body {
        padding: 10px;
    }

    .promo-card {
        flex: 0 0 220px;
    }
}

/* ===== UTILITY ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Body scroll lock when cart is open */
body.cart-open {
    overflow: hidden;
}

/* Selection styling */
::selection {
    background: var(--emerald);
    color: white;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid var(--emerald);
    outline-offset: 2px;
}

/* ===== PROMO CAROUSEL ===== */
.promo-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .promo-carousel {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 16px;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        margin-bottom: 20px;
        /* Hide scrollbar */
        scrollbar-width: none;
    }
    .promo-carousel::-webkit-scrollbar {
        display: none;
    }
    
    .promo-carousel .product-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        max-width: 320px;
    }

    /* Hero Optimization for Mobile */
    .hero {
        min-height: auto;
        padding: calc(var(--header-height) + 20px) 16px 30px;
    }
    
    .hero__logo {
        width: 100px;
        height: 100px;
        margin-bottom: 12px;
        border-width: 3px;
        box-shadow: 0 0 15px var(--emerald-glow);
    }
    
    .hero__title {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }
    
    .hero__subtitle {
        font-size: 0.9rem;
        margin-bottom: 16px;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero__hours {
        margin-bottom: 16px;
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .hero__buttons {
        gap: 8px;
        margin-top: 5px;
    }
    
    .hero__gallery {
        display: none;
    }
    
    .hero__scroll-indicator {
        display: none;
    }

    .categories {
        padding: 40px 0;
    }
}

/* ===== ORDER SUCCESS MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
}

.modal-card {
    background: rgba(20, 20, 40, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.modal-card__icon {
    font-size: 48px;
    margin-bottom: 16px;
    animation: pulse-promo 2s infinite;
}

.modal-card__title {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.modal-card__text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.btn--modal-close {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--orange), #ea580c);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn--modal-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.4);
}

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

/* ===== PRODUCT DETAILS MODAL (PREMIUM GLASSMORPHIC) ===== */
.modal-card--detail {
    max-width: 1000px;
    width: 95%;
    padding: 0;
    max-height: 92vh;
    overflow-y: auto;
    background: rgba(15, 15, 30, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.modal-card__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    background: rgba(10, 10, 20, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-card__close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    transform: rotate(90deg);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr;
    text-align: left;
}

@media (min-width: 768px) {
    .product-detail {
        grid-template-columns: 1.25fr 0.75fr;
    }
}

.product-detail__gallery {
    background: rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
    .product-detail__gallery {
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.05);
        height: 100%;
        min-height: 500px;
        padding: 25px;
    }
}

.product-detail__slider {
    width: 100%;
    aspect-ratio: 1.1;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.detail-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.detail-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.detail-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.product-detail__nav {
    position: absolute;
    top: 50%;
    left: 15px;
    right: 15px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    width: calc(100% - 30px);
}

.product-detail__nav-btn {
    pointer-events: auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(15, 15, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.product-detail__nav-btn:hover {
    background: var(--orange);
    border-color: var(--orange);
    transform: scale(1.1);
}

.product-detail__dots {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    justify-content: center;
    position: absolute;
    bottom: 15px;
}

.detail-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.detail-dot.active {
    background: var(--orange);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
}

.product-detail__info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-detail__header {
    margin-bottom: 20px;
}

.product-detail__category {
    font-size: 10px;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(249, 115, 22, 0.3);
    padding: 3px 8px;
    border-radius: 20px;
    background: rgba(249, 115, 22, 0.05);
    display: inline-block;
    margin-bottom: 10px;
}

.product-detail__name {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin: 5px 0;
}

.product-detail__unit {
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 500;
}

.product-detail__price-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
}

.product-detail__price-main {
    font-size: 54px;
    font-weight: 900;
    color: var(--emerald-light);
    line-height: 1;
}

.product-detail__price-label {
    font-size: 11px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

.product-detail__price-alternatives {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.alt-price {
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
}

.alt-price strong {
    color: var(--white);
}

.product-detail__description-box {
    margin-bottom: 20px;
}

.product-detail__subtitle {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-tertiary);
    margin-bottom: 6px;
    font-weight: 700;
}

.product-detail__description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    max-height: 250px;
    overflow-y: auto;
    scrollbar-width: thin;
    white-space: pre-wrap;
}

.product-detail__video {
    margin-bottom: 20px;
    padding: 13px;
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(8, 47, 73, 0.34), rgba(15, 23, 42, 0.42));
}

.product-detail__video[hidden] {
    display: none;
}

.product-detail__video-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
}

.product-detail__video-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 9px;
    background: rgba(14, 165, 233, 0.18);
    color: #7dd3fc;
}

.product-detail__video-heading .product-detail__subtitle {
    margin: 0;
    color: #bae6fd;
}

.product-detail__video-heading p {
    margin: 2px 0 0;
    color: var(--text-tertiary);
    font-size: 11px;
}

.product-detail__video-frame {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.product-detail__video-frame--multiple {
    grid-template-columns: 1fr;
}

.product-detail__video-player {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    background: #020617;
}

.product-detail__video-player iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.product-detail__stock {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 24px;
}

.product-detail__stock--available {
    background: rgba(16, 185, 129, 0.1);
    color: var(--emerald-light);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.product-detail__stock--low {
    background: rgba(245, 158, 11, 0.1);
    color: var(--gold-light);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.product-detail__stock--out {
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.product-detail__actions {
    display: flex;
    gap: 12px;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 44px;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.qty-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.qty-input {
    width: 40px;
    height: 44px;
    text-align: center;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    pointer-events: none;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn--add-detail {
    flex: 1;
    height: 46px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--orange), #ea580c);
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn--add-detail:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.4);
}

.btn--add-detail:disabled {
    background: var(--bg-tertiary);
    color: var(--text-tertiary);
    cursor: not-allowed;
}

/* ===== PAYMENT SELECTOR RADIO ===== */
.payment-selector {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.payment-option {
    cursor: pointer;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option__card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.payment-option input[type="radio"]:checked + .payment-option__card {
    background: rgba(249, 115, 22, 0.08);
    border-color: var(--orange);
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.15);
}

.payment-option__icon {
    font-size: 20px;
}

.payment-option__text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.payment-option__title {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
}

.payment-option__desc {
    font-size: 10px;
    color: var(--text-tertiary);
}

/* ===== VERIFICATION MODAL ===== */
.modal-card--verify {
    max-width: 350px;
    background: rgba(10, 10, 20, 0.9);
    border-color: rgba(255,255,255,0.15);
}

.verify-spinner {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.verify-spinner svg {
    color: var(--orange);
}

.verify-icon {
    font-size: 56px;
    margin-bottom: 20px;
    animation: bounce-verify 1s ease infinite alternate;
}

@keyframes bounce-verify {
    from { transform: translateY(0); }
    to { transform: translateY(-8px); }
}

/* Optimización Premium para Celulares (Modal de Detalle del Producto en Pantalla Completa) */
@media (max-width: 767px) {
    .modal {
        padding: 0 !important;
    }

    .modal-card--detail {
        max-width: 100% !important;
        width: 100% !important;
        height: 100% !important;
        max-height: 100vh !important;
        border-radius: 0 !important;
        border: none !important;
        margin: 0 !important;
        display: flex;
        flex-direction: column;
        background: #090914 !important;
    }

    .product-detail {
        display: flex;
        flex-direction: column;
        height: 100%;
        overflow-y: auto;
        padding-bottom: 95px !important; /* Margen para no tapar contenido con la barra fija */
    }
    
    .product-detail__gallery {
        width: 100%;
        padding: 15px 0 !important;
        background: rgba(0, 0, 0, 0.2);
        position: relative;
        flex-shrink: 0;
    }
    
    .product-detail__slider {
        width: 100%;
        aspect-ratio: 1 !important; /* Formato cuadrado perfecto en celular */
        border-radius: 0 !important;
    }
    
    .detail-slide img {
        border-radius: 0 !important;
    }
    
    /* Botón flotante para cerrar en la esquina superior */
    .modal-card__close {
        top: 15px !important;
        right: 15px !important;
        background: rgba(0, 0, 0, 0.6) !important;
        backdrop-filter: blur(4px);
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        color: #fff !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
    }

    .product-detail__info {
        padding: 20px 20px 30px 20px !important;
        flex-grow: 1;
        justify-content: flex-start !important;
        gap: 15px;
    }
    
    .product-detail__header {
        margin-bottom: 0 !important;
    }
    
    .product-detail__name {
        font-size: 1.4rem !important;
        line-height: 1.3;
        margin-top: 5px;
    }
    
    .product-detail__price-box {
        padding: 15px !important;
        margin-bottom: 0 !important;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.04);
        border-radius: 12px;
    }
    
    .product-detail__price-main {
        font-size: 1.8rem !important;
    }

    .product-detail__description-box {
        margin-bottom: 0 !important;
    }

    .product-detail__description {
        max-height: none !important; /* Permitir que fluya, el scroll lo maneja el modal completo */
        font-size: 13px !important;
    }
    
    .product-detail__stock {
        margin-bottom: 0 !important;
        align-self: flex-start;
    }
    
    /* BARRA DE COMPRA FIJA AL PIE (STICKY BOTTOM BAR) */
    .product-detail__actions {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(10, 10, 20, 0.95);
        backdrop-filter: blur(15px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 15px 16px !important;
        margin: 0 !important;
        z-index: 100;
        display: flex;
        align-items: center;
        gap: 12px;
        box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.5);
    }
    
    .qty-selector {
        width: 104px !important;
        height: 46px !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        overflow: hidden;
        flex-shrink: 0;
    }
    
    .qty-btn {
        width: 32px !important;
        height: 100% !important;
        background: transparent !important;
        border: none !important;
        color: #fff !important;
        font-size: 16px !important;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
    }
    
    .qty-btn:active {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .qty-input {
        width: 40px !important;
        background: transparent !important;
        border: none !important;
        color: #fff !important;
        text-align: center;
        font-size: 14px !important;
        font-weight: 700;
    }
    
    .btn--add-detail {
        flex-grow: 1;
        min-width: 0;
        height: 46px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        border-radius: 10px !important;
        background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
        color: #fff !important;
        border: none !important;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3) !important;
        text-transform: uppercase;
        letter-spacing: 0.25px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    @media (max-width: 360px) {
        .product-detail__actions {
            padding: 12px !important;
            gap: 8px;
        }

        .qty-selector {
            width: 96px !important;
        }

        .btn--add-detail {
            font-size: 12px !important;
            letter-spacing: 0;
        }
    }
}

/* ===== MOBILE BOTTOM NAVBAR STYLES ===== */
.mobile-nav-bar {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 64px !important; /* Prevent bottom navbar from covering content */
    }

    .mobile-nav-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 64px;
        background: rgba(9, 9, 20, 0.94);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
        z-index: 1500;
        justify-content: space-around;
        align-items: center;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .mobile-nav-btn {
        background: none;
        border: none;
        color: var(--text-tertiary);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        font-size: 10px;
        font-weight: 700;
        cursor: pointer;
        flex: 1;
        height: 100%;
        transition: color 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-nav-btn:active {
        color: var(--emerald-light);
    }

    .mobile-nav-btn svg {
        transition: transform 0.2s ease;
        stroke: currentColor;
    }

    .mobile-nav-btn:active svg {
        transform: scale(0.9);
    }

    .mobile-nav-cart-wrapper {
        position: relative;
    }

    .mobile-nav-badge {
        position: absolute;
        top: -6px;
        right: -10px;
        background: var(--emerald);
        color: #ffffff;
        font-size: 9px;
        font-weight: 800;
        padding: 1px 5px;
        border-radius: 10px;
        min-width: 12px;
        text-align: center;
        display: none;
        border: 1.5px solid #090914;
    }

    .mobile-nav-badge.active {
        display: block;
        animation: nav-badge-pulse 0.3s ease-out;
    }
}

@keyframes nav-badge-pulse {
    0% { transform: scale(0.5); }
    70% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* ===== CATEGORIES TITLE ANIMATION ===== */
@keyframes bounce-arrow-vertical {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

.btn-categorias-landing {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff !important;
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse-orange-btn 2s infinite;
    -webkit-tap-highlight-color: transparent;
    margin: 0 auto;
    user-select: none;
}

.btn-categorias-landing:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

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

.btn-categorias-landing .categories-indicator-arrow {
    display: inline-block;
    animation: bounce-arrow-vertical 1.5s infinite;
    font-size: 18px;
}

@keyframes pulse-orange-btn {
    0% {
        box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
    }
    50% {
        box-shadow: 0 6px 25px rgba(249, 115, 22, 0.8), 0 0 0 10px rgba(249, 115, 22, 0);
    }
    100% {
        box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
    }
}
