/* Base and Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: #0f172a; /* Deep modern space black/blue */
    color: #f8fafc;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Animated 3D Gradient */
.background-3d {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
    z-index: -1;
    transform: translateZ(0); /* Hardware acceleration */
}
.background-3d::before {
    content: '';
    position: absolute;
    width: 200vw;
    height: 200vh;
    background: conic-gradient(from 180deg at 50% 50%, #ff00ea20 0deg, #00d0ff20 90deg, #bb00ff20 180deg, #00ffaa20 270deg, #ff00ea20 360deg);
    top: -50%; left: -50%;
    animation: rotate 15s linear infinite;
    z-index: 0;
    filter: blur(25px); /* Reduced blur thickness to improve FPS */
    will-change: transform; 
}
@keyframes rotate {
    100% { transform: rotate(360deg); }
}

/* 3D Holographic Printed Grid Overlay */
.background-3d::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background-image: 
        linear-gradient(rgba(0, 208, 255, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 234, 0.15) 1px, transparent 1px),
        repeating-radial-gradient(circle at 100% 100%, transparent 0, transparent 40px, rgba(255, 255, 255, 0.05) 41px);
    background-size: 80px 80px, 80px 80px, 150px 150px; /* Bigger block size means less paths to paint */
    z-index: 1;
    pointer-events: none;
    transform: perspective(600px) rotateX(60deg) scale(1.5);
    transform-origin: center center;
    animation: gridFlow 15s linear infinite;
    will-change: background-position;
    backface-visibility: hidden;
    /* Removed heavy CSS masks which cause drop in framerate */
}
@keyframes gridFlow {
    0% { background-position: 0px 0px, 0px 0px, 0px 0px; }
    100% { background-position: 0px 120px, 0px 120px, 0px 0px; }
}

/* Cute Floating Animations (3D Foreground Bubbles) */
.cute-floating-container {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
    perspective: 1000px;
}

.floating-item {
    position: absolute;
    font-size: 3rem;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.4));
    animation: float3DUp linear infinite;
    transform-style: preserve-3d;
    backface-visibility: visible;
}

@keyframes float3DUp {
    0% { 
        transform: translateY(110vh) translateX(0) translateZ(-100px) rotateX(-30deg) rotateY(-30deg) rotateZ(-15deg); 
        opacity: 0; 
    }
    10% { opacity: 0.4; }
    90% { opacity: 0.4; }
    100% { 
        transform: translateY(-10vh) translateX(50px) translateZ(100px) rotateX(30deg) rotateY(30deg) rotateZ(15deg); 
        opacity: 0; 
    }
}

/* Glassmorphism Utilities */
.glass-panel, .glass-header {
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37), inset 0 0 20px rgba(0, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}
.glass-panel::after, .glass-header::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-20deg);
    animation: hologram-shine 6s infinite;
    pointer-events: none;
}
@keyframes hologram-shine {
    0% { left: -100%; }
    50% { left: 200%; }
    100% { left: 200%; }
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(to right, #38bdf8, #c084fc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.controls {
    display: flex;
    gap: 1.5rem;
}

/* Inputs & Buttons */
.futuristic-select {
    background: rgba(0,0,0,0.5);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    outline: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    transition: 0.3s ease;
}
.futuristic-select:hover {
    border-color: #38bdf8;
}
.dark-select option {
    background: #0f172a;
}

.glow-on-hover {
    border: none;
    outline: none;
    color: #fff;
    background: linear-gradient(45deg, #38bdf8, #818cf8, #c084fc);
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.glow-on-hover:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(129, 140, 248, 0.6);
}

/* Navigation System */
.main-nav {
    display: flex;
    gap: 1rem;
}
.page-view {
    animation: fadeIn 0.5s ease-in-out;
}
.page-view.hidden {
    display: none;
}
.section-title {
    font-size: 2.5rem;
    margin: 2rem 0;
}
.text-center {
    text-align: center;
}
.holo-text {
    background: linear-gradient(to right, #38bdf8, #ff00ea, #c084fc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(255, 0, 234, 0.4);
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 6rem 2rem;
    margin: 4rem 5%;
    border-radius: 20px;
    perspective: 1000px;
}
.hero-section h2.shadow-text {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    transform: rotateX(10deg);
    animation: float 4s ease-in-out infinite;
    text-shadow: 0px 5px 15px rgba(56, 189, 248, 0.4);
}
.hero-section p {
    font-size: 1.2rem;
    color: #cbd5e1;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotateX(10deg); }
    50% { transform: translateY(-20px) rotateX(15deg); }
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
    padding: 2rem 5%;
}

/* Filter Bar */
.filter-bar {
    margin: 0 5% 2rem;
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.search-input {
    flex: 1;
    min-width: 250px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    outline: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.search-input:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}
.category-filters {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none; /* Firefox */
}
.category-filters::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}
.filter-btn {
    white-space: nowrap;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.filter-btn:hover {
    background: rgba(255,255,255,0.1);
}
.filter-btn.active {
    background: #38bdf8;
    color: #0f172a;
    border-color: #38bdf8;
    font-weight: 600;
}
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem;
    font-size: 1.5rem;
}

/* 3D Tilt Effect Base */
.product-card {
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.01));
    border: 1px solid rgba(255, 255, 255, 0.1);
    will-change: transform;
}

/* Skeleton Loading (Shimmer) */
.skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Advanced Hover State */
.product-card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 20px rgba(56, 189, 248, 0.2);
}

.product-card > * {
    transform: translateZ(20px); /* Lifts content off the card in 3D */
}

.image-frame {
    transform: translateZ(40px); /* Lifts image even higher */
}

@keyframes hologlow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.image-frame {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #64748b;
    font-size: 0.9rem;
    text-align: center;
    padding: 0; /* Changed to 0 so images go edge-to-edge seamlessly */
    overflow: hidden;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Absolutely prevents aspects from stretching or breaking */
    object-position: center; /* Keeps the main subject in the center */
    border-radius: 12px;
    /* Forces the browser to render at the absolute highest crisp quality possible */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    transition: transform 0.5s ease;
    cursor: zoom-in;
}
.product-card:hover .image-frame img {
    transform: scale(1.1); /* Adds a gorgeous subtle zoooom effect on hover */
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.product-info .price {
    font-size: 1.4rem;
    font-weight: 600;
    color: #38bdf8;
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    padding: 0.2rem;
}

.qty-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size:1.1rem;
}
.qty-btn:hover {
    background: rgba(255,255,255,0.1);
}
.qty-display {
    font-weight: bold;
    width: 20px;
    text-align: center;
}

.add-to-cart {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    border: 1px solid #38bdf8;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-weight: 600;
}
.add-to-cart:hover {
    background: #38bdf8;
    color: #0f172a;
}

/* About Section */
.about-section {
    margin: 4rem 5%;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
}
.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #c084fc;
}
.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #e2e8f0;
    margin-bottom: 1rem;
}
.about-content strong {
    color: #38bdf8;
}

/* Modals */
.cart-modal, .checkout-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.4s;
    visibility: visible;
}
.cart-modal.hidden, .checkout-modal.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.cart-content, .checkout-content {
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-y: auto; /* Makes it scrollable if content is long */
}
.close-btn {
    position: absolute;
    top: 1rem; right: 1.5rem;
    background: none; border: none; color: white;
    font-size: 1.5rem; cursor: pointer;
}
.cart-content h2, .checkout-content h2 {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
}
#cart-items {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 1.5rem;
}
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.cart-total {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: right;
    margin-bottom: 1rem;
}

/* Forms */
.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}
.input-group label {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #cbd5e1;
}
.input-group input, .input-group textarea, .input-group select {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 0.8rem;
    border-radius: 8px;
    font-family: inherit;
}
.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: #c084fc;
}
.checkout-submit {
    width: 100%;
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* Checkout Summary Styling */
.checkout-summary {
    margin: 20px 10px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 1);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.summary-line.final-total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 800;
    font-size: 1.3rem;
    color: #38bdf8;
    text-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

/* Hide Google Translate Default UI (Banner & Tooltips) natively */
iframe.goog-te-banner-frame,
.goog-te-banner-frame,
.VIpgJd-Zvi9od-aZ2wEe-wOHMyf,
.VIpgJd-Zvi9od-ORHb-OEVmcd,
.goog-te-gadget-icon,
.goog-te-gadget-simple {
    display: none !important;
    visibility: hidden !important;
}

body {
    top: 0px !important; 
    position: static !important;
}

#goog-gt-tt, .goog-te-balloon-frame {
    display: none !important;
    visibility: hidden !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Smooth scroll and Custom Scrollbar */
html {
    scroll-behavior: smooth;
    height: auto !important;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: #0f172a; 
}
::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.5); 
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(56, 189, 248, 0.9); 
}

/* Image View Modal */
.image-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 1;
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.4s;
    visibility: visible;
}
.image-modal.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.image-modal-content {
    width: auto;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 24px;
    padding: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.image-modal-content img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(0, 208, 255, 0.3);
}
.image-modal-content h3 {
    margin-top: 1.5rem;
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
}

/* Responsive Media Queries */
@media screen and (max-width: 1024px) {
    header {
        padding: 1rem 2rem;
    }
    .hero-section h2.shadow-text {
        font-size: 2.8rem;
    }
}

@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        text-align: center;
    }
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    .logo h1 {
        font-size: 1.5rem;
    }
    .controls {
        width: 100%;
        justify-content: center;
        gap: 1rem;
    }
    .hero-section {
        padding: 3rem 1.5rem;
        margin: 2rem 5%;
    }
    .hero-section h2.shadow-text {
        font-size: 2.2rem;
    }
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.5rem;
        padding: 1rem 5%;
    }
    .section-title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .main-nav .nav-btn {
        font-size: 0.9rem;
        padding: 0.5rem 0.8rem;
    }
    .hero-section h2.shadow-text {
        font-size: 1.8rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
        padding: 1rem 10%;
    }
    .cart-content, .checkout-content {
        padding: 1.5rem;
        width: 95%;
    }
    .logo h1 {
        font-size: 1.3rem;
    }
    .price {
        font-size: 1.2rem;
    }
}

/* Butter smoothness - Optimize for performance */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* AI Chatbot Agent Styling */
.ai-chat-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 5000;
}

.ai-chat-trigger {
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.4);
}

.ai-icon {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(56, 189, 248, 0)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.8)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(56, 189, 248, 0)); }
}

.ai-notification-badge {
    background: #ff00ea;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    position: absolute;
    top: -5px; right: 5px;
}

.ai-chat-window {
    position: absolute;
    bottom: 4.5rem;
    right: 0;
    width: 350px;
    height: 500px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.3s;
}

.ai-chat-window.hidden {
    transform: translateY(20px) scale(0.9);
    opacity: 0;
    pointer-events: none;
}

.chat-header {
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ai-status-orb {
    width: 10px;
    height: 10px;
    background: #00ffaa;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ffaa;
    animation: blink 1s alternate infinite;
}

@keyframes blink {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ai-message, .user-message {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    max-width: 85%;
    font-size: 0.95rem;
}

.ai-message {
    background: rgba(255,255,255,0.05);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.user-message {
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-input-area {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.chat-input-area input {
    flex: 1;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 0.6rem;
    border-radius: 8px;
    outline: none;
}

.chat-input-area input:focus {
    border-color: #38bdf8;
}

.ai-message.typing-indicator {
    font-style: italic;
    opacity: 0.7;
    animation: typingBlink 1s alternate infinite;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
}

@keyframes typingBlink {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

@media screen and (max-width: 480px) {
    .ai-chat-window {
        width: 300px;
        height: 400px;
        bottom: 4rem;
        right: -1rem;
    }
    .btn-text {
        display: none;
    }
    .ai-chat-trigger {
        padding: 0.8rem;
    }
}

/* Notification Styling */
.notification-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.notification {
    background: #10b981; /* Solid Emerald Green */
    border: 2px solid #059669;
    color: #ffffff !important;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.4);
    animation: popupAnim 3.5s forwards;
    display: flex;
    align-items: center;
    gap: 12px;
}

@keyframes popupAnim {
    0% { transform: translateY(-50px) scale(0.9); opacity: 0; }
    10% { transform: translateY(0) scale(1); opacity: 1; }
    85% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-50px) scale(0.9); opacity: 0; }
}

/* Product Reviews Module */
.product-review-module {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 50;
    pointer-events: auto;
}
.toggle-review-btn {
    background: none;
    border: none;
    color: #c084fc;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
}
.toggle-review-btn:hover {
    color: #38bdf8;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}
.product-review-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.8rem;
    animation: fadeIn 0.3s ease;
}
.product-review-form.hidden {
    display: none;
}
.pr-input {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.85rem;
    outline: none;
    transition: 0.3s;
    position: relative;
    z-index: 50;
    pointer-events: auto;
}
.pr-input:focus {
    border-color: #38bdf8;
}
.pr-select option {
    background: #0f172a;
}
.submit-pr-btn {
    font-size: 0.85rem;
    padding: 0.4rem;
}
.pr-list {
    margin-top: 1rem;
    max-height: 100px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.pr-item {
    background: rgba(255,255,255,0.03);
    padding: 0.6rem;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #cbd5e1;
    border-left: 2px solid #38bdf8;
}

@keyframes fadeOut {
    to { transform: translateY(-20px); opacity: 0; }
}

/* Order Success Styling */
.order-success {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleUp {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.order-success h2 {
    color: #38bdf8;
    margin-bottom: 1rem;
}

.order-success p {
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* WhatsApp Floating Bubble */
.whatsapp-bubble {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 5000;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}
.whatsapp-bubble:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}
.whatsapp-bubble i || .whatsapp-bubble svg {
    width: 35px;
    height: 35px;
    fill: white;
}
.whatsapp-bubble .tooltip {
    position: absolute;
    left: 75px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}
.whatsapp-bubble:hover .tooltip {
    opacity: 1;
}

/* Floating Sticky Cart for Mobile */
@media screen and (max-width: 768px) {
    #cart-btn {
        position: fixed;
        bottom: 2rem;
        right: 2rem;
        z-index: 4999;
        border-radius: 50px;
        padding: 1rem 1.5rem;
        box-shadow: 0 10px 30px rgba(56, 189, 248, 0.4);
    }
    .ai-chat-container {
        bottom: 7.5rem; /* Move AI up so it doesn't overlap with cart */
    }
}

/* Enhanced Reviews Grid */
.reviews-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.reviews-grid::-webkit-scrollbar { display: none; }

.review-card {
    min-width: 300px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 16px;
    scroll-snap-align: start;
    transition: 0.3s;
}
.review-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: #38bdf8;
}
.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.reviewer-name {
    font-weight: 600;
    color: #38bdf8;
}
.review-rating {
    color: #fbbf24;
}

/* Categories Bar Glow */
.filter-btn.active {
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

/* Success Animation */
@keyframes successBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}
.success-icon {
    animation: successBounce 0.5s ease;
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Custom Glowing Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    background: rgba(56, 189, 248, 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease, background 0.3s ease;
    mix-blend-mode: screen;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.8);
    transform: translate(-50%, -50%);
}
.custom-cursor.click {
    transform: translate(-50%, -50%) scale(2.5);
    background: rgba(192, 132, 252, 0.8);
}

/* Hide default cursor on desktop */
@media screen and (min-width: 1025px) {
    body, a, button, select, input, textarea { cursor: none; }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, #38bdf8, #c084fc);
    z-index: 10001;
    width: 0%;
}
