/* Modern E-commerce Design - Inspired by Bilal Garments */
/* Color Scheme */
:root {
    --primary-color: #d4a574;
    --secondary-color: #8b7355;
    --accent-color: #c9a270;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --bg-light: #f9f6f3;
    --bg-white: #ffffff;
    --border-color: #e5e5e5;
    --hover-color: #b88c5f;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    max-height: 60px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover {
    color: var(--primary-color);
}

.main-nav ul li a:hover::after {
    width: 100%;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: var(--bg-light);
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slider .slide {
    width: 100%;
    height: 100%;
    position: relative;
    display: none;
}

.hero-slider .slide:first-child {
    display: block;
}

.hero-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 90%;
    max-width: 800px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.slide-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 25px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.slide-content .btn {
    padding: 12px 35px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .hero-slider {
        height: 400px;
    }
    
    .slide-content h2 {
        font-size: 32px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-right a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-right a:hover {
    color: var(--primary-color);
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin-bottom: 60px;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: relative;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    max-width: 500px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slide-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Section Titles */
.section-title {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.1);
}

.badge-featured {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 20px;
}

/* Product Info */
.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    min-height: 48px;
}

.product-info h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-info h3 a:hover {
    color: var(--primary-color);
}

.product-price {
    margin-bottom: 15px;
}

.current-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.old-price {
    font-size: 16px;
    color: var(--text-light);
    text-decoration: line-through;
    margin-left: 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.4);
}

.btn-add-to-cart {
    width: 100%;
    background: var(--text-dark);
    color: white;
}

.btn-add-to-cart:hover {
    background: var(--primary-color);
}

/* Collections Section */
.collections-section {
    background: var(--bg-light);
    padding: 80px 0;
    margin-bottom: 60px;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.collection-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.collection-item:hover {
    transform: scale(1.03);
}

.collection-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collection-item:hover img {
    transform: scale(1.1);
}

.collection-item a {
    text-decoration: none;
    display: block;
}

.collection-item h3 {
    position: absolute;
    bottom: 60px;
    left: 30px;
    color: white;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.collection-item p {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: white;
    font-size: 14px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
}

.testimonial-photo {
    margin-bottom: 20px;
}

.testimonial-photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    margin: 0 auto;
    display: block;
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 18px;
}

.testimonial-comment {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.testimonial-author {
    color: var(--text-dark);
    font-weight: 600;
}

/* Footer */
.site-footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-section p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-features p {
    font-size: 14px;
    margin: 8px 0;
    color: #999;
}

.footer-features i {
    color: var(--primary-color);
    margin-right: 8px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #6e3535;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-newsletter input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-newsletter button {
    width: 100%;
    padding: 12px;
    font-size: 14px;
}

.footer-social a {
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-color) !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .slide-content h2 {
        font-size: 32px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-item,
.collection-item,
.testimonial-item {
    animation: fadeIn 0.6s ease forwards;
}

/* Category Showcase */
.category-showcase {
    padding: 60px 0;
    background: var(--bg-white);
}

.category-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.category-card {
    position: relative;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 30px 20px;
    color: white;
}

.category-overlay h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.category-overlay .shop-now {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

/* Trending Brands Section */
.trending-brands {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.brand-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.brand-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.brand-item h3 {
    padding: 20px;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.brand-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* New Arrivals Section */
.new-arrivals-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.collections-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.arrival-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.arrival-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.arrival-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.arrival-item:hover img {
    transform: scale(1.1);
}

.arrival-item h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 30px 20px 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.arrival-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Ready to Ship & Best Sellers */
.ready-to-ship,
.best-sellers {
    padding: 80px 0;
}

.ready-to-ship {
    background-color: var(--bg-white);
}

.best-sellers {
    background-color: var(--bg-light);
}

.badge-ready,
.badge-bestseller {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.badge-bestseller {
    background: #e74c3c;
}

/* Collection Badge Styles */
.collection-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(212, 165, 116, 0.9);
    color: white;
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.collection-badge.badge-bestseller {
    background: rgba(139, 115, 85, 0.9);
}

.collection-desc {
    padding: 0 15px 15px;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    text-align: center;
    margin: 0;
}

.arrival-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.arrival-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.arrival-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.arrival-item:hover img {
    transform: scale(1.05);
}

.arrival-item h3 {
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin: 0;
    background: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.arrival-item a {
    text-decoration: none;
    color: inherit;
}

.collections-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .collections-scroll {
        grid-template-columns: 1fr;
    }
    
    .arrival-item img {
        height: 350px;
    }
}

/* Collection Page Filters */
.collection-header {
    text-align: center;
    margin-bottom: 40px;
}

.collection-banner {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
}

.collection-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-description {
    font-size: 16px;
    color: var(--text-light);
    max-width: 800px;
    margin: 15px auto;
    line-height: 1.8;
}

.filter-section {
    margin: 30px 0;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
}

.filter-wrapper {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 250px;
}

.search-box form {
    display: flex;
    gap: 0;
}

.search-box input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.search-box button {
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-box button:hover {
    background: var(--hover-color);
}

.sort-box select {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    background: white;
    min-width: 200px;
    cursor: pointer;
}

.filter-toggle-btn {
    padding: 12px 25px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.filter-toggle-btn:hover {
    background: var(--hover-color);
}

.filter-panel {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group h4 {
    margin-bottom: 10px;
    color: var(--text-dark);
    font-size: 16px;
}

.price-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
}

.price-inputs input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
}

.price-inputs span {
    color: var(--text-light);
}

.price-hint {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 8px;
}

.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.filter-actions .btn {
    flex: 1;
    padding: 12px;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-actions .btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
}

.filter-actions .btn-secondary {
    background: white;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.active-filters {
    margin-top: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.filter-label {
    font-weight: 600;
    color: var(--text-dark);
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-dark);
}

.filter-tag a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    line-height: 1;
    transition: color 0.3s ease;
}

.filter-tag a:hover {
    color: #e74c3c;
}

.clear-all-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    margin-left: auto;
}

.clear-all-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .filter-wrapper {
        flex-direction: column;
    }
    
    .search-box,
    .sort-box select,
    .filter-toggle-btn {
        width: 100%;
    }
    
    .filter-actions {
        flex-direction: column;
    }
}

/* Left Sidebar Filter */
.filter-sidebar {
    position: fixed;
    top: 0;
    left: -350px;
    width: 350px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 15px rgba(0,0,0,0.2);
    z-index: 10000;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.filter-sidebar.active {
    left: 0;
}

.filter-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-light);
}

.filter-sidebar-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.close-filter {
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-dark);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.close-filter:hover {
    color: #e74c3c;
}

.filter-sidebar-content {
    padding: 20px;
}

.sidebar-filter-group {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-filter-group:last-of-type {
    border-bottom: none;
}

.sidebar-filter-group h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: capitalize;
}

.price-range-slider {
    margin-bottom: 15px;
}

.price-inputs-sidebar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.price-inputs-sidebar input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
}

.price-inputs-sidebar span {
    color: var(--text-light);
    font-weight: 600;
}

.price-range-text {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

.filter-apply-btn {
    width: 100%;
    padding: 12px;
    background: var(--text-dark);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
}

.filter-apply-btn:hover {
    background: var(--primary-color);
}

.size-options,
.category-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.size-options label,
.category-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    padding: 5px 0;
}

.size-options input[type="checkbox"],
.category-options input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.filter-sidebar-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.clear-filters-btn {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    background: white;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.clear-filters-btn:hover {
    background: var(--bg-light);
    border-color: var(--text-dark);
}

.filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.filter-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .filter-sidebar {
        width: 300px;
        left: -300px;
    }
}

/* ================================================ */
/* NEW HOMEPAGE SECTIONS STYLES */
/* ================================================ */

/* Trending Now! - Tags Row */
.trending-now {
    padding: 60px 0;
    background: var(--bg-white);
}

.trending-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.trending-tag {
    display: inline-block;
    padding: 12px 28px;
    background: var(--bg-light);
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trending-tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

/* Influencer Pick - Horizontal Scroll */
.influencer-picks {
    padding: 60px 0;
    background: var(--bg-light);
}

.products-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 30px 0;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-light);
}

.products-scroll::-webkit-scrollbar {
    height: 8px;
}

.products-scroll::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 10px;
}

.products-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.products-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--hover-color);
}

.influencer-item {
    flex: 0 0 280px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.influencer-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.influencer-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.influencer-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.influencer-item h3 {
    padding: 15px 20px 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
}

.influencer-item .price {
    padding: 0 20px 15px;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

/* Style That Shines / Editor's Picks */
.editors-picks {
    padding: 60px 0;
    background: var(--bg-white);
}

.editors-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 400;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.link-view-all {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 3px;
    transition: color 0.3s ease;
}

.link-view-all:hover {
    color: var(--primary-color);
}

.editors-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.editors-hero {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.editors-hero img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.editors-hero:hover img {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

.hero-label {
    display: inline-block;
    background: var(--primary-color);
    padding: 6px 15px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    margin-bottom: 10px;
}

.hero-overlay h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.editors-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.product-mini {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-mini:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.product-mini a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-mini img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.mini-info {
    padding: 15px;
}

.mini-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mini-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Must-Have Trends & New on Instagram */
.must-have-instagram {
    padding: 60px 0;
    background: var(--bg-light);
}

.must-have-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.must-have-column,
.instagram-column {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.must-have-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.trend-tag {
    display: inline-block;
    padding: 10px 22px;
    background: var(--bg-light);
    color: var(--text-dark);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.trend-tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.insta-block {
    text-align: center;
    margin-top: 25px;
}

.insta-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.insta-text {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Styles for New Sections */
@media (max-width: 991px) {
    .editors-layout {
        grid-template-columns: 1fr;
    }
    
    .editors-products {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .must-have-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .trending-now,
    .influencer-picks,
    .editors-picks,
    .must-have-instagram {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .editors-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-mini img {
        height: 180px;
    }
    
    .editors-hero img {
        min-height: 350px;
    }
    
    .must-have-column,
    .instagram-column {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .trending-tags {
        gap: 10px;
    }
    
    .trending-tag {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .influencer-item {
        flex: 0 0 240px;
    }
    
    .influencer-item img {
        height: 280px;
    }
    
    .editors-products {
        grid-template-columns: 1fr;
    }
    
    .editors-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .must-have-tags {
        gap: 8px;
    }
    
    .trend-tag {
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* ================================================ */
/* TRUST & PAYMENT INFO SECTION */
/* ================================================ */

.trust-payment-section {
    padding: 50px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.trust-item {
    padding: 30px 20px;
}

.trust-icon {
    font-size: 48px;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.trust-icon i {
    display: inline-block;
}

.trust-item h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.trust-item p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ================================================ */
/* NEWSLETTER SECTION */
/* ================================================ */

.newsletter-section {
    padding: 60px 0;
    background: #f5f0eb;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.newsletter-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter-text p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 15px;
}

.newsletter-input {
    flex: 1;
    padding: 15px 25px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    background: white;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-input::placeholder {
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.newsletter-btn {
    padding: 15px 40px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
}

/* Responsive Styles for Trust & Newsletter */
@media (max-width: 991px) {
    .trust-grid {
        gap: 30px;
    }
    
    .newsletter-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .trust-item {
        padding: 20px;
    }
    
    .newsletter-section {
        padding: 40px 0;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .newsletter-text h2 {
        font-size: 24px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .trust-icon {
        font-size: 36px;
    }
    
    .trust-item h3 {
        font-size: 13px;
    }
    
    .trust-item p {
        font-size: 12px;
    }
    
    .newsletter-text h2 {
        font-size: 20px;
    }
}

/* ================================================ */
/* WHATSAPP FLOATING BUTTON */
/* ================================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    color: white;
}

.whatsapp-float i {
    animation: pulse 2s infinite;
}

.whatsapp-float svg {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
    
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 576px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 24px;
    }
    
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

/* ================================================ */
/* AUTH PAGES (LOGIN / REGISTER) */
/* ================================================ */

.auth-page-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f5f0eb 0%, #e8ddd3 100%);
}

.auth-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.auth-box {
    background: white;
    border-radius: 16px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 35px;
}

.auth-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.auth-subtitle {
    font-size: 15px;
    color: var(--text-light);
    margin: 0;
}

.auth-form {
    margin-top: 30px;
}

.auth-form .form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.form-label i {
    color: var(--primary-color);
    margin-right: 5px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 15px;
    color: var(--text-dark);
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.1);
}

.form-input::placeholder {
    color: #999;
}

.form-input.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 13px;
    margin-top: 6px;
}

.password-input-wrapper {
    position: relative;
}

.password-input-wrapper .form-input {
    padding-right: 50px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 8px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.remember-me {
    flex: 1;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-dark);
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.forgot-password {
    text-align: right;
}

.forgot-link {
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: var(--hover-color);
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.3);
}

.btn-submit i {
    font-size: 14px;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 30px 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e5e5e5;
}

.auth-divider span {
    position: relative;
    background: white;
    padding: 0 15px;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 600;
}

.auth-footer {
    text-align: center;
}

.signup-text {
    font-size: 14px;
    color: var(--text-dark);
    margin: 0;
}

.signup-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.signup-link:hover {
    color: var(--hover-color);
    text-decoration: underline;
}

.alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert i {
    font-size: 16px;
}

.alert-danger {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

.alert-info {
    background: #eef;
    color: #33c;
    border: 1px solid #ccf;
}

/* Responsive Styles for Auth Pages */
@media (max-width: 576px) {
    .auth-page-wrapper {
        padding: 40px 15px;
    }
    
    .auth-box {
        padding: 35px 25px;
    }
    
    .auth-title {
        font-size: 26px;
    }
    
    .auth-subtitle {
        font-size: 14px;
    }
    
    .form-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .forgot-password {
        text-align: left;
    }
}

/* Additional Register Page Styles */
.optional-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 400;
    font-style: italic;
}

.form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.terms-agreement {
    margin-bottom: 25px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.terms-agreement .checkbox-label {
    font-size: 13px;
    line-height: 1.6;
}

.terms-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: var(--hover-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .form-row-two {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 576px) {
    .auth-container {
        max-width: 100%;
    }
    
    .form-row-two {
        grid-template-columns: 1fr;
    }
}

/* ================================================ */
/* CART SIDEBAR */
/* ================================================ */

.cart-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 800px;
    height: 100%;
    background: white;
    z-index: 9999;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    display: flex;
    flex-direction: row;
}

.cart-sidebar.active {
    right: 0;
}

/* Recommendations Panel (Left Side) */
.cart-recommendations-panel {
    position: relative;
    left: 0;
    top: 0;
    width: 340px;
    height: 100%;
    background: #f9f9f9;
    border-right: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease 1s, transform 0.5s ease 1s;
}

.cart-sidebar.active .cart-recommendations-panel {
    opacity: 1;
    transform: translateX(0);
}

.recommendations-panel-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e5e5e5;
    background: white;
    min-height: 51px;
    display: flex;
    align-items: center;
}

.recommendations-panel-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0;
    color: var(--text-dark);
    text-transform: uppercase;
}

.recommendations-panel-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 15px;
}

.rec-panel-item {
    display: flex;
    gap: 12px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #e5e5e5;
}

.rec-panel-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.rec-panel-image {
    flex-shrink: 0;
    width: 80px;
    height: 100px;
    border-radius: 4px;
    overflow: hidden;
    background: white;
    border: 1px solid #e5e5e5;
}

.rec-panel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rec-panel-image:hover img {
    transform: scale(1.05);
}

.rec-panel-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rec-panel-name {
    font-size: 12px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.rec-panel-name a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.rec-panel-name a:hover {
    color: var(--primary-color);
}

.rec-panel-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.btn-rec-choose {
    padding: 6px 10px;
    background: white;
    color: var(--text-dark);
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
    text-decoration: none;
    margin-top: 3px;
}

.btn-rec-choose:hover {
    background: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
}

.recommendations-panel-content::-webkit-scrollbar {
    width: 5px;
}

.recommendations-panel-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.recommendations-panel-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.recommendations-panel-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Cart Main Panel (Right Side) */
.cart-main-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
    margin-left: 0;
}

.cart-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 20px;
    border-bottom: 1px solid #e5e5e5;
    background: white;
    position: sticky;
    top: 0;
    z-index: 10;
    min-height: 51px;
}

.cart-sidebar-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    color: var(--text-dark);
}

.cart-sidebar-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
    padding: 5px;
    line-height: 1;
    transition: color 0.3s ease;
}

.cart-sidebar-close:hover {
    color: var(--primary-color);
}

.cart-sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 20px;
}

/* Cart Items List */
.cart-items-list {
    padding: 20px 15px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.cart-empty i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.cart-empty p {
    font-size: 16px;
    margin: 0;
}

.cart-sidebar-item {
    display: flex;
    gap: 12px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-sidebar-item:first-child {
    padding-top: 0;
}

.cart-item-image {
    flex-shrink: 0;
    width: 90px;
    height: 120px;
    border-radius: 4px;
    overflow: hidden;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cart-item-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
}

.cart-item-size {
    font-size: 12px;
    color: var(--text-dark);
    margin: 0;
}

.cart-item-check {
    font-size: 11px;
    color: var(--text-light);
    margin: 0;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 8px 0;
}

.qty-btn {
    width: 26px;
    height: 26px;
    border: 1px solid #ccc;
    background: white;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 11px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.qty-btn:hover {
    border-color: var(--text-dark);
    background: #f5f5f5;
}

.qty-delete {
    border-color: #ddd;
    color: #666;
}

.qty-delete:hover {
    background: #f9f9f9;
    border-color: #999;
}

.qty-input {
    width: 75px;
    height: 26px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.cart-item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 3px 0 0 0;
    text-align: right;
}

/* Cart Summary */
.cart-sidebar-summary {
    padding: 15px 15px;
    border-top: 1px solid #e5e5e5;
    background: white;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
    color: var(--text-dark);
}

.summary-row.total-row {
    font-size: 15px;
    font-weight: 700;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    margin-top: 6px;
}

/* Checkout Button */
.cart-sidebar-actions {
    padding: 15px 15px 20px 15px;
}

.btn-checkout {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--text-dark);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-checkout:hover {
    background: #000;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.payment-methods {
    margin-top: 12px;
    text-align: center;
}

.payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.payment-icons i {
    font-size: 20px;
    color: #999;
}

/* Recommendations Section */
.cart-sidebar-recommendations {
    padding: 20px 15px 15px 15px;
    background: white;
}

.recommendations-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0 0 20px 0;
    color: var(--text-dark);
    text-transform: uppercase;
}

.recommendations-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.recommendation-item {
    display: flex;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
}

.recommendation-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recommendation-image {
    flex-shrink: 0;
    width: 70px;
    height: 90px;
    border-radius: 4px;
    overflow: hidden;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
}

.recommendation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recommendation-image:hover img {
    transform: scale(1.05);
}

.recommendation-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.recommendation-name {
    font-size: 12px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.recommendation-name a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.recommendation-name a:hover {
    color: var(--primary-color);
}

.recommendation-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.btn-choose-options {
    padding: 6px 10px;
    background: white;
    color: var(--text-dark);
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
    text-decoration: none;
    margin-top: 5px;
}

.btn-choose-options:hover {
    background: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
}

/* Scrollbar Styling */
.cart-sidebar-content::-webkit-scrollbar {
    width: 6px;
}

.cart-sidebar-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.cart-sidebar-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.cart-sidebar-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .cart-sidebar {
        max-width: 100%;
        right: -100%;
    }
    
    /* Stack panels vertically on mobile */
    .cart-sidebar {
        flex-direction: column;
    }
    
    .cart-recommendations-panel {
        position: relative;
        left: 0;
        width: 100%;
        height: auto;
        max-height: 40%;
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
        transition: none;
    }
    
    .cart-main-panel {
        margin-left: 0;
    }
    
    .cart-sidebar-header {
        padding: 15px 20px;
    }
    
    .cart-item-image {
        width: 70px;
        height: 90px;
    }
}

@media (max-width: 991px) and (min-width: 769px) {
    .cart-sidebar {
        max-width: 700px;
    }
    
    .cart-recommendations-panel {
        width: 280px;
    }
}
