* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple-light: #b8a4e8;
    --purple-main: #8b6fd9;
    --purple-dark: #6b4fc7;
    --bg-dark: #1a0d2e;
    --bg-darker: #0f0820;
    --bg-card: #2a1648;
    --text-white: #ffffff;
    --text-gray: #b8a4e8;
}

/* Custom Scrollbar - Enhanced Design */
::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, rgba(15, 8, 32, 0.95) 0%, rgba(26, 13, 46, 0.95) 100%);
    border-radius: 10px;
    border: 1px solid rgba(139, 111, 217, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #b8a4e8 0%, #8b6fd9 50%, #6b4fc7 100%);
    border-radius: 10px;
    border: 2px solid rgba(15, 8, 32, 0.6);
    box-shadow:
        0 0 10px rgba(139, 111, 217, 0.5),
        inset 0 0 10px rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #d4c4f5 0%, #b8a4e8 50%, #8b6fd9 100%);
    box-shadow:
        0 0 15px rgba(139, 111, 217, 0.8),
        0 0 25px rgba(184, 164, 232, 0.4),
        inset 0 0 15px rgba(255, 255, 255, 0.2);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, #8b6fd9 0%, #6b4fc7 100%);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #8b6fd9 rgba(15, 8, 32, 0.8);
}

/* Cart Badge Styles */
.badge-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.6);
    border: 2px solid rgba(42, 22, 72, 0.9);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 107, 107, 0.6);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.8);
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(180deg, #0f0820 0%, #1a0d2e 50%, #2a1648 100%);
    color: var(--text-white);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 111, 217, 0.4) 0%, transparent 70%);
    animation: float 20s infinite ease-in-out;
    filter: blur(60px);
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 350px;
    height: 350px;
    top: 50%;
    right: -100px;
    animation-delay: 5s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: 30%;
    animation-delay: 10s;
}

.shape-4 {
    width: 450px;
    height: 450px;
    top: 20%;
    left: 50%;
    animation-delay: 3s;
}

.shape-5 {
    width: 320px;
    height: 320px;
    bottom: 20%;
    right: 20%;
    animation-delay: 7s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(50px, 100px) scale(1.1);
    }

    50% {
        transform: translate(100px, 50px) scale(0.9);
    }

    75% {
        transform: translate(-50px, 80px) scale(1.05);
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
    background: rgba(42, 22, 72, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 100px;
    padding: 1rem 2.5rem;
    border: 2px solid rgba(139, 111, 217, 0.3);
    box-shadow: 0 8px 32px rgba(139, 111, 217, 0.4);
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: all 0.4s ease;
}

.user-controls {
    background: rgba(42, 22, 72, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 100px;
    padding: 0.5rem 1.5rem;
    border: 2px solid rgba(139, 111, 217, 0.3);
    box-shadow: 0 8px 32px rgba(139, 111, 217, 0.4);
    display: flex;
    align-items: center;
    gap: 1.5rem;

    /* Animation props */
    max-width: 500px;
    /* Arbitrary large enough value */
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
    /* Changed from hidden to visible */
}

/* Scroll State - Hide User Controls */
.navbar.scrolled .user-controls {
    max-width: 0;
    padding: 0;
    border-width: 0;
    opacity: 0;
    margin-left: -1rem;
    pointer-events: none;
    overflow: hidden;
    /* Add hidden here for animation */
}

/* --- Profile Dropdown Styles --- */
.profile-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    width: 220px;
    background: rgba(42, 22, 72, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(139, 111, 217, 0.3);
    border-radius: 20px;
    padding: 0.8rem;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    transform-origin: top right;
}

.profile-dropdown.show {
    display: flex !important;
    /* Force display */
    animation: dropdownFadeIn 0.3s ease forwards;
}

.profile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 0.95rem;
    cursor: pointer;
    font-weight: 500;
}

.profile-dropdown-item:hover {
    background: rgba(139, 111, 217, 0.2);
    color: #b8a4e8;
    transform: translateX(5px);
}

.profile-dropdown-item svg {
    opacity: 0.8;
}

.profile-dropdown-item.logout {
    color: #ff6b6b;
}

.profile-dropdown-item.logout:hover {
    background: rgba(255, 107, 107, 0.1);
    color: #ff8787;
}

.profile-dropdown-divider {
    height: 1px;
    background: rgba(139, 111, 217, 0.2);
    margin: 0.2rem 0;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Scroll State - Hide Currency Selector */
.navbar.scrolled .currency-selector {
    max-width: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}


.navbar.scrolled {
    gap: 0;
    /* Remove gap when controls are hidden to perfectly center */
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s;
    white-space: nowrap;
}

.icon-link {
    color: white;
    transition: color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
}

.icon-link svg {
    transition: all 0.3s;
    fill: white;
}

.icon-link:hover {
    color: var(--purple-light);
}

.icon-link:hover svg {
    fill: var(--purple-light);
    transform: scale(1.1);
}

/* Cart Badge */
.badge-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.6);
    }
}

.user-avatar-placeholder {
    transition: all 0.3s;
    border: 1px solid rgba(139, 111, 217, 0.5);
}

.user-avatar-placeholder:hover {
    box-shadow: 0 0 10px rgba(139, 111, 217, 0.5);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
    background: rgba(139, 111, 217, 0.3);
    box-shadow: 0 0 20px rgba(139, 111, 217, 0.5);
}

/* Profile Dropdown */
.user-avatar-placeholder {
    cursor: pointer;
    position: relative;
}

.profile-dropdown {
    display: none !important;
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    background: linear-gradient(135deg, rgba(42, 22, 72, 0.98) 0%, rgba(30, 15, 55, 0.98) 100%);
    border: 2px solid rgba(139, 111, 217, 0.4);
    border-radius: 16px;
    padding: 0.5rem;
    min-width: 200px;
    box-shadow: 0 20px 60px rgba(139, 111, 217, 0.5);
    backdrop-filter: blur(20px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-dropdown.show {
    display: block !important;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s;
    cursor: pointer;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 500;
}

.profile-dropdown-item:hover {
    background: rgba(139, 111, 217, 0.2);
    color: white;
}

.profile-dropdown-item.logout {
    color: #ff6b6b;
}

.profile-dropdown-item.logout:hover {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
}

.profile-dropdown-divider {
    height: 1px;
    background: rgba(139, 111, 217, 0.2);
    margin: 0.5rem 0;
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    position: fixed;
    top: 2.5rem;
    right: 2rem;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    border-radius: 10px;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0 2rem;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.brand-logo {
    margin-bottom: 0.3rem;
}

/* Layered Logo Container */
.logo-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Base ARTFOLIO image */
.logo-base {
    width: 100%;
    height: auto;
    display: block;
    animation: fadeInScale 1s ease-out, logoFloat 6s ease-in-out infinite 1s;
    filter: drop-shadow(0 0 20px rgba(139, 111, 217, 0.6));
}

/* Studios wrapper for animation */
.studios-wrapper {
    position: absolute;
    top: 50%;
    left: 49%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Studios image with glow fade-in animation */
.logo-studios {
    width: 40%;
    height: auto;
    opacity: 0;
    animation: glowFadeIn 2s ease-out 0.8s forwards, logoFloat 6s ease-in-out infinite 1s;
}

@keyframes glowFadeIn {
    0% {
        opacity: 0;
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
    }

    50% {
        opacity: 0.5;
        filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.8));
    }

    100% {
        opacity: 1;
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.9));
    }
}

/* Tagline below logo */
.logo-tagline {
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    color: var(--text-gray);
    margin-top: 0.9rem;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease-out 2s forwards;
}

/* Animations */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Legacy text logo styles (kept for fallback) */
.logo-art,
.logo-folio {
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.1em;
    color: var(--purple-light);
    text-shadow: 0 0 30px rgba(139, 111, 217, 0.8), 0 0 60px rgba(139, 111, 217, 0.5);
    display: inline;
}

.logo-folio {
    background: linear-gradient(135deg, #b8a4e8 0%, #8b6fd9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #8b6fd9 0%, #b8a4e8 100%);
    color: white;
    box-shadow: 0 10px 40px rgba(139, 111, 217, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(139, 111, 217, 0.7);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--purple-main);
}

.btn-secondary:hover {
    background: rgba(139, 111, 217, 0.2);
    box-shadow: 0 10px 30px rgba(139, 111, 217, 0.4);
    transform: translateY(-3px);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-icon {
    width: 55px;
    height: 55px;
    background: rgba(42, 22, 72, 0.6);
    border: 2px solid rgba(139, 111, 217, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.social-icon:hover {
    background: rgba(139, 111, 217, 0.3);
    border-color: var(--purple-main);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 111, 217, 0.5);
}

/* Sections */
section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #b8a4e8 0%, #8b6fd9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(139, 111, 217, 0.5);
}

.page-header {
    padding-top: 10rem;
    padding-bottom: 4rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 4rem;
    font-size: 1.25rem;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    background: rgba(42, 22, 72, 0.5);
    border-radius: 30px;
    overflow: hidden;
    border: 2px solid rgba(139, 111, 217, 0.2);
    transition: all 0.4s;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    border-color: var(--purple-main);
    box-shadow: 0 20px 60px rgba(139, 111, 217, 0.5);
}

.portfolio-image {
    height: 250px;
    background: linear-gradient(135deg, rgba(139, 111, 217, 0.3) 0%, rgba(184, 164, 232, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    font-size: 5rem;
    opacity: 0.7;
}

.portfolio-info {
    padding: 2rem;
}

.portfolio-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.portfolio-info p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(139, 111, 217, 0.3);
    color: var(--purple-light);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(42, 22, 72, 0.5);
    padding: 2.5rem;
    border-radius: 30px;
    border: 2px solid rgba(139, 111, 217, 0.2);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--purple-main);
    box-shadow: 0 20px 60px rgba(139, 111, 217, 0.4);
}

.stars {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #fbbf24;
}

.testimonial-text {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b6fd9 0%, #b8a4e8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.author-info h4 {
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-gray);
    font-size: 0.875rem;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(42, 22, 72, 0.5);
    padding: 2.5rem;
    border-radius: 30px;
    border: 2px solid rgba(139, 111, 217, 0.2);
    transition: all 0.3s;
    position: relative;
    backdrop-filter: blur(10px);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--purple-main);
    box-shadow: 0 20px 60px rgba(139, 111, 217, 0.5);
}

.pricing-card.featured {
    border-color: var(--purple-main);
    box-shadow: 0 20px 60px rgba(139, 111, 217, 0.4);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: linear-gradient(135deg, #8b6fd9 0%, #b8a4e8 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    text-align: center;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #b8a4e8 0%, #8b6fd9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(139, 111, 217, 0.2);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-gray);
}

.btn-purchase {
    width: 100%;
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--purple-main);
    justify-content: center;
}

.btn-purchase:hover {
    background: rgba(139, 111, 217, 0.2);
    box-shadow: 0 10px 30px rgba(139, 111, 217, 0.4);
}

.btn-featured {
    background: linear-gradient(135deg, #8b6fd9 0%, #b8a4e8 100%);
    border: none;
    box-shadow: 0 10px 40px rgba(139, 111, 217, 0.5);
}

.btn-featured:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(139, 111, 217, 0.7);
}

/* About */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-text p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: rgba(42, 22, 72, 0.5);
    padding: 2rem;
    border-radius: 25px;
    text-align: center;
    border: 2px solid rgba(139, 111, 217, 0.2);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--purple-main);
    box-shadow: 0 10px 30px rgba(139, 111, 217, 0.4);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #b8a4e8 0%, #8b6fd9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-gray);
}

/* Footer */
.footer {
    position: relative;
    z-index: 10;
    background: rgba(15, 8, 32, 0.8);
    padding: 4rem 0 2rem;
    border-top: 2px solid rgba(139, 111, 217, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #b8a4e8 0%, #8b6fd9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    color: var(--text-gray);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    position: relative;
    z-index: 20;
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
    cursor: pointer;
}

.footer-section a:hover {
    color: var(--purple-main);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 111, 217, 0.2);
    color: var(--text-gray);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        width: 90%;
    }

    .hamburger {
        display: flex;
    }

    .nav-container {
        position: fixed;
        top: 80px;
        left: 5%;
        width: 90%;
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        transform: translateX(-200%);
        transition: transform 0.3s;
    }

    .nav-container.active {
        transform: translateX(0);
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }


    /* Responsive logo styles */
    .logo-container {
        max-width: 100%;
        padding: 0 1rem;
    }

    /* Cart & Wishlist UI */
    .cart-container {
        max-width: 900px;
        margin: 0 auto;
        background: rgba(42, 22, 72, 0.5);
        border-radius: 20px;
        padding: 2rem;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(139, 111, 217, 0.2);
    }

    .cart-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.5rem;
        border-bottom: 1px solid rgba(139, 111, 217, 0.2);
        transition: background 0.3s;
    }

    .cart-item:last-child {
        border-bottom: none;
    }

    .cart-item:hover {
        background: rgba(139, 111, 217, 0.1);
    }

    .cart-item-info h4 {
        font-size: 1.2rem;
        margin-bottom: 0.25rem;
        color: var(--text-white);
    }

    .cart-item-info p {
        color: var(--text-gray);
        font-size: 0.9rem;
    }

    .cart-item-price {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--purple-light);
        margin-right: 2rem;
    }

    .cart-actions {
        display: flex;
        gap: 1rem;
        align-items: center;
    }

    .cart-summary {
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 2px solid rgba(139, 111, 217, 0.3);
        text-align: right;
    }

    .cart-total {
        font-size: 2rem;
        font-weight: 800;
        margin-bottom: 1.5rem;
        background: linear-gradient(135deg, #b8a4e8 0%, #8b6fd9 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .logo-tagline {
        font-size: 0.7rem;
        letter-spacing: 0.2em;
    }

    .logo-art,
    .logo-folio {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .portfolio-grid,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Admin Dashboard Styles --- */

/* User Controls */
.user-controls {
    margin-right: 1rem;
}

.icon-link {
    text-decoration: none;
    font-size: 1.2rem;
    position: relative;
    transition: transform 0.2s;
}

.icon-link:hover {
    transform: scale(1.1);
}

.badge-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
    border: 2px solid rgba(15, 8, 32, 0.8);
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.4);
    line-height: 1;
}

/* Profile Dropdown */
.profile-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: linear-gradient(135deg, rgba(42, 22, 72, 0.98) 0%, rgba(30, 15, 55, 0.98) 100%);
    border: 2px solid rgba(139, 111, 217, 0.3);
    border-radius: 16px;
    padding: 0.5rem;
    min-width: 180px;
    z-index: 10000;
    box-shadow: 0 20px 60px rgba(139, 111, 217, 0.5);
    backdrop-filter: blur(20px);
}

.profile-dropdown.show {
    display: block;
}

.profile-dropdown-item {
    width: 100%;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s;
    text-align: left;
    text-decoration: none;
    font-size: 0.95rem;
}

.profile-dropdown-item:hover {
    background: rgba(139, 111, 217, 0.2);
}

.profile-dropdown-item.logout {
    color: #ff6b6b;
}

.profile-dropdown-item.logout:hover {
    background: rgba(255, 107, 107, 0.1);
}

.profile-dropdown-divider {
    height: 1px;
    background: rgba(139, 111, 217, 0.2);
    margin: 0.5rem 0;
}

.btn-sm {
    padding: 0.4rem 1rem !important;
    font-size: 0.9rem !important;
}

/* Admin Dashboard Section */

/* Login Page */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.login-card {
    background: rgba(42, 22, 72, 0.85);
    padding: 3.5rem;
    border-radius: 30px;
    border: 1px solid rgba(139, 111, 217, 0.3);
    backdrop-filter: blur(25px);
    width: 100%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.login-card h2 {
    background: linear-gradient(135deg, #fff 0%, #b8a4e8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    background: rgba(15, 8, 32, 0.6);
    border: 1px solid rgba(139, 111, 217, 0.3);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    color: var(--text-white);
    font-size: 1rem;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--purple-main);
    background: rgba(15, 8, 32, 0.8);
    box-shadow: 0 0 0 4px rgba(139, 111, 217, 0.15);
}

/* Admin Dashboard Layout */
.admin-layout {
    display: flex;
    min-height: 100vh;
    padding-top: 0;
}

.admin-sidebar {
    width: 260px;
    background: linear-gradient(180deg, rgba(15, 8, 32, 0.95) 0%, rgba(26, 13, 46, 0.95) 100%);
    border-right: 1px solid rgba(139, 111, 217, 0.15);
    padding: 2rem 1.5rem;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.admin-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 3rem;
    padding-left: 1rem;
    background: linear-gradient(135deg, #b8a4e8 0%, #8b6fd9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-item {
    margin-bottom: 0.5rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 1rem;
    color: var(--text-gray);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: 0.95rem;
}

.sidebar-link:hover {
    background: rgba(139, 111, 217, 0.1);
    color: var(--text-white);
    transform: translateX(5px);
}

.sidebar-link.active {
    background: linear-gradient(90deg, rgba(139, 111, 217, 0.2) 0%, rgba(139, 111, 217, 0.05) 100%);
    color: var(--text-white);
    border-left: 3px solid var(--purple-main);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sidebar-link.logout {
    margin-top: 4rem;
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.2);
    justify-content: center;
}

.sidebar-link.logout:hover {
    background: rgba(255, 107, 107, 0.1);
    transform: translateX(0) translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.15);
}

.admin-main {
    flex: 1;
    margin-left: 260px;
    padding: 3rem;
    width: calc(100% - 260px);
    background: radial-gradient(circle at top right, rgba(139, 111, 217, 0.05), transparent 40%);
}

/* Stats Overview */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card-small {
    background: rgba(42, 22, 72, 0.6);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(139, 111, 217, 0.2);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
}

.stat-card-small:hover {
    transform: translateY(-5px);
    border-color: var(--purple-main);
}

.stat-card-small h4 {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.stat-card-small .number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

/* Admin Tables */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(42, 22, 72, 0.4);
    border-radius: 16px;
    border: 1px solid rgba(139, 111, 217, 0.1);
}

.table-container {
    background: rgba(30, 16, 55, 0.7);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(139, 111, 217, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
}

.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.admin-table th {
    background: rgba(139, 111, 217, 0.15);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    padding: 1.25rem 1.5rem;
    text-align: left;
    white-space: nowrap;
}

.admin-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(139, 111, 217, 0.1);
    color: var(--text-gray);
    font-size: 0.95rem;
    vertical-align: middle;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-white);
}

/* Badges */
.badge {
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.badge-featured {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.badge-active {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.badge-inactive {
    background: rgba(148, 163, 184, 0.15);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.action-btn {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin-right: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-edit {
    background: rgba(139, 111, 217, 0.15);
    color: #b8a4e8;
    border: 1px solid rgba(139, 111, 217, 0.3);
}

.btn-edit:hover {
    background: rgba(139, 111, 217, 0.3);
    color: white;
}

.btn-delete {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.btn-delete:hover {
    background: rgba(255, 107, 107, 0.2);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* Darker overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* Allow clicks to pass through when hidden */
    transition: all 0.3s;
    backdrop-filter: blur(8px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    /* Re-enable clicks when modal is active */
}

.modal-content {
    background: #150b2b;
    /* Constant dark bg */
    padding: 2.5rem;
    border-radius: 24px;
    width: 90%;
    max-width: 600px;
    border: 1px solid rgba(139, 111, 217, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-header h3 {
    font-size: 1.5rem;
    color: white;
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.close-modal:hover {
    color: white;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.toast {
    background: rgba(30, 16, 55, 0.95);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--purple-main);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left-color: #4ade80;
}

.toast.error {
    border-left-color: #ff6b6b;
}

@media (max-width: 768px) {
    .admin-sidebar {
        width: 0;
        padding: 0;
        overflow: hidden;
    }

    .admin-main {
        margin-left: 0;
        width: 100%;
        padding: 1.5rem;
    }

    .admin-sidebar.mobile-open {
        width: 100%;
        padding: 2rem;
        top: 80px;
    }
}

/* Active Wishlist Heart */
.wishlist-btn.active svg {
    fill: var(--purple-light);
    color: var(--purple-light);
    filter: drop-shadow(0 0 5px rgba(184, 164, 232, 0.8));
}

/* Discount Pricing Styles */
.price-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
    justify-content: center;
}

.original-price {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.25rem;
    font-weight: 500;
}

.discounted-price {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    font-weight: 800;
}

.discount-badge {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(74, 222, 128, 0.3);
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.2);
}

/* Discount pricing for product cards */
.product-card .price-container {
    margin: 0.75rem 0;
}

.product-card .original-price {
    font-size: 1rem;
}

.product-card .discounted-price {
    font-size: 1.5rem;
}

.product-card .discount-badge {
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
}

/* Discount pricing for pricing cards */
.pricing-card .price-container {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.pricing-card .original-price {
    font-size: 1.5rem;
}

.pricing-card .discounted-price {
    font-size: 3rem;
}

.pricing-card .discount-badge {
    font-size: 1rem;
    padding: 0.5rem 1rem;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 8, 32, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: rgba(42, 22, 72, 0.9);
    border: 2px solid rgba(139, 111, 217, 0.3);
    border-radius: 20px;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--text-white);
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    border-bottom: 1px solid rgba(139, 111, 217, 0.2);
    padding-bottom: 1rem;
}

/* Form Styles within Modal */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-gray);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 111, 217, 0.2);
    border-radius: 10px;
    color: var(--text-white);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--purple-main);
    background: rgba(255, 255, 255, 0.1);
}

/* Checkbox Grid for Quote Items */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.item-checkbox {
    display: none;
}

.item-label {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 111, 217, 0.2);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
}

.item-checkbox:checked+.item-label {
    background: rgba(139, 111, 217, 0.2);
    border-color: var(--purple-main);
    box-shadow: 0 0 15px rgba(139, 111, 217, 0.3);
}

.item-icon {
    font-size: 1.5rem;
}

.item-name {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ============================================
   CUSTOM SCROLLBAR STYLES
   ============================================ */

/* WebKit Browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, rgba(15, 8, 32, 0.8) 0%, rgba(26, 13, 46, 0.8) 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #8b6fd9 0%, #b8a4e8 100%);
    border-radius: 10px;
    border: 2px solid rgba(15, 8, 32, 0.5);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #9d7fe6 0%, #c9b5f2 100%);
    box-shadow: 0 0 10px rgba(139, 111, 217, 0.6);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(135deg, #7a5fc7 0%, #a693d6 100%);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #8b6fd9 rgba(15, 8, 32, 0.8);
}

/* For better Firefox support */
@supports (scrollbar-color: auto) {
    * {
        scrollbar-color: #8b6fd9 rgba(26, 13, 46, 0.8);
    }
}

/* ============================================
   PROFILE DROPDOWN STYLES (ADDED)
   ============================================ */
.profile-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    width: 220px;
    background: rgba(30, 16, 55, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 111, 217, 0.3);
    border-radius: 16px;
    padding: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: none;
    /* Hidden by default */
    z-index: 9999;
    /* Default hidden state for transitions */
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* The .show class is added by JS to display it */
.profile-dropdown.show {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
}

.profile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.2s;
    border-radius: 10px;
    font-size: 0.95rem;
    width: 100%;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    margin-bottom: 2px;
}

.profile-dropdown-item:hover {
    background: rgba(139, 111, 217, 0.15);
    color: white;
    transform: translateX(5px);
}

.profile-dropdown-divider {
    height: 1px;
    background: rgba(139, 111, 217, 0.2);
    margin: 0.5rem 0;
}

.profile-dropdown-item.logout {
    color: #ff6b6b;
}

.profile-dropdown-item.logout:hover {
    background: rgba(255, 107, 107, 0.1);
    color: #ff8787;
}

/* Ensure Parent has relative positioning */
#user-profile {
    position: relative;
    /* Ensure higher stacking context */
}

/* MISSING STYLES: Profile Dropdown & Avatar */

.user-avatar-placeholder {
    width: 32px;
    height: 32px;
    background: rgba(139, 111, 217, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--purple-light);
    cursor: pointer;
    border: 1px solid rgba(139, 111, 217, 0.5);
    transition: all 0.3s;
}

.user-avatar-placeholder:hover {
    box-shadow: 0 0 10px rgba(139, 111, 217, 0.5);
}

.profile-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    left: auto;
    transform: none;
    width: 220px;
    background: rgba(30, 16, 55, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 111, 217, 0.3);
    border-radius: 16px;
    padding: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    transition: all 0.2s;
    display: none;
    opacity: 0;
    visibility: hidden;
}

.profile-dropdown.show {
    display: block;
    opacity: 1;
    visibility: visible;
}

.icon-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.2s;
}

.icon-link:hover {
    color: var(--purple-light);
    transform: scale(1.1);
}

/* Wishlist Button Active State */
.wishlist-btn.active svg {
    fill: #ef4444 !important;
    /* Red heart */
    stroke: #ef4444 !important;
    filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.5));
    transform: scale(1.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Back Button */
.back-button {
    position: fixed;
    top: 2.5rem;
    left: 2rem;
    background: rgba(42, 22, 72, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 111, 217, 0.3);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    z-index: 999;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.back-button:hover {
    background: rgba(139, 111, 217, 0.3);
    border-color: var(--purple-main);
    transform: translateX(-5px);
    box-shadow: 0 10px 30px rgba(139, 111, 217, 0.5);
}

@media (max-width: 768px) {
    .back-button {
        bottom: 1rem;
        left: 1rem;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}