* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }

:root {
    --primary: #ff6b35;
    --secondary: #004e89;
    --dark: #0a0e27;
    --gradient2: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Prevención de desbordamiento horizontal global (ISSUE 2) */
html, body { 
    scroll-behavior: smooth; 
    overflow-x: hidden; 
    width: 100%;
    position: relative;
}
body { background: #0a0e27; color: #fff; }

/* Bloqueo de scroll cuando el menú está abierto */
body.menu-open {
    overflow: hidden;
}

img, picture, video, iframe { max-width: 100%; height: auto; display: block; }
button, input, textarea { font-family: inherit; }

/* Header */
.header { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    background: rgba(10,14,39,0.95); 
    backdrop-filter: blur(20px); 
    z-index: 1000; 
    padding: 15px 0; 
    border-bottom: 1px solid rgba(255,255,255,0.1); 
    transition: 0.3s; 
}

.nav-container { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 0 30px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    gap: 40px;
}

/* Logo Styling */
.logo { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    flex-shrink: 0;
}

.logo i { 
    font-size: 32px; 
    color: var(--primary); 
    animation: pulse 2s infinite; 
}

.logo h1 { 
    font-size: 26px; 
    font-weight: 800; 
    color: #fff; 
}

.logo h1 span { 
    background: var(--gradient2); 
    -webkit-background-clip: text;
    background-clip: text; 
    -webkit-text-fill-color: transparent; 
}

/* Desktop Navigation Menu - shown on desktop, hidden on mobile */
.nav-menu.desktop-nav {
    display: flex;
    position: static;
    background: none;
    backdrop-filter: none;
    z-index: auto;
    padding: 0;
    flex: 1;
    max-width: 600px;
}

.nav-menu.desktop-nav ul { 
    display: flex; 
    list-style: none; 
    gap: 35px;
    width: 100%;
    justify-content: center;
}

.nav-menu a { 
    color: #fff; 
    text-decoration: none; 
    font-weight: 500; 
    position: relative; 
    transition: 0.3s; 
    white-space: nowrap;
}

.nav-menu a::after { 
    content: ''; 
    position: absolute; 
    bottom: -5px; 
    left: 0; 
    width: 0; 
    height: 2px; 
    background: var(--primary); 
    transition: 0.3s; 
}

.nav-menu a:hover::after { 
    width: 100%; 
}

.nav-menu a:hover { 
    color: var(--primary); 
}

/* Dropdown menu for Categorías - Desktop Version */
.nav-item.dropdown { 
    position: relative; 
}

.nav-item.dropdown .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    padding: 0;
}

.nav-item.dropdown .dropdown-toggle:hover,
.nav-item.dropdown .dropdown-toggle:focus {
    color: var(--primary);
}

.nav-item.dropdown .dropdown-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav-item.dropdown.dropdown-open .dropdown-icon {
    transform: rotate(180deg);
}

.nav-item.dropdown .dropdown-menu {
    /* Force vertical absolute dropdown under the button */
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 280px;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--dark);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 6px 6px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 1000;
    list-style: none;
    scrollbar-width: thin;
    scrollbar-color: #ff6b35 transparent;
}

/* Stronger specificity to override any generic .nav-menu ul rules */
.nav-menu.desktop-nav > li.nav-item.dropdown > .dropdown-menu,
.nav-menu > li.nav-item.dropdown > .dropdown-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 280px;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--dark);
    z-index: 1000;
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown:focus-within .dropdown-menu,
.nav-item.dropdown.dropdown-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-item.dropdown .dropdown-menu li {
    list-style: none;
}

.nav-item.dropdown .dropdown-menu a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    color: #fff;
    text-decoration: none;
    padding: 10px 14px;
    font-size: 0.95rem;
    transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
    border-radius: 6px;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}

.nav-item.dropdown .dropdown-menu a:hover,
.nav-item.dropdown .dropdown-menu a:focus {
    background: rgba(255,107,53,0.12);
    color: var(--primary);
}

/* Custom scrollbar for dropdown */
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: #ff6b35;
    border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #ff8555;
}

/* Navigation Icons */
.nav-icons { 
    display: flex; 
    gap: 20px; 
    align-items: center; 
    flex-shrink: 0;
}

.nav-icons i { 
    font-size: 20px; 
    cursor: pointer; 
    transition: 0.3s; 
}

.nav-icons i:hover { 
    color: var(--primary); 
    transform: translateY(-3px); 
}

.cart-icon { 
    position: relative; 
    cursor: pointer; 
}

.cart-count { 
    position: absolute; 
    top: -8px; 
    right: -8px; 
    background: var(--primary); 
    color: #fff; 
    font-size: 11px; 
    padding: 2px 6px; 
    border-radius: 50%; 
    font-weight: bold; 
}

/* Mobile Hamburger Button - hidden on desktop, shown on mobile below 768px */
.nav-toggle.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.nav-toggle.mobile-nav-toggle:hover {
    color: var(--primary);
}

/* Mobile Navigation Overlay - backdrop for mobile menu */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 10000; /* Asegura que esté por debajo del menú pero sobre el resto */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Navigation Menu - hidden on desktop, shown on mobile */
.nav-menu.mobile-nav-menu {
    display: flex; /* Cambiado a flex por defecto para permitir animaciones */
    position: fixed;
    top: 0;
    left: 0; /* Desliza desde la izquierda */
    width: 300px;
    max-width: 85%;
    height: 100vh;
    padding-top: 100px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(16px);
    overflow-y: auto;
    z-index: 10001; /* El valor más alto para estar sobre todo (ISSUE 1) */
    transform: translateX(-100%); /* Inicialmente fuera de pantalla */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
    box-shadow: 10px 0 30px rgba(0,0,0,0.5);
}

.nav-menu.mobile-nav-menu.active {
    transform: translateX(0); /* Desliza hacia adentro */
    visibility: visible;
}

.nav-menu.mobile-nav-menu ul {
    flex-direction: column;
    gap: 22px;
    align-items: center;
    width: 100%;
}

.nav-menu.mobile-nav-menu a {
    font-size: 1.1rem;
    padding: 10px 24px;
}

/* Mobile dropdown expansion behavior */
.mobile-nav-menu .nav-item.dropdown .dropdown-menu {
    position: static;
    width: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}

.mobile-nav-menu .nav-item.dropdown.dropdown-open .dropdown-menu {
    max-height: 520px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav-menu .nav-item.dropdown .dropdown-menu a {
    text-align: center;
    margin: 0 20px;
    border-radius: 12px;
}

/* Hero Slider */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; padding: 120px 30px 60px; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 20% 50%, rgba(255,107,53,0.3), transparent 50%), radial-gradient(circle at 80% 80%, rgba(102,126,234,0.3), transparent 50%); z-index: 0; }
.slider-container { width: 100%; position: relative; z-index: 1; }
.slide { display: none; animation: fadeIn 0.8s ease; }
.slide.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.hero-content { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.badge { display: inline-block; padding: 8px 20px; background: rgba(255,107,53,0.2); border: 1px solid var(--primary); border-radius: 30px; color: var(--primary); font-size: 13px; font-weight: 600; margin-bottom: 20px; letter-spacing: 2px; }
.hero-text h1 { font-size: 60px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.highlight { background: var(--gradient2); -webkit-background-clip: text;
    background-clip: text; -webkit-text-fill-color: transparent; }
.hero-text p { font-size: 18px; color: #b8b8b8; margin-bottom: 35px; max-width: 500px; }
.hero-buttons { display: flex; gap: 20px; }
.btn-primary, .btn-secondary { padding: 15px 35px; border: none; border-radius: 50px; font-weight: 600; font-size: 15px; cursor: pointer; transition: 0.3s; display: inline-flex; align-items: center; gap: 10px; }
.btn-primary { background: var(--gradient2); color: #fff; box-shadow: 0 10px 30px rgba(255,107,53,0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(255,107,53,0.6); }
.btn-secondary { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { background: #fff; color: var(--dark); }
.hero-image { position: relative; display: flex; justify-content: center; align-items: center; perspective: 1000px; }
.floating-3d { position: relative; z-index: 2; transform-style: preserve-3d; animation: float3d 6s ease-in-out infinite; }
.floating-3d img { max-width: 500px; width: 100%; filter: drop-shadow(0 30px 60px rgba(255,107,53,0.5)); transition: 0.5s; }
.glow-circle { position: absolute; width: 450px; height: 450px; background: radial-gradient(circle, rgba(255,107,53,0.4), transparent 70%); border-radius: 50%; animation: pulse 4s infinite; z-index: 1; }
@keyframes float3d { 0%, 100% { transform: translateY(0) rotateY(0) rotateX(0); } 50% { transform: translateY(-20px) rotateY(5deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.1); opacity: 1; } }

/* Slider Controls */
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 18px; backdrop-filter: blur(10px); transition: 0.3s; z-index: 10; }
.slider-btn:hover { background: var(--primary); border-color: var(--primary); }
.slider-btn.prev { left: 30px; }
.slider-btn.next { right: 30px; }
.slider-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 10; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: 0.3s; }
.dot.active { background: var(--primary); width: 35px; border-radius: 10px; }

/* Section Headers */
.section-header { text-align: center; margin-bottom: 60px; }
.subtitle { color: var(--primary); letter-spacing: 3px; font-size: 13px; font-weight: 600; }
.section-header h2 { font-size: 48px; margin-top: 10px; font-weight: 800; }
.section-header h2 span { background: var(--gradient2); -webkit-background-clip: text;
    background-clip: text; -webkit-text-fill-color: transparent; }

.page-main.page-offset { padding-top: 150px; }
.page-hero { padding: 120px 20px 60px; max-width: 900px; margin: 0 auto; }
.page-hero .hero-copy { text-align: center; max-width: 760px; margin: 0 auto; }
.page-hero .hero-copy .eyebrow,
.page-hero .hero-copy h1,
.page-hero .hero-copy p { opacity: 0; animation: fadeUp 0.6s ease-out both; }
.page-hero .hero-copy .eyebrow { animation-delay: 0.05s; }
.page-hero .hero-copy h1 { animation-delay: 0.14s; }
.page-hero .hero-copy p { animation-delay: 0.24s; }

.contact-section { padding: 120px 20px 80px; max-width: 1100px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; align-items: start; max-width: 1100px; margin: 0 auto; }
.contact-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 24px; padding: 35px; box-shadow: 0 20px 60px rgba(0,0,0,0.2); min-width: 0; opacity: 0; animation: fadeUp 0.6s ease-out both; }
.contact-card:nth-child(1) { animation-delay: 0.15s; }
.contact-card:nth-child(2) { animation-delay: 0.30s; }
.contact-card h2 { margin-bottom: 24px; font-size: 30px; font-weight: 700; color: #fff; }
.contact-form { display: grid; gap: 22px; max-width: 600px; width: 100%; margin: 0 auto; }
.contact-form .form-group { display: grid; gap: 8px; }
.contact-form label { color: #ddd; font-size: 0.95rem; font-weight: 600; }
.contact-form input,
.contact-form textarea { width: 100%; padding: 16px 18px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.05); color: #fff; font-size: 0.98rem; transition: 0.3s; }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--primary); background: rgba(255,107,53,0.08); box-shadow: 0 0 0 4px rgba(255,107,53,0.08); }
.contact-form textarea { min-height: 180px; resize: vertical; }
.contact-form .btn-primary { width: 100%; justify-content: center; }
.contact-info p { color: #eee; line-height: 1.75; margin-bottom: 16px; }
.contact-info a { color: #fff; text-decoration: none; transition: color 0.25s ease; }
.contact-info a:hover { color: var(--primary); text-decoration: none; }
.contact-info i { width: 22px; display: inline-block; text-align: center; color: var(--primary); margin-right: 10px; }
.contact-info .whatsapp-btn { margin-top: 20px; }

@media (max-width: 980px) {
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .contact-section { padding: 90px 16px 60px; }
    .contact-card { padding: 26px; }
    .contact-form input, .contact-form textarea { padding: 14px 16px; }
}

/* Categories */
.categories { padding: 100px 30px; max-width: 1400px; margin: 0 auto; }
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
    .category-card,
    .category-card:link,
    .category-card:visited,
    .category-card:hover,
    .category-card:active {
        display: block;
        color: #fff;
        text-decoration: none;
    }
        .category-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 30px 20px; text-align: center; cursor: pointer; transition: transform 0.35s ease-in-out, box-shadow 0.35s ease-in-out; }
        .category-card:hover { transform: translateY(-8px); background: rgba(255,107,53,0.1); border-color: var(--primary); box-shadow: 0 12px 24px rgba(255,107,53,0.12); }
    .category-card:hover .cat-img { transform: scale(1.1); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; }
.view-all { font-size: 40px; color: var(--primary); }
.category-card h3 { font-size: 18px; margin-bottom: 5px; }
.category-card p { color: #888; font-size: 13px; }

/* Featured Banner */
.featured-banner { margin: 80px auto; max-width: 1400px; background: var(--gradient); border-radius: 30px; overflow: hidden; }
.banner-content { display: grid; grid-template-columns: 1fr 1fr; padding: 60px; align-items: center; gap: 40px; }
.banner-text span { color: #ffd700; font-weight: 600; letter-spacing: 2px; }
.banner-text h2 { font-size: 42px; margin: 15px 0 30px; line-height: 1.2; }
.banner-img img { width: 100%; max-width: 400px; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3)); animation: float3d 5s ease-in-out infinite; }

/* Products */
.products { padding: 100px 30px; max-width: 1400px; margin: 0 auto; }
.filter-buttons { display: flex; justify-content: center; gap: 12px; margin-bottom: 50px; flex-wrap: wrap; }
.filter-btn { padding: 10px 25px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #fff; border-radius: 50px; cursor: pointer; transition: 0.3s; font-size: 14px; }
.filter-btn:hover, .filter-btn.active { background: var(--gradient2); border-color: var(--primary); }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.category-empty-message { display: none; min-height: 320px; align-items: center; justify-content: center; flex-direction: column; gap: 18px; text-align: center; padding: 60px 30px; color: #fff; animation: fadeInUp 0.35s ease both; }
.category-empty-message i { font-size: 52px; color: var(--primary); }
.category-empty-message h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin: 0; font-weight: 800; letter-spacing: -0.04em; }
.category-empty-message p { max-width: 670px; margin: 0 auto; color: #c6c6c6; line-height: 1.8; font-size: 1rem; }
.category-empty-message.active { display: flex; }
.product-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; overflow: hidden; transition: 0.4s; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(255,107,53,0.2); border-color: var(--primary); }
.product-img { height: 250px; overflow: hidden; position: relative; background: #1a1f3a; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.product-card:hover .product-img img { transform: scale(1.1); }
.product-tag { position: absolute; top: 15px; left: 15px; background: var(--primary); color: #fff; padding: 5px 15px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.product-info { padding: 20px; }
.product-info h3 { font-size: 16px; margin-bottom: 8px; }
.product-cat { color: #888; font-size: 12px; margin-bottom: 10px; text-transform: uppercase; }
.product-rating { color: #ffd700; margin-bottom: 10px; font-size: 14px; }
.product-price { display: flex; justify-content: space-between; align-items: center; }
.price { font-size: 20px; font-weight: 700; color: var(--primary); }
.add-cart { background: var(--gradient2); color: #fff; border: none; padding: 10px 15px; border-radius: 10px; cursor: pointer; transition: 0.3s; }
.add-cart:hover { transform: scale(1.1); }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 60px 30px; max-width: 1400px; margin: 0 auto; }
.feature-box { display: block; text-align: center; padding: 30px 20px; background: rgba(255,255,255,0.03); border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.feature-box.support-link { cursor: pointer; }
.feature-box.support-link:hover { transform: translateY(-8px); border-color: rgba(255,107,53,0.5); box-shadow: 0 18px 40px rgba(255,107,53,0.14); text-decoration: none; }
.feature-box.benefit-card { cursor: pointer; }
.feature-box.benefit-card:hover { transform: translateY(-8px); border-color: rgba(255,107,53,0.5); box-shadow: 0 18px 40px rgba(255,107,53,0.14); }
.feature-box.benefit-card:hover i { transform: scale(1.08); color: #ff8c54; }
.feature-box i { display: inline-block; font-size: 40px; color: var(--primary); margin-bottom: 15px; transition: transform 0.3s ease, color 0.3s ease; }
.feature-box.support-link:hover i { transform: scale(1.08); color: #ff8c54; }
.feature-box h3 { margin-bottom: 8px; }
.feature-box p { color: #888; font-size: 14px; }

/* Footer */
.footer { background: #060920; padding: 60px 30px 20px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-content { max-width: 1400px; margin: 0 auto 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-col h3 { margin-bottom: 20px; color: var(--primary); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #aaa; text-decoration: none; transition: 0.3s; }
.footer-col a:hover { color: var(--primary); }
.footer-col p { color: #aaa; margin-bottom: 10px; }
.social-icons { display: flex; gap: 15px; margin-top: 20px; }
.social-icons a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; color: #fff; transition: 0.3s; }
.social-icons a:hover { background: var(--primary); transform: translateY(-5px); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); color: #666; }

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Search Modal */
.search-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 2100; display: none; backdrop-filter: blur(5px); align-items: center; justify-content: center; padding: 20px; }
.search-overlay.active { display: flex; }
.search-modal { background: var(--dark); border-radius: 16px; width: 100%; max-width: 600px; max-height: 80vh; overflow-y: auto; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.search-header { padding: 25px; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; }
.search-header h2 { font-size: 22px; margin: 0; }
.search-close-btn { background: rgba(255,255,255,0.1); border: none; color: #fff; width: 35px; height: 35px; border-radius: 50%; cursor: pointer; transition: 0.3s; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.search-close-btn:hover { background: var(--primary); transform: rotate(90deg); }
.search-input-wrapper { position: relative; padding: 25px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.search-icon { position: absolute; left: 35px; top: 50%; transform: translateY(-50%); color: var(--primary); font-size: 18px; }
.search-input { width: 100%; padding: 12px 12px 12px 45px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; color: #fff; font-size: 16px; font-family: inherit; transition: 0.3s; outline: none; }
.search-input:focus { border-color: var(--primary); background: rgba(255,107,53,0.08); box-shadow: 0 0 10px rgba(255,107,53,0.2); }
.search-input::placeholder { color: rgba(255,255,255,0.4); }
.search-results { padding: 20px; overflow-y: auto; max-height: calc(80vh - 180px); }
.search-result-item { display: flex; gap: 15px; padding: 15px; background: rgba(255,255,255,0.03); border-radius: 10px; margin-bottom: 12px; cursor: pointer; transition: 0.3s; border: 1px solid rgba(255,255,255,0.05); }
.search-result-item:hover { background: rgba(255,107,53,0.1); border-color: var(--primary); transform: translateX(5px); }
.search-result-img { width: 80px; height: 80px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: rgba(255,255,255,0.05); }
.search-result-img img { width: 100%; height: 100%; object-fit: cover; }
.search-result-info { flex: 1; }
.search-result-name { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.search-result-category { font-size: 12px; color: var(--primary); text-transform: uppercase; margin-bottom: 6px; }
.search-result-price { font-size: 18px; font-weight: 700; color: var(--primary); }
.search-no-results { text-align: center; padding: 40px 20px; color: #888; }
.search-no-results i { font-size: 48px; color: rgba(255,107,53,0.2); margin-bottom: 15px; display: block; }

/* No Search Results Message on Products Grid */
.no-search-results { 
    display: none; 
    grid-column: 1 / -1; 
    align-items: center; 
    justify-content: center; 
    padding: 60px 20px; 
    text-align: center;
}

.no-results-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.no-results-content i {
    font-size: 64px;
    color: rgba(255,107,53,0.2);
}

.no-results-content h3 {
    font-size: 24px;
    color: #fff;
    margin: 0;
}

.no-results-content p {
    color: #888;
    margin: 0;
}

/* Cart Sidebar */
.cart-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 2000; display: none; backdrop-filter: blur(5px); }
.cart-overlay.active { display: block; }
.cart-sidebar { position: fixed; top: 0; right: -500px; width: 450px; max-width: 100%; height: 100%; background: #0f1430; z-index: 2001; transition: 0.4s; display: flex; flex-direction: column; box-shadow: -10px 0 50px rgba(0,0,0,0.5); }
.cart-sidebar.active { right: 0; }
.cart-header { padding: 25px; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; }
.cart-header h2 { font-size: 22px; }
.close-btn { background: rgba(255,255,255,0.1); border: none; color: #fff; width: 35px; height: 35px; border-radius: 50%; cursor: pointer; transition: 0.3s; }
.close-btn:hover { background: var(--primary); transform: rotate(90deg); }
.cart-items { flex: 1; overflow-y: auto; padding: 20px; }
.cart-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 15px; padding: 15px; background: rgba(255,255,255,0.03); border-radius: 12px; margin-bottom: 12px; align-items: center; }
.cart-item img { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; }
.cart-item-info h4 { font-size: 14px; margin-bottom: 5px; }
.cart-item-info .price { font-size: 16px; }
.qty-controls { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-controls button { width: 25px; height: 25px; border-radius: 50%; border: none; background: var(--primary); color: #fff; cursor: pointer; }
.qty-controls span { min-width: 25px; text-align: center; }
.remove-btn { background: rgba(255,0,0,0.1); color: #ff4444; border: none; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; transition: 0.3s; }
.remove-btn:hover { background: #ff4444; color: #fff; }
.empty-cart { text-align: center; padding: 50px 20px; color: #888; }
.empty-cart i { font-size: 60px; margin-bottom: 20px; opacity: 0.3; }
.cart-footer { padding: 25px; border-top: 1px solid rgba(255,255,255,0.1); }
.cart-summary { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 15px; margin-bottom: 20px; }
.cart-summary h3 { margin: 0 0 12px; font-size: 16px; color: #fff; letter-spacing: 0.5px; }
.cart-summary-items { display: grid; gap: 10px; max-height: 180px; overflow-y: auto; margin-bottom: 14px; }
.cart-summary-item { display: flex; justify-content: space-between; align-items: center; color: #d1d5db; font-size: 14px; }
.cart-summary-item span:first-child { flex: 1 1 auto; margin-right: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-summary-item span:last-child { flex: 0 0 auto; color: #fff; }
.cart-summary-totals { display: grid; gap: 8px; }
.cart-summary-totals div { display: flex; justify-content: space-between; color: #ccc; font-size: 14px; }
.cart-summary-total { font-weight: 700; color: #ff6b35; }
.cart-totals { display: grid; gap: 10px; margin-bottom: 20px; }
.cart-line { display: flex; justify-content: space-between; font-size: 16px; color: #fff; }
.cart-line.total { font-size: 20px; font-weight: 700; }
.total-price, #cartSubtotal { color: var(--primary); }
.checkout-btn { width: 100%; justify-content: center; }

/* Modal */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 3000; display: none; align-items: center; justify-content: center; backdrop-filter: blur(10px); padding: 20px; opacity: 0; }
.modal-overlay.active { display: flex; opacity: 1; animation: fadeInOverlay 0.25s ease forwards; }
.modal { background: #0f1430; border-radius: 20px; width: 100%; max-width: 600px; max-height: 90vh; overflow-y: auto; border: 1px solid rgba(255,255,255,0.1); transform: translateY(24px); opacity: 0; transition: transform 0.25s ease, opacity 0.25s ease; }
.modal-overlay.active .modal { transform: translateY(0); opacity: 1; }
.modal-header { padding: 25px; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; }
.modal-body { padding: 25px; }
.checkout-steps { display: flex; justify-content: space-between; margin-bottom: 30px; position: relative; }
.checkout-steps::before { content: ''; position: absolute; top: 20px; left: 10%; right: 10%; height: 2px; background: rgba(255,255,255,0.1); z-index: 0; }
.step { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; color: #888; position: relative; z-index: 1; }
.step span { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.step.active { color: #fff; }
.step.active span { background: var(--gradient2); }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 14px; color: #ccc; }
.form-group input, .form-group textarea { width: 100%; padding: 12px 15px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; color: #fff; font-family: inherit; font-size: 14px; transition: 0.3s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); background: rgba(255,107,53,0.05); }
.form-group textarea { min-height: 80px; resize: vertical; }
.full-btn { width: 100%; justify-content: center; margin-top: 10px; }
.payment-methods { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.payment-option { cursor: pointer; }
.payment-option input { display: none; }
.payment-card { display: flex; align-items: center; gap: 15px; padding: 15px; background: rgba(255,255,255,0.03); border: 2px solid rgba(255,255,255,0.1); border-radius: 12px; transition: 0.3s; }
.payment-option input:checked + .payment-card { border-color: var(--primary); background: rgba(255,107,53,0.1); }
.payment-card i { font-size: 28px; color: var(--primary); width: 40px; }
.payment-card h4 { font-size: 15px; margin-bottom: 3px; }
.payment-card p { color: #888; font-size: 12px; }
.order-summary { background: rgba(255,255,255,0.03); padding: 20px; border-radius: 12px; margin: 20px 0; }
.order-summary h4 { margin-bottom: 15px; color: var(--primary); }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; color: #ccc; }
.summary-row.total { font-size: 18px; font-weight: 700; color: #fff; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.1); }
.modal-body h3 { margin-bottom: 20px; color: #fff; font-size: 22px; }
.checkout-notice { margin-top: 20px; color: #ccc; font-size: 14px; line-height: 1.6; }
.order-confirmation-banner { position: fixed; top: 80px; left: 50%; transform: translateX(-50%); z-index: 5000; background: linear-gradient(135deg, rgba(15,20,48,0.96), rgba(255,107,53,0.15)); color: #fff; border: 1px solid rgba(255,107,53,0.35); padding: 16px 26px; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.35); opacity: 0; pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease; max-width: 92%; }
.order-confirmation-banner.active { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (max-width: 768px) {
    .order-confirmation-banner { top: 20px; width: calc(100% - 32px); }
}
.success-message { text-align: center; padding: 30px 20px; }
.success-icon { font-size: 80px; color: #4ade80; margin-bottom: 20px; animation: bounce 1s; }
@keyframes bounce { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }
.success-message h2 { margin-bottom: 15px; }
.success-message p { color: #ccc; margin-bottom: 10px; }
.success-message button { margin-top: 20px; }

/* Responsive */
@media (max-width: 1024px) {
    .categories-grid, .products-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-text h1 { font-size: 42px; }
    .nav-container { gap: 20px; padding: 0 20px; }
    .nav-menu.desktop-nav ul { gap: 20px; }
}

/* ===== MOBILE BREAKPOINT: 768px and below ===== */
@media (max-width: 768px) {
    /* Show hamburger button and hide desktop navigation on mobile */
    .nav-toggle.mobile-nav-toggle { 
        display: inline-flex; 
    }
    
    /* Hide desktop navigation menu on mobile */
    .nav-menu.desktop-nav { 
        display: none; 
    }
    
    /* Show mobile navigation menu when active */
    .nav-menu.mobile-nav-menu { 
        display: none; 
    }
    
    .nav-menu.mobile-nav-menu.active { 
        display: flex; 
    }
    
    /* Adjust nav container for mobile */
    .nav-container { 
        gap: 15px;
        padding: 0 15px;
    }
    
    /* Mobile menu styling */
    .nav-menu.mobile-nav-menu ul { 
        flex-direction: column; 
        align-items: center; 
        gap: 22px; 
    }
    
    .nav-menu.mobile-nav-menu a { 
        font-size: 1rem; 
    }
    
    /* Reduce nav icons gap on mobile */
    .nav-icons { 
        gap: 15px; 
    }
    
    /* Hero and content adjustments */
    .hero-content { 
        grid-template-columns: 1fr; 
        text-align: center; 
    }
    
    .hero-text h1 { 
        font-size: 32px; 
    }
    
    
    .banner-content { 
        grid-template-columns: 1fr; 
        padding: 30px; 
    }
    
    .footer-content { 
        grid-template-columns: 1fr 1fr;
        text-align: center;
    }
    
    .section-header h2 { 
        font-size: 32px; 
    }
    
    .slider-btn { 
        width: 40px; 
        height: 40px; 
    }
    
    .cart-sidebar { 
        width: 100%; 
    }

    .mobile-nav-menu .nav-item.dropdown .dropdown-menu {
        max-height: 50vh;
        overflow-y: auto;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.24);
    z-index: 9999;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 18px 36px rgba(37, 211, 102, 0.32);
}
.whatsapp-float::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    animation: whatsappPulse 2.5s ease-in-out infinite;
    opacity: 0.5;
}
.whatsapp-float i {
    position: relative;
    font-size: 24px;
    z-index: 1;
}
.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    bottom: 50%;
    transform: translateY(50%) scale(0.95);
    background: rgba(0,0,0,0.88);
    color: #fff;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 2;
}
.whatsapp-float:hover .whatsapp-tooltip,
.whatsapp-float:focus .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(50%) scale(1);
}
@keyframes whatsappPulse {
    0%, 100% { transform: scale(1); opacity: 0.45; }
    50% { transform: scale(1.15); opacity: 0.15; }
}

/* ===== SMALL MOBILE: 480px and below ===== */
@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 18px;
        right: 18px;
    }
    .whatsapp-float i {
        font-size: 20px;
    }
    .whatsapp-tooltip {
        right: 70px;
        font-size: 12px;
    }

    .nav-menu.mobile-nav-menu { 
        padding-top: 80px; 
    }
    
    .nav-menu.mobile-nav-menu ul { 
        padding: 0 20px; 
    }
    
    .nav-menu.mobile-nav-menu a { 
        width: 100%; 
        text-align: center; 
    }
    
    .hero-text h1 { 
        font-size: 30px; 
    }
    
    .hero-text p { 
        font-size: 14px; 
    }
    
    .section-header h2 { 
        font-size: 28px; 
    }
    
    .hero-buttons { 
        flex-direction: column; 
        width: 100%;
    }
    
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
    
    .banner-content { 
        padding: 20px; 
    }
    
    .product-img { 
        height: 220px; 
    }
    
    .cart-sidebar { 
        width: 100%; 
    }

    /* Force single column for all grids on mobile */
    .categories-grid, .products-grid, .related-grid, .features, .footer-content { 
        grid-template-columns: 1fr !important; 
    }
    .footer-col { display: flex; flex-direction: column; align-items: center; }
}

/* ===== ANIMATED LOGO ===== */
.animated-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    position: relative;
}

/* Logo Icon Container */
.logo-icon {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 200px;
}

.logo-icon i {
    font-size: 28px;
    color: var(--primary);
    position: relative;
    z-index: 5;
    animation: logoFloat 3s ease-in-out infinite, logoGlow 2s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.8));
}

/* Wave Rings */
.wave-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: waveExpand 2s ease-out infinite;
    opacity: 0;
}

.wave-ring:nth-child(2) {
    animation-delay: 0.6s;
    border-color: #f7931e;
}

.wave-ring:nth-child(3) {
    animation-delay: 1.2s;
    border-color: #ffd700;
}

@keyframes waveExpand {
    0% {
        width: 20px;
        height: 20px;
        opacity: 1;
    }
    100% {
        width: 70px;
        height: 70px;
        opacity: 0;
    }
}

/* Particles */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

.p1 {
    top: 0;
    left: 50%;
    animation: particleFloat1 3s ease-in-out infinite;
}

.p2 {
    bottom: 0;
    left: 20%;
    background: #f7931e;
    box-shadow: 0 0 10px #f7931e;
    animation: particleFloat2 3s ease-in-out infinite 0.5s;
}

.p3 {
    top: 20%;
    right: 0;
    background: #ffd700;
    box-shadow: 0 0 10px #ffd700;
    animation: particleFloat3 3s ease-in-out infinite 1s;
}

.p4 {
    bottom: 20%;
    right: 10%;
    background: #ff6b35;
    box-shadow: 0 0 10px #ff6b35;
    animation: particleFloat4 3s ease-in-out infinite 1.5s;
}

@keyframes particleFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
    50% { transform: translate(-15px, -15px) scale(0.5); opacity: 0; }
}

@keyframes particleFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
    50% { transform: translate(-20px, 15px) scale(0.5); opacity: 0; }
}

@keyframes particleFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
    50% { transform: translate(20px, -10px) scale(0.5); opacity: 0; }
}

@keyframes particleFloat4 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
    50% { transform: translate(15px, 20px) scale(0.5); opacity: 0; }
}

/* Logo Float */
@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

/* Logo Glow */
@keyframes logoGlow {
    0% { filter: drop-shadow(0 0 5px rgba(255, 107, 53, 0.5)); }
    100% { filter: drop-shadow(0 0 20px rgba(255, 107, 53, 1)) drop-shadow(0 0 30px rgba(247, 147, 30, 0.8)); }
}

/* Logo Text Animation */
.logo-text {
    font-size: 26px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
}

.logo-text .letter {
    display: inline-block;
    color: #fff;
    animation: letterDrop 0.6s ease-out both, letterFloat 3s ease-in-out infinite;
    opacity: 0;
}

.logo-text .letter:nth-child(1) { animation-delay: 0.1s, 2s; }
.logo-text .letter:nth-child(2) { animation-delay: 0.2s, 2.1s; }
.logo-text .letter:nth-child(3) { animation-delay: 0.3s, 2.2s; }
.logo-text .letter:nth-child(4) { animation-delay: 0.4s, 2.3s; }
.logo-text .letter:nth-child(5) { animation-delay: 0.5s, 2.4s; }
.logo-text .letter:nth-child(6) { animation-delay: 0.6s, 2.5s; }

.wave-text {
    display: inline-flex;
    margin-left: 4px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffd700 100%);
    background-size: 200% 200%;

/* Scrollable dropdown styles */
.nav-item .dropdown-menu.scrollable-dropdown {
    max-height: 400px;
    overflow-y: auto;
    background: var(--dark);
    color: #fff;
    padding: 6px 0;
    min-width: 240px;
    border-radius: 12px;
}

.nav-item.dropdown .dropdown-menu.scrollable-dropdown li { list-style: none; }

.nav-item.dropdown .dropdown-menu.scrollable-dropdown a {
    display: block;
    padding: 10px 16px;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s ease, color 0.2s ease, transform 0.12s ease;
    margin: 4px 8px;
    border-radius: 8px;
}

.nav-item.dropdown .dropdown-menu.scrollable-dropdown a:hover,
.nav-item.dropdown .dropdown-menu.scrollable-dropdown a:focus {
    background: rgba(255,107,53,0.12);
    color: var(--primary);
    transform: translateX(2px);
}

/* Custom scrollbar */
.dropdown-menu.scrollable-dropdown::-webkit-scrollbar { width: 8px; }
.dropdown-menu.scrollable-dropdown::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); border-radius: 8px; }
.dropdown-menu.scrollable-dropdown::-webkit-scrollbar-thumb { background: rgba(255,107,53,0.18); border-radius: 8px; }
.dropdown-menu.scrollable-dropdown::-webkit-scrollbar-thumb:hover { background: rgba(255,107,53,0.28); }
.dropdown-menu.scrollable-dropdown { scrollbar-width: thin; scrollbar-color: rgba(255,107,53,0.18) rgba(255,255,255,0.03); }

@media (max-width: 768px) {
    .mobile-nav-menu .nav-item.dropdown .dropdown-menu.scrollable-dropdown { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; padding: 0; margin: 0; }
    .mobile-nav-menu .nav-item.dropdown.dropdown-open .dropdown-menu.scrollable-dropdown { max-height: 400px; overflow-y: auto; padding: 8px 0; }
    .mobile-nav-menu .nav-item.dropdown .dropdown-menu.scrollable-dropdown a { margin: 6px 20px; border-radius: 12px; }
}
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

.wave-text .letter {
    color: transparent;
    background: inherit;
    -webkit-background-clip: text;
    background-clip: text;
    background-clip: text;
}

.wave-text .letter:nth-child(1) { animation-delay: 0.7s, 2.6s; }
.wave-text .letter:nth-child(2) { animation-delay: 0.8s, 2.7s; }
.wave-text .letter:nth-child(3) { animation-delay: 0.9s, 2.8s; }
.wave-text .letter:nth-child(4) { animation-delay: 1s, 2.9s; }

@keyframes letterDrop {
    0% {
        opacity: 0;
        transform: translateY(-30px) rotate(180deg) scale(0);
    }
    60% {
        transform: translateY(10px) rotate(0deg) scale(1.2);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(0deg) scale(1);
    }
}

@keyframes letterFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Hover Effects */
.animated-logo:hover .logo-icon i {
    animation: logoSpin 0.8s ease-in-out;
}

@keyframes logoSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.3); }
    100% { transform: rotate(360deg) scale(1); }
}

.animated-logo:hover .logo-text .letter {
    animation: letterBounce 0.5s ease;
}

.animated-logo:hover .logo-text .letter:nth-child(1) { animation-delay: 0s; }
.animated-logo:hover .logo-text .letter:nth-child(2) { animation-delay: 0.05s; }
.animated-logo:hover .logo-text .letter:nth-child(3) { animation-delay: 0.1s; }
.animated-logo:hover .logo-text .letter:nth-child(4) { animation-delay: 0.15s; }
.animated-logo:hover .logo-text .letter:nth-child(5) { animation-delay: 0.2s; }
.animated-logo:hover .logo-text .letter:nth-child(6) { animation-delay: 0.25s; }

@keyframes letterBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px) scale(1.2); }
}

.animated-logo:hover .wave-ring {
    animation-duration: 1s;
}

/* Shine Effect */
.logo-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shine {
    0% { left: -100%; }
    50%, 100% { left: 200%; }
}

/* 3D Effect on Logo */
.logo-icon {
    transform-style: preserve-3d;
    animation: logo3D 6s linear infinite;
}

@keyframes logo3D {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

/* Chatbot Widget */
.chat-widget-button {
    position: fixed;
    bottom: 100px;
    right: 22px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1105;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.chat-widget-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 45px rgba(0,0,0,0.45);
}
.chat-widget-panel {
    position: fixed;
    bottom: 110px;
    right: 20px;
    width: min(380px, calc(100% - 32px));
    max-height: 560px;
    background: #04132a;
    border: 1px solid rgba(255,107,53,0.18);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(0.96);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1105;
}
.chat-widget-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.chat-widget-panel .chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    gap: 12px;
    background: linear-gradient(180deg, #06172f 0%, #081f43 100%);
}
.chat-widget-panel .chat-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}
.chat-widget-panel .chat-subtitle {
    font-size: 12px;
    color: #c3d2ff;
    margin-top: 4px;
}
.chat-widget-panel .chat-close-button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.08);
    color: #fff;
    cursor: pointer;
    transition: 0.2s ease;
}
.chat-widget-panel .chat-close-button:hover {
    background: rgba(255,107,53,0.22);
}
.chat-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 330px;
    overflow-y: auto;
    background: #071826;
}
.chat-body .message {
    max-width: 100%;
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
}
.chat-body .message.bot,
.chat-body .message.user {
    padding: 12px 14px;
    border-radius: 18px;
    line-height: 1.5;
    box-shadow: 0 10px 30px rgba(0,0,0,0.13);
}
.chat-body .message.bot {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: #edf2ff;
    align-self: flex-start;
}
.chat-body .message.user {
    background: rgba(255,107,53,0.16);
    border: 1px solid rgba(255,107,53,0.3);
    color: #fff;
    align-self: flex-end;
}
.chat-body .message.bot strong {
    color: #ffb473;
}
.chat-body .button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.quick-reply-btn {
    background: rgba(255,107,53,0.12);
    border: 1px solid rgba(255,107,53,0.28);
    color: #fff;
    padding: 9px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
    transition: 0.2s ease;
}
.quick-reply-btn:hover {
    background: rgba(255,107,53,0.22);
}
.chat-input-area {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 14px 16px 18px;
    background: #061425;
}
.chat-form {
    display: flex;
    gap: 10px;
}
.chat-form input {
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    color: #fff;
    outline: none;
}
.chat-form input::placeholder {
    color: #9bb3d7;
}
.chat-form button {
    width: 48px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.chat-whatsapp-link {
    display: block;
    margin: 12px 16px 16px;
    padding: 12px 16px;
    text-align: center;
    border-radius: 999px;
    background: rgba(255,107,53,0.12);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid rgba(255,107,53,0.28);
    transition: 0.2s ease;
}
.chat-whatsapp-link:hover {
    background: rgba(255,107,53,0.24);
}
.chat-widget-panel .chat-body::-webkit-scrollbar {
    width: 8px;
}
.chat-widget-panel .chat-body::-webkit-scrollbar-thumb {
    background: rgba(255,107,53,0.35);
    border-radius: 999px;
}
.chat-widget-panel .chat-body::-webkit-scrollbar-track {
    background: transparent;
}
@media (max-width: 620px) {
    .chat-widget-button {
        right: 16px;
        bottom: 170px;
    }
    .chat-widget-panel {
        right: 16px;
        bottom: 180px;
        width: calc(100% - 32px);
        max-height: 520px;
    }
}
/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
    background: linear-gradient(90deg, #ff6b35, #f7931e, #ffd700, #f7931e, #ff6b35);
    background-size: 300% 100%;
    animation: gradientMove 5s linear infinite;
    color: #fff;
    padding: 10px 0;
    position: relative;
    overflow: hidden;
    z-index: 1001;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

.announcement-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px 0 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.announcement-content > i {
    font-size: 18px;
    animation: bellShake 2s ease-in-out infinite;
}

@keyframes bellShake {
    0%, 100% { transform: rotate(0); }
    10%, 30% { transform: rotate(-15deg); }
    20%, 40% { transform: rotate(15deg); }
}

.scroll-text {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    animation: scrollText 25s linear infinite;
    font-weight: 600;
    font-size: 14px;
}

@keyframes scrollText {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.close-announcement {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    border: none;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 10px;
    transition: 0.3s;
}

.close-announcement:hover {
    background: #000;
    transform: translateY(-50%) rotate(90deg);
}

.announcement-bar.hidden {
    display: none;
}

/* Adjust header position when announcement is visible */
body.announcement-active .header {
    top: 42px;
}

/* ===== WELCOME POPUP ===== */
.welcome-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.5s ease;
}

.welcome-popup-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.welcome-popup {
    background: linear-gradient(135deg, #0f1430 0%, #1a1f3a 100%);
    border-radius: 25px;
    max-width: 800px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,107,53,0.3);
    box-shadow: 0 30px 80px rgba(255,107,53,0.4);
    animation: popupSlide 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes popupSlide {
    from {
        opacity: 0;
        transform: scale(0.5) translateY(-100px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
    z-index: 10;
}

.popup-close:hover {
    background: #ff4444;
    transform: rotate(90deg);
}

.popup-left {
    padding: 40px 35px;
}

.popup-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.popup-left h2 {
    font-size: 36px;
    margin-bottom: 5px;
    color: #fff;
}

.discount-text {
    background: linear-gradient(135deg, #ff6b35, #f7931e, #ffd700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 48px;
    display: inline-block;
    animation: zoom 2s ease-in-out infinite;
}

@keyframes zoom {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.popup-subtitle {
    font-size: 20px;
    color: #ff6b35;
    margin-bottom: 15px;
    font-weight: 600;
}

.popup-desc {
    color: #aaa;
    margin-bottom: 25px;
    font-size: 14px;
}

.popup-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.popup-form input {
    flex: 1;
    padding: 14px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
}

.popup-form input:focus {
    outline: none;
    border-color: #ff6b35;
    background: rgba(255,107,53,0.05);
}

.popup-form button {
    padding: 14px 25px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(255,107,53,0.4);
}

.popup-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,107,53,0.6);
}

.popup-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.popup-features span {
    color: #aaa;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.popup-features i {
    color: #4ade80;
    font-size: 12px;
}

.popup-skip {
    color: #666;
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
    transition: 0.3s;
}

.popup-skip:hover {
    color: #ff6b35;
}

.popup-right {
    background: linear-gradient(135deg, rgba(255,107,53,0.2), rgba(247,147,30,0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.popup-right::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,107,53,0.3), transparent 70%);
    animation: rotateBg 10s linear infinite;
}

@keyframes rotateBg {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.popup-image {
    position: relative;
    z-index: 1;
}

.popup-image img {
    width: 100%;
    max-width: 300px;
    filter: drop-shadow(0 20px 40px rgba(255,107,53,0.5));
    animation: floatImg 3s ease-in-out infinite;
}

@keyframes floatImg {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

.discount-circle {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(255,107,53,0.6);
    animation: bounce 2s ease-in-out infinite;
}

.discount-circle span {
    font-size: 24px;
    line-height: 1;
}

.discount-circle small {
    font-size: 10px;
    margin-top: 2px;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(-10deg); }
    50% { transform: translateY(-10px) rotate(10deg); }
}

/* ===== FLASH SALE TIMER ===== */
.flash-sale {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, #0f1430 0%, #1a1f3a 100%);
    border: 2px solid #ff6b35;
    border-radius: 15px;
    padding: 15px 20px;
    box-shadow: 0 10px 40px rgba(255,107,53,0.4);
    z-index: 998;
    animation: slideUpFlash 0.6s ease;
    max-width: 320px;
}

.flash-sale.hidden {
    display: none;
}

@keyframes slideUpFlash {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.flash-content {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.flash-icon {
    font-size: 30px;
    color: #ff6b35;
    animation: fireFlicker 0.5s ease-in-out infinite;
}

@keyframes fireFlicker {
    0%, 100% { transform: scale(1) rotate(-5deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.flash-text h4 {
    font-size: 13px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 600;
}

.countdown {
    display: flex;
    gap: 6px;
}

.time-box {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    padding: 6px 10px;
    border-radius: 8px;
    text-align: center;
    min-width: 45px;
}

.time-box span {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.time-box small {
    font-size: 9px;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
}

.flash-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff4444;
    border: none;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 10px;
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #0f1430 0%, #1a1f3a 100%);
    border: 1px solid rgba(255,107,53,0.3);
    border-radius: 15px;
    padding: 20px;
    max-width: 380px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    z-index: 997;
    animation: slideUpCookie 0.6s ease 1s both;
}

.cookie-consent.hidden {
    display: none;
}

@keyframes slideUpCookie {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-icon {
    font-size: 30px;
    color: #ff6b35;
    animation: wobble 2s ease-in-out infinite;
}

@keyframes wobble {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.cookie-text h4 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 5px;
}

.cookie-text p {
    font-size: 12px;
    color: #aaa;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-cookie-accept {
    flex: 1;
    padding: 10px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    font-size: 13px;
    transition: 0.3s;
}

.btn-cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,107,53,0.4);
}

.btn-cookie-decline {
    flex: 1;
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
    transition: 0.3s;
}

.btn-cookie-decline:hover {
    background: rgba(255,255,255,0.1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .welcome-popup {
        grid-template-columns: 1fr;
    }
    .popup-right {
        display: none;
    }
    .popup-left {
        padding: 30px 25px;
    }
    .popup-left h2 {
        font-size: 28px;
    }
    .discount-text {
        font-size: 40px;
    }
    .popup-form {
        flex-direction: column;
    }
    .flash-sale {
        left: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
    }
    .cookie-consent {
        left: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
    }
    .scroll-text {
        font-size: 12px;
    }
}
/* ============================================
   PRODUCT DETAILS PAGE STYLES
   ============================================ */

/* Product Card - Quick View Overlay */
.product-card { cursor: pointer; position: relative; }
.product-img { position: relative; }
.quick-view {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(255,107,53,0.95), rgba(247,147,30,0.95));
    color: #fff;
    padding: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    transform: translateY(100%);
    transition: 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.product-card:hover .quick-view { transform: translateY(0); }

/* Product Details Main Page */
.product-details-page {
    padding: 130px 30px 60px;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 80vh;
}

body.announcement-active .product-details-page { padding-top: 172px; }

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #888;
    font-size: 14px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.breadcrumb a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb i { font-size: 10px; color: #555; }
.breadcrumb .current { color: var(--primary); font-weight: 600; }

/* Product Detail Grid */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* Gallery */
.product-gallery { position: sticky; top: 100px; align-self: start; }
.main-image {
    background: linear-gradient(135deg, rgba(255,107,53,0.05), rgba(102,126,234,0.05));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    margin-bottom: 15px;
}
.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}
.main-image:hover img { transform: scale(1.05); }

.discount-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: #fff;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 30px;
    z-index: 5;
    font-size: 16px;
    box-shadow: 0 5px 20px rgba(255,68,68,0.5);
    animation: pulse 2s infinite;
}

.detail-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 5;
    font-size: 14px;
    padding: 6px 16px;
}

.thumbnail-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.thumb {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid rgba(255,255,255,0.1);
    transition: 0.3s;
    background: rgba(255,255,255,0.03);
}
.thumb:hover { border-color: var(--primary); transform: translateY(-3px); }
.thumb.active { border-color: var(--primary); box-shadow: 0 5px 15px rgba(255,107,53,0.4); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Product Info */
.product-info-detail h1 {
    font-size: 36px;
    margin: 8px 0 15px;
    line-height: 1.2;
    font-weight: 800;
}

.detail-brand {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
}

.detail-rating {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.detail-rating .stars {
    color: #ffd700;
    font-size: 18px;
    letter-spacing: 2px;
}
.rating-count { color: #888; font-size: 14px; }
.stock-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}
.stock-badge.in-stock { background: rgba(74,222,128,0.15); color: #4ade80; }
.stock-badge.low-stock { background: rgba(255,68,68,0.15); color: #ff4444; animation: pulse 2s infinite; }

/* Price */
.price-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.05);
    flex-wrap: wrap;
}
.current-price {
    font-size: 38px;
    font-weight: 800;
    background: var(--gradient2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.old-price {
    color: #888;
    text-decoration: line-through;
    font-size: 20px;
}
.discount-tag {
    background: rgba(74,222,128,0.15);
    color: #4ade80;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.quick-summary {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 22px;
    margin-bottom: 25px;
}
.quick-summary h3 {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 18px;
}
.quick-summary p {
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: 18px;
}
.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.summary-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 18px 16px;
}
.summary-item strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.5px;
}
.summary-item span {
    color: #c7d2fe;
    font-size: 14px;
    line-height: 1.6;
}

.faq-accordion {
    margin-bottom: 25px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
}
.faq-item {
    border-top: 1px solid rgba(255,255,255,0.08);
}
.faq-item:first-child {
    border-top: none;
}
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 18px 22px;
    background: transparent;
    border: none;
    color: #f8fafc;
    cursor: pointer;
    font-size: 15px;
    text-align: left;
}
.faq-question:hover {
    background: rgba(255,255,255,0.04);
}
.faq-question strong {
    font-weight: 700;
}
.toggle-icon {
    transition: transform 0.3s ease;
    color: var(--primary);
    font-size: 18px;
}
.faq-question.active .toggle-icon {
    transform: rotate(45deg);
}
.faq-answer {
    display: none;
    padding: 0 22px 18px;
    color: #cbd5e1;
    line-height: 1.75;
    font-size: 14px;
}
.faq-answer.active {
    display: block;
}

.product-description {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 15px;
}

/* Color Selector */
.color-selector { margin-bottom: 20px; }
.color-selector h4, .quantity-selector h4 {
    margin-bottom: 12px;
    font-size: 14px;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.colors { display: flex; gap: 12px; }
.color-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid rgba(255,255,255,0.1);
    transition: 0.3s;
    position: relative;
}
.color-dot:hover { transform: scale(1.15); }
.color-dot.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255,107,53,0.3);
}

/* Quantity */
.quantity-selector { margin-bottom: 25px; }
.qty-box {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
}
.qty-box button {
    width: 45px;
    height: 45px;
    background: rgba(255,107,53,0.1);
    border: none;
    color: var(--primary);
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 700;
}
.qty-box button:hover { background: var(--primary); color: #fff; }
.qty-box input {
    width: 60px;
    height: 45px;
    background: transparent;
    border: none;
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
}
.qty-box input::-webkit-outer-spin-button,
.qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.big-btn {
    padding: 16px 30px;
    font-size: 15px;
    flex: 1;
    min-width: 200px;
    justify-content: center;
}
.wishlist-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
}
.wishlist-btn:hover, .wishlist-btn.active {
    background: rgba(255,68,68,0.15);
    border-color: #ff4444;
    color: #ff4444;
    transform: scale(1.1);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.05);
}
.benefit {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.benefit i {
    font-size: 24px;
    color: var(--primary);
}
.benefit span {
    font-size: 12px;
    color: #ccc;
    line-height: 1.3;
}
.benefit small { color: #888; font-size: 11px; }

/* Tabs */
.product-tabs {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 60px;
}
.tab-buttons {
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    overflow-x: auto;
}
.tab-btn {
    padding: 20px 30px;
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s;
    border-bottom: 3px solid transparent;
    font-family: inherit;
    white-space: nowrap;
}
.tab-btn:hover { color: #fff; }
.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: rgba(255,107,53,0.05);
}
.tab-content { padding: 30px; }
.tab-pane { display: none; animation: fadeIn 0.4s ease; }
.tab-pane.active { display: block; }
.tab-pane h3 {
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 22px;
}
.tab-pane p {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 12px;
}
.tab-pane p i {
    color: var(--primary);
    margin-right: 8px;
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.feature-list li {
    padding: 12px 16px;
    background: rgba(255,107,53,0.05);
    border: 1px solid rgba(255,107,53,0.1);
    border-radius: 10px;
    color: #ddd;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}
.feature-list li:hover {
    background: rgba(255,107,53,0.1);
    border-color: var(--primary);
    transform: translateX(5px);
}
.feature-list li i {
    color: #4ade80;
    font-size: 16px;
}

.review {
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 3px solid var(--primary);
}
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.review-header strong { color: #fff; }
.review-header .stars { color: #ffd700; font-size: 14px; }
.review p { color: #aaa; font-style: italic; margin: 0; }

/* Related Section */
.related-section { margin-bottom: 60px; }
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Not Found */
.not-found {
    text-align: center;
    padding: 80px 20px;
}
.not-found i {
    font-size: 80px;
    color: var(--primary);
    margin-bottom: 20px;
    opacity: 0.6;
}
.not-found h2 { font-size: 32px; margin-bottom: 15px; }
.not-found p { color: #888; margin-bottom: 30px; }

/* Responsive */
@media (max-width: 1024px) {
    .product-detail-grid { grid-template-columns: 1fr; gap: 40px; }
    .product-gallery { position: static; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .product-details-page { padding: 100px 15px 40px; }
    body.announcement-active .product-details-page { padding-top: 142px; }
    .product-info-detail h1 { font-size: 24px; }
    .current-price { font-size: 30px; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-list { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .action-buttons { flex-direction: column; }
    .big-btn { width: 100%; }
    .wishlist-btn { width: 100%; height: 50px; border-radius: 12px; }
    .tab-btn { padding: 15px 18px; font-size: 13px; }
    .price-section { padding: 15px; }
    .summary-grid { grid-template-columns: 1fr; }
    .thumbnail-list { grid-template-columns: repeat(4, 1fr); gap: 8px; }
}

@media (max-width: 480px) {
    .related-grid { grid-template-columns: 1fr; }
    .breadcrumb { font-size: 12px; }
}

/* ============================================
   AUTO-SCROLLING CATEGORY MARQUEE
   ============================================ */
.category-marquee-section {
    padding: 60px 0; /* Vertical padding for the section */
    max-width: 100%;
    overflow: hidden; /* Hide content outside the container */
    background: #0f1430; /* Slightly different background for visual separation */
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.category-marquee-section .section-header {
    margin-bottom: 40px; /* Spacing below the heading */
}

.category-marquee-container {
    width: 100%;
    overflow: hidden; /* Ensures the marquee stays within bounds */
    position: relative;
    padding: 20px 0; /* Vertical padding for the marquee track */
}

.category-marquee {
    display: flex;
    width: fit-content; /* Allows content to define its width (will be 2x the actual content) */
    animation: marquee-scroll 60s linear infinite; /* Animation for continuous scroll */
}

.category-marquee:hover {
    animation-play-state: paused; /* Pause animation on hover */
}

.category-marquee-wrapper {
    display: flex;
    flex-shrink: 0; /* Prevents items from shrinking */
    align-items: center;
    gap: 20px; /* Space between individual category pills */
    /* Width will be determined by its content */
}

.category-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    background: rgba(255, 107, 53, 0.12); /* Soft transparent orange tint */
    border: 1px solid rgba(255, 107, 53, 0.3); /* Thin soft orange border */
    border-radius: 50px; /* Pill shape */
    color: #ff6b35; /* Light orange text for readability */
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    white-space: nowrap; /* Prevent text from wrapping */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    min-width: 150px; /* Ensure minimum width for readability */
}

.category-pill:hover,
.category-pill:focus {
    background: rgba(255, 107, 53, 0.25); /* Slightly brighter orange on hover */
    border-color: #ff6b35;
    color: #fff; /* Switch to white on hover for extra pop */
    transform: translateY(-3px) scale(1.02); /* Slight lift and scale on hover */
}

/* Keyframe animation for the continuous scrolling effect */
@keyframes marquee-scroll {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); } /* Scrolls the full width of one .category-marquee-wrapper */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .category-marquee-section {
        padding: 40px 0;
    }
    .category-marquee-section .section-header {
        margin-bottom: 30px;
    }
    .category-pill {
        padding: 10px 20px;
        font-size: 14px;
        min-width: 120px;
    }
    .category-marquee { animation-duration: 40s; } /* Adjust speed for less content */
}

@media (max-width: 480px) {
    .category-pill {
        padding: 8px 18px;
        font-size: 13px;
        min-width: 100px;
    }
    .category-marquee { animation-duration: 30s; } /* Further adjust speed for very small screens */
}

/* ============================================
   PAYMENT METHOD BANNER
   ============================================ */
.payment-banner-section {
    padding: 60px 0; /* Vertical padding for the section */
    background: var(--dark); /* Dark navy background */
    border-top: 1px solid rgba(255,255,255,0.05); /* Subtle top border */
    border-bottom: 1px solid rgba(255,255,255,0.05); /* Subtle bottom border */
    text-align: center; /* Center align content */
    opacity: 0; /* Start hidden for entrance animation */
    transform: translateY(20px); /* Start slightly below for entrance animation */
    animation: fadeInUp 0.8s ease-out forwards; /* Entrance animation */
    animation-delay: 0.2s; /* Delay animation slightly */
}

.payment-banner-container {
    max-width: 1200px; /* Max width for the content */
    margin: 0 auto; /* Center the container */
    padding: 30px 40px; /* Inner padding */
    background: rgba(255, 107, 53, 0.08); /* Light orange transparent background */
    border: 1px solid rgba(255, 107, 53, 0.2); /* Soft orange border */
    border-radius: 20px; /* Rounded corners */
    display: flex; /* Use flexbox for layout */
    align-items: center; /* Vertically align items */
    justify-content: center; /* Horizontally center content */
    gap: 40px; /* Space between text and icon */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); /* Soft shadow */
    transition: all 0.3s ease; /* Smooth transition for hover */
}

.payment-banner-container:hover {
    box-shadow: 0 15px 40px rgba(255,107,53,0.2); /* Slightly larger shadow on hover */
    transform: translateY(-5px); /* Slight lift on hover */
}

.payment-banner-content {
    flex-grow: 1; /* Allow content to take available space */
    text-align: left; /* Align text to the left */
}

.payment-banner-content h2 {
    font-size: 32px; /* Bold heading size */
    font-weight: 800; /* Extra bold */
    color: #fff; /* White text */
    margin-bottom: 10px; /* Space below heading */
    line-height: 1.2;
}

.payment-banner-content h3 {
    font-size: 20px; /* Subtitle size */
    font-weight: 600; /* Semi-bold */
    color: var(--primary); /* Orange subtitle */
    margin-bottom: 15px; /* Space below subtitle */
}

.payment-banner-content p {
    font-size: 15px; /* Paragraph text size */
    color: #ccc; /* Light gray text */
    line-height: 1.6;
    max-width: 500px; /* Limit paragraph width for readability */
}

.payment-banner-icon i {
    font-size: 80px; /* Large PayPal icon */
    color: var(--primary); /* Orange PayPal icon */
    transition: transform 0.3s ease, color 0.3s ease; /* Smooth transition for hover */
}

.payment-banner-container:hover .payment-banner-icon i {
    transform: scale(1.1); /* Slightly enlarge icon on hover */
    color: #fff; /* Change icon color to white on hover */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 992px) {
    .payment-banner-container {
        flex-direction: column; /* Stack content and icon vertically */
        text-align: center; /* Center align text */
        gap: 30px; /* Adjust gap */
        padding: 30px;
    }
    .payment-banner-content {
        text-align: center; /* Center align text on mobile */
    }
    .payment-banner-content h2 {
        font-size: 28px; /* Adjust heading size */
    }
    .payment-banner-content h3 {
        font-size: 18px; /* Adjust subtitle size */
    }
    .payment-banner-content p {
        font-size: 14px; /* Adjust paragraph size */
        max-width: none; /* Remove max-width constraint */
    }
    .payment-banner-icon i {
        font-size: 70px; /* Adjust icon size */
    }
}

@media (max-width: 576px) {
    .payment-banner-section {
        padding: 40px 0;
    }
    .payment-banner-container {
        padding: 20px;
        border-radius: 15px;
    }
    .payment-banner-content h2 {
        font-size: 24px;
    }
    .payment-banner-content h3 {
        font-size: 16px;
    }
    .payment-banner-icon i {
        font-size: 60px;
    }
}
