:root {
    /* 🎨 Primary Pastel Palette */
    --color-pink-light: #FFD9E8;   /* very soft baby pink */
    --color-pink: #FF91A4;         /* bubblegum pink */
    --color-purple-light: #DCC6E0; /* pastel lavender */
    --color-purple: #CBAACB;       /* soft lilac */
    --color-purple-dark: #8E44AD;  /* plum purple for text/icons */
  
    /* ✨ Accent Colors */
    --color-accent-hotpink: #FF69B4; /* buttons, CTAs */
    --color-accent-yellow: #FFD700;  /* stars, playful highlights */
    --color-accent-mint: #98FF98;    /* optional secondary pop */
  
    /* ⚪ Neutral Base */
    --color-white: #FFFFFF;
    --color-offwhite: #FAF9F6;       /* soft neutral background */
    --color-gray-light: #F3F3F3;     /* cards, subtle sections */
    --color-gray-dark: #555555;      /* text */
  
    /* 🖼 Gradients */
    --gradient-hero: linear-gradient(135deg, #FFD9E8 0%, #DCC6E0 100%);
    --gradient-footer: linear-gradient(135deg, #CBAACB 0%, #E6A6BE 100%);
}

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

body {
    font-family: 'IRANRounded', 'Tahoma', 'Arial', sans-serif !important;
    line-height: 1.8;
    color: var(--color-gray-dark);
    background-color: var(--color-white);
    direction: rtl;
    text-align: right;
}

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

/* Header Styles */
.header {
    background: var(--gradient-footer);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* Desktop Navigation */
.desktop-nav {
    display: block;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--color-white);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav a:hover,
.nav a.active {
    color: var(--color-accent-yellow);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent-yellow);
    transition: width 0.3s ease;
}

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

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--color-white);
    min-width: 200px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 1rem 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--color-gray-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    background: none;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: var(--color-purple-light);
    color: var(--color-purple-dark);
    transform: translateX(-5px);
}

.dropdown-menu a::after {
    display: none;
}

/* Mega Menu Styles */
.mega-dropdown {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--color-white);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    margin: 0 20px;
    overflow: hidden;
    border: 2px solid transparent;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.mega-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    border-color: var(--color-purple-light);
}

/* Mega Menu Header */
.mega-menu-header {
    background: linear-gradient(135deg, var(--color-purple-light) 0%, var(--color-pink-light) 100%);
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mega-menu-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 6s ease-in-out infinite;
}

.mega-menu-header h3 {
    color: var(--color-purple-dark);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.mega-menu-header p {
    color: var(--color-purple-dark);
    font-size: 1rem;
    opacity: 0.8;
    position: relative;
    z-index: 2;
}

/* Mega Menu Body */
.mega-menu-body {
    display: flex;
    max-height: 350px;
    overflow: hidden;
}

/* Mega Menu Content (Left Side) */
.mega-menu-content {
    flex: 1;
    padding: 2rem;
    position: relative;
    overflow-y: auto;
    max-height: 350px;
}

.mega-menu-content::-webkit-scrollbar {
    width: 6px;
}

.mega-menu-content::-webkit-scrollbar-track {
    background: var(--color-gray-light);
    border-radius: 3px;
}

.mega-menu-content::-webkit-scrollbar-thumb {
    background: var(--color-purple-light);
    border-radius: 3px;
}

.mega-menu-content::-webkit-scrollbar-thumb:hover {
    background: var(--color-purple);
}

.mega-tab-content {
    display: none;
    animation: fadeInUp 0.3s ease;
}

.mega-tab-content.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tab Header */
.tab-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-purple-light);
}

.tab-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--color-purple-light) 0%, var(--color-accent-hotpink) 100%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(203, 170, 203, 0.3);
}

.tab-header h4 {
    color: var(--color-purple-dark);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

/* Tab Description */
.tab-description {
    margin-bottom: 2rem;
}

.tab-description p {
    color: var(--color-gray-dark);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.8;
}

/* Subcategories Grid */
.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.subcategory-item {
    background: var(--color-white);
    border: 2px solid var(--color-gray-light);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.subcategory-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.subcategory-link:hover {
    text-decoration: none;
    color: inherit;
}

.subcategory-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(203, 170, 203, 0.1), transparent);
    transition: left 0.5s ease;
}

.subcategory-item:hover {
    border-color: var(--color-purple);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(203, 170, 203, 0.2);
}

.subcategory-item:hover::before {
    left: 100%;
}

.subcategory-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.subcategory-item h5 {
    color: var(--color-purple-dark);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.item-count {
    color: var(--color-gray-dark);
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Mega Menu Tabs (Right Side) */
.mega-menu-tabs {
    width: 200px;
    background: linear-gradient(135deg, var(--color-offwhite) 0%, var(--color-white) 100%);
    border-left: 1px solid var(--color-gray-light);
    padding: 1rem 0;
    overflow-y: auto;
    max-height: 350px;
}

.mega-menu-tabs::-webkit-scrollbar {
    width: 4px;
}

.mega-menu-tabs::-webkit-scrollbar-track {
    background: var(--color-gray-light);
    border-radius: 2px;
}

.mega-menu-tabs::-webkit-scrollbar-thumb {
    background: var(--color-purple-light);
    border-radius: 2px;
}

.mega-menu-tabs::-webkit-scrollbar-thumb:hover {
    background: var(--color-purple);
}

.mega-tab {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-right: 3px solid transparent;
    position: relative;
}

.mega-tab-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.mega-tab-link:hover {
    text-decoration: none;
    color: inherit;
}

.mega-tab:hover {
    background: rgba(203, 170, 203, 0.1);
    border-right-color: var(--color-purple-light);
}

.mega-tab.active {
    background: linear-gradient(90deg, rgba(203, 170, 203, 0.1) 0%, rgba(255, 217, 232, 0.1) 100%);
    border-right-color: var(--color-purple);
}

.mega-tab.active::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid var(--color-purple);
}

.mega-tab .tab-icon {
    font-size: 1.5rem;
    background: var(--color-purple-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mega-tab.active .tab-icon {
    background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-accent-hotpink) 100%);
    transform: scale(1.1);
}

.mega-tab span {
    color: var(--color-gray-dark);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.mega-tab.active span {
    color: var(--color-purple-dark);
    font-weight: 600;
}

/* Mega Menu Footer */
.mega-menu-footer {
    background: linear-gradient(135deg, var(--color-offwhite) 0%, var(--color-white) 100%);
    padding: 2rem;
    border-top: 1px solid var(--color-gray-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mega-menu-featured {
    display: flex;
    gap: 2rem;
}

.featured-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--color-white);
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.featured-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--color-accent-hotpink);
}

.featured-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--color-accent-hotpink) 0%, var(--color-accent-yellow) 100%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s ease-in-out infinite;
}

.featured-content h5 {
    color: var(--color-purple-dark);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.2rem 0;
}

.featured-content p {
    color: var(--color-gray-dark);
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
}

.view-all-btn {
    background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-accent-hotpink) 100%);
    color: var(--color-white);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 5px 15px rgba(203, 170, 203, 0.3);
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(203, 170, 203, 0.4);
    color: var(--color-white);
}

.view-all-btn i {
    transition: transform 0.3s ease;
}

.view-all-btn:hover i {
    transform: translateX(-5px);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: none;
}

.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn:hover .hamburger-line {
    background: var(--color-accent-yellow);
}

/* Hamburger Animation */
.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.header-icons {
    display: flex;
    gap: 1rem;
}

.icon-btn {
    color: var(--color-white);
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-accent-yellow);
    transform: scale(1.1);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 350px;
    height: 100vh;
    background: var(--color-white);
    z-index: 1001;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    background: var(--gradient-footer);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-logo-image {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.mobile-close-btn {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-accent-yellow);
}

.mobile-nav-content {
    padding: 1rem 0;
}

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

.mobile-nav-link {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--color-gray-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--color-gray-light);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: var(--color-purple-light);
    color: var(--color-purple-dark);
}

.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-dropdown-toggle i {
    transition: transform 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-toggle i {
    transform: rotate(90deg);
}

.mobile-dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--color-offwhite);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    max-height: 300px;
}

.mobile-dropdown-menu li a {
    display: block;
    padding: 0.8rem 2.5rem;
    color: var(--color-gray-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.mobile-dropdown-menu li a:hover {
    background: var(--color-purple-light);
    color: var(--color-purple-dark);
    padding-right: 3rem;
}

.mobile-nav-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--color-gray-light);
    margin-top: 1rem;
}

.mobile-user-actions {
    margin-bottom: 1rem;
}

.mobile-login-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-purple);
    color: var(--color-white);
    padding: 1rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    justify-content: center;
}

.mobile-login-btn:hover {
    background: var(--color-purple-dark);
    transform: translateY(-2px);
}

.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.mobile-social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--color-purple);
    color: var(--color-white);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.mobile-social-links a:hover {
    background: var(--color-accent-hotpink);
    transform: scale(1.1);
}

/* Mobile Menu Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

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

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-purple-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--color-gray-dark);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-btn {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'IRANRounded', 'Tahoma', 'Arial', sans-serif !important;
}

.cta-btn:hover {
    background: var(--color-purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.4);
}

.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.toy-scene {
    position: relative;
    width: 300px;
    height: 300px;
}

.toy {
    position: absolute;
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

.toy-1 { top: 20%; right: 20%; animation-delay: 0s; }
.toy-2 { top: 60%; left: 20%; animation-delay: 0.5s; }
.toy-3 { bottom: 20%; right: 30%; animation-delay: 1s; }
.toy-4 { top: 40%; left: 30%; animation-delay: 1.5s; }

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

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-purple-dark);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-hero);
    border-radius: 2px;
}

/* Categories Section */
.categories {
    padding: 5rem 0;
    background: var(--color-offwhite);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: var(--gradient-hero);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Category-specific color schemes */
.category-card.mobile-accessories::before { background: linear-gradient(90deg, #FF6B6B, #4ECDC4); }
.category-card.home-kitchen::before { background: linear-gradient(90deg, #A8E6CF, #DCEDC8); }
.category-card.toys-dolls::before { background: linear-gradient(90deg, #FFD93D, #FF6B6B); }
.category-card.practical::before { background: linear-gradient(90deg, #6C5CE7, #A29BFE); }

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    color: var(--color-purple-dark);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--color-gray-dark);
    margin-bottom: 1.5rem;
}

.category-link {
    color: var(--color-accent-hotpink);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.category-link:hover {
    color: var(--color-purple-dark);
}

/* Best Sellers Section */
.best-sellers {
    padding: 5rem 0;
    background: var(--color-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(203, 170, 203, 0.1);
    overflow: hidden;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--color-purple-light);
}

/* Product Image Container */
.product-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--color-offwhite);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Product Overlay */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view-btn {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'IRANRounded', 'Tahoma', 'Arial', sans-serif !important;
}

.quick-view-btn:hover {
    background: var(--color-purple-dark);
    transform: scale(1.05);
}

/* Product Badge */
.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color-accent-hotpink);
    color: var(--color-white);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-badge.sale {
    background: var(--color-accent-yellow);
    color: var(--color-gray-dark);
}

/* Product Info */
.product-info {
    padding: 1.5rem;
}

.product-title {
    color: var(--color-purple-dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.stars {
    color: var(--color-accent-yellow);
    font-size: 1rem;
}

.rating-count {
    color: var(--color-gray-dark);
    font-size: 0.85rem;
}

.product-description {
    color: var(--color-gray-dark);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.8;
}

/* Product Price Section */
.product-price-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.price {
    color: var(--color-accent-hotpink);
    font-size: 1.3rem;
    font-weight: 700;
}

.original-price {
    color: var(--color-gray-dark);
    font-size: 1rem;
    text-decoration: line-through;
    opacity: 0.6;
}

/* Product Actions */
.product-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.add-to-cart {
    flex: 1;
    background: var(--color-purple);
    color: var(--color-white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'IRANRounded', 'Tahoma', 'Arial', sans-serif !important;
    font-size: 0.9rem;
}

.add-to-cart:hover {
    background: var(--color-purple-dark);
    transform: translateY(-2px);
}

.wishlist-btn {
    background: var(--color-white);
    color: var(--color-purple);
    border: 2px solid var(--color-purple-light);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.wishlist-btn:hover {
    background: var(--color-purple);
    color: var(--color-white);
    border-color: var(--color-purple);
    transform: scale(1.1);
}

.wishlist-btn.active {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
    border-color: var(--color-accent-hotpink);
}

/* Special Offer Banner */
.special-offer {
    background: var(--color-pink);
    padding: 3rem 0;
    margin: 2rem 0;
}

.offer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.offer-icon {
    font-size: 3rem;
}

.offer-text h3 {
    color: var(--color-white);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.offer-text p {
    color: var(--color-white);
    font-size: 1.2rem;
    font-weight: 600;
}

.offer-btn {
    background: var(--color-purple-dark);
    color: var(--color-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'IRANRounded', 'Tahoma', 'Arial', sans-serif !important;
}

.offer-btn:hover {
    background: var(--color-purple);
    transform: scale(1.05);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: var(--color-offwhite);
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.testimonial {
    text-align: center;
    display: none;
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.testimonial p {
    font-size: 1.2rem;
    color: var(--color-gray-dark);
    margin-bottom: 1rem;
    font-style: italic;
    line-height: 1.8;
}

.testimonial h4 {
    color: var(--color-purple-dark);
    font-weight: 600;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-purple-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: var(--color-purple-dark);
}

/* Footer */
.footer {
    background: var(--gradient-footer);
    color: var(--color-white);
    padding: 3rem 0 1rem;
}



.footer-logo {
    height: 60px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--color-white);
}

.footer-section p {
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--color-accent-yellow);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--color-purple-dark);
    color: var(--color-white);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--color-accent-yellow);
    color: var(--color-purple-dark);
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav ul {
        gap: 1.5rem;
    }
    
    .hero .container {
        gap: 2rem;
    }
    
    /* Footer Tablet */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

/* Medium screens */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .toy-scene {
        width: 250px;
        height: 250px;
    }
    
    .toy {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .header .container {
        padding: 1rem 15px;
    }
    
    .logo-image {
        height: 45px;
    }
    
    .header-icons {
        gap: 0.8rem;
    }
    
    .icon-btn {
        font-size: 1.1rem;
        padding: 0.4rem;
    }
    
    /* Hero Section Mobile */
    .hero {
        padding: 3rem 0;
        min-height: 70vh;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-btn {
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
    }
    
    .toy-scene {
        width: 200px;
        height: 200px;
    }
    
    .toy {
        font-size: 2rem;
    }
    
    /* Section Titles Mobile */
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    /* Categories Section Mobile */
    .categories {
        padding: 3rem 0;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    .category-icon {
        font-size: 2.5rem;
    }
    
    .category-card h3 {
        font-size: 1.3rem;
    }
    
    /* Best Sellers Mobile */
    .best-sellers {
        padding: 3rem 0;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .product-image-container {
        height: 200px;
    }
    
    .product-info {
        padding: 1.2rem;
    }
    
    .product-title {
        font-size: 1.1rem;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .wishlist-btn {
        align-self: center;
    }
    
    /* Special Offer Mobile */
    .special-offer {
        padding: 2rem 0;
        margin: 1.5rem 0;
    }
    
    .offer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .offer-text h3 {
        font-size: 1.6rem;
    }
    
    .offer-text p {
        font-size: 1.1rem;
    }
    
    .offer-btn {
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
    }
    
    /* Testimonials Mobile */
    .testimonials {
        padding: 3rem 0;
    }
    
    .testimonials-carousel {
        max-width: 100%;
        margin: 0 auto 1.5rem;
    }
    
    .testimonial p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .testimonial h4 {
        font-size: 1rem;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-section {
        padding: 0 1rem;
    }
    
    .footer-logo {
        height: 50px;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header .container {
        padding: 0.8rem 10px;
    }
    
    .logo-image {
        height: 40px;
    }
    
    /* Hero Section Small Mobile */
    .hero {
        padding: 2rem 0;
        min-height: 60vh;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .cta-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .toy-scene {
        width: 150px;
        height: 150px;
    }
    
    .toy {
        font-size: 1.5rem;
    }
    
    /* Section Titles Small Mobile */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .section-title::after {
        width: 60px;
        height: 3px;
    }
    
    /* Categories Small Mobile */
    .categories {
        padding: 2rem 0;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .category-card {
        padding: 1.2rem;
    }
    
    .category-icon {
        font-size: 2rem;
    }
    
    .category-card h3 {
        font-size: 1.2rem;
    }
    
    /* Best Sellers Small Mobile */
    .best-sellers {
        padding: 2rem 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .product-image-container {
        height: 180px;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-title {
        font-size: 1rem;
    }
    
    .price {
        font-size: 1.2rem;
    }
    
    .add-to-cart {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .wishlist-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Special Offer Small Mobile */
    .special-offer {
        padding: 1.5rem 0;
        margin: 1rem 0;
    }
    
    .offer-content {
        gap: 1rem;
    }
    
    .offer-icon {
        font-size: 2.5rem;
    }
    
    .offer-text h3 {
        font-size: 1.4rem;
    }
    
    .offer-text p {
        font-size: 1rem;
    }
    
    .offer-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Testimonials Small Mobile */
    .testimonials {
        padding: 2rem 0;
    }
    
    .testimonial p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .testimonial h4 {
        font-size: 0.9rem;
    }
    
    .stars {
        font-size: 1.2rem;
    }
    
    .rating-count {
        font-size: 0.8rem;
    }
    
    /* Footer Small Mobile */
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-content {
        gap: 1rem;
    }
    
    .footer-section {
        padding: 0 0.5rem;
    }
    
    .footer-logo {
        height: 45px;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
    }
    
    .social-icons a {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 0.9rem;
    }
    
    /* Mobile Navigation Small Mobile */
    .mobile-nav {
        max-width: 100%;
    }
    
    .mobile-nav-header {
        padding: 1rem;
    }
    
    .mobile-logo-image {
        height: 35px;
    }
    
    .mobile-nav-content {
        padding: 0.5rem 0;
    }
    
    .mobile-nav-link {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .mobile-dropdown-menu li a {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .mobile-nav-footer {
        padding: 1rem;
    }
    
    .mobile-login-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .mobile-social-links a {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 0.9rem;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 50vh;
        padding: 2rem 0;
    }
    
    .hero .container {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .toy-scene {
        width: 180px;
        height: 180px;
    }
    
    .toy {
        font-size: 2rem;
    }
    
    .categories,
    .best-sellers,
    .testimonials {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .product-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .product-card:hover {
        transform: none;
    }
    
    .product-card:active {
        transform: scale(0.98);
    }
    
    .category-card:hover {
        transform: none;
    }
    
    .category-card:active {
        transform: scale(0.98);
    }
    
    .cta-btn:hover {
        transform: none;
    }
    
    .cta-btn:active {
        transform: scale(0.95);
    }
    
    .offer-btn:hover {
        transform: none;
    }
    
    .offer-btn:active {
        transform: scale(0.95);
    }
}

/* Login Modal Styles */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.login-modal.active {
    display: flex;
}

.login-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.login-modal .modal-content {
    position: relative;
    background: var(--color-white);
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--color-purple);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 2;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--color-purple-dark);
    transform: scale(1.1);
}

/* Modal Header */
.modal-header {
    text-align: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--color-gray-light);
}

.modal-header h2 {
    color: var(--color-purple-dark);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--color-gray-dark);
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Resend Section */
.resend-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--color-offwhite);
    border-radius: 10px;
}

#countdown {
    color: var(--color-purple-dark);
    font-weight: 600;
    font-size: 1.1rem;
}

.resend-btn {
    background: none;
    border: none;
    color: var(--color-purple);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 15px;
}

.resend-btn:hover:not(:disabled) {
    background: var(--color-purple-light);
    color: var(--color-purple-dark);
}

.resend-btn:disabled {
    color: var(--color-gray-dark);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Form Styles */
.login-form {
    padding: 2rem;
}

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

.form-group label {
    display: block;
    color: var(--color-purple-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: right;
}

/* Phone Input Container */
.phone-input-container {
    display: flex;
    align-items: center;
    border: 2px solid var(--color-purple-light);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.phone-input-container:focus-within {
    border-color: var(--color-purple);
    box-shadow: 0 0 0 3px rgba(203, 170, 203, 0.2);
}

.country-code {
    background: var(--color-purple-light);
    color: var(--color-purple-dark);
    padding: 1rem;
    font-weight: 600;
    border: none;
    font-size: 1rem;
}

.phone-input-container input {
    flex: 1;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    text-align: center;
    font-family: 'IRANRounded', 'Tahoma', 'Arial', sans-serif !important;
    outline: none;
}

.phone-input-container input::placeholder {
    color: var(--color-gray-dark);
    opacity: 0.6;
}

/* OTP Input Container */
.otp-input-container {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.otp-input {
    width: 50px;
    height: 50px;
    border: 2px solid var(--color-purple-light);
    border-radius: 10px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'IRANRounded', 'Tahoma', 'Arial', sans-serif !important;
    transition: all 0.3s ease;
    outline: none;
}

.otp-input:focus {
    border-color: var(--color-purple);
    box-shadow: 0 0 0 3px rgba(203, 170, 203, 0.2);
    transform: scale(1.05);
}

.otp-input.filled {
    border-color: var(--color-accent-hotpink);
    background: var(--color-accent-hotpink);
    color: white;
}

/* Form Help Text */
.form-help {
    display: block;
    color: var(--color-gray-dark);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    text-align: right;
    opacity: 0.8;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    background: var(--color-purple);
    color: var(--color-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'IRANRounded', 'Tahoma', 'Arial', sans-serif !important;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: var(--color-purple-dark);
    transform: translateY(-2px);
}

.submit-btn:disabled {
    background: var(--color-gray-dark);
    cursor: not-allowed;
    transform: none;
}

/* Button Loading State */
.btn-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Modal Footer */
.modal-footer {
    padding: 1rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid var(--color-gray-light);
}

.modal-footer p {
    color: var(--color-gray-dark);
    margin-bottom: 1rem;
}

.register-link {
    color: var(--color-accent-hotpink);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.register-link:hover {
    color: var(--color-purple-dark);
}

/* Back Button */
.back-btn {
    background: none;
    border: 2px solid var(--color-purple-light);
    color: var(--color-purple);
    padding: 0.8rem 1.5rem;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'IRANRounded', 'Tahoma', 'Arial', sans-serif !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-btn:hover {
    background: var(--color-purple);
    color: var(--color-white);
    border-color: var(--color-purple);
}

/* Success Step */
.success-icon {
    font-size: 4rem;
    color: var(--color-accent-hotpink);
    margin-bottom: 1rem;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
}

.secondary-btn {
    background: var(--color-white);
    color: var(--color-purple);
    border: 2px solid var(--color-purple);
    padding: 1rem 2rem;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'IRANRounded', 'Tahoma', 'Arial', sans-serif !important;
}

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

/* Responsive Design for Login Modal */
@media (max-width: 768px) {
    .login-modal .modal-content {
        width: 95%;
        max-width: 400px;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.6rem;
    }
    
    .login-form {
        padding: 1.5rem;
    }
    
    .otp-input {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .otp-input-container {
        gap: 0.4rem;
    }
}

@media (max-width: 480px) {
    .login-modal .modal-content {
        width: 98%;
        border-radius: 15px;
    }
    
    .modal-header {
        padding: 1.2rem 1.2rem 0.8rem;
    }
    
    .modal-header h2 {
        font-size: 1.4rem;
    }
    
    .login-form {
        padding: 1.2rem;
    }
    
    .otp-input {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .otp-input-container {
        gap: 0.3rem;
    }
    
    .submit-btn {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
    
    .phone-input-container input {
        padding: 0.9rem;
        font-size: 1rem;
    }
    
    .country-code {
        padding: 0.9rem;
        font-size: 0.9rem;
    }
}

/* Responsive Mega Menu */
@media (max-width: 1200px) {
    .mega-menu-body {
        flex-direction: column;
        max-height: 500px;
    }
    
    .mega-menu-content {
        max-height: 300px;
    }
    
    .mega-menu-tabs {
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--color-gray-light);
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        max-height: none;
        padding: 1rem;
    }
    
    .mega-tab {
        flex-shrink: 0;
        min-width: 150px;
        border-right: none;
        border-bottom: 3px solid transparent;
        justify-content: center;
        text-align: center;
    }
    
    .mega-tab.active::before {
        display: none;
    }
    
    .mega-tab.active {
        border-bottom-color: var(--color-purple);
    }
    
    .subcategories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mega-menu-footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .mega-menu {
        position: static;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        border: none;
        background: var(--color-offwhite);
    }
    
    .mega-menu-body {
        max-height: none;
        min-height: auto;
    }
    
    .mega-menu-content {
        padding: 1.5rem;
        max-height: none;
        overflow-y: visible;
    }
    
    .mega-menu-header {
        padding: 1.5rem;
    }
    
    .mega-menu-header h3 {
        font-size: 1.5rem;
    }
    
    .tab-header {
        margin-bottom: 1rem;
    }
    
    .tab-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .tab-header h4 {
        font-size: 1.3rem;
    }
    
    .subcategories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .subcategory-item {
        padding: 1.2rem;
    }
    
    .mega-menu-tabs {
        padding: 1rem 0.5rem;
        overflow-x: auto;
        overflow-y: hidden;
    }
    
    .mega-tab {
        min-width: 120px;
        padding: 1rem;
    }
    
    .mega-menu-footer {
        padding: 1.5rem;
    }
    
    .mega-menu-featured {
        flex-direction: column;
        gap: 1rem;
    }
    
    .featured-item {
        padding: 1rem;
    }
}

/* Shop Page Styles */
.shop-main {
    padding: 2rem 0;
    background-color: var(--color-offwhite);
    min-height: 80vh;
}

.shop-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.shop-title {
    font-size: 2.5rem;
    color: var(--color-purple-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.shop-subtitle {
    font-size: 1.2rem;
    color: var(--color-gray-dark);
    margin-bottom: 2rem;
}

.shop-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-white);
    padding: 1rem 1.5rem;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--color-purple-dark);
    font-weight: 600;
}

.stat-item i {
    color: var(--color-accent-hotpink);
    font-size: 1.2rem;
}

.shop-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: start;
}

/* Products Section */
.products-section {
    background: var(--color-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.pagination-btn {
    background: var(--color-white);
    border: 2px solid var(--color-purple-light);
    color: var(--color-purple-dark);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--color-purple-light);
    color: var(--color-purple-dark);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-purple-light);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.page-number:hover,
.page-number.active {
    background: var(--color-purple-light);
    color: var(--color-purple-dark);
}

/* Filters Sidebar */
.filters-sidebar {
    background: var(--color-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 120px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-purple-light);
}

.filters-header h3 {
    color: var(--color-purple-dark);
    font-size: 1.3rem;
    font-weight: 700;
}

.clear-filters {
    background: none;
    border: none;
    color: var(--color-accent-hotpink);
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.clear-filters:hover {
    color: var(--color-purple-dark);
}

.filter-group {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-gray-light);
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.filter-group h4 {
    color: var(--color-purple-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Search Filter */
.search-filter {
    display: flex;
    gap: 0.5rem;
}

.search-input {
    flex: 1;
    padding: 0.8rem;
    border: 2px solid var(--color-purple-light);
    border-radius: 25px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--color-accent-hotpink);
}

.search-btn {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
    border: none;
    padding: 0.8rem 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: var(--color-purple-dark);
}

/* Filter Options */
.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--color-gray-dark);
    transition: color 0.3s ease;
}

.filter-option:hover {
    color: var(--color-purple-dark);
}

.filter-option input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-purple-light);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.filter-option input[type="checkbox"]:checked + .checkmark {
    background: var(--color-accent-hotpink);
    border-color: var(--color-accent-hotpink);
}

.filter-option input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-white);
    font-size: 0.8rem;
    font-weight: bold;
}

.count {
    color: var(--color-gray-dark);
    font-size: 0.8rem;
    margin-right: auto;
}

/* Price Range Filter */
.price-range {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-input {
    flex: 1;
    padding: 0.6rem;
    border: 2px solid var(--color-purple-light);
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
}

.price-input:focus {
    outline: none;
    border-color: var(--color-accent-hotpink);
}

.price-separator {
    color: var(--color-gray-dark);
    font-weight: 600;
}

.price-slider {
    position: relative;
    height: 20px;
}

.range-slider {
    position: absolute;
    width: 100%;
    height: 4px;
    background: var(--color-purple-light);
    border-radius: 2px;
    outline: none;
    pointer-events: none;
    -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--color-accent-hotpink);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
}

.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--color-accent-hotpink);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--color-gray-dark);
}

/* Sort Options */
.sort-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.sort-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--color-gray-dark);
    transition: color 0.3s ease;
}

.sort-option:hover {
    color: var(--color-purple-dark);
}

.sort-option input[type="radio"] {
    display: none;
}

.radio-mark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-purple-light);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.sort-option input[type="radio"]:checked + .radio-mark {
    border-color: var(--color-accent-hotpink);
}

.sort-option input[type="radio"]:checked + .radio-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--color-accent-hotpink);
    border-radius: 50%;
}

/* Filter Actions */
.filter-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--color-purple-light);
}

.apply-filters-btn {
    width: 100%;
    background: var(--color-accent-hotpink);
    color: var(--color-white);
    border: none;
    padding: 1rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.apply-filters-btn:hover {
    background: var(--color-purple-dark);
}

/* Responsive Design for Shop */
@media (max-width: 1024px) {
    .shop-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .filters-sidebar {
        position: static;
        max-height: none;
        order: -1;
    }
    
    .filters-sidebar {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .shop-main {
        padding: 1rem 0;
    }
    
    .shop-header {
        margin-bottom: 2rem;
        padding: 1rem 0;
    }
    
    .shop-title {
        font-size: 2rem;
    }
    
    .shop-stats {
        gap: 1rem;
    }
    
    .stat-item {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .products-section {
        padding: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .filters-sidebar {
        padding: 1.5rem;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .pagination-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .page-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .shop-content {
        gap: 1rem;
    }
    
    .products-section {
        padding: 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filters-sidebar {
        padding: 1rem;
    }
    
    .shop-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

/* Product Detail Page Styles */
#productcontent {
    padding: 2rem 0;
    background-color: var(--color-offwhite);
    min-height: 80vh;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    margin-bottom: 2rem;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    font-size: 0.9rem;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '>';
    margin-right: 0.5rem;
    color: var(--color-gray-dark);
}

.breadcrumb-list a {
    color: var(--color-purple-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: var(--color-accent-hotpink);
}

.breadcrumb-list .current {
    color: var(--color-gray-dark);
    font-weight: 600;
}

/* Product Detail Container */
.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    background: var(--color-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

/* Product Gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.main-image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: var(--color-offwhite);
    aspect-ratio: 1;
}

.main-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image-container:hover .main-product-image {
    transform: scale(1.05);
}

.image-zoom-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
}

.main-image-container:hover .image-zoom-overlay {
    opacity: 1;
}

.image-zoom-overlay i {
    color: var(--color-purple-dark);
    font-size: 1.1rem;
}

.product-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-white);
}

.badge.new {
    background: var(--color-accent-hotpink);
}

.badge.discount {
    background: var(--color-accent-yellow);
    color: var(--color-gray-dark);
}

/* Thumbnail Gallery */
.thumbnail-gallery {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail-item.active {
    border-color: var(--color-accent-hotpink);
}

.thumbnail-item:hover {
    border-color: var(--color-purple-light);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Information */
.product-info-detail {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.product-header {
    border-bottom: 2px solid var(--color-purple-light);
    padding-bottom: 1.5rem;
}

.product-title {
    font-size: 2rem;
    color: var(--color-purple-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

.product-rating-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.stars-display {
    font-size: 1.2rem;
}

.rating-text {
    font-weight: 600;
    color: var(--color-purple-dark);
}

.review-count {
    color: var(--color-gray-dark);
}

.write-review-link {
    color: var(--color-accent-hotpink);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.write-review-link:hover {
    color: var(--color-purple-dark);
}

.product-sku {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--color-gray-dark);
}

.availability.in-stock {
    color: #28a745;
    font-weight: 600;
}

/* Product Pricing */
.product-pricing {
    background: var(--color-offwhite);
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid var(--color-purple-light);
}

.current-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent-hotpink);
}

.currency {
    font-size: 1.2rem;
    color: var(--color-gray-dark);
}

.original-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.original-price .price-amount {
    font-size: 1.5rem;
    color: var(--color-gray-dark);
    text-decoration: line-through;
}

.discount-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.discount-percentage {
    background: var(--color-accent-yellow);
    color: var(--color-gray-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    width: fit-content;
}

.discount-amount {
    color: var(--color-purple-dark);
    font-weight: 600;
}

/* Product Description */
.product-description {
    line-height: 1.8;
}

.product-description p {
    margin-bottom: 1rem;
    color: var(--color-gray-dark);
}

.product-features {
    list-style: none;
    margin-top: 1rem;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--color-gray-dark);
}

.product-features i {
    color: #28a745;
    font-size: 1rem;
}

/* Product Options */
.product-options {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option-label {
    font-weight: 600;
    color: var(--color-purple-dark);
    font-size: 1.1rem;
}

/* Color Options */
.color-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.color-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.8rem;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.color-option.active {
    border-color: var(--color-accent-hotpink);
    background: var(--color-offwhite);
}

.color-option:hover {
    border-color: var(--color-purple-light);
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.color-name {
    font-size: 0.9rem;
    color: var(--color-gray-dark);
    font-weight: 500;
}

/* Size Options */
.size-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.size-option {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1rem;
    border: 2px solid var(--color-purple-light);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.size-option.active {
    border-color: var(--color-accent-hotpink);
    background: var(--color-accent-hotpink);
    color: var(--color-white);
}

.size-option:hover {
    border-color: var(--color-accent-hotpink);
}

.size-name {
    font-weight: 600;
    font-size: 1rem;
}

.size-desc {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--color-purple-light);
    border-radius: 25px;
    padding: 0.3rem;
    width: fit-content;
}

.quantity-btn {
    background: var(--color-purple-light);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-purple-dark);
    font-weight: 600;
}

.quantity-btn:hover {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
}

.quantity-input {
    width: 60px;
    text-align: center;
    border: none;
    background: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-purple-dark);
}

.quantity-input:focus {
    outline: none;
}

.stock-info {
    color: var(--color-gray-dark);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Add to Cart Section */
.add-to-cart-section {
    background: var(--color-offwhite);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--color-purple-light);
}

.cart-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.add-to-cart-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 200px;
    justify-content: center;
}

.add-to-cart-btn.primary {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
}

.add-to-cart-btn.primary:hover {
    background: var(--color-purple-dark);
    transform: translateY(-2px);
}

.add-to-cart-btn.secondary {
    background: var(--color-white);
    color: var(--color-purple-dark);
    border: 2px solid var(--color-purple-light);
}

.add-to-cart-btn.secondary:hover {
    background: var(--color-purple-light);
    color: var(--color-purple-dark);
}

.delivery-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.delivery-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--color-gray-dark);
    font-size: 0.9rem;
}

.delivery-item i {
    color: var(--color-accent-hotpink);
    width: 20px;
}

/* Product Tags */
.product-tags {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--color-purple-light);
    color: var(--color-purple-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Product Tabs */
.product-tabs {
    background: var(--color-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 4rem;
}

.tab-navigation {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--color-purple-light);
    overflow-x: auto;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gray-dark);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.tab-btn.active {
    color: var(--color-accent-hotpink);
    border-bottom-color: var(--color-accent-hotpink);
}

.tab-btn:hover {
    color: var(--color-purple-dark);
}

.tab-content {
    min-height: 400px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-panel h3 {
    color: var(--color-purple-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.tab-panel h4 {
    color: var(--color-purple-dark);
    margin: 1.5rem 0 1rem 0;
    font-size: 1.2rem;
}

.tab-panel p, .tab-panel li {
    color: var(--color-gray-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.tab-panel ul {
    padding-right: 1.5rem;
}

/* Specifications Table */
.specs-table {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: var(--color-offwhite);
    border-radius: 10px;
    border-right: 4px solid var(--color-purple-light);
}

.spec-label {
    font-weight: 600;
    color: var(--color-purple-dark);
}

.spec-value {
    color: var(--color-gray-dark);
}

/* Reviews Content */
.reviews-summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--color-offwhite);
    border-radius: 15px;
}

.overall-rating {
    text-align: center;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent-hotpink);
}

.rating-stars {
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.total-reviews {
    color: var(--color-gray-dark);
    font-size: 0.9rem;
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.bar-container {
    flex: 1;
    height: 8px;
    background: var(--color-gray-light);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--color-accent-yellow);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.review-item {
    background: var(--color-offwhite);
    padding: 1.5rem;
    border-radius: 15px;
    border-right: 4px solid var(--color-purple-light);
}

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

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: var(--color-purple-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.reviewer-details h4 {
    color: var(--color-purple-dark);
    margin-bottom: 0.3rem;
}

.review-rating {
    font-size: 0.9rem;
}

.review-date {
    color: var(--color-gray-dark);
    font-size: 0.9rem;
}

.review-text {
    color: var(--color-gray-dark);
    line-height: 1.6;
}

.load-more-reviews {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 2rem auto;
    display: block;
}

.load-more-reviews:hover {
    background: var(--color-purple-dark);
}

/* Related Products */
.related-products {
    background: var(--color-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.section-title {
    text-align: center;
    color: var(--color-purple-dark);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.related-product-card {
    text-align: center;
    padding: 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.related-product-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.related-product-card h4 {
    color: var(--color-purple-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.related-product-card .price {
    color: var(--color-accent-hotpink);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Responsive Design for Product Page */
@media (max-width: 1024px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .reviews-summary {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .product-detail-container {
        padding: 1.5rem;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .cart-actions {
        flex-direction: column;
    }
    
    .add-to-cart-btn {
        min-width: auto;
        width: 100%;
    }
    
    .color-options, .size-options {
        justify-content: center;
    }
    
    .tab-navigation {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .product-detail-container {
        padding: 1rem;
    }
    
    .thumbnail-gallery {
        gap: 0.5rem;
    }
    
    .thumbnail-item {
        width: 60px;
        height: 60px;
    }
    
    .product-badges {
        top: 0.5rem;
        left: 0.5rem;
    }
    
    .badge {
        padding: 0.3rem 0.8rem;
        font-size: 0.7rem;
    }
    
    .color-option {
        padding: 0.5rem;
    }
    
    .color-swatch {
        width: 30px;
        height: 30px;
    }
    
    .size-option {
        min-width: 100px;
        padding: 0.8rem;
    }
}

/* Shopping Cart Styles */
.shopping-cart-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.shopping-cart-sidebar.active {
    visibility: visible;
    opacity: 1;
}

.cart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.shopping-cart-sidebar.active .cart-overlay {
    opacity: 1;
}

.cart-content {
    position: absolute;
    top: 0;
    left: -400px;
    width: 400px;
    height: 100%;
    background: var(--color-white);
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transition: left 0.3s ease;
    overflow: hidden;
}

.shopping-cart-sidebar.active .cart-content {
    left: 0;
}

/* Cart Header */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--gradient-footer);
    color: var(--color-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.cart-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.cart-close-btn {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Cart Body */
.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.cart-items {
    padding: 0 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--color-gray-light);
    animation: slideInRight 0.3s ease;
}

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

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cart-item-title {
    font-weight: 600;
    color: var(--color-purple-dark);
    font-size: 0.95rem;
    line-height: 1.3;
}

.cart-item-options {
    font-size: 0.8rem;
    color: var(--color-gray-dark);
}

.cart-item-price {
    font-weight: 600;
    color: var(--color-accent-hotpink);
    font-size: 1rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid var(--color-purple-light);
    border-radius: 15px;
    padding: 0.2rem;
}

.quantity-btn {
    background: var(--color-purple-light);
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-purple-dark);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
}

.quantity-display {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
    color: var(--color-purple-dark);
    font-size: 0.9rem;
}

.remove-item-btn {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-item-btn:hover {
    background: #dc3545;
    color: var(--color-white);
}

/* Empty Cart */
.cart-empty {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--color-gray-dark);
}

.empty-cart-icon {
    font-size: 4rem;
    color: var(--color-purple-light);
    margin-bottom: 1rem;
}

.cart-empty h4 {
    color: var(--color-purple-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.cart-empty p {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.start-shopping-btn {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.start-shopping-btn:hover {
    background: var(--color-purple-dark);
    transform: translateY(-2px);
}

/* Cart Footer */
.cart-footer {
    background: var(--color-offwhite);
    border-top: 1px solid var(--color-gray-light);
    padding: 1.5rem 2rem;
}

.cart-summary {
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.summary-row:not(:last-child) {
    border-bottom: 1px solid var(--color-gray-light);
}

.summary-row span:first-child {
    color: var(--color-gray-dark);
}

.summary-row span:last-child {
    font-weight: 600;
    color: var(--color-purple-dark);
}

.discount-row {
    color: #28a745;
}

.discount-row span:last-child {
    color: #28a745;
}

.final-row {
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--color-accent-hotpink);
    color: var(--color-white);
    border-top: 2px solid var(--color-purple-light);
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-radius: 10px;
}

.final-row span:last-child {
    color: var(--color-white);
}

/* Cart Actions */
.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.go-to-cart-btn, .checkout-btn {
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.go-to-cart-btn {
    background: var(--color-white);
    color: var(--color-purple-dark);
    border: 2px solid var(--color-purple-light);
}

.go-to-cart-btn:hover {
    background: var(--color-purple-light);
    color: var(--color-purple-dark);
    transform: translateY(-2px);
}

.checkout-btn {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
}

.checkout-btn:hover {
    background: var(--color-purple-dark);
    transform: translateY(-2px);
}

/* Cart Benefits */
.cart-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.8rem;
    color: var(--color-gray-dark);
}

.benefit-item i {
    color: var(--color-accent-hotpink);
    width: 16px;
}

/* Cart Count Badge */
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-accent-hotpink);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounceIn 0.5s ease;
}

.cart-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
}

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

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(30px);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Design for Cart */
@media (max-width: 768px) {
    .cart-content {
        width: 100%;
        left: -100%;
    }
    
    .cart-header {
        padding: 1rem 1.5rem;
    }
    
    .cart-footer {
        padding: 1rem 1.5rem;
    }
    
    .cart-item {
        padding: 0.8rem;
    }
    
    .cart-item-image {
        width: 60px;
        height: 60px;
    }
    
    .cart-actions {
        gap: 0.8rem;
    }
    
    .go-to-cart-btn, .checkout-btn {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .cart-header h3 {
        font-size: 1.1rem;
    }
    
    .cart-item-title {
        font-size: 0.9rem;
    }
    
    .cart-item-price {
        font-size: 0.9rem;
    }
    
    .summary-row {
        font-size: 0.8rem;
    }
    
    .final-row {
        font-size: 1rem;
    }
}

/* Shopping Bag Page Styles */
#bagcontent {
    padding: 2rem 0;
    background-color: var(--color-offwhite);
    min-height: 80vh;
}

/* Bag Page Header */
.bag-page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.page-title {
    font-size: 2.5rem;
    color: var(--color-purple-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--color-gray-dark);
    margin-bottom: 2rem;
}

/* Bag Content Container */
.bag-content-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Cart Items Section */
.cart-items-section {
    background: var(--color-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-purple-light);
}

.section-header h2 {
    color: var(--color-purple-dark);
    font-size: 1.5rem;
    font-weight: 700;
}

.item-count {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Cart Items List */
.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cart-item-large {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    border: 2px solid var(--color-gray-light);
    border-radius: 15px;
    background: var(--color-white);
    transition: all 0.3s ease;
}

.cart-item-large:hover {
    border-color: var(--color-purple-light);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.item-image {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-white);
}

.item-badge:not(.sale) {
    background: var(--color-accent-hotpink);
}

.item-badge.sale {
    background: var(--color-accent-yellow);
    color: var(--color-gray-dark);
}

/* Item Details */
.item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.item-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.item-title {
    font-size: 1.3rem;
    color: var(--color-purple-dark);
    font-weight: 600;
    line-height: 1.4;
}

.item-options {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-gray-dark);
}

.option-item i {
    color: var(--color-accent-hotpink);
    width: 16px;
}

.item-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    font-size: 1rem;
}

.rating-count {
    font-size: 0.9rem;
    color: var(--color-gray-dark);
}

/* Item Actions */
.item-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.quantity-selector-large {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.quantity-selector-large label {
    font-weight: 600;
    color: var(--color-purple-dark);
    font-size: 0.9rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--color-purple-light);
    border-radius: 25px;
    padding: 0.3rem;
    width: fit-content;
}

.quantity-btn {
    background: var(--color-purple-light);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-purple-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
}

.quantity-input {
    width: 60px;
    text-align: center;
    border: none;
    background: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-purple-dark);
}

.quantity-input:focus {
    outline: none;
}

.stock-info {
    color: var(--color-gray-dark);
    font-size: 0.8rem;
}

/* Item Price Section */
.item-price-section {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.price-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-accent-hotpink);
}

.original-price {
    font-size: 1rem;
    color: var(--color-gray-dark);
    text-decoration: line-through;
}

.discount-badge {
    background: var(--color-accent-yellow);
    color: var(--color-gray-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.total-item-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--color-offwhite);
    border-radius: 10px;
    border: 1px solid var(--color-purple-light);
}

.total-item-price span:first-child {
    color: var(--color-gray-dark);
    font-size: 0.9rem;
}

.total-item-price strong {
    color: var(--color-purple-dark);
    font-size: 1.1rem;
}

/* Item Actions Buttons */
.item-actions-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.save-for-later-btn, .remove-item-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.save-for-later-btn {
    background: var(--color-white);
    color: var(--color-purple-dark);
    border: 2px solid var(--color-purple-light);
}

.save-for-later-btn:hover {
    background: var(--color-purple-light);
    color: var(--color-purple-dark);
}

.remove-item-btn {
    background: #dc3545;
    color: var(--color-white);
}

.remove-item-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
}

/* Empty Cart State */
.empty-cart-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--color-gray-dark);
}

.empty-cart-icon {
    font-size: 5rem;
    color: var(--color-purple-light);
    margin-bottom: 2rem;
}

.empty-cart-state h3 {
    color: var(--color-purple-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.empty-cart-state p {
    margin-bottom: 2rem;
    font-size: 1rem;
}

.start-shopping-btn {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.start-shopping-btn:hover {
    background: var(--color-purple-dark);
    transform: translateY(-2px);
}

/* Cart Actions Section */
.cart-actions-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 2px solid var(--color-purple-light);
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.cart-actions-left {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cart-actions-left button, .continue-shopping-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.clear-cart-btn {
    background: #dc3545;
    color: var(--color-white);
}

.clear-cart-btn:hover {
    background: #c82333;
}

.update-cart-btn {
    background: var(--color-purple-light);
    color: var(--color-purple-dark);
}

.update-cart-btn:hover {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
}

.continue-shopping-btn {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
    text-decoration: none;
}

.continue-shopping-btn:hover {
    background: var(--color-purple-dark);
    transform: translateY(-2px);
}

/* Order Summary Section */
.order-summary-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.summary-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-purple-light);
}

.summary-header h3 {
    color: var(--color-purple-dark);
    font-size: 1.3rem;
    font-weight: 700;
}

.summary-header i {
    color: var(--color-accent-hotpink);
    font-size: 1.5rem;
}

/* Summary Content */
.summary-content {
    margin-bottom: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    font-size: 1rem;
}

.summary-row:not(:last-child) {
    border-bottom: 1px solid var(--color-gray-light);
}

.summary-row span:first-child {
    color: var(--color-gray-dark);
}

.summary-row span:last-child {
    font-weight: 600;
    color: var(--color-purple-dark);
}

.summary-row.discount {
    color: #28a745;
}

.summary-row.discount span:last-child {
    color: #28a745;
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--color-accent-hotpink);
    color: var(--color-white);
    border-top: 2px solid var(--color-purple-light);
    padding-top: 1.5rem;
    margin-top: 0.5rem;
    border-radius: 10px;
}

.summary-row.total span:last-child {
    color: var(--color-white);
}

.free-shipping {
    color: #28a745 !important;
}

/* Summary Benefits */
.summary-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--color-offwhite);
    border-radius: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: var(--color-gray-dark);
}

.benefit-item i {
    color: var(--color-accent-hotpink);
    width: 20px;
}

/* Summary Actions */
.summary-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkout-btn-large, .guest-checkout-btn {
    padding: 1.2rem;
    border: none;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.checkout-btn-large {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
}

.checkout-btn-large:hover {
    background: var(--color-purple-dark);
    transform: translateY(-2px);
}

.guest-checkout-btn {
    background: var(--color-white);
    color: var(--color-purple-dark);
    border: 2px solid var(--color-purple-light);
}

.guest-checkout-btn:hover {
    background: var(--color-purple-light);
    color: var(--color-purple-dark);
}

/* Promo Code Section */
.promo-code-section {
    background: var(--color-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.promo-code-section h4 {
    color: var(--color-purple-dark);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.promo-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.promo-input {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--color-purple-light);
    border-radius: 10px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.promo-input:focus {
    outline: none;
    border-color: var(--color-accent-hotpink);
}

.apply-promo-btn {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.apply-promo-btn:hover {
    background: var(--color-purple-dark);
}

.promo-suggestions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.promo-suggestion {
    font-size: 0.9rem;
    color: var(--color-gray-dark);
}

.promo-tag {
    background: var(--color-purple-light);
    color: var(--color-purple-dark);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-tag:hover {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
}

/* Payment Methods Section */
.payment-methods-section {
    background: var(--color-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.payment-methods-section h4 {
    color: var(--color-purple-dark);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid var(--color-gray-light);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-method:hover {
    border-color: var(--color-purple-light);
    background: var(--color-offwhite);
}

.payment-method i {
    color: var(--color-accent-hotpink);
    font-size: 1.2rem;
    width: 24px;
}

.payment-method span {
    color: var(--color-gray-dark);
    font-weight: 500;
}

/* Related Products Section */
.related-products-section {
    background: var(--color-white);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.section-title {
    color: var(--color-purple-dark);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    color: var(--color-gray-dark);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.related-product-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.related-product-card:hover {
    border-color: var(--color-purple-light);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.related-product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.related-product-card h4 {
    color: var(--color-purple-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.related-product-card .price {
    color: var(--color-accent-hotpink);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.add-to-cart-btn {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.add-to-cart-btn:hover {
    background: var(--color-purple-dark);
    transform: translateY(-2px);
}

/* Responsive Design for Shopping Bag */
@media (max-width: 1024px) {
    .bag-content-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cart-item-large {
        flex-direction: column;
        text-align: center;
    }
    
    .item-image {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .bag-page-header {
        margin-bottom: 2rem;
        padding: 1rem 0;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .cart-items-section, .summary-card {
        padding: 1.5rem;
    }
    
    .cart-item-large {
        padding: 1.5rem;
    }
    
    .item-options {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .item-actions-buttons {
        justify-content: center;
    }
    
    .cart-actions-section {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .cart-actions-left {
        justify-content: center;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .cart-items-section, .summary-card {
        padding: 1rem;
    }
    
    .cart-item-large {
        padding: 1rem;
    }
    
    .item-image {
        width: 150px;
        height: 150px;
    }
    
    .item-title {
        font-size: 1.1rem;
    }
    
    .quantity-controls {
        width: 100%;
        justify-content: center;
    }
    
    .price-info {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .total-item-price {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* Checkout Page Styles */
#checkoutcontent {
    padding: 2rem 0;
    background-color: var(--color-offwhite);
    min-height: 80vh;
}

/* Checkout Page Header */
.checkout-page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.checkout-page-header .page-title {
    font-size: 2.5rem;
    color: var(--color-purple-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.checkout-page-header .page-subtitle {
    font-size: 1.2rem;
    color: var(--color-gray-dark);
    margin-bottom: 2rem;
}

/* Checkout Content Container */
.checkout-content-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Checkout Form Section */
.checkout-form-section {
    background: var(--color-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-purple-light);
}

.section-header h2 {
    color: var(--color-purple-dark);
    font-size: 1.5rem;
    font-weight: 700;
}

.section-header i {
    color: var(--color-accent-hotpink);
    font-size: 1.5rem;
}

/* Form Sections */
.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-gray-light);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title {
    color: var(--color-purple-dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--color-accent-hotpink);
    border-radius: 2px;
}

/* Form Layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

/* Form Labels */
.form-group label {
    font-weight: 600;
    color: var(--color-purple-dark);
    font-size: 0.95rem;
}

.form-group label::after {
    content: ' *';
    color: #dc3545;
}

.form-group label:not([for*="required"])::after {
    content: '';
}

/* Form Inputs */
.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--color-gray-light);
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--color-white);
    color: var(--color-gray-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-hotpink);
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Phone Input Container */
.phone-input-container {
    display: flex;
    align-items: center;
    border: 2px solid var(--color-gray-light);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.phone-input-container:focus-within {
    border-color: var(--color-accent-hotpink);
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
}

.country-code {
    background: var(--color-purple-light);
    color: var(--color-purple-dark);
    padding: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-left: 1px solid var(--color-gray-light);
}

.phone-input-container input {
    border: none;
    border-radius: 0;
    flex: 1;
    box-shadow: none;
}

.phone-input-container input:focus {
    box-shadow: none;
}

/* Shipping Methods */
.shipping-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.shipping-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    padding: 1rem;
    border: 2px solid var(--color-gray-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.shipping-method:hover {
    border-color: var(--color-purple-light);
    background: var(--color-offwhite);
}

.shipping-method input[type="radio"] {
    display: none;
}

.shipping-method input[type="radio"]:checked + .method-content {
    color: var(--color-accent-hotpink);
}

.shipping-method input[type="radio"]:checked ~ .shipping-method {
    border-color: var(--color-accent-hotpink);
    background: var(--color-offwhite);
}

.method-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.method-info h4 {
    color: var(--color-purple-dark);
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.method-info p {
    color: var(--color-gray-dark);
    font-size: 0.9rem;
    margin: 0;
}

.method-price {
    font-weight: 600;
    color: var(--color-accent-hotpink);
    font-size: 1rem;
}

/* Order Summary Section */
.order-summary-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.summary-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-purple-light);
}

.summary-header h3 {
    color: var(--color-purple-dark);
    font-size: 1.3rem;
    font-weight: 700;
}

.summary-header i {
    color: var(--color-accent-hotpink);
    font-size: 1.5rem;
}

/* Order Items Summary */
.order-items-summary {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-gray-light);
}

.order-items-summary h4 {
    color: var(--color-purple-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.order-items-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-item-summary {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-offwhite);
    border-radius: 10px;
}

.order-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.order-item-title {
    font-weight: 600;
    color: var(--color-purple-dark);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.order-item-info {
    font-size: 0.8rem;
    color: var(--color-gray-dark);
    margin-bottom: 0.3rem;
}

.order-item-price {
    font-weight: 600;
    color: var(--color-accent-hotpink);
    font-size: 0.9rem;
}

/* Summary Content */
.summary-content {
    margin-bottom: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    font-size: 1rem;
}

.summary-row:not(:last-child) {
    border-bottom: 1px solid var(--color-gray-light);
}

.summary-row span:first-child {
    color: var(--color-gray-dark);
}

.summary-row span:last-child {
    font-weight: 600;
    color: var(--color-purple-dark);
}

.summary-row.discount {
    color: #28a745;
}

.summary-row.discount span:last-child {
    color: #28a745;
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--color-accent-hotpink);
    color: var(--color-white);
    border-top: 2px solid var(--color-purple-light);
    padding-top: 1.5rem;
    margin-top: 0.5rem;
    border-radius: 10px;
}

.summary-row.total span:last-child {
    color: var(--color-white);
}

/* Discount Code Section */
.discount-code-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-gray-light);
}

.discount-code-section h4 {
    color: var(--color-purple-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.discount-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.discount-input {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--color-purple-light);
    border-radius: 10px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.discount-input:focus {
    outline: none;
    border-color: var(--color-accent-hotpink);
}

.apply-discount-btn {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.apply-discount-btn:hover {
    background: var(--color-purple-dark);
}

.discount-suggestions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.discount-suggestion {
    font-size: 0.9rem;
    color: var(--color-gray-dark);
}

.discount-tag {
    background: var(--color-purple-light);
    color: var(--color-purple-dark);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.discount-tag:hover {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
}

/* Payment Methods Section */
.payment-methods-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-gray-light);
}

.payment-methods-section h4 {
    color: var(--color-purple-dark);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    padding: 1rem;
    border: 2px solid var(--color-gray-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: var(--color-purple-light);
    background: var(--color-offwhite);
}

.payment-method input[type="radio"] {
    display: none;
}

.payment-method input[type="radio"]:checked ~ .method-content {
    color: var(--color-accent-hotpink);
}

.payment-method input[type="radio"]:checked ~ .payment-method {
    border-color: var(--color-accent-hotpink);
    background: var(--color-offwhite);
}

.method-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.method-content i {
    color: var(--color-accent-hotpink);
    font-size: 1.2rem;
    width: 24px;
}

.method-content span {
    color: var(--color-gray-dark);
    font-weight: 500;
}

/* Order Benefits */
.order-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--color-offwhite);
    border-radius: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: var(--color-gray-dark);
}

.benefit-item i {
    color: var(--color-accent-hotpink);
    width: 20px;
}

/* Checkout Actions */
.checkout-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.place-order-btn, .save-order-btn {
    padding: 1.2rem;
    border: none;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.place-order-btn {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
}

.place-order-btn:hover {
    background: var(--color-purple-dark);
    transform: translateY(-2px);
}

.save-order-btn {
    background: var(--color-white);
    color: var(--color-purple-dark);
    border: 2px solid var(--color-purple-light);
}

.save-order-btn:hover {
    background: var(--color-purple-light);
    color: var(--color-purple-dark);
}

/* Security Notice */
.security-notice {
    background: var(--color-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.notice-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.notice-content i {
    color: var(--color-accent-hotpink);
    font-size: 2rem;
}

.notice-text h4 {
    color: var(--color-purple-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.notice-text p {
    color: var(--color-gray-dark);
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive Design for Checkout */
@media (max-width: 1024px) {
    .checkout-content-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .order-summary-section {
        order: -1;
    }
}

@media (max-width: 768px) {
    .checkout-page-header {
        margin-bottom: 2rem;
        padding: 1rem 0;
    }
    
    .checkout-page-header .page-title {
        font-size: 2rem;
    }
    
    .checkout-form-section, .summary-card {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .shipping-methods, .payment-methods {
        gap: 0.8rem;
    }
    
    .shipping-method, .payment-method {
        padding: 0.8rem;
    }
    
    .method-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .notice-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .checkout-form-section, .summary-card {
        padding: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .phone-input-container {
        flex-direction: column;
        border-radius: 10px;
    }
    
    .country-code {
        border-left: none;
        border-bottom: 1px solid var(--color-gray-light);
        text-align: center;
    }
    
    .phone-input-container input {
        border-radius: 0 0 8px 8px;
    }
    
    .shipping-method, .payment-method {
        padding: 0.8rem;
    }
    
    .method-info h4 {
        font-size: 0.9rem;
    }
    
    .method-info p {
        font-size: 0.8rem;
    }
    
    .discount-input-group {
        flex-direction: column;
    }
    
    .apply-discount-btn {
        width: 100%;
    }
}

/* Form Validation Styles */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading States */
.place-order-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.place-order-btn .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Receipt Page Styles */
#recieptcontent {
    padding: 2rem 0;
    background-color: var(--color-offwhite);
    min-height: 80vh;
}

/* Receipt Page Header */
.receipt-page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.receipt-page-header .page-title {
    font-size: 2.5rem;
    color: var(--color-purple-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.receipt-page-header .page-subtitle {
    font-size: 1.2rem;
    color: var(--color-gray-dark);
    margin-bottom: 2rem;
}

/* Receipt Actions */
.receipt-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.receipt-actions button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 160px;
    justify-content: center;
}

.download-pdf-btn {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
}

.download-pdf-btn:hover {
    background: var(--color-purple-dark);
    transform: translateY(-2px);
}

.print-receipt-btn {
    background: var(--color-accent-yellow);
    color: var(--color-gray-dark);
}

.print-receipt-btn:hover {
    background: #f39c12;
    transform: translateY(-2px);
}

.share-receipt-btn {
    background: var(--color-purple-light);
    color: var(--color-purple-dark);
}

.share-receipt-btn:hover {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
    transform: translateY(-2px);
}

.back-to-shop-btn {
    background: var(--color-white);
    color: var(--color-purple-dark);
    border: 2px solid var(--color-purple-light);
}

.back-to-shop-btn:hover {
    background: var(--color-purple-light);
    color: var(--color-purple-dark);
}

/* Receipt Container */
.receipt-container {
    background: var(--color-white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Receipt Header */
.receipt-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid var(--color-purple-light);
    flex-wrap: wrap;
    gap: 2rem;
}

.company-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.company-logo {
    width: 80px;
    height: 80px;
    background: var(--color-accent-hotpink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 2rem;
}

.company-details h2 {
    color: var(--color-purple-dark);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.company-tagline {
    color: var(--color-gray-dark);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.company-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.company-contact span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray-dark);
    font-size: 0.9rem;
}

.company-contact i {
    color: var(--color-accent-hotpink);
    width: 16px;
}

/* Receipt Meta */
.receipt-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.receipt-meta .label {
    color: var(--color-gray-dark);
    font-size: 0.9rem;
    font-weight: 500;
}

.receipt-meta .value {
    color: var(--color-purple-dark);
    font-weight: 600;
    font-size: 1rem;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    display: inline-block;
}

.status-badge.success {
    background: #d4edda;
    color: #155724;
}

.status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.processing {
    background: #cce5ff;
    color: #004085;
}

/* Receipt Sections */
.receipt-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-gray-light);
}

.receipt-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title {
    color: var(--color-purple-dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.section-title i {
    color: var(--color-accent-hotpink);
    width: 24px;
}

/* Customer Information Grid */
.customer-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.info-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-group label {
    color: var(--color-gray-dark);
    font-size: 0.9rem;
    font-weight: 500;
}

.info-group span {
    color: var(--color-purple-dark);
    font-weight: 600;
    font-size: 1rem;
}

/* Order Items Table */
.order-items-table {
    overflow-x: auto;
}

.order-items-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.order-items-table th,
.order-items-table td {
    padding: 1rem;
    text-align: right;
    border-bottom: 1px solid var(--color-gray-light);
}

.order-items-table th {
    background: var(--color-offwhite);
    color: var(--color-purple-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.order-items-table td {
    color: var(--color-gray-dark);
    font-size: 0.9rem;
}

.product-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-name {
    font-weight: 600;
    color: var(--color-purple-dark);
    max-width: 200px;
}

.product-color,
.product-size {
    text-align: center;
}

.product-price,
.product-quantity,
.product-total {
    text-align: center;
    font-weight: 600;
}

.product-total {
    color: var(--color-accent-hotpink);
}

/* Payment Summary */
.payment-summary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--color-offwhite);
    border-radius: 10px;
    border: 1px solid var(--color-purple-light);
}

.summary-row .label {
    color: var(--color-gray-dark);
    font-size: 0.95rem;
}

.summary-row .value {
    font-weight: 600;
    color: var(--color-purple-dark);
    font-size: 1rem;
}

.summary-row.discount .value {
    color: #28a745;
}

.summary-row.total {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 700;
}

.summary-row.total .label,
.summary-row.total .value {
    color: var(--color-white);
}

/* Payment Information Grid */
.payment-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.payment-amount {
    color: var(--color-accent-hotpink);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Order Timeline */
.order-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.order-timeline::before {
    content: '';
    position: absolute;
    right: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-gray-light);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    right: 18px;
    top: 20px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-gray-light);
}

.timeline-item.completed::before {
    background: var(--color-accent-hotpink);
}

.timeline-item.current::before {
    background: var(--color-accent-yellow);
}

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.2rem;
    z-index: 1;
}

.timeline-item.completed .timeline-icon {
    background: var(--color-accent-hotpink);
}

.timeline-item.current .timeline-icon {
    background: var(--color-accent-yellow);
}

.timeline-item:not(.completed):not(.current) .timeline-icon {
    background: var(--color-gray-light);
    color: var(--color-gray-dark);
}

.timeline-content h4 {
    color: var(--color-purple-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.timeline-content p {
    color: var(--color-gray-dark);
    font-size: 0.9rem;
    margin: 0;
}

/* Additional Information */
.additional-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--color-offwhite);
    border-radius: 10px;
    border: 1px solid var(--color-purple-light);
}

.info-item label {
    color: var(--color-gray-dark);
    font-size: 0.9rem;
    font-weight: 500;
}

.info-item span {
    color: var(--color-purple-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Receipt Footer */
.receipt-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--color-purple-light);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-content {
    display: grid;
    gap: 3rem;
    margin-bottom: 2rem;
}

.company-policies h4,
.contact-support h4 {
    color: var(--color-purple-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.company-policies ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.company-policies li {
    color: var(--color-gray-dark);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-right: 1.5rem;
    position: relative;
}

.company-policies li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--color-accent-hotpink);
    font-weight: 600;
}

.contact-support p {
    color: var(--color-gray-dark);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-methods span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray-dark);
    font-size: 0.9rem;
}

.contact-methods i {
    color: var(--color-accent-hotpink);
    width: 16px;
}

/* Receipt Stamp */
.receipt-stamp {
    text-align: center;
    margin-top: 2rem;
}

.stamp-content {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem;
    border: 2px dashed var(--color-purple-light);
    border-radius: 15px;
    color: var(--color-gray-dark);
}

.stamp-content i {
    font-size: 2rem;
    color: var(--color-accent-hotpink);
}

.stamp-content span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Receipt Actions Bottom */
.receipt-actions-bottom {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.action-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-group button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 140px;
    justify-content: center;
}

.email-receipt-btn {
    background: var(--color-purple-light);
    color: var(--color-purple-dark);
}

.email-receipt-btn:hover {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
}

.track-order-btn {
    background: var(--color-accent-yellow);
    color: var(--color-gray-dark);
}

.track-order-btn:hover {
    background: #f39c12;
    color: var(--color-white);
}

/* Print Styles */
@media print {
    .receipt-actions,
    .receipt-actions-bottom {
        display: none;
    }
    
    .receipt-container {
        box-shadow: none;
        border: 1px solid #000;
        padding: 2rem;
    }
    
    body {
        background: white;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}

/* Responsive Design for Receipt */
@media (max-width: 1024px) {
    .receipt-container {
        padding: 2rem;
    }
    
    .receipt-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .receipt-page-header {
        margin-bottom: 2rem;
        padding: 1rem 0;
    }
    
    .receipt-page-header .page-title {
        font-size: 2rem;
    }
    
    .receipt-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .receipt-actions button {
        width: 100%;
        max-width: 300px;
    }
    
    .receipt-container {
        padding: 1.5rem;
    }
    
    .customer-info-grid,
    .payment-info-grid {
        grid-template-columns: 1fr;
    }
    
    .order-items-table {
        font-size: 0.8rem;
    }
    
    .order-items-table th,
    .order-items-table td {
        padding: 0.5rem;
    }
    
    .product-image {
        width: 60px;
        height: 60px;
    }
    
    .timeline-item::before {
        right: 15px;
    }
    
    .receipt-actions-bottom {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .action-group {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .receipt-container {
        padding: 1rem;
    }
    
    .company-info {
        flex-direction: column;
        text-align: center;
    }
    
    .company-logo {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .company-details h2 {
        font-size: 1.5rem;
    }
    
    .receipt-meta {
        text-align: center;
    }
    
    .order-items-table {
        font-size: 0.7rem;
    }
    
    .order-items-table th,
    .order-items-table td {
        padding: 0.3rem;
    }
    
    .product-image {
        width: 50px;
        height: 50px;
    }
    
    .summary-row {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* ========================================
   PROFILE PAGE STYLES
   ======================================== */

/* Profile Section */
.profile-section {
    padding: 2rem 0;
    background: var(--color-offwhite);
    min-height: 100vh;
}

/* Profile Header */
.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--color-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.profile-avatar {
    flex-shrink: 0;
}

.avatar-container {
    position: relative;
    width: 120px;
    height: 120px;
}

.avatar-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-accent-hotpink);
}

.avatar-edit-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 36px;
    background: var(--color-accent-hotpink);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(255, 107, 157, 0.3);
}

.avatar-edit-btn:hover {
    background: var(--color-purple-dark);
    transform: scale(1.1);
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 2rem;
    color: var(--color-purple-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.profile-email {
    color: var(--color-gray-dark);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.profile-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent-hotpink);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-gray-dark);
}

.profile-actions {
    flex-shrink: 0;
}

.edit-profile-btn {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.edit-profile-btn:hover {
    background: var(--color-purple-dark);
    transform: translateY(-2px);
}

/* Profile Navigation */
.profile-nav {
    margin-bottom: 2rem;
}

.profile-tabs {
    display: flex;
    background: var(--color-white);
    border-radius: 15px;
    padding: 0.5rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
}

.profile-tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-gray-dark);
    white-space: nowrap;
}

.profile-tab:hover {
    background: var(--color-purple-light);
    color: var(--color-purple-dark);
}

.profile-tab.active {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
    box-shadow: 0 2px 10px rgba(255, 107, 157, 0.3);
}

.profile-tab i {
    font-size: 1.1rem;
}

/* Profile Content */
.profile-content {
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.profile-tab-content {
    display: none;
    padding: 2rem;
}

.profile-tab-content.active {
    display: block;
}

.tab-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-purple-light);
}

.tab-header h2 {
    color: var(--color-purple-dark);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tab-header p {
    color: var(--color-gray-dark);
    font-size: 1rem;
}

/* Profile Form */
.profile-form-container {
    max-width: 800px;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section {
    background: var(--color-offwhite);
    padding: 2rem;
    border-radius: 15px;
}

.form-section h3 {
    color: var(--color-purple-dark);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-accent-hotpink);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--color-purple-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--color-purple-light);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--color-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-hotpink);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.save-btn {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.save-btn:hover {
    background: var(--color-purple-dark);
    transform: translateY(-2px);
}

.cancel-btn {
    background: var(--color-white);
    color: var(--color-gray-dark);
    border: 2px solid var(--color-gray-light);
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cancel-btn:hover {
    background: var(--color-gray-light);
    color: var(--color-purple-dark);
}

/* Orders Tab */
.orders-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.order-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--color-white);
    color: var(--color-gray-dark);
    border: 2px solid var(--color-purple-light);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: var(--color-purple-light);
    color: var(--color-purple-dark);
}

.filter-btn.active {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
    border-color: var(--color-accent-hotpink);
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.order-card {
    background: var(--color-offwhite);
    border-radius: 15px;
    padding: 2rem;
    border: 2px solid var(--color-gray-light);
    transition: all 0.3s ease;
}

.order-card:hover {
    border-color: var(--color-purple-light);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-gray-light);
}

.order-info h3 {
    color: var(--color-purple-dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.order-date {
    color: var(--color-gray-dark);
    font-size: 0.9rem;
}

.order-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.order-status.delivered {
    background: #d4edda;
    color: #155724;
}

.order-status.shipped {
    background: #cce5ff;
    color: #004085;
}

.order-status.processing {
    background: #fff3cd;
    color: #856404;
}

.order-status.pending {
    background: #f8d7da;
    color: #721c24;
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-white);
    border-radius: 10px;
}

.order-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.item-info {
    flex: 1;
}

.item-info h4 {
    color: var(--color-purple-dark);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.item-info p {
    color: var(--color-gray-dark);
    font-size: 0.9rem;
}

.item-price {
    color: var(--color-accent-hotpink);
    font-weight: 700;
    font-size: 1rem;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--color-gray-light);
}

.order-total {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-total span:first-child {
    color: var(--color-gray-dark);
    font-size: 1rem;
}

.total-amount {
    color: var(--color-accent-hotpink);
    font-weight: 700;
    font-size: 1.2rem;
}

.order-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-btn {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
}

.view-btn:hover {
    background: var(--color-purple-dark);
}

.track-btn {
    background: var(--color-accent-yellow);
    color: var(--color-purple-dark);
}

.track-btn:hover {
    background: #e6c200;
}

.reorder-btn {
    background: var(--color-purple-light);
    color: var(--color-purple-dark);
}

.reorder-btn:hover {
    background: var(--color-purple-dark);
    color: var(--color-white);
}

.cancel-btn {
    background: #dc3545;
    color: var(--color-white);
}

.cancel-btn:hover {
    background: #c82333;
}

/* Addresses Tab */
.addresses-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.addresses-header {
    display: flex;
    justify-content: flex-end;
}

.add-address-btn {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.add-address-btn:hover {
    background: var(--color-purple-dark);
    transform: translateY(-2px);
}

.addresses-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.address-card {
    background: var(--color-offwhite);
    border-radius: 15px;
    padding: 2rem;
    border: 2px solid var(--color-gray-light);
    transition: all 0.3s ease;
    position: relative;
}

.address-card:hover {
    border-color: var(--color-purple-light);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.address-card.default {
    border-color: var(--color-accent-hotpink);
    background: linear-gradient(135deg, var(--color-offwhite) 0%, rgba(255, 107, 157, 0.05) 100%);
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.address-header h3 {
    color: var(--color-purple-dark);
    font-size: 1.2rem;
    font-weight: 700;
}

.address-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.address-badge.default {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
}

.address-content {
    margin-bottom: 1.5rem;
}

.address-info p {
    color: var(--color-gray-dark);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.address-info p:first-child {
    color: var(--color-purple-dark);
    font-weight: 600;
    font-size: 1.1rem;
}

.address-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.edit-btn {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
}

.edit-btn:hover {
    background: var(--color-purple-dark);
}

.set-default-btn {
    background: var(--color-accent-yellow);
    color: var(--color-purple-dark);
}

.set-default-btn:hover {
    background: #e6c200;
}

.delete-btn {
    background: #dc3545;
    color: var(--color-white);
}

.delete-btn:hover {
    background: #c82333;
}

/* Transactions Tab */
.transactions-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.transaction-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.transactions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.transaction-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--color-offwhite);
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid var(--color-gray-light);
    transition: all 0.3s ease;
}

.transaction-card:hover {
    border-color: var(--color-purple-light);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.transaction-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.transaction-icon.payment {
    background: #dc3545;
    color: var(--color-white);
}

.transaction-icon.refund {
    background: #28a745;
    color: var(--color-white);
}

.transaction-icon.deposit {
    background: var(--color-accent-hotpink);
    color: var(--color-white);
}

.transaction-info {
    flex: 1;
}

.transaction-info h3 {
    color: var(--color-purple-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.transaction-date {
    color: var(--color-gray-dark);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.transaction-method {
    color: var(--color-gray-dark);
    font-size: 0.85rem;
}

.transaction-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    margin-left: 1rem;
}

.transaction-amount .amount {
    font-size: 1.2rem;
    font-weight: 700;
}

.transaction-amount .currency {
    font-size: 0.8rem;
    color: var(--color-gray-dark);
}

.transaction-amount.payment .amount {
    color: #dc3545;
}

.transaction-amount.refund .amount {
    color: #28a745;
}

.transaction-amount.deposit .amount {
    color: var(--color-accent-hotpink);
}

.transaction-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    background: #d4edda;
    color: #155724;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .profile-stats {
        justify-content: center;
    }
    
    .profile-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .profile-tab {
        justify-content: flex-start;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .order-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .order-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .order-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .addresses-list {
        grid-template-columns: 1fr;
    }
    
    .transaction-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .transaction-amount {
        align-items: flex-start;
        margin-left: 0;
    }
    
    .filter-btn,
    .action-btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .profile-section {
        padding: 1rem 0;
    }
    
    .profile-header {
        padding: 1.5rem;
    }
    
    .profile-tab-content {
        padding: 1.5rem;
    }
    
    .form-section {
        padding: 1.5rem;
    }
    
    .order-card,
    .address-card,
    .transaction-card {
        padding: 1.5rem;
    }
    
    .profile-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .profile-name {
        font-size: 1.5rem;
    }
}