/* ==========================================================================
   Darooon Style System - Premium Streetwear Theme
   ========================================================================== */

/* Design Tokens & Theme Colors */
:root {
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --primary-color: #8b5cf6;
    --primary-light: #a78bfa;
    --primary-dark: #6d28d9;
    --accent-glow: 0 0 20px rgba(139, 92, 246, 0.4);
    --accent-glow-strong: 0 0 35px rgba(236, 72, 153, 0.6);
    
    /* Dark Theme (Default) */
    --bg-main: #0b0f19;
    --bg-surface: rgba(17, 24, 39, 0.7);
    --bg-surface-solid: #111827;
    --bg-input: #1f2937;
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glass-bg: rgba(17, 24, 39, 0.55);
    --glass-blur: blur(16px);
    
    --success-color: #10b981;
    --error-color: #ef4444;
}

/* Light Theme Variables */
body.light-theme {
    --bg-main: #f8fafc;
    --bg-surface: rgba(255, 255, 255, 0.7);
    --bg-surface-solid: #ffffff;
    --bg-input: #f1f5f9;
    --border-color: rgba(0, 0, 0, 0.08);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --card-shadow: 0 8px 32px 0 rgba(148, 163, 184, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.65);
    --accent-glow: 0 0 20px rgba(139, 92, 246, 0.25);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

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

button, input, select, textarea {
    font-family: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Common Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #ffffff;
    box-shadow: var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--accent-glow-strong);
    filter: brightness(1.1);
}

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

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

.btn-block {
    width: 100%;
}

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

/* Glassmorphism Panel style */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1300px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 2px;
    font-family: 'Outfit', sans-serif;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: inline-block;
    box-shadow: var(--accent-glow);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-btn {
    background: var(--border-color);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: scale(1.05);
}

body.dark-theme .light-icon { display: block; }
body.dark-theme .dark-icon { display: none; }
body.light-theme .light-icon { display: none; }
body.light-theme .dark-icon { display: block; }

.cart-btn {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--primary-gradient);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-main);
    box-shadow: var(--accent-glow);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.15), transparent 60%),
                radial-gradient(circle at bottom left, rgba(236, 72, 153, 0.12), transparent 50%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%239C92AC' fill-opacity='0.03'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10zm10 8h4v4h-4v-4zm40 40h4v4h-4v-4z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    padding: 0 24px;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero-tagline {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
    display: inline-block;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    font-family: 'Outfit', sans-serif;
}

.glow-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: var(--accent-glow);
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    z-index: 2;
}

.mouse-scroll {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.mouse-scroll::after {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDot 2s infinite;
}

/* ==========================================================================
   Features Showcase Bar
   ========================================================================== */
.features-bar {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-surface);
    padding: 30px 0;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.feature-item i {
    font-size: 32px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ==========================================================================
   Product Catalogue Section
   ========================================================================== */
.shop-section {
    padding: 100px 0;
    max-width: 1240px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.section-header {
    margin-bottom: 48px;
    text-align: center;
}

.sub-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    display: block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 38px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 32px;
}

.search-filter-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
}

.search-box {
    position: relative;
    flex-grow: 1;
    max-width: 380px;
    min-width: 250px;
}

.search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.search-box input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.15);
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: var(--accent-glow);
}

/* Product Cards Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 16px;
    box-shadow: var(--card-shadow);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
}

.card-img-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-actions-overlay {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .card-actions-overlay {
    opacity: 1;
    transform: translateY(0);
}

.overlay-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    color: #0f172a;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s;
}

.overlay-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: scale(1.1);
}

.card-info {
    margin-top: 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #fbbf24;
    margin-bottom: 6px;
}

.rating-count {
    color: var(--text-secondary);
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--text-primary);
}

.card-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.card-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
}

.card-buy-btn {
    background: var(--border-color);
    color: var(--text-primary);
    border: none;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-card:hover .card-buy-btn {
    background: var(--primary-gradient);
    color: #ffffff;
    box-shadow: var(--accent-glow);
}

/* ==========================================================================
   About Section & Roots
   ========================================================================== */
.about-section {
    padding: 100px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-img-box {
    height: 480px;
    border-radius: 24px;
    background: linear-gradient(rgba(11, 15, 25, 0.4), rgba(11, 15, 25, 0.4)), url('https://images.unsplash.com/photo-1524312400019-e58f0430613e?q=80&w=1000&auto=format&fit=crop'); /* Artistic Kolkata Bridge */
    background-size: cover;
    background-position: center;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

.about-overlay-card {
    position: absolute;
    bottom: 32px;
    left: 32px;
    right: 32px;
    padding: 24px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: #ffffff;
}

.about-overlay-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.about-overlay-card p {
    font-size: 14px;
    opacity: 0.8;
}

.about-content h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.3;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 16px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-card {
    padding: 16px;
    background: var(--bg-main);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.stat-card h4 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 4px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.star-stat {
    font-size: 18px;
    margin-left: 2px;
    color: #fbbf24;
    -webkit-text-fill-color: initial;
}

.stat-card p {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
}

/* ==========================================================================
   Shopping Cart Sidebar Drawer
   ========================================================================== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    z-index: 1010;
    background: var(--bg-surface-solid);
    border-left: 1px solid var(--border-color);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 20px;
    font-weight: 700;
}

.close-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.close-btn:hover {
    background: var(--border-color);
}

.cart-items-container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Empty Cart Style */
.empty-cart-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    gap: 16px;
}

.empty-icon {
    font-size: 64px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.empty-cart-message p {
    color: var(--text-secondary);
}

/* Active Cart Item */
.cart-item {
    display: flex;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    background: #0f172a;
    border: 1px solid var(--border-color);
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.cart-item-meta {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
}

.cart-item-meta span span {
    font-weight: 700;
}

.cart-item-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 4px;
    background: var(--bg-input);
}

.quantity-control button {
    background: transparent;
    border: none;
    color: var(--text-primary);
    width: 28px;
    height: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.quantity-control button:hover {
    background: var(--border-color);
}

.quantity-control span {
    font-size: 14px;
    font-weight: 700;
    padding: 0 12px;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 800;
}

.delete-item-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    transition: color 0.2s;
}

.delete-item-btn:hover {
    color: var(--error-color);
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-surface-solid);
}

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

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-secondary);
}

.total-row {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    margin-top: 4px;
}

.sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1005;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.sidebar-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   Modals UI Base
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1020;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
    overflow-y: auto;
}

.modal.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--bg-surface-solid);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    width: 100%;
    max-width: 900px;
    position: relative;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

.modal.open .modal-content {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 5;
}

/* Quick View Modal Body Grid */
.modal-body-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
}

.modal-gallery {
    border-radius: 18px;
    overflow: hidden;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal-info {
    display: flex;
    flex-direction: column;
}

.product-tag {
    align-self: flex-start;
    padding: 6px 14px;
    background: var(--border-color);
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.modal-info h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}

.modal-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.stars i {
    color: #fbbf24;
    font-size: 14px;
}

.reviews-count {
    font-size: 13px;
    color: var(--text-secondary);
}

.product-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.product-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 28px;
    line-height: 1.7;
}

/* Custom selectors */
.selector-group {
    margin-bottom: 20px;
}

.selector-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.size-selector {
    display: flex;
    gap: 10px;
}

.size-btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.size-btn:hover {
    border-color: var(--primary-color);
}

.size-btn.active {
    background: var(--text-primary);
    color: var(--bg-main);
    border-color: var(--text-primary);
}

.color-selector {
    display: flex;
    gap: 12px;
}

.color-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.2s;
    position: relative;
}

.color-dot.active {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.modal-action-row {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.flex-grow {
    flex-grow: 1;
}

/* ==========================================================================
   Checkout Modal UI
   ========================================================================== */
.checkout-modal-content {
    max-width: 950px;
    padding: 0;
    overflow: hidden;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.checkout-form-side {
    padding: 40px;
    max-height: 85vh;
    overflow-y: auto;
}

.checkout-form-side h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
    flex-grow: 1;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row.split {
    flex-direction: row;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.1);
}

.prepaid-bonus-info {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--success-color);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mt-4 {
    margin-top: 24px;
}

/* Order Summary Column */
.checkout-summary-side {
    background: var(--bg-surface);
    padding: 40px;
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    max-height: 85vh;
    overflow-y: auto;
}

.checkout-summary-side h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.checkout-summary-items {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.summary-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.summary-item-thumbnail {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    background: #0f172a;
    border: 1px solid var(--border-color);
}

.summary-item-name {
    font-weight: 600;
    color: var(--text-primary);
}

.summary-item-meta {
    font-size: 11px;
    color: var(--text-secondary);
}

.checkout-summary-totals {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkout-grand-total {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
}

/* ==========================================================================
   PhonePe Custom Simulated Modal
   ========================================================================== */
.phonepe-modal {
    z-index: 1030;
}

.phonepe-modal-content {
    background: #5f259f; /* PhonePe Purple */
    color: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    padding: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.phonepe-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.phonepe-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #ffffff;
    padding: 2px;
}

.phonepe-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.phonepe-amount-display {
    background: rgba(0, 0, 0, 0.2);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.phonepe-amount-display p {
    font-size: 13px;
    opacity: 0.8;
}

.phonepe-amount-display h2 {
    font-size: 32px;
    font-weight: 800;
    margin-top: 4px;
}

.qr-box-container {
    background: #ffffff;
    color: #0f172a;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.qr-title {
    font-size: 13px;
    font-weight: 600;
    color: #5f259f;
    margin-bottom: 12px;
}

.phonepe-qr-placeholder {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    background: #f3f4f6;
    border-radius: 12px;
    border: 2px dashed #5f259f;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.qr-icon {
    font-size: 110px;
    color: #4b5563;
}

.qr-scanner-line {
    position: absolute;
    width: 100%;
    height: 3px;
    background: #5f259f;
    top: 0;
    box-shadow: 0 0 10px #5f259f;
    animation: scanLine 3s infinite linear;
}

.phonepe-divider {
    position: relative;
    margin: 20px 0;
    font-size: 12px;
    opacity: 0.6;
}

.phonepe-divider::before, .phonepe-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.phonepe-divider::before { left: 0; }
.phonepe-divider::after { right: 0; }

.upi-collect-form {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.upi-collect-form input {
    flex-grow: 1;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 14px;
    outline: none;
}

.upi-collect-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.upi-hint {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 8px;
}

.phonepe-footer {
    margin-top: 24px;
}

.phonepe-footer button {
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.phonepe-footer button:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Order Success Screen
   ========================================================================== */
.success-modal {
    z-index: 1040;
}

.success-card {
    background: var(--bg-surface-solid);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 500px;
    border-radius: 28px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    animation: scaleUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: var(--success-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    margin: 0 auto 24px auto;
}

.success-card h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
}

.success-card p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
}

.success-details-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    text-align: left;
    margin-bottom: 32px;
}

.success-details-card p {
    margin-bottom: 10px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
}

.success-details-card p:last-child {
    margin-bottom: 0;
    border-top: 1px dashed var(--border-color);
    padding-top: 10px;
    font-size: 14px;
    color: var(--text-primary);
}

.success-details-card strong {
    font-weight: 600;
    color: var(--text-primary);
}

/* ==========================================================================
   Footer Styling
   ========================================================================== */
.footer {
    background: var(--bg-surface-solid);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px 0;
    color: var(--text-secondary);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 64px;
}

.footer-brand h3 {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.social-links a:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-links h4, .footer-contact h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0 auto;
    padding: 30px 24px 0 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 12px;
}

/* ==========================================================================
   Animations System
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes scrollDot {
    0% {
        opacity: 0;
        top: 6px;
    }
    30% {
        opacity: 1;
    }
    60% {
        opacity: 0;
        top: 24px;
    }
    100% {
        opacity: 0;
        top: 6px;
    }
}

@keyframes scanLine {
    0% {
        top: 0%;
    }
    50% {
        top: 98%;
    }
    100% {
        top: 0%;
    }
}

/* ==========================================================================
   Responsive Styling (Media Queries)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 56px;
    }
    .about-container {
        gap: 32px;
    }
    .footer-container {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Mobile Drawer menu can be expanded, but standard is hide for minimal layout */
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-desc {
        font-size: 15px;
    }
    
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .about-img-box {
        height: 350px;
    }
    
    .modal-body-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-summary-side {
        border-left: none;
        border-top: 1px solid var(--border-color);
        max-height: none;
        overflow-y: visible;
    }
    
    .checkout-form-side {
        max-height: none;
        overflow-y: visible;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .form-row.split {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .modal-content {
        padding: 20px;
    }
}

/* ==========================================================================
   Media Tabs and Swatch Upgrades
   ========================================================================== */
.media-tab-btn {
    padding: 8px 18px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    outline: none;
}

.media-tab-btn:hover, .media-tab-btn.active {
    background: var(--primary-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: var(--accent-glow);
}

.color-preview {
    transition: transform 0.2s ease;
}
.color-preview:hover {
    transform: scale(1.2);
}

/* ==========================================================================
   Exit Intent Popup Styles
   ========================================================================== */
.exit-intent-content {
    max-width: 500px;
    background: radial-gradient(circle at 10% 20%, rgba(17, 24, 39, 1) 0%, rgba(10, 15, 26, 1) 90%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.15);
    text-align: center;
    border-radius: 24px;
    padding: 40px 30px;
}

.exit-intent-body h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.exit-intent-body p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.exit-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
    border: 1px solid rgba(236, 72, 153, 0.2);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.discount-box {
    background: rgba(139, 92, 246, 0.08);
    border: 1px dashed rgba(139, 92, 246, 0.4);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.discount-code {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 4px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.discount-text {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.exit-intent-btn {
    width: 100%;
    padding: 14px 28px;
    font-size: 15px;
    justify-content: center;
}

/* ==========================================================================
   Size Chart Popup Styles
   ========================================================================== */
.size-chart-content {
    max-width: 540px;
    background: radial-gradient(circle at 10% 20%, rgba(17, 24, 39, 1) 0%, rgba(10, 15, 26, 1) 90%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.15);
    border-radius: 24px;
    padding: 36px 28px;
}

.size-guide-table th {
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--border-color);
}

.size-guide-table td {
    border-bottom: 1px solid var(--border-color);
}

.size-guide-table tr:hover td {
    background: rgba(255, 255, 255, 0.01);
}
