/* Custom Font */
@font-face {
    font-family: 'Readex Pro';
    src: url('/assets/fonts/Readex_Pro/ReadexPro-VariableFont_HEXP,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}

/* Prevent page scroll jump on load */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Ensure proper initial positioning */
.page-transition {
    transform: translateY(0);
}

.page-transition.loaded {
    transform: translateY(0);
}

/* Prevent layout shift during loading */
.banner-section {
    min-height: 400px;
}

.featured-categories-section {
    min-height: 200px;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Readex Pro', 'Arial', sans-serif;
    background-color: #f5f5f5;
}

/* Navbar Styles */
.navbar {
    background: linear-gradient(to right, #151922, #1f2937);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid #cb2c26;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    gap: 20px;
}

@media (min-width: 1400px) {
    .navbar-container {
        max-width: 90%;
        padding: 0 40px;
    }
}

/* Logo Styles */
.navbar-logo {
    width: 217px;
    flex-shrink: 0;
}

.navbar-logo img {
    width: 90%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
}

/* Search Bar Styles */
.navbar-search {
    flex: 1;
    max-width: 600px;
    margin: 0 20px;
}

.search-container {
    position: relative;
    display: flex;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #DF7B0C;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
    background-color: #fff;
}

.search-input:focus {
    border-color: #DF7B0C;
    box-shadow: 0 0 0 3px rgba(223, 123, 12, 0.1);
}

.search-input::placeholder {
    color: #999;
}

.search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #DF7B0C;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background: #c6680a;
}

.search-button i {
    color: white;
    font-size: 14px;
}

/* Cart Styles */
.navbar-cart {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.navbar-cart:hover {
    background-color: rgba(223, 123, 12, 0.1);
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-cart i {
    font-size: 20px;
    color: #DF7B0C;
}

.cart-count {
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    line-height: 1;
    border: 2px solid white;
}

.cart-text {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    color: #fff;
}

/* Navigation Links */
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.nav-link:hover {
    background-color: rgba(223, 123, 12, 0.1);
    color: #DF7B0C;
}

.nav-link i {
    font-size: 16px;
}

/* Mobile navbar responsive styles */
@media (max-width: 768px) {
    .navbar-container {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .navbar-logo {
        width: 150px;
    }
    
    .navbar-search {
        order: 3;
        flex: 1 1 100%;
        margin: 10px 0 0 0;
        max-width: none;
    }
    
    .navbar-nav {
        gap: 10px;
    }
    
    .nav-link {
        padding: 6px 8px;
        font-size: 12px;
    }
    
    .navbar-cart {
        padding: 8px 10px;
    }
}

/* Department Navigation Bar */
.department-nav {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    padding: 0;
    position: relative;
    z-index: 999;
}

.department-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

@media (min-width: 1400px) {
    .department-container {
        max-width: 90%;
        padding: 0 40px;
    }
}

/* All Departments Dropdown */
.department-dropdown {
    position: relative;
    margin-right: 20px;
    z-index: 999999;
}

.department-btn {
    background: #DF7B0C;
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 0;
    transition: background-color 0.3s ease;
    min-width: 180px;
    justify-content: space-between;
}

.department-btn:hover {
    background: #c6680a;
}

.department-btn.active .fa-chevron-down {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.department-btn .fa-chevron-down {
    transition: transform 0.3s ease;
}

.department-btn.active {
    background: #DF7B0C;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 280px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 999998;
    border: 1px solid #e0e0e0;
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown-content.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-content a i {
    font-size: 16px;
    color: #DF7B0C;
    width: 20px;
    text-align: center;
}

.dropdown-content a:hover {
    background-color: #f8f9fa;
    color: #DF7B0C;
}

.dropdown-content a:hover i {
    color: #c6680a;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

/* Department Links */
.department-links {
    display: flex;
    flex: 1;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.department-links::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 100%;
    background: linear-gradient(to right, #f8f9fa, transparent);
    z-index: 2;
    pointer-events: none;
}

.department-links::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 100%;
    background: linear-gradient(to left, #f8f9fa, transparent);
    z-index: 2;
    pointer-events: none;
}

.department-links-wrapper {
    display: flex;
    animation: marquee 30s linear infinite;
    gap: 0;
}

.department-links-wrapper:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.dept-link {
    color: #333;
    text-decoration: none;
    padding: 15px 16px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    position: relative;
}

.dept-link:hover {
    color: #DF7B0C;
    border-bottom-color: #DF7B0C;
    background-color: rgba(223, 123, 12, 0.05);
}

/* Banner/Slideshow Styles */
.banner-section {
    background-color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    z-index: 1;
}

.banner-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    height: 400px;
    overflow: hidden;
}

@media (min-width: 1400px) {
    .banner-container {
        max-width: 90%;
        height: 500px;
    }
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slide.active {
    opacity: 1;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    max-width: 600px;
    margin: 0 auto;
}

.banner-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.banner-description {
    font-size: 1.2em;
    margin-bottom: 25px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.banner-btn {
    display: inline-block;
    background: #DF7B0C;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(223, 123, 12, 0.3);
}

.banner-btn:hover {
    background: #c6680a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(223, 123, 12, 0.4);
}

/* Banner Navigation */
.banner-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.banner-nav {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.banner-nav:hover {
    background: #DF7B0C;
    color: white;
    transform: scale(1.1);
}

/* Banner Indicators */
.banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.banner-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-indicator.active {
    background: #DF7B0C;
    border-color: #DF7B0C;
}

.banner-indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Featured Categories Square Icons Styles */
.featured-categories-section {
    background-color: #fff;
    padding: 40px 0;
    margin-bottom: 30px;
}

.featured-categories-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 1400px) {
    .featured-categories-container {
        max-width: 90%;
        padding: 0 40px;
    }
}

.section-title {
    text-align: center;
    font-size: 2.2em;
    font-weight: 700;
    color: #6f1613;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #DF7B0C, #6f1613);
    border-radius: 2px;
}

.categories-slider {
    display: flex;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.categories-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(to right, #ffffff, transparent);
    z-index: 2;
    pointer-events: none;
}

.categories-slider::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(to left, #ffffff, transparent);
    z-index: 2;
    pointer-events: none;
}

.categories-slider-wrapper {
    display: flex;
    animation: categoriesMarquee 40s linear infinite;
    gap: 20px;
}

.categories-slider-wrapper:hover {
    animation-play-state: paused;
}

@keyframes categoriesMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 140px;
    white-space: normal;
    flex-shrink: 0;
}

.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #DF7B0C, #6f1613);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-item:hover::before {
    transform: scaleX(1);
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #DF7B0C;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #DF7B0C, #c6680a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.category-item:hover .category-icon {
    background: linear-gradient(135deg, #6f1613, #9f1e19);
    transform: scale(1.1);
}

.category-icon i {
    font-size: 24px;
    color: white;
}

.category-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: center;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.category-item:hover .category-name {
    color: #DF7B0C;
}

/* Homepage Sections Styles */
.homepage-sections {
    background-color: #f8f9fa;
}

.homepage-section {
    padding: 40px 0;
    margin-bottom: 30px;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 1400px) {
    .section-container {
        max-width: 90%;
        padding: 0 40px;
    }
}

.section-title {
    text-align: center;
    font-size: 2.2em;
    font-weight: 700;
    color: #6f1613;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #DF7B0C, #6f1613);
    border-radius: 2px;
}

/* Featured Products Section */
.featured-products-section {
    background-color: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: #f8f9fa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 1.1em;
    font-weight: 600;
    color: #6f1613;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-description {
    color: #666;
    font-size: 0.9em;
    line-height: 1.4;
    margin-bottom: 15px;
}

.product-price {
    font-size: 1.2em;
    font-weight: 700;
    color: #DF7B0C;
    margin-bottom: 15px;
}

.product-btn {
    display: inline-block;
    background: linear-gradient(135deg, #DF7B0C, #c6680a);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-btn:hover {
    background: linear-gradient(135deg, #c6680a, #DF7B0C);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(223, 123, 12, 0.3);
}

/* Product Card Discount Styles */
.product-price-container {
    margin-bottom: 15px;
}

.product-price-discounted {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-price-discounted .current-price {
    font-size: 1.2em;
    font-weight: 700;
    color: #ff6b6b;
}

.product-price-discounted .original-price {
    font-size: 0.95em;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

.product-price-discounted .discount-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 600;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-name {
    font-size: 0.8em;
    color: #4CAF50;
    font-weight: 600;
    margin-top: 3px;
    padding: 2px 6px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 4px;
    align-self: flex-start;
}

.product-price-regular {
    font-size: 1.2em;
    font-weight: 700;
    color: #DF7B0C;
}

/* Global offer styling for product cards */
.product-card .offer-name {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive discount styles */
@media (max-width: 768px) {
    .product-price-discounted .current-price {
        font-size: 1.1em;
    }
    
    .product-price-discounted .discount-badge {
        font-size: 0.75em;
        padding: 2px 6px;
    }
    
    .offer-name {
        font-size: 0.75em;
    }
}

/* Promotion Banner Section */
.promotion-banner-section {
    background-color: #f8f9fa;
}

.promotion-banner {
    background: linear-gradient(135deg, #DF7B0C, #c6680a);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.promotion-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.05) 10px,
        rgba(255, 255, 255, 0.05) 20px
    );
    animation: slideStripes 20s linear infinite;
}

@keyframes slideStripes {
    0% { transform: translateX(0); }
    100% { transform: translateX(50px); }
}

.promotion-content {
    position: relative;
    z-index: 2;
}

.promotion-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.promotion-text {
    font-size: 1.2em;
    margin-bottom: 25px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.promotion-btn {
    display: inline-block;
    background: white;
    color: #DF7B0C;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.promotion-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Text Content Section */
.text-content-section {
    background-color: #fff;
}

.text-content {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #6f1613, #8a1b16);
    color: white;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.newsletter-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
    margin-top: 30px;
}

.newsletter-form .form-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 300px;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    outline: none;
    background: white;
    color: #333;
}

.newsletter-btn {
    background: #DF7B0C;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.newsletter-btn:hover {
    background: #c6680a;
    transform: translateY(-2px);
}

/* Product Grid Section */
.product-grid-section {
    background-color: #fff;
}

/* Contact Info Section */
.contact-info-section {
    background-color: #f8f9fa;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.contact-info-item {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #DF7B0C, #c6680a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

.contact-info-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #6f1613;
    margin-bottom: 10px;
}

.contact-info-text {
    color: #666;
    line-height: 1.6;
}

/* Social Media Section */
.social-media-section {
    background-color: #fff;
}

.social-media-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-media-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6f1613, #8a1b16);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s ease;
}

.social-media-item:hover {
    background: linear-gradient(135deg, #DF7B0C, #c6680a);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Image fallback styling */
img[data-fallback-applied="true"] {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f8f9fa;
    object-fit: cover;
}

.product-image img[data-fallback-applied="true"] {
    background-color: #f8f9fa;
    border-radius: 15px 15px 0 0;
}

.banner-image img[data-fallback-applied="true"] {
    background-color: #f8f9fa;
    border-radius: 0;
}

.navbar-logo img[data-fallback-applied="true"] {
    background-color: transparent;
    border: none;
    border-radius: 0;
}

.loading-logo[data-fallback-applied="true"] {
    background-color: transparent;
    border: none;
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-container {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .navbar-logo {
        width: 150px;
    }
    
    .navbar-nav {
        gap: 10px;
    }
    
    .nav-link {
        font-size: 12px;
        padding: 6px 8px;
    }
    
    .navbar-search {
        order: 3;
        flex-basis: 100%;
        margin: 10px 0 0 0;
        max-width: none;
    }
    
    .navbar-cart {
        padding: 8px 10px;
    }
    
    .cart-text {
        font-size: 12px;
    }
    
    /* Banner responsive */
    .banner-container {
        height: 300px;
    }
    
    .banner-content {
        padding: 30px 20px;
        max-width: 90%;
    }
    
    .banner-title {
        font-size: 2em;
    }
    
    .banner-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    
    .banner-btn {
        padding: 10px 25px;
        font-size: 1em;
    }
    
    .banner-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    /* Featured Categories responsive */
    .categories-slider::before,
    .categories-slider::after {
        width: 60px;
    }
    
    .categories-slider-wrapper {
        gap: 15px;
    }
    
    .category-item {
        padding: 20px 15px;
        min-width: 120px;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
    }
    
    .category-icon i {
        font-size: 20px;
    }
    
    .category-name {
        font-size: 13px;
    }
    
    /* Homepage Sections responsive */
    .homepage-section {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .product-card {
        margin-bottom: 0;
    }
    
    .promotion-title {
        font-size: 2em;
    }
    
    .promotion-text {
        font-size: 1em;
        margin-bottom: 20px;
    }
    
    .promotion-btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form input[type="email"] {
        min-width: 100%;
        max-width: 400px;
        margin-bottom: 15px;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .social-media-grid {
        gap: 15px;
    }
    
    .social-media-item {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0 10px;
    }
    
    .navbar-logo {
        width: 120px;
    }
    
    .search-input {
        padding: 10px 40px 10px 12px;
        font-size: 13px;
    }
    
    .search-button {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 1024px) {
    .department-links {
        gap: 0;
    }
    
    .dept-link {
        padding: 12px 12px;
        font-size: 12px;
    }
    
    .department-btn {
        padding: 12px 15px;
        font-size: 13px;
        min-width: 150px;
    }
}

@media (max-width: 768px) {
    .department-container {
        flex-direction: column;
        padding: 0;
    }
    
    .department-dropdown {
        margin-right: 0;
        width: 100%;
        margin-bottom: 0;
    }
    
    .department-btn {
        width: 100%;
        border-radius: 0;
        justify-content: center;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        border-top: 1px solid #e0e0e0;
        max-height: none;
    }
    
    .department-links {
        width: 100%;
        flex-direction: column;
        gap: 0;
        border-top: 1px solid #e0e0e0;
    }
    
    .dept-link {
        padding: 12px 20px;
        border-bottom: 1px solid #f0f0f0;
        border-left: none;
        border-right: none;
    }
    
    .dept-link:hover {
        border-bottom-color: #f0f0f0;
        border-left: 3px solid #DF7B0C;
    }
}

@media (max-width: 480px) {
    .department-container {
        padding: 0;
    }
    
    .dept-link {
        font-size: 12px;
        padding: 10px 15px;
    }
    
    .department-btn {
        font-size: 12px;
        padding: 10px 15px;
    }
    
    /* Banner mobile styles */
    .banner-container {
        height: 250px;
    }
    
    .banner-content {
        padding: 20px 15px;
    }
    
    .banner-title {
        font-size: 1.5em;
        margin-bottom: 10px;
    }
    
    .banner-description {
        font-size: 0.9em;
        margin-bottom: 15px;
    }
    
    .banner-btn {
        padding: 8px 20px;
        font-size: 0.9em;
    }
    
    .banner-nav {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .banner-navigation {
        padding: 0 10px;
    }
    
    /* Featured Categories mobile */
    .featured-categories-section {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    
    .categories-slider::before,
    .categories-slider::after {
        width: 40px;
    }
    
    .categories-slider-wrapper {
        gap: 12px;
    }
    
    .category-item {
        padding: 15px 10px;
        min-width: 100px;
    }
    
    .category-icon {
        width: 45px;
        height: 45px;
    }
    
    .category-icon i {
        font-size: 18px;
    }
    
    .category-name {
        font-size: 12px;
    }
    
    /* Homepage Sections mobile */
    .homepage-section {
        padding: 25px 0;
    }
    
    .section-container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.6em;
        margin-bottom: 25px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .product-image {
        height: 150px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-name {
        font-size: 1em;
    }
    
    .product-description {
        font-size: 0.85em;
        margin-bottom: 10px;
    }
    
    .product-price {
        font-size: 1.1em;
        margin-bottom: 12px;
    }
    
    .product-btn {
        padding: 8px 16px;
        font-size: 0.85em;
    }
    
    .promotion-banner {
        padding: 25px 20px;
    }
    
    .promotion-title {
        font-size: 1.8em;
        margin-bottom: 12px;
    }
    
    .promotion-text {
        font-size: 0.95em;
        margin-bottom: 20px;
    }
    
    .promotion-btn {
        padding: 12px 20px;
        font-size: 0.9em;
    }
    
    .newsletter-content {
        padding: 0 15px;
    }
    
    .newsletter-title {
        font-size: 1.8em;
        margin-bottom: 12px;
    }
    
    .newsletter-description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    
    .newsletter-form input[type="email"] {
        padding: 12px 15px;
        font-size: 0.9em;
    }
    
    .newsletter-btn {
        padding: 12px 25px;
        font-size: 0.9em;
    }
    
    .contact-info-item {
        padding: 25px 15px;
    }
    
    .contact-info-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .contact-info-title {
        font-size: 1.2em;
        margin-bottom: 8px;
    }
    
    .contact-info-text {
        font-size: 0.9em;
    }
}

@media (min-width: 1920px) {
    .navbar-container {
        max-width: 85%;
        padding: 0 60px;
    }
    
    .department-container {
        max-width: 85%;
        padding: 0 60px;
    }
    
    .banner-container {
        max-width: 85%;
        height: 600px;
    }
    
    .featured-categories-container {
        max-width: 85%;
        padding: 0 60px;
    }
    
    .section-container {
        max-width: 85%;
        padding: 0 60px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 35px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 30px;
        max-width: none;
    }
    
    .category-item {
        min-width: 160px;
        padding: 35px 25px;
    }
    
    .category-icon {
        width: 70px;
        height: 70px;
    }
    
    .category-icon i {
        font-size: 28px;
    }
    
    .banner-title {
        font-size: 3em;
    }
    
    .banner-description {
        font-size: 1.4em;
    }
    
    .section-title {
        font-size: 2.5em;
    }
}

@media (min-width: 2560px) {
    .navbar-container,
    .department-container,
    .banner-container,
    .featured-categories-container,
    .section-container {
        max-width: 80%;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
        gap: 40px;
    }
    
    .banner-container {
        height: 700px;
    }
    
    .banner-title {
        font-size: 3.5em;
    }
    
    .banner-description {
        font-size: 1.6em;
    }
    
    .section-title {
        font-size: 3em;
    }
}