:root {
    --primary: #ff6a00;
    --secondary: #f5f5f5;
    --dark: #333;
    --light: #fff;
    --gray: #777;
    --gray-light: #eee;
    --danger: #dc3545;
    --success: #28a745;
    --warning: #ffc107;
    --info: #17a2b8;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    background-color: var(--secondary);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #e05d00;
    border-color: #e05d00;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: var(--light);
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

/* Header Styles */
.top-header {
    font-size: 0.85rem;
}

.main-header {
    z-index: 1030;
}

.logo {
    font-weight: 700;
    letter-spacing: -1px;
}

.search-bar {
    max-width: 600px;
}

.search-bar .form-select {
    max-width: 150px;
}

/* Navigation */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--light);
}

/* Hero Slider */
.hero-slider .carousel-item {
    height: 400px;
}

.hero-slider .carousel-item img {
    height: 100%;
    object-fit: cover;
}

.hero-slider .carousel-caption {
    bottom: 30%;
    text-align: left;
    left: 10%;
    right: auto;
}

.hero-slider .carousel-caption h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-slider .carousel-caption p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Product Cards */
.product-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
}

.product-thumb {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-thumb img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-price {
    font-size: 1.1rem;
}

.product-meta {
    font-size: 0.8rem;
}

/* Category Cards */
.category-card {
    transition: all 0.3s ease;
}

.category-card:hover {
    background-color: var(--primary) !important;
    color: var(--light);
}

.category-card:hover .icon i {
    color: var(--light) !important;
}

/* Deal Products */
.deal-product .product-thumb {
    height: 120px;
}

.deal-product .product-title {
    font-size: 0.85rem;
    height: 2.4em;
}

.deal-product .product-price {
    font-size: 0.95rem;
}

.progress {
    height: 6px;
}

/* Category Banners */
.category-banner {
    height: 200px;
    overflow: hidden;
}

.category-banner img {
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.category-banner:hover img {
    transform: scale(1.05);
}

.banner-content {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

/* Newsletter */
.newsletter .form-control {
    height: 45px;
}

/* Footer */
footer a {
    color: rgba(255, 255, 255, 0.5);
}

footer a:hover {
    color: var(--light);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Section Titles */
.section-title {
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}



/* Fashion Page Specific Styles */
.fashion-page .fashion-hero-banner {
    height: 500px;
    overflow: hidden;
}

.fashion-page .fashion-hero-banner img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.fashion-page .hero-content {
    background: rgba(0, 0, 0, 0.3);
}

.fashion-page .fashion-category-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.fashion-page .fashion-category-card:hover {
    background-color: var(--primary) !important;
    color: var(--light);
    transform: translateY(-5px);
}

.fashion-page .subcategory-list h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

.fashion-page .subcategory-list li {
    margin-bottom: 0.5rem;
}

.fashion-page .subcategory-list a:hover {
    color: var(--primary) !important;
    padding-left: 5px;
}

.fashion-page .collection-card {
    height: 300px;
    overflow: hidden;
}

.fashion-page .collection-card img {
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.fashion-page .collection-card:hover img {
    transform: scale(1.05);
}

.fashion-page .collection-content {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.fashion-page .blog-card {
    transition: all 0.3s ease;
}

.fashion-page .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.fashion-page .blog-thumb {
    height: 200px;
    overflow: hidden;
}

.fashion-page .blog-thumb img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.fashion-page .blog-card:hover .blog-thumb img {
    transform: scale(1.05);
}

.fashion-page .blog-title a {
    color: var(--dark);
    text-decoration: none;
}

.fashion-page .blog-title a:hover {
    color: var(--primary);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .fashion-page .fashion-hero-banner {
        height: 400px;
    }
}

@media (max-width: 767.98px) {
    .fashion-page .fashion-hero-banner {
        height: 300px;
    }
    
    .fashion-page .hero-content .display-4 {
        font-size: 2rem;
    }
    
    .fashion-page .hero-content .lead {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .fashion-page .fashion-hero-banner {
        height: 250px;
    }
    
    .fashion-page .collection-card {
        height: 200px;
    }
}


/* Electronics Page Specific Styles */
.electronics-page .electronics-hero-banner {
    height: 500px;
    overflow: hidden;
}

.electronics-page .electronics-hero-banner img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.electronics-page .hero-content {
    background: rgba(0, 0, 0, 0.3);
}

.electronics-page .electronics-category-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.electronics-page .electronics-category-card:hover {
    background-color: var(--primary) !important;
    color: var(--light);
    transform: translateY(-5px);
}

.electronics-page .product-specs {
    font-size: 0.85rem;
}

.electronics-page .product-specs i {
    width: 20px;
    text-align: center;
}

.electronics-page .accessory-card {
    transition: all 0.3s ease;
}

.electronics-page .accessory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.electronics-page .guide-card {
    transition: all 0.3s ease;
}

.electronics-page .guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.electronics-page .guide-thumb {
    height: 180px;
    overflow: hidden;
}

.electronics-page .guide-thumb img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.electronics-page .guide-card:hover .guide-thumb img {
    transform: scale(1.05);
}

.electronics-page .guide-title a {
    color: var(--dark);
    text-decoration: none;
}

.electronics-page .guide-title a:hover {
    color: var(--primary);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .electronics-page .electronics-hero-banner {
        height: 400px;
    }
}

@media (max-width: 767.98px) {
    .electronics-page .electronics-hero-banner {
        height: 300px;
    }
    
    .electronics-page .hero-content .display-4 {
        font-size: 2rem;
    }
    
    .electronics-page .hero-content .lead {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .electronics-page .electronics-hero-banner {
        height: 250px;
    }
    
    .electronics-page .guide-thumb {
        height: 150px;
    }
}

/* New Arrivals Page Specific Styles */

/* Hero Section */
.new-arrivals-page .new-arrivals-hero {
    margin-bottom: 3rem;
}

.new-arrivals-page .new-arrivals-hero .hero-banner {
    height: 500px;
    overflow: hidden;
}

.new-arrivals-page .new-arrivals-hero .hero-banner img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.new-arrivals-page .new-arrivals-hero .hero-content {
    background: rgba(0, 0, 0, 0.3);
}

/* Product Cards */
.new-arrivals-page .product-card {
    position: relative;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.new-arrivals-page .product-card .arrival-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

.new-arrivals-page .product-card .new-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
    pointer-events: none;
}

/* Category Tabs */
.new-arrivals-page .category-tabs {
    margin: 2rem 0;
}

.new-arrivals-page .category-tabs .nav-link {
    color: var(--dark);
    font-weight: 500;
    border: none;
    padding: 10px 20px;
    position: relative;
}

.new-arrivals-page .category-tabs .nav-link.active {
    color: var(--primary);
    background: transparent;
}

.new-arrivals-page .category-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 3px;
    background: var(--primary);
}

/* Countdown Timer */
.new-arrivals-page .countdown-timer {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary);
    margin: 1rem 0;
}

/* Trending Badge */
.new-arrivals-page .trending-now-badge {
    background: linear-gradient(45deg, #ff6a00, #ff0000);
    color: white;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: bold;
    display: inline-block;
    margin-left: 10px;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .new-arrivals-page .new-arrivals-hero .hero-banner {
        height: 400px;
    }
}

@media (max-width: 767.98px) {
    .new-arrivals-page .new-arrivals-hero .hero-banner {
        height: 300px;
    }
    
    .new-arrivals-page .new-arrivals-hero .hero-content .display-4 {
        font-size: 2rem;
    }
    
    .new-arrivals-page .new-arrivals-hero .hero-content .lead {
        font-size: 1rem;
    }
    
    .new-arrivals-page .category-tabs .nav-link {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .new-arrivals-page .new-arrivals-hero .hero-banner {
        height: 250px;
    }
    
    .new-arrivals-page .countdown-timer {
        font-size: 1rem;
    }
}

.brand-card {
    height: 100%;
    transition: transform 0.3s ease;
}

.brand-logo {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

/* Slider animation */
@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-10%); }
}

.brand-slider {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    animation: slide 10s infinite alternate ease-in-out;
}

.brand-slider:hover {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .brand-slider {
        flex-wrap: wrap;
        animation: none;
    }
}