/* ==========================================
   COMPLETE E-COMMERCE WEBSITE CSS - NEW BROWN THEME
   ========================================== */

/* Color Variables - New Brown Theme */
:root {
    --primary-brown: #8B4513;        /* Main brown color */
    --secondary-brown: #A0522D;      /* Lighter brown */
    --accent-brown: #D2691E;         /* Orange-brown accent */
    --light-brown: #DEB887;          /* Light brown */
    --dark-brown: #654321;           /* Dark brown */
    --cream: #F5F5DC;                /* Cream background */
    --white: #FFFFFF;                /* Pure white */
    --text-dark: #2C1810;            /* Dark brown text */
    --text-light: #8B7355;           /* Light brown text */
    --success: #228B22;              /* Forest green */
    --warning: #FF8C00;              /* Dark orange */
    --danger: #B22222;               /* Fire brick red */
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ==========================================
   TOP BANNER
   ========================================== */
.top-banner {
    background: linear-gradient(135deg, #CCAD8B 0%, #B8A082 50%, #A69379 100%);
    color: var(--white);
    text-align: center;
    padding: 0.8rem;
    font-size: 0.9rem;
    font-weight: 500;
    animation: slideDown 0.5s ease;
    position: relative;
    z-index: 1001;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

@keyframes slideDown {
    from { 
        transform: translateY(-100%); 
    }
    to { 
        transform: translateY(0); 
    }
}

/* ==========================================
   NAVIGATION
   ========================================== */
nav {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    padding: 1rem 5%;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 10px;
}

.logo-container:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.1);
}

.logo-image {
    height: 70px;
    width: auto;
    max-width: 70px;
    transition: all 0.3s ease;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    background: transparent !important;
}

.logo-text {
    font-size: 2.2rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    font-family: 'Georgia', serif;
}

/* Remove old logo styles */
.logo-img, .logo {
    display: none;
}

.search-bar {
    flex: 1;
    max-width: 600px;
    min-width: 200px;
    position: relative;
    margin: 0 auto;
}

.search-bar input {
    width: 100%;
    padding: 0.9rem 3rem 0.9rem 1.5rem;
    border: 3px solid #CCAD8B;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text-dark);
}

.search-bar input:focus {
    box-shadow: 0 0 20px rgba(204, 173, 139, 0.6);
    transform: scale(1.02);
    border-color: #CCAD8B;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #683F31 0%, #7A4B3D 100%);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    color: var(--white);
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 5px 15px rgba(104, 63, 49, 0.5);
    background: linear-gradient(135deg, #5A3529 0%, #683F31 100%);
}

.nav-actions {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-left: auto;
}

.nav-item {
    color: var(--white);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
}

.nav-item:hover {
    color: #F5F5DC;
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
}

.nav-icon {
    font-size: 1.5rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================
   STANDARDIZED CART BADGE - CONSISTENT ACROSS ALL PAGES
   ========================================== */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 10;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.2); 
    }
}

/* ==========================================
   CATEGORY BAR
   ========================================== */
.category-bar {
    background: linear-gradient(135deg, #B8A082 0%, #CCAD8B 100%);
    padding: 1rem 5%;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.fixed-category {
    flex-shrink: 0;
    color: var(--white);
    text-decoration: none;
    white-space: nowrap;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.fixed-category:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: #F5F5DC;
}

.rotating-categories {
    flex: 1;
    display: flex;
    overflow: hidden;
    position: relative;
}

.categories-slider {
    display: flex;
    animation: rotateCategories 30s linear infinite;
    gap: 1rem;
}

.categories-slider:hover {
    animation-play-state: paused;
}

@keyframes rotateCategories {
    0% { 
        transform: translateX(0); 
    }
    100% { 
        transform: translateX(-50%); 
    }
}

.category-item {
    color: var(--white);
    text-decoration: none;
    white-space: nowrap;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    flex-shrink: 0;
}

.category-item:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #F5F5DC;
    transform: translateY(-2px);
}

/* ==========================================
   HERO SLIDER - FULL WIDTH POSTER STYLE
   ========================================== */

.hero-slider {
    height: 400px;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
    width: 100%;
    display: block;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.slider-container {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    width: 500%; /* 5 slides = 500% */
}

.slide {
    min-width: 20%; /* 100% / 5 slides = 20% */
    width: 20%;
    height: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
}

.slide img {
    width: 90%;
    height: 85%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    border: 3px solid rgba(255,255,255,0.2);
}

.slide:hover img {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

/* Responsive slider heights */
@media (min-width: 768px) {
    .hero-slider {
        height: 450px;
    }
}

@media (min-width: 1200px) {
    .hero-slider {
        height: 500px;
    }
}

@media (max-width: 767px) {
    .hero-slider {
        height: 300px;
    }
    
    .slide img {
        width: 85%;
        height: 80%;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 250px;
    }
    
    .slide img {
        width: 80%;
        height: 75%;
        border-radius: 8px;
    }
}

.slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 10;
    transform: translateY(-50%);
    pointer-events: none;
}

.arrow {
    background: rgba(255, 255, 255, 0.9);
    color: #8B4513;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    pointer-events: all;
    border: 2px solid rgba(139, 69, 19, 0.2);
}

.arrow:hover {
    background: #8B4513;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: white;
    width: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* ==========================================
   DEALS BANNER
   ========================================== */
.deals-banner {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    padding: 1.5rem 5%;
    text-align: center;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.deals-banner h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.deals-timer {
    color: #8B0000;
    font-size: 1.2rem;
    font-weight: bold;
}

/* ==========================================
   PRODUCTS SECTION
   ========================================== */
.products-section {
    padding: 3rem 5%;
    background: white;
    position: relative;
    overflow: hidden;
}

/* Terracotta Background Patterns - Darker Colors */
.products-section.pattern-floral::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(180, 90, 25, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(175, 115, 55, 0.05) 0%, transparent 50%);
    background-size: 400px 400px;
    pointer-events: none;
    z-index: 0;
}

.products-section.pattern-geometric::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(180, 90, 25, 0.04) 35px, rgba(180, 90, 25, 0.04) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(175, 115, 55, 0.04) 35px, rgba(175, 115, 55, 0.04) 70px);
    pointer-events: none;
    z-index: 0;
}

.products-section.pattern-waves::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-radial-gradient(circle at 0 0, transparent 0, rgba(180, 90, 25, 0.04) 10px, transparent 20px),
        repeating-radial-gradient(circle at 100% 100%, transparent 0, rgba(175, 115, 55, 0.04) 10px, transparent 20px);
    background-size: 200px 200px;
    pointer-events: none;
    z-index: 0;
}

.products-section.pattern-traditional::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(180, 90, 25, 0.06) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(175, 115, 55, 0.06) 2px, transparent 2px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.products-section.pattern-mandala::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background-image: 
        radial-gradient(circle, transparent 30%, rgba(180, 90, 25, 0.04) 30%, rgba(180, 90, 25, 0.04) 31%, transparent 31%),
        radial-gradient(circle, transparent 50%, rgba(175, 115, 55, 0.04) 50%, rgba(175, 115, 55, 0.04) 51%, transparent 51%),
        radial-gradient(circle, transparent 70%, rgba(180, 90, 25, 0.04) 70%, rgba(180, 90, 25, 0.04) 71%, transparent 71%);
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 0;
}

/* New Patterns with Darker Colors */
.products-section.pattern-hexagon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(160, 82, 45, 0.05) 60deg, transparent 120deg),
        repeating-conic-gradient(from 30deg at 25% 25%, transparent 0deg, rgba(139, 69, 19, 0.05) 60deg, transparent 120deg);
    background-size: 80px 80px, 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.products-section.pattern-pottery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 30% 40%, rgba(160, 82, 45, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(139, 69, 19, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(180, 90, 25, 0.04) 0%, transparent 30%);
    background-size: 300px 200px, 250px 180px, 400px 400px;
    pointer-events: none;
    z-index: 0;
}

.products-section.pattern-tribal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 20px, rgba(160, 82, 45, 0.05) 20px, rgba(160, 82, 45, 0.05) 22px),
        repeating-linear-gradient(90deg, transparent, transparent 30px, rgba(139, 69, 19, 0.05) 30px, rgba(139, 69, 19, 0.05) 32px),
        repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(180, 90, 25, 0.03) 40px, rgba(180, 90, 25, 0.03) 42px);
    pointer-events: none;
    z-index: 0;
}

.products-section.pattern-clay-texture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(160, 82, 45, 0.04) 1px, transparent 1px),
        radial-gradient(circle at 40% 60%, rgba(139, 69, 19, 0.04) 1px, transparent 1px),
        radial-gradient(circle at 80% 40%, rgba(180, 90, 25, 0.04) 1px, transparent 1px),
        radial-gradient(circle at 60% 80%, rgba(160, 82, 45, 0.04) 1px, transparent 1px);
    background-size: 25px 25px, 35px 35px, 30px 30px, 40px 40px;
    pointer-events: none;
    z-index: 0;
}

.products-section.pattern-spiral::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        conic-gradient(from 0deg at 25% 25%, transparent 0deg, rgba(160, 82, 45, 0.05) 90deg, transparent 180deg, rgba(139, 69, 19, 0.05) 270deg, transparent 360deg),
        conic-gradient(from 180deg at 75% 75%, transparent 0deg, rgba(180, 90, 25, 0.05) 90deg, transparent 180deg, rgba(160, 82, 45, 0.05) 270deg, transparent 360deg);
    background-size: 150px 150px;
    pointer-events: none;
    z-index: 0;
}

.products-section.pattern-diamond::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 25px, rgba(160, 82, 45, 0.05) 25px, rgba(160, 82, 45, 0.05) 27px, transparent 27px, transparent 50px),
        repeating-linear-gradient(-45deg, transparent, transparent 25px, rgba(139, 69, 19, 0.05) 25px, rgba(139, 69, 19, 0.05) 27px, transparent 27px, transparent 50px);
    pointer-events: none;
    z-index: 0;
}

.products-section > * {
    position: relative;
    z-index: 1;
}

.section-header {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #ffd700;
}

.section-title {
    font-size: 2rem;
    color: #8B0000;
    font-weight: bold;
}

.view-all-btn {
    background: linear-gradient(135deg, #8B0000 0%, #CD5C5C 100%);
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.3);
    display: inline-block;
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 0, 0, 0.4);
    background: linear-gradient(135deg, #CD5C5C 0%, #8B0000 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(139, 69, 19, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.25);
    border-color: var(--accent-brown);
}

.product-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Removed wishlist button and discount badge for clean design */

.product-info {
    padding: 1.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 1.1rem;
    margin: 0.3rem 0;
    color: var(--text-dark);
    font-weight: 600;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.stars {
    color: var(--warning);
    font-size: 0.9rem;
}

.rating-count {
    color: var(--text-light);
    font-size: 0.85rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 1rem 0;
    margin-top: auto;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-brown);
}

.old-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
    opacity: 0.7;
}

/* Removed discount display for cleaner look */

/* ==========================================
   STANDARDIZED PRODUCT BUTTONS - CONSISTENT DESIGN
   ========================================== */

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.add-to-cart-btn {
    width: 100%;
    padding: 0.875rem 1rem;
    background: transparent;
    color: var(--primary-brown);
    border: 2px solid var(--primary-brown);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.1);
}

.add-to-cart-btn:hover {
    background: var(--primary-brown);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 69, 19, 0.3);
}

.add-to-cart-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(210, 105, 30, 0.2);
}

.buy-now-btn {
    width: 100%;
    padding: 0.875rem 1rem;
    background: linear-gradient(135deg, var(--accent-brown) 0%, var(--secondary-brown) 100%);
    color: var(--white);
    border: 2px solid transparent;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(210, 105, 30, 0.2);
}

.buy-now-btn:hover {
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--dark-brown) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 69, 19, 0.4);
    border-color: var(--primary-brown);
}

.buy-now-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

/* ==========================================
   PRODUCT DETAIL PAGE
   ========================================== */
.product-detail-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 5%;
}

/* Back Button */
.back-button-container {
    margin-bottom: 1.5rem;
}

.back-to-products-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.3);
}

.back-to-products-btn:hover {
    transform: translateX(-5px);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.4);
    background: linear-gradient(135deg, #A0522D 0%, #8B4513 100%);
}

.back-to-products-btn:active {
    transform: translateX(-3px);
}

.back-to-products-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.back-to-products-btn:hover i {
    transform: translateX(-3px);
}

.product-detail {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.product-images {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.main-image {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-details h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

.product-price-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.tax-info {
    color: #666;
    font-size: 0.9rem;
}

.specifications {
    margin-bottom: 2rem;
}

.specifications h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #8B0000;
}

.specs-content {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    white-space: pre-line;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-actions .add-to-cart-btn,
.product-actions .buy-now-btn {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-description h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #8B0000;
}

.product-description p {
    color: #666;
    line-height: 1.8;
}

/* ==========================================
   CART PAGE
   ========================================== */
.cart-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 5%;
}

.cart-container h1 {
    font-size: 2.5rem;
    color: #8B0000;
    margin-bottom: 2rem;
}

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.cart-items {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.item-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.item-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #8B0000;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.item-quantity button {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.item-quantity input {
    width: 50px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.3rem;
}

.item-total {
    font-size: 1.3rem;
    font-weight: bold;
    color: #8B0000;
}

.remove-btn {
    background: #f44336;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    transform: scale(1.1);
}

.cart-summary {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #8B0000;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.summary-row.total {
    font-size: 1.3rem;
    font-weight: bold;
    color: #8B0000;
    border-top: 2px solid #8B0000;
    border-bottom: none;
    margin-top: 1rem;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #8B0000 0%, #CD5C5C 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
    text-decoration: none;
    display: block;
    text-align: center;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.3);
}

.continue-shopping {
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: #8B0000;
    text-decoration: none;
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.empty-cart i {
    font-size: 5rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.empty-cart h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

.empty-cart p {
    color: #666;
    margin-bottom: 2rem;
}

/* ==========================================
   CHECKOUT PAGE
   ========================================== */
.checkout-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 5%;
}

.checkout-container h1 {
    font-size: 2.5rem;
    color: #8B0000;
    margin-bottom: 2rem;
}

.checkout-form {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.checkout-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
}

.checkout-section:last-child {
    border-bottom: none;
}

.checkout-section h2 {
    font-size: 1.5rem;
    color: #8B0000;
    margin-bottom: 1.5rem;
}

.address-list {
    display: grid;
    gap: 1rem;
}

.address-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.address-card:hover {
    border-color: #8B0000;
}

.address-card input[type="radio"] {
    margin-top: 0.3rem;
}

.address-card input[type="radio"]:checked + .address-details {
    color: #8B0000;
}

.address-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.address-details p {
    color: #666;
    margin: 0.3rem 0;
}

.btn-add-address {
    background: #8B0000;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 1rem;
}

.payment-methods {
    display: grid;
    gap: 1rem;
}

.payment-option {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: #8B0000;
}

.payment-option input[type="radio"]:checked + .payment-details {
    color: #8B0000;
}

.payment-details {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-details i {
    font-size: 1.5rem;
}

.order-summary {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #ddd;
}

.summary-item.total {
    font-size: 1.3rem;
    font-weight: bold;
    color: #8B0000;
    border-top: 2px solid #8B0000;
    border-bottom: none;
    margin-top: 1rem;
}

.place-order-btn {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, #8B0000 0%, #CD5C5C 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 2rem;
}

.place-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.3);
}

/* ==========================================
   AUTH PAGE
   ========================================== */
.auth-container {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.auth-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    background: #f8f9fa;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-tab.active {
    background: linear-gradient(135deg, #8B0000 0%, #CD5C5C 100%);
    color: white;
}

.auth-form {
    display: none;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    margin-bottom: 1.5rem;
    color: #8B0000;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #8B0000;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #8B0000 0%, #CD5C5C 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.3);
}

.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* ==========================================
   CUSTOM PAGE
   ========================================== */
.custom-page-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 5%;
}

.page-header {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #8B0000;
}

.page-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    line-height: 1.8;
    color: #666;
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    background: linear-gradient(135deg, #683F31 0%, #7A4B3D 30%, #8B5A47 70%, #683F31 100%);
    color: #F5F5DC;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #CCAD8B, #B8A082, #CCAD8B);
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { 
        transform: translateX(-100%); 
    }
    100% { 
        transform: translateX(100%); 
    }
}

.footer-top {
    padding: 4rem 5% 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    text-align: left;
}

.footer-section h3 {
    color: #CCAD8B;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid rgba(204, 173, 139, 0.3);
    padding-bottom: 0.5rem;
}

.footer-section p, 
.footer-section a {
    display: block;
    color: #F5F5DC;
    text-decoration: none;
    margin: 0.8rem 0;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-section a:hover {
    color: #CCAD8B;
    transform: translateX(8px);
    text-shadow: 0 0 5px rgba(204, 173, 139, 0.5);
}

/* Footer Logo Container - Same as Navbar */
.footer-section .logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.footer-section .logo-container:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.1);
}

.footer-section .logo-container .logo-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.footer-section .logo-container .logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--light-brown) 0%, var(--accent-brown) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Legacy footer-logo styles for backward compatibility */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-img {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B0000;
    font-weight: bold;
    font-size: 1.5rem;
}

.footer-logo .logo {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--light-brown) 0%, var(--accent-brown) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.payment-icon {
    width: 45px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ffd700;
    transition: all 0.3s ease;
}

.payment-icon:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: scale(1.1);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 237, 78, 0.2) 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    color: #e0e0e0;
    text-decoration: none;
}

.social-icon:hover {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #8B0000;
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #ffd700;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ==========================================
   NOTIFICATION
   ========================================== */
.notification {
    position: fixed;
    top: 100px;
    right: -300px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transition: right 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 250px;
    font-weight: 500;
}

.notification.show {
    right: 20px;
}

.notification-success {
    border-left: 4px solid #28a745;
    color: #155724;
}

.notification-success i {
    color: #28a745;
}

.notification-error {
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.notification-error i {
    color: #dc3545;
}

.notification-info {
    border-left: 4px solid #17a2b8;
    color: #0c5460;
}

.notification-info i {
    color: #17a2b8;
}

/* ==========================================
   RESPONSIVE STYLES
   ========================================== */

/* Tablet and Smaller Devices */
@media (max-width: 768px) {
    .notification {
        top: 80px;
        right: -280px;
        min-width: 200px;
        max-width: calc(100% - 40px);
        font-size: 0.9rem;
    }
    
    .notification.show {
        right: 10px;
    }
    
    nav {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 1rem;
    }
    
    .search-bar {
        order: 3;
        width: 100%;
        min-width: unset;
        max-width: 100%;
        margin-top: 1rem;
    }
    
    .nav-actions {
        margin-left: 0;
    }
    
    .hero-slider {
        height: 250px;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .slider-container {
        width: 100%;
        height: 100%;
    }
    
    .slide {
        width: 100%;
        height: 100%;
        min-width: 100%;
    }
    
    .slide img {
        width: 70%;
        height: 70%;
        object-fit: contain;
        object-position: center;
        display: block;
        margin: auto;
        padding: 0;
        background: transparent;
        border-radius: 10px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .products-section {
        padding: 2.5rem 5%;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .back-to-products-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-images {
        position: relative;
        top: 0;
    }
    
    .main-image {
        height: 350px;
    }
    
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
    }
    
    .cart-item img {
        width: 80px;
        height: 80px;
    }
    
    .item-quantity,
    .item-total,
    .remove-btn {
        grid-column: 2;
    }
}

/* Small Mobile Phones */
@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }
    
    nav {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0;
        padding: 0.8rem 5%;
    }
    
    .logo-container {
        order: 1;
        flex: 1;
    }
    
    .nav-actions {
        order: 2;
        margin-left: auto;
        flex-shrink: 0;
        gap: 1rem;
    }
    
    .search-bar {
        order: 3;
        flex-basis: 100%;
        width: 100%;
        margin-top: 0.5rem;
        min-width: 0;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .product-info {
        padding: 0.8rem;
    }
    
    .product-name {
        font-size: 0.9rem;
    }
    
    .current-price {
        font-size: 1.2rem;
    }
    
    .old-price, 
    .discount {
        font-size: 0.8rem;
    }
    
    .add-to-cart-btn, 
    .buy-now-btn {
        font-size: 0.9rem;
        padding: 0.8rem;
        min-height: 44px;
        touch-action: manipulation;
    }
    
    .product-image {
        height: 200px;
    }
    
    .shop-now-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .deals-banner h2 {
        font-size: 1.5rem;
    }
    
    .deals-timer {
        font-size: 1rem;
    }
    
    .footer-top {
        padding: 3rem 5% 1.5rem;
        gap: 1.5rem;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cart-item img {
        margin: 0 auto;
    }
    
    .product-actions {
        flex-direction: column;
    }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

/* ==========================================
   END OF CSS
   ========================================== */

/* ==========================================
   ENHANCED CART PAGE STYLES - V3.0
   ========================================== */

.cart-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.cart-container h1 {
    color: #8B4513;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2.5rem;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #D2691E;
}

.cart-header h2 {
    color: #8B4513;
    margin: 0;
    font-size: 1.5rem;
}

.clear-cart-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.clear-cart-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.cart-items {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto auto;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    align-items: center;
    transition: background 0.3s ease;
}

.cart-item:hover {
    background: #f8f9fa;
}

.cart-item:last-child {
    border-bottom: none;
}

.item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-details h3 {
    color: #333;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.item-details .item-price {
    color: #D2691E;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.item-details .added-time {
    color: #666;
    font-size: 0.8rem;
    margin: 0;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    border-radius: 25px;
    padding: 0.25rem;
}

.qty-btn {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    background: #D2691E;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: #8B4513;
    transform: scale(1.1);
}

.qty-btn.minus {
    background: #6c757d;
}

.qty-btn.minus:hover {
    background: #5a6268;
}

.qty-input {
    width: 50px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 1rem;
}

.item-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: #8B4513;
    text-align: right;
    min-width: 100px;
}

.remove-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #dc3545;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

.cart-summary {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.cart-summary h2 {
    color: #8B4513;
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    text-align: center;
}

.summary-details {
    margin-bottom: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row.total {
    border-top: 2px solid #D2691E;
    margin-top: 1rem;
    padding-top: 1rem;
    font-size: 1.2rem;
}

.free-shipping {
    color: #28a745 !important;
    font-weight: 600;
}

.free-shipping-note {
    background: #d4edda;
    color: #155724;
    padding: 0.5rem;
    border-radius: 5px;
    font-size: 0.9rem;
    text-align: center;
    border: 1px solid #c3e6cb;
}

.free-shipping-note span {
    font-weight: 600;
}

.checkout-actions {
    margin-bottom: 1.5rem;
}

.checkout-btn {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #D2691E 0%, #8B4513 100%);
    color: white;
    text-decoration: none;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(210, 105, 30, 0.4);
}

.continue-shopping {
    display: block;
    width: 100%;
    background: transparent;
    color: #D2691E;
    text-decoration: none;
    padding: 0.75rem;
    border: 2px solid #D2691E;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.continue-shopping:hover {
    background: #D2691E;
    color: white;
}

.cart-info {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.cart-info p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: #666;
}

.cart-info i {
    color: #28a745;
    margin-right: 0.5rem;
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.empty-cart i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.empty-cart h2 {
    color: #666;
    margin-bottom: 1rem;
}

.empty-cart p {
    color: #999;
    margin-bottom: 2rem;
}

.shop-now-btn {
    display: inline-block;
    background: linear-gradient(135deg, #D2691E 0%, #8B4513 100%);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.shop-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(210, 105, 30, 0.4);
}

/* ==========================================
   RESPONSIVE CART STYLES
   ========================================== */

@media (max-width: 768px) {
    .cart-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cart-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cart-item {
        grid-template-columns: 60px 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .item-image {
        width: 60px;
        height: 60px;
    }
    
    .item-quantity {
        grid-column: 1 / -1;
        justify-self: center;
        margin: 0.5rem 0;
    }
    
    .item-total {
        grid-column: 1 / -1;
        text-align: center;
        font-size: 1.1rem;
        margin: 0.5rem 0;
    }
    
    .remove-btn {
        grid-column: 1 / -1;
        justify-self: center;
        margin-top: 0.5rem;
    }
    
    .cart-summary {
        position: static;
        margin-top: 1rem;
    }
    
    .cart-container h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .cart-container {
        padding: 0 0.5rem;
    }
    
    .cart-item {
        padding: 0.75rem;
    }
    
    .item-details h3 {
        font-size: 1rem;
    }
    
    .qty-btn {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .qty-input {
        width: 40px;
        font-size: 0.9rem;
    }
}

/* ==========================================
   CART NOTIFICATION STYLES
   ========================================== */

.cart-limit-warning {
    background: #fff3cd;
    color: #856404;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #ffeaa7;
    margin-bottom: 1rem;
    text-align: center;
}

.cart-limit-warning i {
    margin-right: 0.5rem;
}

/* ==========================================
   CART BADGE ENHANCEMENT
   ========================================== */

.cart-badge-enhanced {
    border-radius: 50%;
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 20px;
    text-align: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
/* ==========================================
   PRODUCT IMAGE GALLERY STYLES - V4.0
   ========================================== */

.product-images {
    flex: 1;
    max-width: 500px;
}

.main-image-container {
    position: relative;
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    background: #f8f9fa;
}

.main-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    cursor: zoom-in;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image:hover img {
    transform: scale(1.05);
}

.image-zoom-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-image-container:hover .image-zoom-overlay {
    opacity: 1;
}

.image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #8B4513;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    opacity: 0;
}

.main-image-container:hover .image-nav {
    opacity: 1;
}

.image-nav:hover {
    background: #D2691E;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.image-nav.prev {
    left: 15px;
}

.image-nav.next {
    right: 15px;
}

.thumbnail-container {
    margin-top: 1rem;
}

.thumbnails {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: #D2691E #f1f1f1;
}

.thumbnails::-webkit-scrollbar {
    height: 6px;
}

.thumbnails::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.thumbnails::-webkit-scrollbar-thumb {
    background: #D2691E;
    border-radius: 3px;
}

.thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail:hover {
    border-color: #D2691E;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(210, 105, 30, 0.3);
}

.thumbnail.active {
    border-color: #8B4513;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.4);
}

.thumbnail.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 69, 19, 0.2);
}

/* ==========================================
   IMAGE MODAL STYLES
   ========================================== */

.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: rgba(255,255,255,0.3);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.modal-prev,
.modal-next {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    pointer-events: all;
}

.modal-prev:hover,
.modal-next:hover {
    background: rgba(255,255,255,0.4);
    transform: scale(1.1);
}

.modal-prev {
    margin-left: -60px;
}

.modal-next {
    margin-right: -60px;
}

/* ==========================================
   PRODUCT DETAIL RESPONSIVE STYLES
   ========================================== */

.product-detail {
    display: flex;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.product-details {
    flex: 1;
    max-width: 600px;
}

.product-details h1 {
    color: #8B4513;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
}

.rating-count {
    color: #666;
    font-size: 0.9rem;
}

.product-price-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border-left: 4px solid #D2691E;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: #D2691E;
}

.old-price {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
}

.discount-badge {
    background: #dc3545;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.tax-info {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.specifications,
.product-description {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.specifications h3,
.product-description h3 {
    color: #8B4513;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.specs-content {
    color: #555;
    line-height: 1.6;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.add-to-cart-btn,
.buy-now-btn {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.add-to-cart-btn {
    background: transparent;
    color: #D2691E;
    border: 2px solid #D2691E;
}

.add-to-cart-btn:hover {
    background: #D2691E;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(210, 105, 30, 0.3);
}

.buy-now-btn {
    background: linear-gradient(135deg, #D2691E 0%, #8B4513 100%);
    color: white;
}

.buy-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(210, 105, 30, 0.4);
}

/* ==========================================
   MOBILE RESPONSIVE STYLES
   ========================================== */

@media (max-width: 768px) {
    .product-detail {
        flex-direction: column;
        gap: 2rem;
        padding: 1rem;
        margin: 1rem;
    }
    
    .product-images {
        max-width: 100%;
    }
    
    .main-image {
        height: 300px;
    }
    
    .product-details h1 {
        font-size: 1.8rem;
    }
    
    .current-price {
        font-size: 1.6rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .thumbnails {
        justify-content: center;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .image-nav {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .modal-close {
        top: -40px;
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
    }
    
    .modal-prev,
    .modal-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .product-detail {
        margin: 0.5rem;
        padding: 0.75rem;
    }
    
    .main-image {
        height: 250px;
    }
    
    .product-details h1 {
        font-size: 1.5rem;
    }
    
    .current-price {
        font-size: 1.4rem;
    }
    
    .thumbnail {
        width: 50px;
        height: 50px;
    }
    
    .thumbnails {
        gap: 0.5rem;
    }
    
    .product-price-section,
    .specifications,
    .product-description {
        padding: 1rem;
    }
}

/* ==========================================
   CLEAN IMAGE STYLES - NO LOADING ANIMATION
   ========================================== */

.main-image img,
.thumbnail img {
    transition: opacity 0.3s ease;
    opacity: 1;
}

.image-loading {
    position: relative;
}
/* ==========================================
   ENHANCED NAVBAR STYLES - V5.0
   ========================================== */

/* Enhanced Category Bar */
.category-bar {
    background: linear-gradient(135deg, #CD853F 0%, #D2691E 100%);
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-bar::-webkit-scrollbar {
    display: none;
}

.category-bar .fixed-category,
.category-bar .category-item {
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    position: relative;
    display: flex;
    align-items: center;
    min-width: fit-content;
}

.category-bar .fixed-category:hover,
.category-bar .category-item:hover {
    background: rgba(255,255,255,0.15);
    border-bottom-color: rgba(255,255,255,0.8);
    transform: translateY(-2px);
}

.category-bar .fixed-category.active,
.category-bar .category-item.active {
    background: rgba(255,255,255,0.4) !important;
    border-bottom: 4px solid white !important;
    color: white !important;
    font-weight: 600 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    color: white;
    font-weight: 700;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    font-weight: 600;
}

.category-bar .fixed-category {
    background: rgba(255,255,255,0.1);
    font-weight: 600;
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    margin-right: 1rem;
}

/* Enhanced Top Banner */
.top-banner {
    background: linear-gradient(135deg, #CCAD8B 0%, #B8A082 50%, #A69379 100%);
    color: white;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.top-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Enhanced Navigation */
nav {
    background: linear-gradient(135deg, #D2691E 0%, #CD853F 100%);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-img {
    width: 50px;
    height: 50px;
    background: white;
    color: #D2691E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.logo {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Enhanced Search Bar */
.search-bar {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 25px;
    padding: 0.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    flex: 1;
    max-width: 500px;
    margin: 0 2rem;
}

.search-bar input {
    border: none;
    outline: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    flex: 1;
    background: transparent;
}

.search-btn {
    background: linear-gradient(135deg, #D2691E 0%, #8B4513 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(210, 105, 30, 0.4);
}

/* Enhanced Nav Actions */
.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.nav-icon {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.nav-item div:last-child {
    font-size: 0.85rem;
    font-weight: 500;
}

.cart-badge-mobile {
    right: 5px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
    animation: pulse 2s infinite;
}

/* ==========================================
   RESPONSIVE NAVBAR STYLES
   ========================================== */

@media (max-width: 1024px) {
    nav {
        padding: 1rem;
    }
    
    .search-bar {
        margin: 0 1rem;
        max-width: 300px;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .category-bar {
        justify-content: flex-start;
        padding-left: 1rem;
    }
    
    .category-bar .fixed-category,
    .category-bar .category-item {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .top-banner {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
    
    nav {
        flex-wrap: wrap;
        padding: 0.75rem;
        gap: 1rem;
    }
    
    .logo-container {
        gap: 0.5rem;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .search-bar {
        order: 3;
        width: 100%;
        margin: 0;
        max-width: none;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
    
    .nav-item {
        padding: 0.5rem;
    }
    
    .nav-item div:last-child {
        font-size: 0.8rem;
    }
    
    .category-bar {
        padding: 0;
        justify-content: flex-start;
    }
    
    .category-bar .fixed-category,
    .category-bar .category-item {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .top-banner {
        font-size: 0.75rem;
        padding: 0.4rem;
    }
    
    nav {
        padding: 0.5rem;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .search-bar input {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .search-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .nav-item {
        padding: 0.4rem;
    }
    
    .nav-icon {
        font-size: 1rem;
    }
    
    .nav-item div:last-child {
        font-size: 0.75rem;
    }
    
    .category-bar .fixed-category,
    .category-bar .category-item {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* ==========================================
   CATEGORY PAGE ENHANCEMENTS
   ========================================== */

.custom-page-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border-left: 5px solid #D2691E;
}

.page-header h1 {
    color: #8B4513;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.page-header p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   SCROLL INDICATORS
   ========================================== */

.category-bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(to left, rgba(205, 133, 63, 1), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-bar.scrollable::after {
    opacity: 1;
}

/* ==========================================
   ACCESSIBILITY IMPROVEMENTS
   ========================================== */

.category-bar .fixed-category:focus,
.category-bar .category-item:focus {
    outline: 2px solid white;
    outline-offset: 2px;
    background: rgba(255,255,255,0.2);
}

.nav-item:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

.search-btn:focus {
    outline: 2px solid #8B4513;
    outline-offset: 2px;
}
/* ==========================================
   ENHANCED PRODUCT PAGE BUTTONS - V6.0
   ========================================== */

/* Enhanced Product Actions Container */
.product-actions {
    display: flex;
    gap: 1rem;
    margin: 2.5rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Enhanced Add to Cart Button */
.add-to-cart-btn {
    flex: 1;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    color: #D2691E;
    border: 2px solid #D2691E;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(210, 105, 30, 0.2);
}

.add-to-cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(210, 105, 30, 0.1), transparent);
    transition: left 0.5s ease;
}

.add-to-cart-btn:hover::before {
    left: 100%;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #D2691E 0%, #CD853F 100%);
    color: white;
    border-color: #8B4513;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(210, 105, 30, 0.4);
}

.add-to-cart-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(210, 105, 30, 0.3);
}

.add-to-cart-btn i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.add-to-cart-btn:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* Enhanced Buy Now Button */
.buy-now-btn {
    flex: 1;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #D2691E 0%, #8B4513 100%);
    color: white;
    border: 2px solid #8B4513;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.buy-now-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.buy-now-btn:hover::before {
    left: 100%;
}

.buy-now-btn:hover {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    border-color: #654321;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.5);
}

.buy-now-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.4);
}

.buy-now-btn i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.buy-now-btn:hover i {
    transform: scale(1.1) rotate(-5deg);
}

/* Clean Button States - No Loading Animation */
.add-to-cart-btn.loading,
.buy-now-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

/* Enhanced Product Actions for Mobile */
@media (max-width: 768px) {
    .product-actions {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        margin: 2rem 0;
    }
    
    .add-to-cart-btn,
    .buy-now-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .add-to-cart-btn i,
    .buy-now-btn i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .product-actions {
        padding: 0.75rem;
        margin: 1.5rem 0;
    }
    
    .add-to-cart-btn,
    .buy-now-btn {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
        letter-spacing: 0.3px;
    }
    
    .add-to-cart-btn i,
    .buy-now-btn i {
        font-size: 1.1rem;
    }
}

/* ==========================================
   ADDITIONAL PRODUCT PAGE ENHANCEMENTS
   ========================================== */

/* Enhanced Product Info Sections */
.product-price-section {
    background: linear-gradient(135deg, #fff8f0 0%, #ffeee6 100%);
    border: 1px solid #f4d4c7;
    box-shadow: 0 4px 15px rgba(210, 105, 30, 0.1);
}

.specifications {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    border: 1px solid #c7e4f4;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.1);
}

.product-description {
    background: linear-gradient(135deg, #f8fff0 0%, #e6ffe6 100%);
    border: 1px solid #c7f4c7;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.1);
}

/* Enhanced Back Button */
.back-to-products-btn {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.2);
    margin-bottom: 2rem;
}

.back-to-products-btn:hover {
    background: linear-gradient(135deg, #495057 0%, #343a40 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.3);
}

.back-to-products-btn i {
    transition: transform 0.3s ease;
}

.back-to-products-btn:hover i {
    transform: translateX(-3px);
}

/* ==========================================
   BUTTON ACCESSIBILITY IMPROVEMENTS
   ========================================== */

.add-to-cart-btn:focus,
.buy-now-btn:focus,
.back-to-products-btn:focus {
    outline: 3px solid rgba(210, 105, 30, 0.5);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .add-to-cart-btn {
        border-width: 3px;
    }
    
    .buy-now-btn {
        border-width: 3px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .add-to-cart-btn,
    .buy-now-btn,
    .back-to-products-btn {
        transition: none;
    }
    
    .add-to-cart-btn::before,
    .buy-now-btn::before {
        display: none;
    }
}

/* ==========================================
   SEARCH RESULTS PAGE
   ========================================== */
.search-results-header {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
    padding: 2rem 5%;
    text-align: center;
    margin-bottom: 2rem;
}

.search-results-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.search-results-header h1 i {
    margin-right: 0.5rem;
    color: #FFE4B5;
}

.search-query {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.results-count {
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 300;
}

.search-results-content {
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 15px;
    margin: 2rem 5%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.no-results-icon {
    font-size: 4rem;
    color: #D2691E;
    margin-bottom: 1.5rem;
}

.no-results h2 {
    color: #8B4513;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.no-results p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.search-suggestions {
    margin: 2rem 0;
}

.search-suggestions h3 {
    color: #8B4513;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.suggestion-tag {
    background: linear-gradient(135deg, #D2691E 0%, #CD853F 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.suggestion-tag:hover {
    background: white;
    color: #D2691E;
    border-color: #D2691E;
    transform: translateY(-2px);
}

.back-home-btn {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.back-home-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
    color: white;
}

/* ==========================================
   ENHANCED CART PAGE RESPONSIVE
   ========================================== */
.cart-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    min-height: 60vh;
}

.cart-container h1 {
    color: #8B4513;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.cart-container h1 i {
    margin-right: 0.5rem;
    color: #D2691E;
}

.cart-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    align-items: start;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
    border-radius: 10px;
}

.cart-header h2 {
    font-size: 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.clear-cart-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.clear-cart-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.cart-items {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
    transition: all 0.3s ease;
}

.cart-item:hover {
    background: #f8f9fa;
}

.cart-item:last-child {
    border-bottom: none;
}

.item-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.cart-item:hover img {
    transform: scale(1.05);
}

.item-details h3 {
    color: #8B4513;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.item-price {
    color: #D2691E;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.added-time {
    color: #666;
    font-size: 0.8rem;
    font-style: italic;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    border-radius: 25px;
    padding: 0.25rem;
}

.qty-btn {
    width: 35px;
    height: 35px;
    border: none;
    background: #D2691E;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #8B4513;
    transform: scale(1.1);
}

.qty-input {
    width: 50px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 1rem;
    color: #333;
}

.item-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: #8B4513;
    text-align: right;
}

.remove-btn {
    background: #dc3545;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

.cart-summary {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.cart-summary h2 {
    color: #8B4513;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-details {
    margin-bottom: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row.total {
    border-top: 2px solid #D2691E;
    margin-top: 1rem;
    padding-top: 1rem;
    font-size: 1.2rem;
}

.free-shipping {
    color: #28a745;
    font-weight: 600;
}

.free-shipping-note {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    padding: 0.75rem;
    border-radius: 8px;
    margin: 0.5rem 0;
    border: 1px solid #c3e6cb;
}

.free-shipping-note span {
    color: #155724;
    font-weight: 600;
    font-size: 0.9rem;
}

.checkout-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.checkout-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    color: white;
}

.continue-shopping {
    background: transparent;
    color: #8B4513;
    padding: 0.75rem 1.5rem;
    border: 2px solid #D2691E;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.continue-shopping:hover {
    background: #D2691E;
    color: white;
    transform: translateY(-2px);
}

.cart-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #D2691E;
}

.cart-info p {
    margin: 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-info i {
    color: #D2691E;
    width: 16px;
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.empty-cart i {
    font-size: 4rem;
    color: #D2691E;
    margin-bottom: 1.5rem;
}

.empty-cart h2 {
    color: #8B4513;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.empty-cart p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.shop-now-btn {
    background: linear-gradient(135deg, #D2691E 0%, #CD853F 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(210, 105, 30, 0.3);
}

.shop-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(210, 105, 30, 0.4);
    color: white;
}
/* ==========================================
   MOBILE NOTIFICATION ANIMATIONS
   ========================================== */
@keyframes slideInDown {
    from {
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutUp {
    from {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    to {
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
    }
}

.mobile-notification {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notification-content i {
    font-size: 1.1rem;
}

/* ==========================================
   MOBILE CART SWIPE ANIMATIONS
   ========================================== */
@media (max-width: 767px) {
    .cart-item {
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .cart-item::after {
        content: '← Swipe to remove';
        position: absolute;
        right: -150px;
        top: 50%;
        transform: translateY(-50%);
        background: #dc3545;
        color: white;
        padding: 0.5rem 1rem;
        border-radius: 15px;
        font-size: 0.8rem;
        transition: all 0.3s ease;
        z-index: 1;
    }
    
    .cart-item.swipe-hint::after {
        right: 10px;
    }
}

/* ==========================================
   ENHANCED MOBILE SEARCH STYLES
   ========================================== */
@media (max-width: 767px) {
    .search-suggestions {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        z-index: 1000;
        max-height: 200px;
        overflow-y: auto;
    }
    
    .search-suggestion-item {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #f0f0f0;
        cursor: pointer;
        transition: background 0.2s ease;
    }
    
    .search-suggestion-item:hover {
        background: #f8f9fa;
    }
    
    .search-suggestion-item:last-child {
        border-bottom: none;
    }
}

/* ==========================================
   MOBILE CART SUMMARY ENHANCEMENTS
   ========================================== */
@media (max-width: 767px) {
    .cart-summary {
        border-radius: 15px 15px 0 0;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    }
    
    .cart-summary::before {
        content: '';
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: #D2691E;
        border-radius: 2px;
    }
    
    .checkout-btn {
        position: relative;
        overflow: hidden;
    }
    
    .checkout-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s ease;
    }
    
    .checkout-btn:hover::before {
        left: 100%;
    }
}

/* ==========================================
   SLIDER MOBILE OPTIMIZATIONS
   ========================================== */

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-slider {
        height: 200px;
    }
    
    .slide {
        background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
    }
    
    .slide img {
        object-fit: contain;
        width: 60%;
        height: 60%;
        margin: auto;
        border-radius: 8px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 360px) {
    .hero-slider {
        height: 180px;
    }
}

/* Tablet Portrait */
@media (min-width: 481px) and (max-width: 768px) {
    .hero-slider {
        height: 300px;
    }
}

/* Tablet Landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-slider {
        height: 400px;
    }
}
/* ==========================================
   MOBILE RESPONSIVE PRODUCT CARDS
   ========================================== */

@media (max-width: 768px) {
    .product-card {
        margin-bottom: 1rem;
    }
    
    .product-image {
        height: 220px;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-name {
        font-size: 1rem;
    }
    
    .current-price {
        font-size: 1.3rem;
    }
    
    .product-actions {
        gap: 0.5rem;
    }
    
    .add-to-cart-btn,
    .buy-now-btn {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .product-image {
        height: 180px;
    }
    
    .product-info {
        padding: 0.75rem;
    }
    
    .current-price {
        font-size: 1.2rem;
    }
    
    .add-to-cart-btn,
    .buy-now-btn {
        padding: 0.625rem;
        font-size: 0.85rem;
    }
}
/* ==========================================
   MOBILE MENU ENHANCEMENTS
   ========================================== */

/* Hamburger menu responsive styles */
@media (max-width: 767px) {
    .hamburger-menu {
        display: flex;
        order: 3;
    }
    
    .search-bar {
        display: none;
    }
    
    .nav-actions {
        order: 2;
    }
    
    .logo-container {
        order: 1;
    }
    
    /* Mobile menu search bar */
    .category-bar.mobile-menu .search-bar {
        display: flex;
        margin: 1rem 1.5rem;
        background: rgba(255,255,255,0.9);
        border-radius: 25px;
        padding: 0.5rem;
    }
    
    .category-bar.mobile-menu .search-bar input {
        color: #333;
        background: transparent;
    }
    
    .category-bar.mobile-menu .search-btn {
        background: #8B4513;
        color: white;
        padding: 0.5rem 1rem;
        border-radius: 20px;
    }
}

/* ==========================================
   SLIDER IMAGE LOADING IMPROVEMENTS
   ========================================== */

.slide img {
    /* Ensure images load properly */
    max-width: 100%;
    max-height: 100%;
    loading: lazy;
}

/* Removed preloader - images load directly */

/* ==========================================
   LOGO RESPONSIVE IMPROVEMENTS
   ========================================== */

.logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    object-fit: contain;
}

@media (max-width: 767px) {
    .logo-image {
        height: 40px;
        max-width: 150px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo-img {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 35px;
        max-width: 120px;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .logo-img {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}

/* ==========================================
   MOBILE OVERLAY IMPROVEMENTS
   ========================================== */

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* ==========================================
   TOUCH IMPROVEMENTS FOR MOBILE
   ========================================== */

@media (max-width: 767px) {
    /* Larger touch targets */
    .arrow {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .dot {
        width: 15px;
        height: 15px;
        margin: 0 3px;
    }
    
    .dot.active {
        width: 35px;
    }
    
    /* Better spacing for mobile */
    .slider-arrows {
        padding: 0 1rem;
    }
    
    .slider-dots {
        bottom: 15px;
        gap: 8px;
    }
}

/* ==========================================
   PERFORMANCE OPTIMIZATIONS
   ========================================== */

/* GPU acceleration for smooth animations */
.slider-container,
.slide,
.arrow,
.dot,
.hamburger-menu,
.category-bar.mobile-menu {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .slider-container {
        transition: none;
    }
    
    .slide img {
        transition: none;
    }
    
    .arrow,
    .dot {
        transition: none;
    }
}
/* ==========================================
   SLIDE OVERLAY CONTENT
   ========================================== */

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.slide:hover .slide-overlay {
    transform: translateY(0);
}

.slide-content h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.slide-content p {
    font-size: 1.1rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

@media (max-width: 767px) {
    .slide-overlay {
        padding: 1rem;
        position: static;
        transform: none;
        background: rgba(0,0,0,0.5);
        text-align: center;
    }
    
    .slide-content h2 {
        font-size: 1.2rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
}

/* ==========================================
   SLIDER CLEAN STYLES - NO PRELOADER
   ========================================== */

.slide {
    position: relative;
}

.slide img {
    transition: opacity 0.3s ease;
    opacity: 1;
}

/* ==========================================
   BODY BACKGROUND PATTERNS FOR ALL PAGES
   ========================================== */

/* Base body pattern styles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.3;
}

/* Pattern: Floral */
body.pattern-floral::before {
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(180, 90, 25, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(175, 115, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(160, 82, 45, 0.06) 0%, transparent 40%);
    background-size: 200px 200px, 150px 150px, 100px 100px;
}

/* Pattern: Geometric */
body.pattern-geometric::before {
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(180, 90, 25, 0.06) 35px, rgba(180, 90, 25, 0.06) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(175, 115, 55, 0.06) 35px, rgba(175, 115, 55, 0.06) 70px);
    background-size: 140px 140px;
}

/* Pattern: Waves */
body.pattern-waves::before {
    background-image: 
        repeating-radial-gradient(circle at 0 0, transparent 0, rgba(180, 90, 25, 0.06) 10px, transparent 20px),
        repeating-radial-gradient(circle at 100% 100%, transparent 0, rgba(175, 115, 55, 0.06) 10px, transparent 20px);
    background-size: 80px 80px, 120px 120px;
}

/* Pattern: Traditional */
body.pattern-traditional::before {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(180, 90, 25, 0.08) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(175, 115, 55, 0.08) 2px, transparent 2px);
    background-size: 50px 50px, 75px 75px;
}

/* Pattern: Mandala */
body.pattern-mandala::before {
    background-image: 
        radial-gradient(circle, transparent 30%, rgba(180, 90, 25, 0.06) 30%, rgba(180, 90, 25, 0.06) 31%, transparent 31%),
        radial-gradient(circle, transparent 50%, rgba(175, 115, 55, 0.06) 50%, rgba(175, 115, 55, 0.06) 51%, transparent 51%);
    background-size: 100px 100px, 150px 150px;
}

/* Pattern: Hexagon */
body.pattern-hexagon::before {
    background-image: 
        repeating-conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(160, 82, 45, 0.07) 60deg, transparent 120deg),
        repeating-conic-gradient(from 30deg at 25% 25%, transparent 0deg, rgba(139, 69, 19, 0.07) 60deg, transparent 120deg);
    background-size: 120px 120px, 80px 80px;
}

/* Pattern: Pottery */
body.pattern-pottery::before {
    background-image: 
        radial-gradient(ellipse at 30% 40%, rgba(160, 82, 45, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(139, 69, 19, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(180, 90, 25, 0.06) 0%, transparent 30%);
    background-size: 150px 100px, 120px 80px, 200px 200px;
}

/* Pattern: Tribal */
body.pattern-tribal::before {
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 20px, rgba(160, 82, 45, 0.07) 20px, rgba(160, 82, 45, 0.07) 22px),
        repeating-linear-gradient(90deg, transparent, transparent 30px, rgba(139, 69, 19, 0.07) 30px, rgba(139, 69, 19, 0.07) 32px);
    background-size: 100px 100px;
}

/* Pattern: Clay Texture */
body.pattern-clay-texture::before {
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(160, 82, 45, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 40% 60%, rgba(139, 69, 19, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 80% 40%, rgba(180, 90, 25, 0.06) 1px, transparent 1px);
    background-size: 30px 30px, 50px 50px, 40px 40px;
}

/* Pattern: Spiral */
body.pattern-spiral::before {
    background-image: 
        conic-gradient(from 0deg at 25% 25%, transparent 0deg, rgba(160, 82, 45, 0.07) 90deg, transparent 180deg, rgba(139, 69, 19, 0.07) 270deg, transparent 360deg),
        conic-gradient(from 180deg at 75% 75%, transparent 0deg, rgba(180, 90, 25, 0.07) 90deg, transparent 180deg, rgba(160, 82, 45, 0.07) 270deg, transparent 360deg);
    background-size: 150px 150px, 200px 200px;
}

/* Pattern: Diamond */
body.pattern-diamond::before {
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 25px, rgba(160, 82, 45, 0.07) 25px, rgba(160, 82, 45, 0.07) 27px, transparent 27px, transparent 50px),
        repeating-linear-gradient(-45deg, transparent, transparent 25px, rgba(139, 69, 19, 0.07) 25px, rgba(139, 69, 19, 0.07) 27px, transparent 27px, transparent 50px);
    background-size: 100px 100px;
}

/* Ensure main content has proper background */
main, .main-content {
    background: rgba(245, 245, 220, 0.9);
    position: relative;
    z-index: 1;
}

/* Page specific content areas */
.page-content, .auth-container, .cart-container, .checkout-container, .profile-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

/* Mobile responsiveness for patterns */
@media (max-width: 768px) {
    body::before {
        opacity: 0.2;
    }
    
    body.pattern-floral::before,
    body.pattern-geometric::before,
    body.pattern-waves::before,
    body.pattern-traditional::before,
    body.pattern-mandala::before,
    body.pattern-hexagon::before,
    body.pattern-pottery::before,
    body.pattern-tribal::before,
    body.pattern-clay-texture::before,
    body.pattern-spiral::before,
    body.pattern-diamond::before {
        background-size: 50% 50%;
    }
}
/* ==========================================
   DYNAMIC CUSTOM PATTERNS FROM DATABASE
   ========================================== */

/* Custom pattern support */
body[data-custom-css]:not([data-custom-css=""])::before {
    /* Custom CSS will be applied via JavaScript */
}

/* Background image support */
body[data-bg-image]:not([data-bg-image=""])::before {
    background-image: var(--bg-image-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
}

/* Ensure custom patterns work with background images */
body[data-bg-image]:not([data-bg-image=""])[data-custom-css]:not([data-custom-css=""])::before {
    background-blend-mode: multiply;
}
/* ==========================================
   CART PAGE STYLES
   ========================================== */
.cart-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2%;
    background: transparent;
}

.cart-container h1 {
    color: #8B4513 !important;
    font-size: 2.5rem !important;
    margin-bottom: 2rem !important;
    text-align: center !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    position: relative !important;
    z-index: 5 !important;
    background: white !important;
    padding: 1rem !important;
    border-radius: 15px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
}

.cart-container h1 i {
    color: #D2691E !important;
}

/* Cart Content Layout */
.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* Cart Items Section */
.cart-items-section {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.cart-header {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%) !important;
    color: white !important;
    padding: 1.5rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: relative !important;
    z-index: 5 !important;
}

.cart-header h2 {
    margin: 0 !important;
    font-size: 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    color: white !important;
    font-weight: 600 !important;
}

.clear-cart-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.clear-cart-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.cart-items {
    padding: 0;
}

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 1.5rem;
    padding: 2rem;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
    transition: all 0.3s ease;
}

.cart-item:hover {
    background: #f8f9fa;
}

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

.item-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.item-details h3 {
    color: #8B4513;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.item-price {
    color: #D2691E;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.added-time {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

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

.item-quantity {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    background: #f8f9fa !important;
    border-radius: 25px !important;
    padding: 0.5rem !important;
    position: relative !important;
    z-index: 10 !important;
    min-width: 140px !important;
    justify-content: center !important;
}

.qty-btn {
    width: 35px !important;
    height: 35px !important;
    border: none !important;
    background: #D2691E !important;
    color: white !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    font-size: 1.1rem !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    position: relative !important;
}

.qty-btn:hover {
    background: #8B4513 !important;
    transform: scale(1.1) !important;
}

.qty-btn.plus {
    background: #28a745 !important;
}

.qty-btn.plus:hover {
    background: #218838 !important;
}

.qty-input {
    width: 50px !important;
    text-align: center !important;
    border: none !important;
    background: transparent !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    color: #333 !important;
    outline: none !important;
}

.qty-input:focus {
    background: rgba(210, 105, 30, 0.1) !important;
    border-radius: 4px !important;
}

.item-total {
    font-size: 1.3rem;
    font-weight: 700;
    color: #8B4513;
    text-align: center;
}

.remove-btn {
    background: #dc3545;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

/* Force visibility for all cart elements */
.cart-header,
.cart-header h2,
.qty-btn,
.item-quantity,
.cart-container h1 {
    visibility: visible !important;
    opacity: 1 !important;
    display: flex !important;
}

.qty-btn {
    pointer-events: auto !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

/* Ensure buttons are above any overlays */
.cart-item-actions * {
    z-index: 100 !important;
    position: relative !important;
}

/* Cart Summary */
.cart-summary {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.cart-summary h2 {
    color: #8B4513;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.summary-details {
    margin-bottom: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row.total {
    border-top: 3px solid #D2691E;
    margin-top: 1rem;
    padding-top: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.free-shipping {
    color: #28a745;
    font-weight: 700;
}

.free-shipping-note {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 2px solid #c3e6cb;
    text-align: center;
}

.free-shipping-note span {
    color: #155724;
    font-weight: 700;
}

.checkout-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.checkout-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    color: white;
}

.continue-shopping {
    background: transparent;
    color: #8B4513;
    padding: 0.75rem 1.5rem;
    border: 2px solid #D2691E;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.continue-shopping:hover {
    background: #D2691E;
    color: white;
}

.cart-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #D2691E;
}

.cart-info p {
    margin: 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-info i {
    color: #D2691E;
    width: 16px;
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.empty-cart i {
    font-size: 5rem;
    color: #D2691E;
    margin-bottom: 2rem;
}

.empty-cart h2 {
    color: #8B4513;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.empty-cart p {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.shop-now-btn {
    background: linear-gradient(135deg, #D2691E 0%, #CD853F 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s ease;
}

.shop-now-btn:hover {
    transform: translateY(-3px);
    color: white;
}


/* ==========================================
   CONTACT PAGE STYLES
   ========================================== */
.contact-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 5%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info,
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.contact-info h3,
.contact-form h3 {
    color: #8B0000;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-item i {
    font-size: 1.5rem;
    color: #D2691E;
    margin-top: 0.2rem;
}

.info-item div h4 {
    color: #333;
    margin-bottom: 0.3rem;
}

.info-item div p {
    color: #666;
    margin: 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D2691E;
}

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

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #8B0000 0%, #CD5C5C 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.3);
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ==========================================
   PROFILE PAGE STYLES
   ========================================== */
.profile-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 5%;
}

.profile-container h1 {
    color: #683F31;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

.profile-sidebar {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.profile-menu {
    list-style: none;
}

.profile-menu li {
    margin-bottom: 0.5rem;
}

.profile-menu a {
    display: block;
    padding: 0.8rem 1rem;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.profile-menu a:hover,
.profile-menu a.active {
    background: #683F31;
    color: white;
}

.profile-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
    color: #683F31;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.address-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.address-card {
    border: 2px solid #e0e0e0;
    padding: 1rem;
    border-radius: 8px;
}

.address-card.default {
    border-color: #683F31;
    background-color: #fdf8f6;
}

.default-badge {
    background: #683F31;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #683F31 0%, #7A4B3D 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7A4B3D 0%, #CCAD8B 100%);
    transform: translateY(-2px);
    color: white;
}


/* Helper Classes */
.page-header.accent {
    background: linear-gradient(135deg, #D2691E 0%, #CD853F 100%) !important;
    color: white !important;
    border-left: none !important;
}

.page-header.accent h1 {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2) !important;
}

.social-circle-link {
    width: 40px;
    height: 40px;
    background: #D2691E;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-circle-link:hover {
    background: #8B4513;
    transform: translateY(-3px);
    color: white;
}


/* ==========================================
   ABOUT PAGE STYLES
   ========================================== */
.about-welcome {
    text-align: center;
    margin-bottom: 3rem;
}

.about-welcome h2 {
    color: #8B0000;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-welcome p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

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

.about-feature-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #D2691E;
}
.about-feature-card:nth-child(2) { border-left-color: #CD853F; }
.about-feature-card:nth-child(3) { border-left-color: #8B4513; }

.about-feature-card h3 {
    color: #8B0000;
    margin-bottom: 1rem;
}

.about-feature-card p {
    color: #666;
    line-height: 1.8;
}

.why-choose-section {
    background: linear-gradient(135deg, #FFF8DC 0%, #FFDAB9 100%);
    padding: 3rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

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

.why-choose-item {
    text-align: center;
}
.why-choose-item .icon { font-size: 3rem; color: #D2691E; margin-bottom: 1rem; }
.why-choose-item h4 { color: #8B0000; margin-bottom: 0.5rem; }
.why-choose-item p { color: #666; }

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

.product-range-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.product-range-card i { font-size: 2rem; color: #D2691E; margin-bottom: 1rem; }
.product-range-card h4 { color: #8B0000; }
.product-range-card p { color: #666; font-size: 0.9rem; }

.art-section {
    background: #8B0000;
    color: white;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 3rem;
}

.art-section h2 { font-size: 2rem; margin-bottom: 1rem; color: white; }
.art-section p { font-size: 1.1rem; line-height: 1.8; max-width: 800px; margin: 0 auto; color: white; }

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

.commitment-item { text-align: center; padding: 1.5rem; }
.commitment-item i { font-size: 2.5rem; margin-bottom: 1rem; }
.commitment-item h4 { color: #8B0000; margin-bottom: 0.5rem; }
.commitment-item p { color: #666; }

.join-section {
    background: linear-gradient(135deg, #D2691E 0%, #CD853F 100%);
    color: white;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
}
.join-section h2 { font-size: 2rem; margin-bottom: 1rem; color: white;}
.join-section p { font-size: 1.1rem; line-height: 1.8; margin-bottom: 2rem; }

.join-btn {
    display: inline-block;
    background: white;
    color: #8B0000;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}
.join-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    color: #8B0000;
}


/* ==========================================
   MY ORDERS PAGE STYLES
   ========================================== */
.orders-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 5%;
}

.orders-container h1 {
    font-size: 2.5rem;
    color: #8B0000;
    margin-bottom: 2rem;
}

.order-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 1rem;
}

.order-number {
    font-size: 1.2rem;
    font-weight: bold;
    color: #8B0000;
}

.order-date {
    color: #666;
    font-size: 0.9rem;
}

.order-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.status-pending { background: #fff3cd; color: #856404; }
.status-processing { background: #cce5ff; color: #004085; }
.status-shipped { background: #d1ecf1; color: #0c5460; }
.status-delivered { background: #d4edda; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }

.order-items { margin: 1rem 0; }

.order-item {
    display: flex;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
}
.order-item:last-child { border-bottom: none; }

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 2px solid #e0e0e0;
}

.order-total {
    font-size: 1.3rem;
    font-weight: bold;
    color: #8B0000;
}

.view-details-btn {
    background: linear-gradient(135deg, #8B0000 0%, #CD5C5C 100%);
    color: white;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.empty-orders {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.empty-orders i {
    font-size: 5rem;
    color: #ddd;
    margin-bottom: 1rem;
}

