/*
 * SKS Menswear - MAXIMUM PREMIUM E-commerce Theme
 * Flying colors, animated headings, dramatic effects
 * White background with maroon brand colors
 */

/* ======================================
   CSS VARIABLES - BRAND COLOR PALETTE
====================================== */
:root {
    /* Primary Colors - Maroon from Logo */
    --primary: #4d2932;
    --primary-light: #6b3a45;
    --primary-dark: #3a1f26;
    --primary-rgb: 77, 41, 50;
    --primary-glow: rgba(77, 41, 50, 0.4);

    /* Accent Colors */
    --accent: #8b4557;
    --gold: #c9a227;
    --gold-rgb: 201, 162, 39;
    --rose: #e11d48;
    --purple: #7c3aed;
    --teal: #14b8a6;

    /* Animated Gradients */
    --gradient-primary: linear-gradient(135deg, #4d2932 0%, #8b4557 25%, #c9a227 50%, #8b4557 75%, #4d2932 100%);
    --gradient-gold: linear-gradient(135deg, #c9a227 0%, #f4d03f 50%, #c9a227 100%);
    --gradient-rainbow: linear-gradient(90deg, #e11d48, #c9a227, #14b8a6, #7c3aed, #e11d48);
    --gradient-shine: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);

    /* Status Colors */
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;

    /* Backgrounds */
    --bg-body: #fafafa;
    --bg-card: #ffffff;

    /* Text */
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;

    /* Borders & Shadows */
    --border: rgba(0, 0, 0, 0.06);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 25px 60px rgba(77, 41, 50, 0.2);
    --shadow-glow: 0 0 60px rgba(77, 41, 50, 0.3);

    /* Border Radius */
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-slow: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ======================================
   FLYING COLORS BACKGROUND ANIMATION
====================================== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(var(--primary-rgb), 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(var(--gold-rgb), 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 40%, rgba(225, 29, 72, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
    animation: flyingColors 15s ease-in-out infinite;
}

@keyframes flyingColors {

    0%,
    100% {
        background-position: 0% 0%, 100% 100%, 50% 50%;
        filter: hue-rotate(0deg);
    }

    25% {
        background-position: 100% 0%, 0% 100%, 80% 20%;
        filter: hue-rotate(15deg);
    }

    50% {
        background-position: 100% 100%, 0% 0%, 20% 80%;
        filter: hue-rotate(0deg);
    }

    75% {
        background-position: 0% 100%, 100% 0%, 50% 50%;
        filter: hue-rotate(-15deg);
    }
}

/* Floating Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--gradient-primary);
    background-size: 400% 400%;
    border-radius: 50%;
    animation: particleFloat 20s infinite, gradientShift 3s infinite;
    opacity: 0.6;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* ======================================
   RESET & BASE STYLES
====================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ======================================
   PREMIUM ANIMATIONS LIBRARY
====================================== */
/* Gradient Text Animation */
@keyframes gradientText {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Glow Pulse */
@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3),
            0 0 40px rgba(var(--primary-rgb), 0.2),
            0 0 60px rgba(var(--primary-rgb), 0.1);
    }

    50% {
        box-shadow: 0 0 40px rgba(var(--primary-rgb), 0.5),
            0 0 80px rgba(var(--primary-rgb), 0.3),
            0 0 120px rgba(var(--primary-rgb), 0.2);
    }
}

/* Float Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-15px) rotate(2deg);
    }

    75% {
        transform: translateY(-5px) rotate(-2deg);
    }
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        left: -150%;
    }

    100% {
        left: 150%;
    }
}

/* Bounce In */
@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Slide Up Fade */
@keyframes slideUpFade {
    from {
        transform: translateY(60px);
        opacity: 0;
        filter: blur(10px);
    }

    to {
        transform: translateY(0);
        opacity: 1;
        filter: blur(0);
    }
}

/* Color Shift */
@keyframes colorShift {

    0%,
    100% {
        filter: hue-rotate(0deg);
    }

    50% {
        filter: hue-rotate(30deg);
    }
}

/* Border Glow Animation */
@keyframes borderGlow {

    0%,
    100% {
        border-color: var(--primary);
        box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3);
    }

    33% {
        border-color: var(--gold);
        box-shadow: 0 0 20px rgba(var(--gold-rgb), 0.3);
    }

    66% {
        border-color: var(--rose);
        box-shadow: 0 0 20px rgba(225, 29, 72, 0.3);
    }
}

/* Rotate In */
@keyframes rotateIn {
    from {
        transform: rotate(-10deg) scale(0.9);
        opacity: 0;
    }

    to {
        transform: rotate(0) scale(1);
        opacity: 1;
    }
}

/* Typewriter Cursor */
@keyframes blink {

    0%,
    50% {
        border-color: var(--primary);
    }

    51%,
    100% {
        border-color: transparent;
    }
}

/* Rainbow Border */
@keyframes rainbowBorder {
    0% {
        border-image-source: linear-gradient(0deg, var(--primary), var(--gold), var(--rose));
    }

    33% {
        border-image-source: linear-gradient(120deg, var(--gold), var(--rose), var(--primary));
    }

    66% {
        border-image-source: linear-gradient(240deg, var(--rose), var(--primary), var(--gold));
    }

    100% {
        border-image-source: linear-gradient(360deg, var(--primary), var(--gold), var(--rose));
    }
}

/* ======================================
   TYPOGRAPHY - ANIMATED HEADINGS
====================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

/* Animated Gradient Heading */
.heading-animated {
    background: var(--gradient-rainbow);
    background-size: 400% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 4s ease infinite;
}

.heading-glow {
    text-shadow:
        0 0 10px rgba(var(--primary-rgb), 0.5),
        0 0 20px rgba(var(--primary-rgb), 0.3),
        0 0 40px rgba(var(--primary-rgb), 0.2);
}

/* ======================================
   LAYOUT & CONTAINER
====================================== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-content {
    padding-top: 100px;
    min-height: calc(100vh - 200px);
}

/* ======================================
   E-COMMERCE ELEMENTS
====================================== */

/* Promo Banner */
.promo-banner {
    background: var(--gradient-primary);
    color: white;
    padding: 10px 0;
    position: relative;
    overflow: hidden;
}

.promo-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    font-weight: 500;
}

.promo-content i {
    margin-right: 6px;
}

.promo-divider {
    opacity: 0.5;
}

/* Flash Sale Badge */
.flash-sale-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff6b35, #f72585);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    animation: pulse 2s ease infinite;
    margin-bottom: 16px;
}

.flash-sale-badge i {
    color: #ffd700;
}

.flash-timer {
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 10px;
    border-radius: var(--radius);
    font-family: 'Courier New', monospace;
}

/* Hero Offer Box */
.hero-offer-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--gold-rgb), 0.1));
    border: 2px dashed var(--primary);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    margin: 24px 0;
}

.offer-tag {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--danger);
    color: white;
    padding: 12px 16px;
    border-radius: var(--radius);
    animation: bounce 2s ease infinite;
}

.offer-discount {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
}

.offer-text {
    font-size: 0.75rem;
    font-weight: 600;
}

.offer-details {
    display: flex;
    flex-direction: column;
}

.offer-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.offer-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
}

.offer-original {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.trust-badge i {
    color: var(--success);
    font-size: 1.1rem;
}

/* Featured Tag on Circle */
.featured-tag {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-gold);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.featured-tag i {
    color: #fff;
    margin-right: 4px;
}

/* Stats Section */
.stats-section {
    background: var(--gradient-primary);
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    opacity: 0.9;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* Button Danger */
.btn-danger {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    border: none;
}

.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ======================================
   CATEGORY SECTION STYLES
====================================== */
.categories-grid-responsive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    padding: 20px 0;
}

.category-card-small {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    height: 100%;
    /* Ensure uniform height in grid */
    padding: 32px 24px;
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    text-decoration: none;
    color: inherit;
}

.category-card-small:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.category-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--bg-body);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.category-card-small:hover .category-icon-wrapper {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.category-icon-wrapper i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: inherit;
}

.category-card-small:hover .category-icon-wrapper i {
    -webkit-text-fill-color: white !important;
}

.category-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    transition: var(--transition);
}

.category-card-small:hover .category-name {
    color: var(--primary);
}

.product-count {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

/* Responsive Stats */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .promo-content {
        font-size: 0.75rem;
        gap: 12px;
    }

    .promo-divider {
        display: none;
    }

    .hero-offer-box {
        flex-direction: column;
        text-align: center;
    }

    .trust-badges {
        justify-content: center;
    }
}

/* ======================================
   HEADER - PREMIUM GLASS
====================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header.scrolled {
    padding: 8px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* Logo with Animation */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.25rem;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(var(--primary-rgb), 0.2));
}

.logo:hover img {
    transform: rotate(-5deg) scale(1.1);
    filter: drop-shadow(0 8px 16px rgba(var(--primary-rgb), 0.3));
}

.logo-text {
    background: var(--gradient-primary);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 3s ease infinite;
    font-weight: 900;
}

/* Navigation */
.nav,
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 12px 24px;
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.nav-link:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-link:hover::before {
    opacity: 0.1;
}

.nav-link.active {
    color: white;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    animation: gradientText 3s ease infinite;
    box-shadow: 0 4px 20px var(--primary-glow);
}

/* Search */
.search-container {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow), 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: var(--transition);
}

.search-input:focus~.search-icon {
    color: var(--primary);
    transform: translateY(-50%) scale(1.2);
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-secondary);
    position: relative;
    transition: var(--transition-bounce);
    background: transparent;
}

.icon-link:hover {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
    transform: translateY(-4px) scale(1.1);
}

.icon-link i {
    font-size: 1.3rem;
}

.count-badge {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: gradientText 2s infinite, bounceIn 0.5s ease;
    box-shadow: 0 4px 15px var(--primary-glow);
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 8px;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.user-btn:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.user-avatar {
    width: 38px;
    height: 38px;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: white;
    animation: gradientText 3s ease infinite;
    position: relative;
    overflow: hidden;
}

.user-avatar::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: var(--gradient-shine);
    animation: shimmer 2s infinite;
}

.user-name {
    font-weight: 600;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    min-width: 240px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.95);
    transition: var(--transition);
    z-index: 100;
}

.user-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    color: var(--text-secondary);
    border-radius: var(--radius);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    transform: translateX(6px);
}

.dropdown-item i {
    width: 22px;
    text-align: center;
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 10px 0;
}

/* ======================================
   PREMIUM BUTTONS - ANIMATED
====================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Shimmer Effect on Buttons */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

.btn-primary {
    background: var(--gradient-primary);
    background-size: 300% 100%;
    color: white;
    animation: gradientText 4s ease infinite;
    box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 50px var(--primary-glow);
    animation: gradientText 2s ease infinite, glowPulse 2s infinite;
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 10px 40px var(--primary-glow);
}

.btn-gold {
    background: var(--gradient-gold);
    background-size: 300% 100%;
    color: white;
    animation: gradientText 4s ease infinite;
}

.btn-gold:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 50px rgba(var(--gold-rgb), 0.4);
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    animation: none !important;
}

.btn-success {
    background: linear-gradient(135deg, #059669, #10b981, #34d399);
    background-size: 300% 100%;
    color: white;
    animation: gradientText 4s ease infinite;
    box-shadow: 0 8px 30px rgba(5, 150, 105, 0.3);
}

.btn-success:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 50px rgba(5, 150, 105, 0.4);
}

/* ======================================
   PRODUCT CARDS - ULTRA PREMIUM
====================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

/* ======================================
   PRODUCT CAROUSEL
====================================== */
.product-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
}

.product-carousel {
    overflow: hidden;
    width: 100%;
    border-radius: var(--radius-lg);
    padding: 15px 5px;
}

.product-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.product-carousel-track .product-card {
    min-width: calc((100% - 60px) / 4);
    max-width: calc((100% - 60px) / 4);
    flex-shrink: 0;
}

/* Carousel Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.35);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: gradientText 3s ease infinite;
}

.carousel-arrow:hover {
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 40px rgba(var(--primary-rgb), 0.5);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-arrow-left {
    left: -26px;
}

.carousel-arrow-right {
    right: -26px;
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%) scale(0.9);
    box-shadow: none;
}

/* Carousel Dots / Pagination */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    padding: 8px 0;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(var(--primary-rgb), 0.5);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    animation: gradientText 3s ease infinite;
    width: 32px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

/* Responsive Carousel */
@media (max-width: 1024px) {
    .product-carousel-track .product-card {
        min-width: calc((100% - 60px) / 4);
        max-width: calc((100% - 60px) / 4);
    }

    .carousel-arrow {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .carousel-arrow-left {
        left: -22px;
    }

    .carousel-arrow-right {
        right: -22px;
    }
}

@media (max-width: 768px) {
    .product-carousel-track .product-card {
        min-width: calc((100% - 40px) / 3);
        max-width: calc((100% - 40px) / 3);
    }

    .carousel-arrow {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .carousel-arrow-left {
        left: -10px;
    }

    .carousel-arrow-right {
        right: -10px;
    }

    .product-carousel-wrapper {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {

    /* 2x2 Grid with Horizontal Scroll on Mobile */
    .product-carousel-track {
        display: grid !important;
        grid-template-rows: repeat(2, auto) !important;
        /* 2 Rows fixed */
        grid-auto-flow: column !important;
        /* Flow sideways */
        grid-auto-columns: calc(50% - 15px) !important;
        /* 2 Columns visible */
        gap: 15px !important;
        overflow-x: auto !important;
        /* Horizontal Scroll */
        scroll-snap-type: x mandatory !important;
        /* Snap effect */
        padding: 10px 5px !important;
        justify-content: flex-start !important;
    }

    .product-carousel-track .product-card {
        min-width: 100% !important;
        /* Fill the grid cell */
        max-width: 100% !important;
        width: 100% !important;
        margin-bottom: 0 !important;
        scroll-snap-align: start !important;
    }

    .product-image-container {
        aspect-ratio: 4/5 !important;
        /* Taller images to make cards feel bigger */
    }

    .product-details {
        padding: 15px 12px !important;
    }

    .product-title {
        font-size: 0.95rem !important;
        /* Slightly larger title */
        margin-bottom: 6px !important;
        color: var(--text-primary) !important;
        font-weight: 600 !important;
    }

    .product-sku {
        display: none !important;
    }

    .product-price {
        gap: 10px !important;
        margin-top: 5px !important;
    }

    .current-price {
        font-size: 1.1rem !important;
        /* Larger price for better visibility */
        color: var(--primary) !important;
        font-weight: 800 !important;
    }

    .original-price {
        font-size: 0.85rem !important;
    }

    .wishlist-btn {
        width: 36px !important;
        height: 36px !important;
        top: 10px !important;
        right: 10px !important;
        font-size: 1rem !important;
        background: rgba(255, 255, 255, 0.9) !important;
        backdrop-filter: blur(4px) !important;
    }

    .discount-badge {
        font-size: 0.75rem !important;
        padding: 6px 10px !important;
        top: 10px !important;
        left: 10px !important;
        border-radius: var(--radius) !important;
    }

    /* Hide carousel controls on mobile as we now show a static scrollable grid */
    .carousel-arrow,
    .carousel-dots {
        display: none !important;
    }

    .product-carousel-wrapper {
        margin: 0 !important;
    }

    .product-carousel {
        padding: 10px 0 !important;
        overflow: visible !important;
    }
}

.product-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    border: 1px solid transparent;
    height: 100%;
    /* Force full height in flex container */
    display: flex;
    flex-direction: column;
}

/* Animated Gradient Border */
.product-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-xl);
    background: var(--gradient-rainbow);
    background-size: 400% 400%;
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
    animation: gradientText 3s ease infinite;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-card:hover::before {
    opacity: 1;
}

/* Product Image */
.product-image-container {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: visible;
    background: linear-gradient(135deg, #f5f5f5 0%, #eee 100%);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

/* Shine Effect */
.product-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    z-index: 2;
    transition: 0.7s;
    transform: skewX(-25deg);
}

.product-card:hover .product-image-container::before {
    left: 150%;
}

/* Quick Actions */
.quick-actions {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
    z-index: 5;
}

.product-card:hover .quick-actions {
    opacity: 1;
    transform: translateY(0);
}

.quick-action-btn {
    flex: 1;
    padding: 14px;
    background: white;
    border: none;
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.quick-action-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 10px 30px var(--primary-glow);
}

/* Discount Badge - Floating */
.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: var(--danger);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    z-index: 5;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

/* Wishlist Button - Always Visible on Right Side */
.wishlist-btn {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid rgba(var(--primary-rgb), 0.25);
    border-radius: 50%;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
    font-size: 1.1rem;
    backdrop-filter: blur(8px);
}

.wishlist-btn:hover {
    transform: scale(1.15);
    background: var(--danger);
    border-color: var(--danger);
    color: white;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.wishlist-btn.active {
    background: var(--danger);
    border-color: var(--danger);
    color: white;
    animation: pulse 0.5s ease;
}

.wishlist-btn i {
    transition: var(--transition);
}

.wishlist-btn:hover i {
    transform: scale(1.1);
}

.product-details {
    padding: 16px;
    background: white;
    position: relative;
    flex-grow: 1;
    /* Fill remaining space */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
    height: 2.8em;
    /* Fixed height for 2 lines */
}

/* Mobile-specific rule: Allow all products to show (scrolling handled by layout) */
@media (max-width: 768px) {
    .product-card:nth-child(n+5) {
        display: block !important;
    }
}

.product-card:hover .product-title {
    color: var(--primary);
}

.product-sku {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 14px;
}

.current-price {
    font-size: 1.1rem;
    font-weight: 900;
    background: var(--gradient-primary);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 3s ease infinite;
}

.original-price {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* ======================================
   HERO SECTION - ULTRA PREMIUM
====================================== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 24px 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, white 0%, var(--bg-body) 100%);
}

/* Floating Orbs */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 8s ease-in-out infinite;
}

.hero::before {
    top: 10%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.2) 0%, transparent 70%);
}

.hero::after {
    bottom: 10%;
    left: 10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(var(--gold-rgb), 0.15) 0%, transparent 70%);
    animation-delay: -4s;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 28px;
    animation: slideUpFade 1s ease;
}

.hero-title span {
    background: var(--gradient-rainbow);
    background-size: 400% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 4s ease infinite;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    animation: slideUpFade 1s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideUpFade 1s ease 0.4s backwards;
}

/* ======================================
   SECTION STYLES
====================================== */
.section {
    padding: 70px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    animation: slideUpFade 0.8s ease;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 4s ease infinite;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background: var(--gradient-rainbow);
    background-size: 400% 100%;
    margin: 20px auto 0;
    border-radius: var(--radius-full);
    animation: gradientText 3s ease infinite;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto;
}

/* ======================================
   CATEGORY CARDS
====================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 28px;
}

.category-card {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(var(--primary-rgb), 0.95) 0%, rgba(var(--primary-rgb), 0.4) 50%, transparent 100%);
    z-index: 1;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: var(--shadow-hover);
}

.category-card:hover::before {
    background: linear-gradient(0deg, rgba(var(--primary-rgb), 1) 0%, rgba(var(--primary-rgb), 0.6) 60%, transparent 100%);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.category-card:hover img {
    transform: scale(1.2) rotate(3deg);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 30px;
    z-index: 2;
}

.category-card-title {
    color: white;
    font-weight: 800;
    font-size: 1.4rem;
    text-align: center;
    transition: var(--transition);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.category-card:hover .category-card-title {
    transform: translateY(-10px) scale(1.1);
}

/* ======================================
   PREMIUM CARDS
====================================== */
.card {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-xl);
    background: var(--gradient-primary);
    background-size: 300% 300%;
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
    animation: gradientText 3s ease infinite;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card:hover::before {
    opacity: 1;
}

.card-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, #fafafa 0%, white 100%);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 14px;
}

.card-title i {
    color: var(--primary);
    font-size: 1.3rem;
}

.card-body {
    padding: 28px;
}

/* ======================================
   FORMS
====================================== */
.form-group {
    margin-bottom: 28px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 18px 22px;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 5px var(--primary-glow), 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: var(--text-muted);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234b5563'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 22px;
    padding-right: 52px;
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

/* ======================================
   QUANTITY SELECTOR
====================================== */
.quantity-selector {
    display: inline-flex;
    align-items: center;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.quantity-selector:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.quantity-btn {
    width: 52px;
    height: 52px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: var(--primary);
    color: white;
}

.quantity-input {
    width: 70px;
    text-align: center;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    -moz-appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
}

/* ======================================
   CART STYLES
====================================== */
.cart-item {
    display: flex;
    gap: 28px;
    padding: 32px;
    border-bottom: 1px solid var(--border);
    position: relative;
    transition: var(--transition);
}

.cart-item:hover {
    background: rgba(var(--primary-rgb), 0.02);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    flex-shrink: 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.cart-item:hover .cart-item-image {
    transform: scale(1.05);
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.cart-item-variant {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.cart-item-price {
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 3s ease infinite;
}

/* ======================================
   ORDER SUMMARY
====================================== */
.order-summary {
    background: white;
    border-radius: var(--radius-xl);
    border: 2px solid var(--border);
    padding: 36px;
    box-shadow: var(--shadow-card);
    position: sticky;
    top: 120px;
    transition: var(--transition);
}

.order-summary:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.summary-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.summary-value {
    font-weight: 700;
}

.total-row {
    border-bottom: none;
    border-top: 3px solid var(--primary);
    margin-top: 16px;
    padding-top: 28px;
    font-size: 1.3rem;
}

.total-value {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-primary);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 3s ease infinite;
}

/* ======================================
   ALERTS
====================================== */
.alert {
    padding: 20px 28px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    border: 2px solid transparent;
    animation: slideUpFade 0.4s ease;
}

.alert-success {
    background: rgba(5, 150, 105, 0.08);
    color: var(--success);
    border-color: rgba(5, 150, 105, 0.2);
}

.alert-danger {
    background: rgba(220, 38, 38, 0.08);
    color: var(--danger);
    border-color: rgba(220, 38, 38, 0.2);
}

.alert-warning {
    background: rgba(217, 119, 6, 0.08);
    color: var(--warning);
    border-color: rgba(217, 119, 6, 0.2);
}

/* ======================================
   TOAST NOTIFICATIONS
====================================== */
.toast-container {
    position: fixed;
    top: 110px;
    right: 28px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.toast {
    padding: 20px 28px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: slideIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 400px;
}

@keyframes slideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.success {
    border-left: 5px solid var(--success);
}

.toast.error {
    border-left: 5px solid var(--danger);
}

.toast.info {
    border-left: 5px solid var(--primary);
}

.toast.warning {
    border-left: 5px solid var(--warning);
}

/* ======================================
   FOOTER
====================================== */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: white;
    padding: 60px 0 30px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-gold);
    background-size: 400% 100%;
    animation: gradientText 4s ease infinite;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gold);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    transform: translateX(8px);
    display: inline-block;
}

.social-links {
    display: flex;
    gap: 14px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition-bounce);
}

.social-link:hover {
    background: var(--gold);
    border-color: transparent;
    transform: translateY(-8px) rotate(10deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(var(--gold-rgb), 0.4);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(255, 255, 255, 0.7);
}

/* ======================================
   MOBILE NAVIGATION
====================================== */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 3px;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -350px;
    width: 320px;
    height: 100vh;
    background: white;
    border-right: 1px solid var(--border);
    z-index: 2000;
    transition: var(--transition);
    overflow-y: auto;
    padding: 28px;
    box-shadow: 30px 0 60px rgba(0, 0, 0, 0.2);
}

.mobile-sidebar.open {
    left: 0;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
}

.sidebar-close {
    width: 48px;
    height: 48px;
    background: var(--bg-body);
    border: 2px solid var(--border);
    border-radius: 50%;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-bounce);
    font-size: 1.1rem;
}

.sidebar-close:hover {
    background: var(--danger);
    color: white;
    border-color: transparent;
    transform: rotate(180deg);
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    color: var(--text-secondary);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    margin-bottom: 8px;
    font-weight: 600;
}

.sidebar-nav-link:hover {
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
    transform: translateX(6px);
}

.sidebar-nav-link.active {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    color: white;
    animation: gradientText 3s ease infinite;
    box-shadow: 0 8px 30px var(--primary-glow);
}

.sidebar-nav-link i {
    width: 24px;
    text-align: center;
    font-size: 1.15rem;
}

.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1500;
}

.overlay.open {
    display: block;
}

/* Mobile Bottom Nav */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--border);
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom, 0);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
}

.mobile-nav-items {
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    color: var(--text-muted);
    font-size: 0.75rem;
    transition: var(--transition);
    position: relative;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: var(--primary);
}

.mobile-nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.mobile-nav-icon {
    font-size: 1.5rem;
}

.mobile-nav-text {
    font-weight: 600;
}

.mobile-count-badge {
    position: absolute;
    top: 4px;
    right: 12px;
    min-width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* ======================================
   LOADING & UTILITIES
====================================== */
.spinner {
    width: 32px;
    height: 32px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 400% 100%;
    animation: shimmerEffect 1.5s infinite;
}

@keyframes shimmerEffect {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Text Utilities */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary) !important;
}

.text-success {
    color: var(--success) !important;
}

.text-danger {
    color: var(--danger) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* Spacing */
.mt-2 {
    margin-top: 16px;
}

.mt-3 {
    margin-top: 24px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 24px;
}

/* Flex */
.d-flex {
    display: flex;
}

.gap-2 {
    gap: 16px;
}

.w-100 {
    width: 100%;
}

.hidden {
    display: none !important;
}

/* ======================================
   RESPONSIVE DESIGN
====================================== */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {

    .nav,
    .search-container,
    .user-dropdown .user-name {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-nav {
        display: block;
    }

    .page-content {
        padding-bottom: 100px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

/* Mobile Footer Adjustments */
@media (max-width: 991px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        /* Stack vertically */
        gap: 32px;
        text-align: center;
    }

    .footer-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-section h3 {
        justify-content: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
        /* Center the underline */
    }

    .logo {
        justify-content: center;
    }

    .footer-links li {
        justify-content: center;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding-top: 20px;
    }

    .footer-bottom>div {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 75vh;
        padding-top: 120px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cart-item {
        flex-direction: column;
    }

    .cart-item-image {
        width: 100%;
        height: 220px;
    }

    .header {
        background: #ffffff !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        padding: 6px 0 !important;
    }

    .header-container {
        justify-content: center !important;
        position: relative;
    }

    .header-icons .icon-link {
        display: none !important;
    }

    .menu-toggle {
        position: absolute;
        right: 24px;
        display: flex !important;
    }

    .user-dropdown {
        display: none;
    }

    .logo {
        margin: 0 auto;
    }

    .logo img {
        height: 35px !important;
    }

    .page-content {
        padding-top: 70px !important;
    }

    .mobile-nav-items {
        padding: 8px 0 !important;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .btn {
        padding: 16px 28px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .categories-grid-responsive {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .category-card-small {
        padding: 20px 12px !important;
    }

    .category-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 1.5rem !important;
    }

    .category-name {
        font-size: 0.9rem !important;
    }

    .product-count {
        font-size: 0.75rem !important;
    }

    .features-grid-responsive {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px !important;
        padding: 20px 0 !important;
    }

    .features-grid-responsive div i {
        font-size: 1.25rem !important;
        margin-bottom: 8px !important;
    }

    .features-grid-responsive div h3 {
        font-size: 0.65rem !important;
        margin-bottom: 4px !important;
    }

    .features-grid-responsive div p {
        font-size: 0.55rem !important;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* ======================================
   HERO SECTION - ANIMATED CIRCLES
====================================== */
.hero.hero-split {
    min-height: 100vh;
    padding: 140px 0 80px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(77, 41, 50, 0.04) 0%, transparent 100%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(201, 162, 39, 0.03) 0%, transparent 100%),
        linear-gradient(135deg, #fff 0%, var(--bg-body) 30%, #fff 60%, var(--bg-body) 100%);
    overflow: hidden;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Hero Left Content */
.hero-left {
    text-align: left;
    max-width: 600px;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--gradient-gold);
    background-size: 200% 200%;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 28px;
    animation: gradientText 3s ease infinite, bounceIn 0.8s ease;
    box-shadow: 0 8px 30px rgba(var(--gold-rgb), 0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    backdrop-filter: blur(4px);
    position: relative;
}

.hero-badge i {
    font-size: 0.85rem;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
}

.hero-title-line {
    display: block;
    letter-spacing: -0.02em;
}

.hero-title-line:first-child {
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.hero-title-line.gradient-animated {
    background: var(--gradient-rainbow);
    background-size: 400% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 4s ease infinite;
    filter: drop-shadow(0 2px 4px rgba(77, 41, 50, 0.1));
}

/* Hero Subtitle - Professional */
.hero-split .hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 500px;
    position: relative;
    animation: slideUpFade 1.2s ease 0.3s both;
}

/* Hero Buttons - Professional Glow */
.hero-split .hero-buttons {
    display: flex;
    gap: 16px;
    animation: slideUpFade 1.4s ease 0.5s both;
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(255, 255, 255, 0.3), transparent 30%);
    animation: glowSpin 3s linear infinite;
}

.btn-glow::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: inherit;
    border-radius: inherit;
    z-index: 1;
}

.btn-glow span,
.btn-glow i {
    position: relative;
    z-index: 2;
}

@keyframes glowSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    animation: slideUpFade 1.6s ease 0.7s both;
}

.hero-stat {
    text-align: center;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 100px;
}

.hero-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(77, 41, 50, 0.08);
}

.hero-stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--gradient-primary);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 3s ease infinite;
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Right - Professional E-commerce Layout */
.hero-right {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideInRight 1s ease 0.4s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-circles-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Base Circle Styles */
.hero-circle {
    position: absolute;
    border-radius: 50%;
    overflow: visible;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-circle:hover {
    z-index: 10 !important;
}

.hero-circle-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 5px solid white;
    box-shadow: 0 25px 60px rgba(77, 41, 50, 0.15);
}

.hero-circle-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.4s ease;
    filter: saturate(1.05);
}

.hero-circle:hover .hero-circle-inner img {
    transform: scale(1.12);
    filter: saturate(1.2) brightness(1.05);
}

.hero-circle:hover .hero-circle-inner {
    box-shadow: 0 30px 80px rgba(77, 41, 50, 0.25);
}

/* ─── Main Large Circle ─── */
.hero-circle-main {
    width: 360px;
    height: 360px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: heroFloat 6s ease-in-out infinite;
    z-index: 5;
}

.hero-circle-main .hero-circle-inner {
    border-width: 6px;
    box-shadow:
        0 30px 70px rgba(77, 41, 50, 0.18),
        0 0 0 1px rgba(201, 162, 39, 0.1);
}

.hero-circle-main::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 50%, var(--primary) 100%);
    background-size: 300% 300%;
    z-index: -1;
    animation: gradientText 4s ease infinite;
    opacity: 0.6;
}

/* Animated Rings - Professional Glow */
.hero-circle-ring {
    position: absolute;
    inset: -18px;
    border: 1.5px solid rgba(77, 41, 50, 0.15);
    border-radius: 50%;
    opacity: 1;
    animation: ringPulse 4s ease-in-out infinite;
    pointer-events: none;
}

.hero-circle-ring-2 {
    inset: -36px;
    border-color: rgba(201, 162, 39, 0.12);
    animation-delay: -2s;
    animation-duration: 5s;
}

@keyframes ringPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.06);
        opacity: 0.2;
    }
}

/* ─── Medium Circles ─── */
.hero-circle-medium {
    width: 170px;
    height: 170px;
    z-index: 4;
}

.hero-circle-medium .hero-circle-inner {
    border-width: 4px;
}

.hero-circle-medium::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    background-size: 200% 200%;
    z-index: -1;
    animation: gradientText 5s ease infinite;
    opacity: 0.5;
}

.hero-circle-top {
    top: 2%;
    right: 8%;
    animation: heroFloat 5s ease-in-out infinite;
    animation-delay: -1s;
}

.hero-circle-bottom {
    bottom: 5%;
    left: 10%;
    animation: heroFloat 7s ease-in-out infinite reverse;
    animation-delay: -3s;
}

/* ─── Small Decorative Circles ─── */
.hero-circle-small {
    width: 50px;
    height: 50px;
    z-index: 3;
    box-shadow: none;
}

.hero-circle-small .hero-circle-inner {
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.hero-circle-sm-1 {
    top: 18%;
    left: 15%;
    animation: heroFloat 4s ease-in-out infinite;
    animation-delay: -0.5s;
}

.hero-circle-sm-2 {
    bottom: 22%;
    right: 5%;
    width: 40px;
    height: 40px;
    animation: heroFloat 5s ease-in-out infinite reverse;
    animation-delay: -1.5s;
}

.hero-circle-sm-3 {
    top: 55%;
    right: 28%;
    width: 30px;
    height: 30px;
    animation: heroFloat 6s ease-in-out infinite;
    animation-delay: -2.5s;
}

/* Circle Color Fills */
.hero-circle-gradient {
    background: linear-gradient(135deg, #4d2932 0%, #8b4558 100%);
}

.hero-circle-gold {
    background: linear-gradient(135deg, #c9a227 0%, #e8c547 100%);
}

.hero-circle-accent {
    background: linear-gradient(135deg, rgba(77, 41, 50, 0.15) 0%, rgba(201, 162, 39, 0.15) 100%);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
}

/* ─── Oval Decorations - Elegant Arcs ─── */
.hero-oval {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}

.hero-oval-1 {
    width: 450px;
    height: 220px;
    top: 8%;
    right: -60px;
    border-color: var(--primary);
    transform: rotate(-15deg);
    animation: ovalFloat 10s ease-in-out infinite;
}

.hero-oval-2 {
    width: 350px;
    height: 170px;
    bottom: 3%;
    left: -40px;
    border-color: var(--gold);
    transform: rotate(12deg);
    animation: ovalFloat 12s ease-in-out infinite reverse;
}

@keyframes ovalFloat {

    0%,
    100% {
        transform: rotate(-15deg) translateY(0);
    }

    50% {
        transform: rotate(-12deg) translateY(-15px);
    }
}

/* ─── Floating Dots - Refined ─── */
.hero-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.hero-dots span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.25;
}

.hero-dots span:nth-child(1) {
    top: 12%;
    left: 28%;
    animation: dotFloat 7s ease-in-out infinite;
    width: 5px;
    height: 5px;
}

.hero-dots span:nth-child(2) {
    top: 32%;
    right: 3%;
    animation: dotFloat 8s ease-in-out infinite;
    background: var(--gold);
    width: 7px;
    height: 7px;
    opacity: 0.35;
}

.hero-dots span:nth-child(3) {
    bottom: 18%;
    left: 32%;
    animation: dotFloat 6s ease-in-out infinite;
    width: 4px;
    height: 4px;
}

.hero-dots span:nth-child(4) {
    bottom: 38%;
    right: 18%;
    animation: dotFloat 9s ease-in-out infinite;
    background: var(--gold);
    width: 5px;
    height: 5px;
    opacity: 0.3;
}

.hero-dots span:nth-child(5) {
    top: 48%;
    left: 3%;
    animation: dotFloat 7s ease-in-out infinite;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    opacity: 0.2;
}

.hero-dots span:nth-child(6) {
    top: 72%;
    right: 32%;
    animation: dotFloat 10s ease-in-out infinite;
    width: 4px;
    height: 4px;
}

@keyframes dotFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.25;
    }

    50% {
        transform: translateY(-12px) scale(1.1);
        opacity: 0.45;
    }
}

/* ─── Floating Labels on Circles ─── */
.hero-circle-label {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, #8b4558 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(77, 41, 50, 0.3);
    z-index: 10;
    animation: labelBounce 3s ease-in-out infinite;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hero-circle-label i {
    font-size: 0.65rem;
}

.hero-circle-label-sm {
    font-size: 0.65rem;
    padding: 4px 12px;
    bottom: -6px;
    background: linear-gradient(135deg, var(--gold) 0%, #d4a835 100%);
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.35);
}

@keyframes labelBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-4px);
    }
}

/* ─── Circle Shimmer Shine Effect ─── */
.hero-circle-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.08) 30%,
            rgba(255, 255, 255, 0.25) 50%,
            rgba(255, 255, 255, 0.08) 70%,
            transparent 100%);
    transform: skewX(-20deg);
    animation: circleShimmer 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes circleShimmer {
    0% {
        left: -100%;
    }

    50% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

/* ─── Stat Icons ─── */
.hero-stat-icon {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 8px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(77, 41, 50, 0.08) 0%, rgba(201, 162, 39, 0.08) 100%);
    color: var(--primary);
    margin-left: auto;
    margin-right: auto;
}

/* ─── Button Shimmer Effect ─── */
.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.15) 50%,
            transparent 100%);
    transform: skewX(-15deg);
    animation: btnShimmer 3s ease-in-out infinite;
}

@keyframes btnShimmer {
    0% {
        left: -100%;
    }

    60% {
        left: 130%;
    }

    100% {
        left: 130%;
    }
}

/* Hero Background Circles */
.hero-bg-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero-bg-circle-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%);
    animation: bgCircleFloat 15s ease-in-out infinite;
}

.hero-bg-circle-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(var(--gold-rgb), 0.1) 0%, transparent 70%);
    animation: bgCircleFloat 12s ease-in-out infinite reverse;
}

.hero-bg-circle-3 {
    width: 300px;
    height: 300px;
    top: 30%;
    left: 20%;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.06) 0%, transparent 60%);
    animation: bgCircleFloat 18s ease-in-out infinite;
    animation-delay: -5s;
}

@keyframes bgCircleFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -20px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 30px) scale(0.95);
    }
}

/* Hero Animations */
@keyframes heroFloat {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-20px);
    }
}

@keyframes heroRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Button Glow Effect */
.btn-glow {
    animation: btnGlow 2s ease-in-out infinite alternate;
}

@keyframes btnGlow {
    from {
        box-shadow: 0 8px 30px var(--primary-glow);
    }

    to {
        box-shadow: 0 12px 50px var(--primary-glow), 0 0 30px rgba(var(--primary-rgb), 0.2);
    }
}

/* Responsive Hero Circles */
@media (max-width: 1200px) {
    .hero-grid {
        gap: 40px;
    }

    .hero-circle-main {
        width: 280px;
        height: 280px;
    }

    .hero-circle-medium {
        width: 140px;
        height: 140px;
    }
}

/* Mobile Search Toggle - Perfected */
.mobile-search-toggle {
    display: none;
    /* Hidden on desktop */
}

@media (max-width: 991px) {
    .mobile-search-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        color: var(--text-primary);
        font-size: 1.3rem;
        /* Perfectly sized icon */
        cursor: pointer;
        border-radius: 50%;
        transition: var(--transition);
        margin-left: auto;
        /* Pushes it to the right if flex container allows */
        z-index: 20;
    }

    .mobile-search-toggle:hover {
        background: rgba(var(--primary-rgb), 0.05);
        color: var(--primary);
        transform: scale(1.1);
    }

    .mobile-search-toggle:active {
        transform: scale(0.95);
    }
}

/* Mobile Search Bar Overlay (Dropdown) */
.mobile-search-bar {
    position: absolute;
    top: 100%;
    /* Below header */
    left: 0;
    right: 0;
    background: white;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--border);

    /* Hidden by default with animation setup */
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    /* Below header but above content */
}

.mobile-search-bar.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.search-inner {
    display: flex;
    gap: 10px;
    max-width: 100%;
    margin: 0 auto;
}

.mobile-search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    background: #f8fafc;
    width: 100%;
}

.mobile-search-input:focus {
    border-color: var(--primary);
    background: white;
}

.search-submit {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.3);
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-left {
        text-align: center;
        max-width: 100%;
        order: 1;
    }

    .hero-right {
        order: 0;
        height: 400px;
        margin-bottom: 20px;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-circle-main {
        width: 220px;
        height: 220px;
    }

    .hero-circle-medium {
        width: 120px;
        height: 120px;
    }

    .hero-oval {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero.hero-split {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-right {
        height: 350px;
    }

    .hero-circle-main {
        width: 180px;
        height: 180px;
    }

    .hero-circle-medium {
        width: 100px;
        height: 100px;
    }

    .hero-circle-small {
        width: 40px;
        height: 40px;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .hero-stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-right {
        height: 300px;
    }

    .hero-circle-main {
        width: 150px;
        height: 150px;
    }

    .hero-circle-medium {
        width: 80px;
        height: 80px;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 8px 16px;
    }
}

/* ======================================
   QUANTITY SELECTOR - PREMIUM STYLE
====================================== */
.quantity-selector {
    display: inline-flex;
    align-items: center;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.quantity-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: var(--primary);
    color: white;
}

.quantity-input {
    width: 60px;
    height: 48px;
    text-align: center;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 700;
    -moz-appearance: textfield;
    appearance: none;
}

.quantity-input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

/* ======================================
   PAGE CONTENT - PRODUCT VIEW
====================================== */
/* ======================================
   PRODUCTS TOOLBAR (SORT & FILTER)
====================================== */
.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 18px 24px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 16px;
}

.products-count {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
}

.products-count span {
    color: var(--text-primary);
    font-weight: 700;
}

.products-sort {
    display: flex;
    align-items: center;
    gap: 12px;
}

.products-sort label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.select-wrapper {
    position: relative;
    display: inline-block;
}

.select-wrapper i {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 0.8rem;
    color: var(--primary);
}

.sort-select {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid var(--border);
    padding: 10px 40px 10px 16px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    background: #f8fafc;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}

.sort-select:hover,
.sort-select:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

@media (max-width: 480px) {
    .products-toolbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
    }

    .products-sort {
        width: 100%;
        justify-content: space-between;
    }
}

/* Product View Responsive */
@media (max-width: 1024px) {
    .page-content>.container>div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
}

@media (max-width: 768px) {
    .page-content {
        padding: 24px 0 60px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }
}

/* ======================================
   PRODUCT VIEW STYLES
   Moved from product_view.php for optimization
   ====================================== */
.product-view-section {
    padding: 1.5rem 0;
    margin-top: 40px;
}

.product-view-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
    align-items: start;
}

@media (min-width: 1024px) {
    .product-view-grid {
        grid-template-columns: 45% 55%;
    }
}

.main-product-image-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: white;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-product-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.product-thumbnails {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 5px 0;
    scrollbar-width: thin;
}

.product-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.product-thumbnail:hover {
    border-color: var(--border);
}

.product-thumbnail.active {
    border-color: var(--primary);
}

.product-info-column {
    padding-top: 0.5rem;
}

.product-title-large {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.product-price-section {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.variant-selector {
    margin-bottom: 1.25rem;
}

.variant-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.variant-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.variant-option {
    padding: 0.4rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    background: white;
    font-size: 0.95rem;
    transition: var(--transition);
}

.variant-option:hover {
    border-color: var(--text-muted);
}

.variant-option.active {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.05);
    color: var(--primary);
    font-weight: 600;
    box-shadow: 0 0 0 1px var(--primary);
}

.quantity-selector {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding: 0.5rem 1.25rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-body);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.quantity-btn:hover {
    background: var(--border);
    color: var(--text-primary);
}

.quantity-display {
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 24px;
    text-align: center;
}

.action-buttons {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.action-buttons .btn {
    flex: 1;
}

/* Premium Mobile Action Buttons */
.mobile-action-buttons {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px 16px env(safe-area-inset-bottom);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.mobile-action-buttons .btn-group {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.mobile-wishlist-btn {
    width: 50px !important;
    min-width: 50px !important;
    flex: 0 0 50px !important;
    padding: 0 !important;
    background: white !important;
    border: 1px solid var(--border) !important;
    color: var(--text-muted) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem !important;
}

.mobile-wishlist-btn.active {
    color: var(--danger) !important;
    border-color: #fecaca !important;
    background: #fef2f2 !important;
}

@media (max-width: 768px) {
    .mobile-action-buttons {
        display: block;
    }

    .desktop-action-buttons {
        display: none;
    }

    .product-view-section {
        padding-bottom: 90px;
    }
}

/* Tabs */
.tabs-container {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.5rem;
    gap: 20px;
}

.tab-btn {
    padding: 0.75rem 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    font-size: 1rem;
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
    line-height: 1.8;
    color: var(--text-secondary);
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Related Products Grid Styles */
.related-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

@media (min-width: 1024px) {
    .related-products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.related-products-grid .product-card {
    height: 100%;
}


/* ======================================
   CART STYLES
   Moved from cart.php for optimization
   ====================================== */
.qty-btn:hover {
    background: rgba(37, 99, 235, 0.1) !important;
    color: var(--primary) !important;
}

@media (max-width: 1024px) {
    .cart-grid {
        grid-template-columns: 1fr !important;
    }

    .cart-summary {
        position: static !important;
        margin-top: 2rem;
    }
}

@media (max-width: 600px) {
    .cart-items-list .card {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .cart-items-list .card img {
        width: 100% !important;
        height: 200px !important;
    }

    .cart-items-list .card>div:first-child {
        width: 100% !important;
        height: auto !important;
    }
}
/* ======================================
   CHECKOUT STYLES
   Moved from checkout.php for optimization
   ====================================== */
.checkout-header {
    padding: 60px 0 40px;
    text-align: center;
}

.checkout-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

@media (min-width: 1024px) {
    .checkout-grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

.checkout-grid .card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.form-input,
.form-select {
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    font-size: 1rem;
    transition: var(--transition);
    background: #fff;
    color: var(--text-primary);
}

.form-input:focus,
.form-select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(77, 41, 50, 0.1);
}

.shipping-info-box {
    background: rgba(77, 41, 50, 0.05);
    border: 1px solid rgba(77, 41, 50, 0.1);
    padding: 18px;
    border-radius: 12px;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
}

.transaction-info-box {
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.1);
    padding: 18px;
    border-radius: 12px;
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--primary); /* Changed to primary from accent for consistency */
    font-weight: 500;
}

.order-summary-card {
    position: sticky;
    top: 100px;
}

.order-item {
    display: flex;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid #f1f5f9;
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-img {
    width: 75px;
    height: 75px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid #edf2f7;
}

.order-item-info {
    flex: 1;
}

.order-item-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.order-item-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.total-section {
    margin-top: 30px;
    background: #f8fafc;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.summary-row.total {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 2px solid #e2e8f0;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
}

.submit-btn {
    width: 100%;
    padding: 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    font-weight: 800;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 12px 30px rgba(77, 41, 50, 0.3);
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(77, 41, 50, 0.4);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 25px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    justify-content: center;
}

.payment-method-badge {
    padding: 22px;
    background: #fff;
    border-radius: 16px;
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.payment-method-badge::after {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    color: #10b981;
    font-size: 1.4rem;
}


/* ======================================
   AUTH PAGES (Login / Register)
   ====================================== */
.auth-body {
    background: #f8fafc;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(77, 41, 50, 0.05) 0%, transparent 20%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    padding: 40px 35px;
    border-radius: 24px;
    box-shadow: 
        0 20px 40px -10px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 10;
}

.auth-logo-container {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    box-shadow: 0 10px 20px rgba(77, 41, 50, 0.15);
    animation: authFloat 6s ease-in-out infinite;
}

.auth-logo-container img {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    object-fit: cover;
    background: #fff;
    display: block;
}

@keyframes authFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.auth-title {
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    text-align: center;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 30px;
}

.auth-input-group {
    position: relative;
    margin-bottom: 20px;
}

.auth-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
    z-index: 2;
    transition: color 0.3s;
}

.auth-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border-radius: 12px;
    border: 1.5px solid #cbd5e1;
    background: #f1f5f9;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
}

.auth-input:focus {
    outline: none;
    border-color: var(--gold);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.auth-input:focus + .auth-input-icon {
    color: var(--gold);
}

.auth-links {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.auth-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

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

.auth-links a.highlight {
    color: var(--primary);
    font-weight: 600;
}

.auth-features {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 20px;
}

.auth-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
}

.auth-feature-item i {
    color: var(--gold);
    font-size: 1.1rem;
    padding: 8px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
}


/* ======================================
   ACCOUNT PAGES
   ====================================== */
.account-header {
    background: var(--bg-body);
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.account-nav {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.nav-item {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    transition: var(--transition);
}

.nav-item.active,
.nav-item:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(77, 41, 50, 0.2);
}

.account-section {
    margin-bottom: 3rem;
}

.account-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.account-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
}

.notifications-grid {
    display: grid;
    gap: 1.5rem;
}

.notification-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.notification-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.notification-product {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.notification-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: var(--input-bg);
}

.notification-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.notification-info .category {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
}

.notification-info .sku {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.notification-status {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-notified {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-cancelled {
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
    border: 1px solid rgba(100, 116, 139, 0.2);
}

.notification-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.detail-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
}

.notification-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border);
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .account-nav {
        flex-direction: column;
    }
    .nav-item {
        text-align: center;
    }
    .notification-header {
        flex-direction: column;
    }
    .notification-actions {
        width: 100%;
        flex-direction: column;
    }
    .notification-actions .btn {
        width: 100%;
    }
}

