* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

/* Header Styles */
.header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Hamburger Menu */
.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu:hover span {
    background-color: #000;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #000;
}

.logo {
    display: flex;
    align-items: center;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: bold;
    color: #000;
}

.logo-icon {
    font-size: 24px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    padding: 10px 40px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 300px;
    font-size: 14px;
}

.search-icon {
    position: absolute;
    right: 12px;
    color: #666;
    cursor: pointer;
}

.header-icons {
    display: flex;
    gap: 20px;
    font-size: 20px;
    color: #333;
    cursor: pointer;
}

.header-icons i:hover {
    color: #000;
}

.admin-icon-link {
    color: #666 !important;
    font-size: 18px;
    transition: all 0.3s ease;
}

.admin-icon-link:hover {
    color: #333 !important;
    transform: scale(1.1);
}

/* Hero Banner Slider */
.hero-banner-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 42px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin: 0;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.slider-btn {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #333;
    transition: all 0.3s ease;
    pointer-events: all;
    z-index: 11;
}

.slider-btn:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: 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-color: #fff;
    transform: scale(1.2);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Breadcrumbs */
.breadcrumbs {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px;
    font-size: 14px;
    color: #666;
}

.breadcrumbs span {
    color: #333;
}

/* Main Container */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 10px;
}

.page-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.sort-container {
    display: flex;
    align-items: center;
}

.sort-select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    cursor: pointer;
}

.content-wrapper {
    display: flex;
    gap: 30px;
}

/* Sidebar Filters */
.sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 80px;
    align-self: flex-start;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.filter-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.filter-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    text-transform: uppercase;
}

.filter-search {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
}

.filter-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.size-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.size-btn {
    padding: 10px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.size-btn:hover {
    background-color: #f0f0f0;
    border-color: #333;
}

.size-btn.active {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

.price-range {
    margin-top: 15px;
}

.price-display {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
}

.price-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #ddd;
    outline: none;
    cursor: pointer;
}

/* Products Grid */
.products-section {
    flex: 1;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.product-card .product-image-container {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

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

.product-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    background-color: #f5f5f5;
    display: block;
    border: none;
    outline: none;
    aspect-ratio: 1 / 1.17;
    min-height: 350px;
    max-height: 350px;
    transition: transform 0.3s ease;
    background-image: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

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

.product-image[src=""],
.product-image:not([src]) {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.product-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255,255,255,0.9);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.product-wishlist:hover {
    background-color: #fff;
}

.product-wishlist i {
    color: #333;
    font-size: 18px;
}

.product-image-container {
    position: relative;
    overflow: hidden;
}

.product-image-container img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image-container img[src] {
    opacity: 1;
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.badge {
    padding: 5px 10px;
    background-color: #fff;
    color: #333;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge.premium {
    background-color: #f0f0f0;
}

.badge.member {
    background-color: #ff6b6b;
    color: #fff;
}

.badge.brand {
    background-color: #333;
    color: #fff;
    font-size: 10px;
}

.product-info {
    padding: 15px;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    line-height: 1.4;
}

.product-category {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.product-price {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

/* Mid-Page Banner */
.mid-banner {
    background-color: #dc3545;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    margin: 60px 0;
}

.mid-banner-content h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.mid-banner-content p {
    font-size: 18px;
}

/* Footer */
.footer {
    background-color: #2d2d2d;
    color: #fff;
    padding: 50px 20px 20px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #fff;
}

.footer-app {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #444;
    border-bottom: 1px solid #444;
}

.footer-app h3 {
    font-size: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.app-btn {
    padding: 12px 30px;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.app-btn:hover {
    background-color: #f0f0f0;
}

.footer-social {
    max-width: 1400px;
    margin: 30px auto;
    text-align: center;
}

.footer-social h4 {
    font-size: 16px;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons i {
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s;
}

.social-icons i:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 1400px;
    margin: 20px auto 0;
    padding-top: 20px;
    border-top: 1px solid #444;
    text-align: left;
}

.footer-bottom a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

.footer-bottom a:hover {
    color: #fff;
}

/* Category Sidebar Menu */
.category-sidebar {
    position: fixed;
    left: -350px;
    top: 0;
    width: 350px;
    height: 100vh;
    background-color: #fff;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    z-index: 2000;
    transition: left 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    will-change: left;
    backface-visibility: hidden;
}

.category-sidebar.active {
    left: 0;
}

.category-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #f9f9f9;
    position: sticky;
    top: 0;
    z-index: 1;
}

.category-sidebar-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.close-category-menu {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.close-category-menu:hover {
    background-color: #e0e0e0;
}

.category-menu-content {
    padding: 20px 0;
}

.category-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-menu-list li {
    border-bottom: 1px solid #f0f0f0;
}

.category-menu-list li a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s, color 0.3s;
}

.category-menu-list li a:hover {
    background-color: #f9f9f9;
    color: #000;
    padding-left: 25px;
}

.category-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 968px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .header-container {
        flex-wrap: wrap;
    }
    
    .search-input {
        width: 200px;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
    
    .search-input {
        width: 150px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .hero-banner-slider {
        height: 300px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slide-content {
        padding: 15px;
    }
}

