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

/* 3D & Premium Effects */
:root {
    --primary-color: #4f46e5;
    /* Indigo 600 */
    --primary-dark: #4338ca;
    /* Indigo 700 */
    --secondary-color: #ec4899;
    /* Pink 500 */
    --text-color: #1f2937;
    /* Gray 800 */
    --text-light: #6b7280;
    /* Gray 500 */
    --bg-gradient-start: #f3f4f6;
    --bg-gradient-end: #e5e7eb;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-3d: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 15px rgba(255, 255, 255, 0.1) inset;
    --shadow-bevel: 0 4px 0 #3730a3;
    /* Distinct 3D bevel */
    --radius-md: 0.75rem;
    --radius-lg: 1.5rem;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --text-dark: var(--text-color);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes float-slow {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

body {
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(1deg, #baa685, #fffffff3);
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism Utilities */
/* Glassmorphism Utilities */
/* Glassmorphism Utilities */
/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.85);
    /* Darker header */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
    white-space-collapse: collapse;
    text-wrap: nowrap;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    background-image: linear-gradient(to right, #00c72b, #ae4600, #9a009a, #0f0099);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    letter-spacing: -0.025em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05) translateZ(10px);
}

.logo img {
    height: 50px;
    width: auto;
    border-radius: 0;
    box-shadow: none;
    border: none;
    object-fit: contain;
    mix-blend-mode: multiply;
    /* Attempt to blend white background */
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav a:hover {
    color: #9a5b02;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3), 0 6px 0 #312e81;
    /* Thicker bevel */
    /* Bottom border for 3D */
    border: none;
    cursor: pointer;
    display: inline-block;
    position: relative;
    top: 0;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.4), 0 6px 0 #312e81;
    color: var(--white);
}

.btn-primary:active {
    top: 6px;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.4rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem 0;
}

/* Hero Section 3D */
.hero {
    position: relative;
    color: var(--white);
    padding: 10rem 0;
    text-align: center;
    border-radius: var(--radius-lg);
    margin: 2rem auto 4rem;
    max-width: 95%;
    /* Floating card look */
    box-shadow: var(--shadow-3d);
    overflow: hidden;
    transform-style: preserve-3d;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    animation: float-slow 6s ease-in-out infinite;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    animation: float 5s ease-in-out infinite;
    animation-delay: 1s;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Categories */
.section-title {
    text-align: center;
    font-size: 2.25rem;
    margin: 4rem 0 2.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    perspective: 1000px;
}

.category-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform-style: preserve-3d;
    position: relative;
}

.category-card:hover {
    transform: translateY(-15px) rotateX(4deg) rotateY(4deg) scale(1.02);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.category-image {
    height: 220px;
    background-color: var(--bg-gradient-start);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.category-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
}

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

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

.category-card h3 {
    padding: 1.25rem;
    text-align: center;
    margin: 0;
    font-weight: 600;
    color: var(--text-color);
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
    perspective: 1000px;
}

.product-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform-style: preserve-3d;
}

.product-card:hover {
    transform: translateY(-15px) rotateX(4deg) rotateY(4deg) scale(1.02);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

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

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
}

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

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

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.btn-sm {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--bg-gradient-start);
    color: var(--text-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-sm:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Forms */
.form-container {
    max-width: 450px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
    background-color: #fff;
}

.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.75rem;
    color: var(--text-color);
}

/* Tables */
.table-container {
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.table th {
    background-color: #f9fafb;
    padding: 1rem;
    font-weight: 600;
    color: var(--text-light);
    border-bottom: 1px solid #e5e7eb;
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    color: var(--text-color);
}

.table tr:last-child td {
    border-bottom: none;
}

/* Footer */
.footer {
    background-image: radial-gradient(at 0% 0%, hsla(25333333, 160%, 7%, 1), #000000b5 50%), radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 1) 0, #00000021 50%), radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 1) 0, transparent 50%);
    color: var(--text-color);
    padding: 4rem 0 0;
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.footer-col p {
    color: var(--text-light);
}

.footer-col a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #e5e7eb;
    padding: 2rem 0;
    text-align: center;
    color: var(--text-light);
}

/* Mobile */
/* Mobile & Small Tablets */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 1.5rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        animation: slideDown 0.3s ease-out;
        z-index: 1000;
    }

    .nav a {
        padding: 0.75rem;
        width: 100%;
        text-align: center;
        border-radius: 0.5rem;
    }

    .nav a:hover {
        background: rgba(0, 0, 0, 0.05);
    }

    .nav.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
        padding: 0.5rem;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hero {
        padding: 3rem 1rem;
        margin-top: 1rem;
        border-radius: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* Compact Buttons for Mobile */
    .btn-primary,
    .btn-secondary {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Specific optimisations for Phones (max-width 480px) */
@media (max-width: 480px) {

    /* Header Compactness */
    .logo {
        font-size: 1.35rem;
        gap: 0.25rem;
    }

    .logo img {
        height: 32px;
    }

    .container {
        padding: 0 15px;
    }

    /* Product Grid: Force 2 columns */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .product-card {
        border-radius: 0.75rem;
    }

    .product-image {
        height: 140px;
        /* Reduced from 220px */
    }

    .product-info {
        padding: 0.75rem;
    }

    .product-info h3 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .price {
        font-size: 1rem;
    }

    .btn-sm {
        padding: 0.35rem 0.75rem;
        font-size: 0.75rem;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    /* Category Grid: 2 columns */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .category-image {
        height: 120px;
    }

    .category-card h3 {
        font-size: 1rem;
        padding: 0.75rem;
    }

    /* Marquee Compactness */
    .brand-marquee {
        padding: 0.5rem 0 1.5rem;
        margin-top: -1rem;
    }

    .brand-item {
        padding: 0.25rem 0.75rem;
        height: 50px;
    }

    .brand-item img {
        max-height: 30px;
        max-width: 80px;
    }

    .brand-item span {
        font-size: 0.9rem;
    }

    /* Table Adjustments */
    .table th,
    .table td {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
}

/* Brand Marquee */
/* Brand Marquee */
.brand-marquee {
    padding: 1rem 0 2rem;
    background: rgba(255, 255, 255, 0.1);
    /* Transparent background */
    backdrop-filter: blur(12px);
    /* Blur effect */
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    border-radius: 190px;
    /* Corrected from '20' to '20px' */
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
    /* 3D depth */
    position: relative;
    z-index: 10;
    margin-top: -2rem;
    padding-top: 0px;
    padding-bottom: 0px;
    /* Overlap slightly for better integration if needed, or keep 0 */
    perspective: 1000px;
}

.marquee-wrapper {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    width: 100%;
    padding: 1rem 0;
    /* Space for 3D elements to pop */
    padding-top: 0px;
    padding-bottom: 0px;
}

.marquee-content {
    display: flex;
    gap: 3rem;
    /* Increased gap for better spacing */
    animation: scroll 60s linear infinite;
    /* Faster scroll */
    width: max-content;
    flex-wrap: nowrap;
    /* Force single line */
    align-items: center;
    /* Vertically center items */
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    /* Slight glass background for items too */
    backdrop-filter: blur(4px);
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    /* Bevel effect */
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy 3D transition */
    height: 40px;
    min-width: auto;
    transform-style: preserve-3d;
}

.brand-item img {
    max-height: 40px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    display: block;
    filter: grayscale(0%) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    /* Shadow on logo */
    opacity: 1;
    transition: all 0.4s;
    transform: translateZ(0);
}

.brand-item span {
    display: block;
    font-size: 1.1rem;
    color: var(--text-light);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.brand-item:hover,
.brand-item.highlight {
    transform: translateY(-5px) scale(1.05) rotateX(5deg);
    /* 3D lift */
    background: rgba(255, 255, 255, 0.9);
    box-shadow:
        0 15px 25px rgba(0, 0, 0, 0.1),
        0 5px 10px rgba(0, 0, 0, 0.05),
        inset 0 0 20px rgba(255, 255, 255, 0.5);
    border-color: var(--primary-color);
    z-index: 10;
}

.brand-item:hover img,
.brand-item.highlight img {
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
    /* Enhanced shadow on hover */
    opacity: 1;
    transform: translateZ(20px);
    /* Pop out logo */
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Global Loader */
#global-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(240, 240, 245, 0.9);
    /* Slightly more opaque */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2147483647;
    /* Max z-index */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s ease-out, visibility 0.4s ease-out;
    margin: 0;
    padding: 0;
}

#global-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    perspective: 800px;
}

.spinner::before,
.spinner::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* Outer Ring */
.spinner::before {
    border: 4px solid transparent;
    border-top: 4px solid var(--primary-color);
    border-bottom: 4px solid var(--primary-color);
    animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    box-shadow: 0 0 15px rgba(79, 70, 229, 0.3);
}

/* Inner Ring */
.spinner::after {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border: 4px solid transparent;
    border-left: 4px solid var(--secondary-color);
    border-right: 4px solid var(--secondary-color);
    animation: spin-reverse 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.3);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.no-scroll {
    overflow: hidden !important;
    touch-action: none;
    /* Disable touch scrolling */
}

@keyframes spin-reverse {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

/* Signup Popup */
.signup-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.signup-popup.visible {
    opacity: 1;
    visibility: visible;
}

.signup-popup.hidden {
    display: none;
}

.signup-popup-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 450px;
    width: 90%;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(50px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.signup-popup.visible .signup-popup-content {
    transform: translateY(0) scale(1);
}

.close-popup-btn {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    outline: none;
}

.close-popup-btn:hover {
    color: var(--text-color);
}

.popup-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.signup-popup-content h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-weight: 700;
}

.signup-popup-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.5;
}

.popup-cta {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    padding: 1rem;
}

.popup-subtext {
    font-size: 0.9rem;
    margin-bottom: 0 !important;
}

.popup-subtext a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.popup-subtext a:hover {
    text-decoration: underline;
}

/* Notify Stock Form */
.notify-section {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid #e5e7eb;
    margin-top: 2rem;
}

.notify-section p {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 500;
}

.notify-form {
    display: flex;
    gap: 0.5rem;
}

.notify-form input[type="email"] {
    flex: 1;
}

.stock-status.out-of-stock {
    color: #ef4444;
    /* Red 500 */
    background: #fee2e2;
    /* Red 100 */
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
}

.stock-status.in-stock {
    color: #059669;
    /* Emerald 600 */
    background: #d1fae5;
    /* Emerald 100 */
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Premium Inventory Modals & Placeholders */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem;
    box-sizing: border-box;
}

.modal-overlay.visible {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1.5rem;
    padding: 2.2rem;
    width: 100%;
    transform: scale(0.92) translateY(30px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    opacity: 0;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.modal-overlay.visible .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.no-scroll {
    overflow: hidden;
}

/* Premium Placeholder Images for No-Image Products */
.placeholder-img {
    width: 100%;
    height: 100%;
    min-height: 150px;
    background: linear-gradient(135deg, var(--bg-gradient-start, #f3f4f6) 0%, var(--bg-gradient-end, #e5e7eb) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md, 8px);
    position: relative;
    border: 1px dashed rgba(0, 0, 0, 0.1);
    color: var(--text-light, #9ca3af);
    transition: all 0.3s ease;
}

.placeholder-img::before {
    content: "\f03e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    opacity: 0.4;
    font-size: 2.2rem;
}

.placeholder-img.large {
    min-height: 350px;
    border-radius: 1.2rem;
}

.placeholder-img.large::before {
    font-size: 4.5rem;
}
