@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --primary-color: #0F0F0F;
    --secondary-color: #B29146; /* Refined Gold */
    --accent-red: #A3262A;
    --bg-white: #FFFFFF;
    --bg-surface: #FAFAFA;
    --text-muted: #8E8E8E;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 5rem;
    --spacing-xl: 10rem;
    --shadow-premium: 0 20px 60px rgba(0, 0, 0, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.75);
    --transition-premium: 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    --futuristic-blue: #00d2ff;
    --futuristic-glow: 0 0 20px rgba(0, 210, 255, 0.5);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--primary-color);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .playfair {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-spaced {
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Navbar Tuning */
.navbar {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.3s ease;
}

.nav-link {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color);
}

/* Category Grid (Horizontal Scroll) */
.category-strip {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    padding: 1rem 0;
    gap: 1.5rem;
    scrollbar-width: none;
}

.category-strip::-webkit-scrollbar {
    display: none;
}

.category-pill {
    white-space: nowrap;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-slow);
}

.category-pill:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

/* Discovery Feed (Story Style) */
.discovery-feed {
    display: flex;
    overflow-x: auto;
    padding: 1.5rem 0;
    gap: 1.2rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.discovery-feed::-webkit-scrollbar {
    display: none;
}

.story-item {
    flex: 0 0 auto;
    width: 85px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.story-item:active {
    transform: scale(0.92);
}

.story-ring {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-red), #ff8a00);
    margin: 0 auto 0.6rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-ring.watched {
    background: #e0e0e0;
}

.story-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #fff;
    object-fit: cover;
}

.story-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Product Card - Myntra Style Refinement */
/* Product Card - Premium Overhaul */
.product-card {
    border: none;
    border-radius: 0;
    transition: var(--transition-slow);
    background: transparent;
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #f8f8f8;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.5s ease;
}

.secondary-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-card:hover .primary-img {
    opacity: 0;
    transform: scale(1.08);
}

.product-card:hover .secondary-img {
    opacity: 1;
    transform: scale(1.05);
}

.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: none;
}

.wishlist-btn:hover {
    background: var(--accent-red);
    color: #fff;
    transform: scale(1.1);
}

.wishlist-btn.active {
    color: var(--accent-red);
}

.product-details {
    padding: 1.2rem 0.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-brand {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-box {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.current-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.striking-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.discount-tag {
    color: var(--accent-red);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* WhatsApp Button */
.btn-wa-inquire {
    background: #25D366;
    color: #fff;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    width: fit-content;
    transition: all 0.3s ease;
}

.btn-wa-inquire:hover {
    background: #128C7E;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Filter Sidebar */
.filter-sidebar {
    background: #fff;
    padding-right: 2rem;
}

.filter-section {
    margin-bottom: 2.5rem;
}

.filter-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.8rem;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-item {
    margin-bottom: 0.6rem;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #444;
    transition: color 0.3s ease;
}

.filter-checkbox:hover {
    color: var(--secondary-color);
}

.filter-checkbox input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
}

/* Color Swatches */
.color-swatch-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.color-swatch {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: transform 0.2s ease;
    position: relative;
}

.color-swatch:hover {
    transform: scale(1.2);
}

.color-swatch.active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary-color);
}

/* Grid Layout */
@media (max-width: 768px) {
    .filter-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        height: 100%;
        z-index: 2100;
        padding: 2rem;
        transition: left 0.4s cubic-bezier(0.32, 0.72, 0, 1);
        overflow-y: auto;
    }
    
    .filter-sidebar.active {
        left: 0;
    }
    
    .mobile-filter-trigger {
        display: flex !important;
        align-items: center;
        gap: 8px;
        background: var(--bg-white);
        border: 1px solid #eee;
        padding: 0.6rem 1.2rem;
        border-radius: 4px;
        font-weight: 600;
        font-size: 0.85rem;
    }
}

.mobile-filter-trigger {
    display: none;
}

/* Custom Select Box */
.sort-select {
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    padding-right: 20px;
}

.sort-select:focus {
    outline: none;
}

/* Price Range Inputs */
.price-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-input-group input {
    width: 100%;
    border: 1px solid #eee;
    padding: 0.4rem;
    font-size: 0.85rem;
    border-radius: 4px;
}

/* Spacing & Utilities */
.py-spacing-lg { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }
.py-spacing-xl { padding-top: var(--spacing-xl); padding-bottom: var(--spacing-xl); }
.mt-spacing-lg { margin-top: var(--spacing-lg); }

/* Premium Header & Nav */
.header-premium {
    background: transparent;
    border-bottom: 1px solid transparent;
    z-index: 1050;
    transition: var(--transition-premium);
}

.header-premium.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 0.2rem 0;
}

.nav-icon-link {
    color: var(--primary-color);
    font-size: 1.3rem;
    text-decoration: none;
    transition: var(--transition-premium);
    display: flex;
    align-items: center;
}

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

.badge-dot {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 10px;
    height: 10px;
    background: var(--accent-red);
    border-radius: 50%;
    border: 2px solid #fff;
}

/* Premium Footer */
.footer-premium {
    background: var(--bg-surface);
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-premium);
}

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

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 50%;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-premium);
}

.social-icon:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Redesigned Sections */
.hero-cinematic {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: #000;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 7rem);
    line-height: 0.9;
    margin-bottom: 2rem;
}

/* Asymmetric Category Gallery */
.category-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 350px;
    gap: 2rem;
}

.category-card {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background: #000;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: var(--transition-premium);
}

.category-card:hover img {
    transform: scale(1.05);
    opacity: 1;
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.card-tall { grid-row: span 2; }
.card-wide { grid-column: span 2; }

@media (max-width: 768px) {
    .category-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
        gap: 1rem;
    }
    .card-tall, .card-wide { grid-column: span 2; grid-row: span 1; }
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
    animation: fadeUp 1.2s cubic-bezier(0.19, 1, 0.22, 1) both;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    z-index: 2;
}

.story-ring.pulse {
    animation: ringPulse 2s infinite;
}

@keyframes ringPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(178, 145, 70, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(178, 145, 70, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(178, 145, 70, 0); }
}

.editorial-img-container {
    padding: 2rem;
    background: var(--bg-surface);
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-color);
    color: #fff;
    padding: 1.5rem 2.5rem;
    z-index: 3;
}

/* Auth Modal Styles */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.auth-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.auth-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 3rem 1.5rem;
    border-radius: 30px 30px 0 0;
    z-index: 2001;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
}

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

.modal-handle {
    width: 40px;
    height: 4px;
    background: #eee;
    margin: -1.5rem auto 2rem;
    border-radius: 10px;
    cursor: pointer;
}

.auth-form input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #eee;
    padding: 1.2rem 0;
    margin-bottom: 1rem;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.auth-form input:focus {
    border-color: var(--primary-color);
}

/* Unique Button Style */
.btn-unique {
    border: 1px solid #000 !important;
    background-color: #fff !important;
    color: #000 !important;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 10px 20px;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.8rem;
}

.btn-unique:hover {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

.btn-unique:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Payment Page Styles */
.payment-card {
    transition: transform 0.3s ease;
}

.payment-card:hover {
    transform: translateY(-5px);
}

.qr-wrapper {
    transition: all 0.3s ease;
}

.qr-wrapper:hover {
    transform: scale(1.02);
}

.instructions-box p {
    color: #444;
}

.instructions-box strong {
    color: #000;
}

/* Futuristic Volumetric Button */
.btn-volumetric-add {
    position: relative;
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    color: #fff;
    border: none;
    padding: 1.2rem 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 12px;
    box-shadow: var(--futuristic-glow), inset 0 2px 4px rgba(255,255,255,0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
}

.btn-volumetric-add::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.btn-volumetric-add:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 210, 255, 0.4), 0 0 30px rgba(0, 210, 255, 0.6);
    color: #fff;
}

.btn-volumetric-add:active {
    transform: translateY(-2px);
}

/* Floating Cart Module */
.cart-module-float {
    position: relative;
    width: 65px;
    height: 65px;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    cursor: pointer;
    animation: drift 4s ease-in-out infinite;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s ease;
    text-decoration: none;
}

.cart-module-float:hover {
    transform: scale(1.1);
    background: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    color: #fff;
}

.cart-counter-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--futuristic-blue);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
    border: 2px solid #0f0f0f;
}

@keyframes drift {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-8px) translateX(4px); }
    50% { transform: translateY(2px) translateX(-6px); }
    75% { transform: translateY(-4px) translateX(2px); }
}

/* Holographic Data Effect */
.holographic-data {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 210, 255, 0.05);
}

.holographic-data::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 210, 255, 0.03) 50%, transparent 100%);
    background-size: 100% 4px;
    animation: scan 10s linear infinite;
    pointer-events: none;
}

@keyframes scan {
    from { background-position: 0 0; }
    to { background-position: 0 100%; }
}

/* Search Overlay Styles */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    width: 100%;
    max-width: 800px;
    padding: 2rem;
    text-align: center;
    transform: translateY(30px);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.search-overlay.active .search-container {
    transform: translateY(0);
}

.search-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid #000;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    padding: 1rem 0;
    color: #000;
    outline: none;
    text-align: center;
}

.search-input::placeholder {
    color: #ccc;
}

.search-close {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 2.5rem;
    cursor: pointer;
    color: #000;
    transition: transform 0.3s ease;
}

.search-close:hover {
    transform: rotate(90deg);
}

.search-hint {
    margin-top: 1.5rem;
    color: #888;
    letter-spacing: 2px;
    font-size: 0.8rem;
    text-transform: uppercase;
}





