/* 1. Reset and Variables */
:root {
    --primary-color: #0f172a; /* Dark Slate / Navy */
    --secondary-color: #2563eb; /* Modern Blue */
    --accent-color: #f97316; /* Vibrant Orange */
    --text-main: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 2. Top Announcement Bar */
.top-announcement {
    background-color: var(--primary-color);
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Hind Siliguri', sans-serif;
    padding: 8px 0;
}

.top-announcement .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-announcement a {
    color: var(--white);
    font-weight: 500;
}

.top-announcement a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.top-links {
    display: flex;
    gap: 20px;
}

/* 3. Middle Header */
.middle-header {
    background-color: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.middle-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo a {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.logo span {
    color: var(--secondary-color);
}

.site-header-logo {
    max-height: 55px;
    height: auto;
    width: auto;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    transition: max-height 0.2s ease;
}

/* Search Bar */
.search-container {
    flex: 1;
    max-width: 650px;
}

.search-form {
    display: flex;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    height: 48px;
    background-color: var(--white);
}

.search-category {
    background-color: #f1f5f9;
    border: none;
    padding: 0 15px;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 500;
    border-right: 1px solid var(--border-color);
    outline: none;
    cursor: pointer;
}

.search-form input {
    flex: 1;
    border: none;
    padding: 0 20px;
    font-size: 14px;
    outline: none;
    width: 100%;
    color: #000;
}

.search-btn {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 0 25px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.search-btn:hover {
    background-color: #1d4ed8;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 25px;
    align-items: center;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s;
}

.action-item:hover {
    color: var(--secondary-color);
}

.icon-wrap {
    position: relative;
    font-size: 24px;
    color: var(--primary-color);
    transition: 0.3s;
}

.action-item:hover .icon-wrap {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--white);
}

.cart-info {
    display: flex;
    flex-direction: column;
}

.action-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
}

.cart-total {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
}

/* 4. Bottom Nav */
.bottom-nav {
    background-color: var(--white);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

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

.category-dropdown .cat-btn {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.3s;
}

.category-dropdown .cat-btn:hover {
    background-color: #1d4ed8;
}

.nav-menu {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.nav-menu li a {
    display: block;
    padding: 16px 15px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    transition: color 0.3s;
}

.nav-menu li a:hover, .nav-menu li a.active {
    color: var(--secondary-color);
}

.nav-badge {
    background-color: #ef4444; /* Red for Sale */
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    position: relative;
    top: -1px;
    text-transform: uppercase;
}

/* 5. Mobile Menu Specifics */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
}

.mobile-close {
    display: none;
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
}

.menu-overlay.active {
    display: block;
}

/* 6. Responsive Queries */
@media (max-width: 1024px) {
    .search-category {
        display: none; /* Hide dropdown in search bar on smaller tablets */
    }
    
    .action-text, .cart-total {
        display: none; /* Show only icons for header actions */
    }
    
    .header-actions {
        gap: 15px;
    }
}

@media (max-width: 768px) {


    
    .top-announcement {
        display: none; /* Hide top bar completely */
    }

    .middle-header .container {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .mobile-menu-btn {
        display: block; /* Show hamburger */
    }
    
    .logo {
        flex: 1;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .logo a {
        font-size: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-header-logo,
    .logo img {
        max-height: 48px !important;
        width: auto !important;
    }

    .search-container {
        order: 3;
        max-width: 100%;
        flex: 0 0 100%;
    }
    
    .category-dropdown {
        display: none; /* Hide category dropdown button */
    }
    
    /* Off-Canvas Mobile Menu */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -300px;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        margin-left: 0;
        padding: 0;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: left 0.3s ease-in-out;
        z-index: 1000;
        gap: 0;
        overflow-y: auto;
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-menu li a {
        padding: 15px 25px;
        border-bottom: 1px solid var(--border-color);
        font-size: 16px;
    }
    
    .mobile-close {
        display: block;
        text-align: right;
        padding: 20px 25px;
        font-size: 24px;
        color: var(--primary-color);
        cursor: pointer;
        background-color: var(--bg-light);
        border-bottom: 1px solid var(--border-color);
    }
}

/* 7. Hero Section */
.hero-section {
    padding: 30px 0;
}

.hero-wrapper {
    display: flex;
    gap: 20px;
    height: 470px;
}

.hero-wrapper.full-width-slider {
    display: block;
    height: 470px;
    max-height: 470px;
}

.hero-slider {
    flex: 7;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background-color: var(--primary-color);
    height: 100%;
}

.hero-wrapper.full-width-slider .hero-slider,
.hero-slider.is-full-width {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    height: 470px !important;
    max-height: 470px !important;
}

.hero-slider .swiper-slide {
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.slide-content {
    position: relative;
    z-index: 2;
    padding: 0 60px;
    color: var(--primary-color);
    max-width: 600px;
}

.slide-content .subtitle {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-content h2 {
    font-size: 46px;
    line-height: 1.2;
    margin-bottom: 15px;
    font-weight: 800;
    color: var(--primary-color);
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-main);
}

.btn-primary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s, transform 0.3s;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    color: var(--white);
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary-color) !important;
    background-color: rgba(0,0,0,0.05);
    width: 45px !important;
    height: 45px !important;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px !important;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background-color: var(--secondary-color);
}
.swiper-pagination-bullet-active {
    background: var(--accent-color) !important;
}

.hero-banners {
    flex: 3;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.banner {
    flex: 1;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 30px;
    transition: transform 0.3s;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.1) 100%);
    z-index: 1;
}

.banner:hover {
    transform: scale(1.02);
}

.banner-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.banner-content h3 {
    font-size: 26px;
    margin-bottom: 10px;
    font-weight: 700;
}

.banner-content a {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #e2e8f0;
    transition: color 0.3s;
}

.banner-content a:hover {
    color: var(--accent-color);
}

.mobile-break {
    display: none;
}

@media (max-width: 992px) {
    .hero-wrapper {
        flex-direction: column;
        height: auto;
    }
    .hero-wrapper.full-width-slider {
        height: 400px;
        max-height: 400px;
    }
    .hero-slider {
        flex: none;
        width: 100%;
        height: 400px;
    }
    .hero-wrapper.full-width-slider .hero-slider,
    .hero-slider.is-full-width {
        height: 400px !important;
        max-height: 400px !important;
    }
    .hero-banners {
        flex: none;
        width: 100%;
        flex-direction: row;
        height: 220px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 15px 0;
    }
    .hero-wrapper.full-width-slider {
        height: 220px;
        max-height: 220px;
    }
    .hero-slider {
        height: 220px;
    }
    .hero-wrapper.full-width-slider .hero-slider,
    .hero-slider.is-full-width {
        height: 220px !important;
        max-height: 220px !important;
    }
    .hero-banners {
        flex-direction: column;
        height: auto;
    }
    .banner {
        height: 150px;
    }
    .slide-content {
        padding: 0 20px;
    }
    .slide-content h2 {
        font-size: 22px;
        margin-bottom: 8px;
    }
    .slide-content p {
        font-size: 15px;
        margin-bottom: 12px;
    }
    .mobile-break {
        display: block;
    }
    .slide-content .subtitle {
        font-size: 11px;
        padding: 3px 8px;
        margin-bottom: 10px;
    }
    .btn-primary {
        padding: 10px 20px;
        font-size: 14px;
    }
    /* Hide slider navigation arrows on mobile */
    .swiper-button-next, .swiper-button-prev {
        display: none !important;
    }
}

/* 8. Features Section */
.features-section {
    padding: 30px 0;
    margin-top: -20px;
}

.features-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-box i {
    font-size: 32px;
    color: var(--secondary-color);
}

.feature-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 13px;
    color: var(--text-light);
}

/* Common Section Padding */
.section-padding {
    padding: 30px 0;
}

/* Center Section Headings */
.section-heading-center {
    text-align: center;
    margin-bottom: 30px;
}
.sub-heading {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}
.sub-heading .line {
    width: 30px;
    height: 1px;
    background-color: var(--secondary-color);
}
.section-heading-center h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.section-heading-center h2 span {
    color: var(--secondary-color);
}
.section-heading-center p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Flex Section Headings */
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}
.section-title h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
}
.section-title h2 span {
    color: var(--secondary-color);
}
.view-all {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.view-all:hover {
    color: var(--primary-color);
    gap: 12px;
}

/* 9. Premium Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.category-card {
    border-radius: 16px;
    padding: 25px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* Card Colors */
.card-blue { background-color: #e8f4fc; }
.card-green { background-color: #eefbe7; }
.card-purple { background-color: #f3eefe; }
.card-yellow { background-color: #fef4e8; }
.card-lightblue { background-color: #eef6fc; }
.card-pink { background-color: #fdf2f8; }

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
}

.cat-image {
    width: 100%;
    height: 160px;
    object-fit: contain;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
    mix-blend-mode: darken;
}

.category-card:hover .cat-image {
    transform: scale(1.08);
}

.cat-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.cat-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.cat-small-icon {
    width: 32px;
    height: 32px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.card-blue .cat-small-icon { color: #3b82f6; }
.card-green .cat-small-icon { color: #10b981; }
.card-purple .cat-small-icon { color: #8b5cf6; }
.card-yellow .cat-small-icon { color: #f59e0b; }
.card-lightblue .cat-small-icon { color: #0ea5e9; }
.card-pink .cat-small-icon { color: #ec4899; }

.cat-info h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.cat-info .cat-count {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

.cat-arrow {
    width: 32px;
    height: 32px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 12px;
    transition: background-color 0.3s, color 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.category-card:hover .cat-arrow {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-container-center {
    text-align: center;
}
.btn-round {
    background-color: var(--secondary-color);
    border-radius: 30px;
    padding: 12px 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}
.btn-round:hover {
    background-color: var(--primary-color);
}

/* 10. Trending Products Section */
.products-section {
    background-color: var(--bg-light);
}

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

.product-card {
    background: var(--white);
    border-radius: 10px;
    padding: 10px;
    position: relative;
    border: 1px solid #cbd5e1;
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-swiper .swiper-slide {
    height: auto;
}

.product-card:hover {
    border-color: #e2e8f0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);

}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-badge.badge-new {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.product-image {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-actions {
    display: none;
}

.product-card:hover .product-actions {
    display: none;
}

.product-actions a {
    display: none;
}

.product-actions a:hover {
    display: none;
}

.product-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    display: none;
}

.product-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a:hover {
    color: var(--secondary-color);
}

.product-rating {
    display: none;
}

.product-rating span {
    display: none;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.new-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-color);
}

.old-price {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: line-through;
}

.add-to-cart-btn {
    display: none;
}

.product-card:hover .add-to-cart-btn {
    display: none;
}
.mobile-only-product {
    display: none !important;
}
/* 11. Promo Banner Section */
.promo-banner {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 60px;
    overflow: hidden;
}

.promo-content {
    flex: 1;
    max-width: 500px;
}

.promo-subtitle {
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 14px;
    margin-bottom: 15px;
    display: inline-block;
}

.promo-banner h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.promo-banner p {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 30px;
    line-height: 1.6;
}

.countdown {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
}

.count-item {
    background: var(--white);
    width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.count-item h4 {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
}

.count-item span {
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 600;
}

.promo-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.promo-image img {
    max-width: 100%;
    height: 350px;
    object-fit: contain;
    mix-blend-mode: multiply;
    transform: scale(1.1);
}

/* Responsive updates for new sections */
@media (max-width: 992px) {
    .features-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .mobile-only-product {
        display: flex !important;
    }
    .promo-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    .promo-content {
        margin-bottom: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .promo-image {
        justify-content: center;
    }
    .promo-image img {
        height: 250px;
    }
}

@media (max-width: 768px) {


    
    .features-wrapper {
        grid-template-columns: repeat(2, 1fr);
        padding: 15px;
        gap: 15px;
    }
    .feature-box {
        gap: 10px;
    }
    .feature-box i {
        font-size: 24px;
    }
    .feature-text h4 {
        font-size: 13px;
    }
    .feature-text p {
        font-size: 11px;
    }
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .product-card {
        padding: 10px;
    }
    .product-category {
        display: none;
    }
    .product-title {
        font-size: 12px;
        margin-bottom: 6px;
    }
    .product-image {
        height: 130px;
        margin-bottom: 10px;
    }
    .product-rating {
        font-size: 10px;
        margin-bottom: 8px;
    }
    .product-price {
        margin-bottom: 10px;
    }
    .new-price {
        font-size: 14px;
    }
    .old-price {
        font-size: 11px;
    }
    .add-to-cart-btn {
        font-size: 11px;
        padding: 8px;
    }
    .product-badge {
        font-size: 9px;
        padding: 4px 8px;
    }
    .category-card {
        padding: 15px;
    }
    .cat-image {
        height: 120px;
    }
    .section-heading-center h2 {
        font-size: 24px;
    }
}


/* 12. Footer Section */
.footer {
    background-color: var(--primary-color);
    color: #e2e8f0;
    padding-top: 70px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
}
.footer-widget h4 {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-widget h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}
.footer-logo {
    margin-bottom: 20px;
}
.footer-logo a {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
}
.footer-logo a span {
    color: var(--secondary-color);
}
.about-widget p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #cbd5e1;
}
.contact-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #cbd5e1;
}
.contact-info i {
    color: var(--secondary-color);
    font-size: 16px;
    width: 20px;
}

/* Footer Support Pill Buttons & Social Row */
.footer-support-label {
    display: inline-block;
    color: #ef4444;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 8px 0 14px 0;
}

.footer-contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.footer-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 10px 24px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 50px;
    background: transparent;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
}

.footer-contact-pill:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.footer-contact-pill i {
    font-size: 16px;
    color: #ffffff;
    flex-shrink: 0;
}

.footer-contact-pill span {
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-social-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.footer-social-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-social-circle:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.footer-social-circle.fb {
    background-color: #1877F2;
}

.footer-social-circle.ig {
    background-color: #794334;
}

.footer-social-circle.yt {
    background-color: #FF0000;
}

.footer-social-circle.wa {
    background-color: #25D366;
}
.links-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.links-widget ul li {
    margin-bottom: 12px;
}
.links-widget ul li a {
    color: #cbd5e1;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.links-widget ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}
.newsletter-widget p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #cbd5e1;
}
.newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 25px;
}
.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 15px;
    color: var(--white);
    font-size: 14px;
}
.newsletter-form input:focus {
    outline: none;
}
.newsletter-form button {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 0 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.newsletter-form button:hover {
    background: var(--accent-color);
}
.social-icons {
    display: flex;
    gap: 12px;
}
.social-icons a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}
.footer-bottom {
    background-color: #0b1120;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.copyright {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
}
.payment-methods {
    display: flex;
    align-items: center;
    gap: 15px;
}
.payment-methods img {
    height: 20px;
    opacity: 0.8;
}

/* Footer Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .footer {
        padding-top: 35px;
    }
    .footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px 15px;
        padding-bottom: 25px;
    }
    .footer-widget.about-widget {
        grid-column: 1 / -1;
    }
    .footer-widget.quick-links-col,
    .footer-widget.categories-col {
        grid-column: span 1;
    }
    .footer-widget.newsletter-widget {
        grid-column: 1 / -1;
    }

    /* Support Contact Buttons: Side-by-Side on Mobile */
    .footer-contact-buttons {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        width: 100%;
        margin-top: 4px;
    }
    .footer-contact-pill {
        flex: 1 1 0%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        padding: 8px 10px;
        font-size: 12px;
        font-weight: 600;
        border-radius: 30px;
        box-sizing: border-box;
        min-width: 0;
    }
    .footer-contact-pill i {
        font-size: 12px;
        flex-shrink: 0;
    }
    .footer-contact-pill span {
        font-size: 11.5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Reduced Font Sizes Across Footer */
    .footer-logo img {
        max-height: 40px !important;
    }
    .about-widget p {
        font-size: 12.5px;
        line-height: 1.55;
        margin-bottom: 12px;
        color: #94a3b8;
    }
    .footer-support-label {
        font-size: 11px;
        letter-spacing: 2px;
        margin: 4px 0 8px 0;
    }
    .footer-social-row {
        gap: 8px;
        margin-top: 14px;
    }
    .footer-social-circle {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    .footer-widget h4 {
        font-size: 15px;
        margin-bottom: 14px;
        padding-bottom: 6px;
    }
    .footer-widget h4::after {
        width: 30px;
        height: 2px;
    }
    .links-widget ul li {
        margin-bottom: 8px;
    }
    .links-widget ul li a {
        font-size: 12.5px;
        color: #cbd5e1;
    }
    .newsletter-widget p {
        font-size: 12.5px;
        line-height: 1.55;
        margin-bottom: 12px;
    }
    .newsletter-form input {
        padding: 9px 12px;
        font-size: 12px;
    }
    .newsletter-form button {
        padding: 0 16px;
        font-size: 13px;
    }
    .footer-bottom {
        padding: 15px 0;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .copyright {
        font-size: 12px;
    }
    .payment-methods img {
        height: 18px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        gap: 20px 10px;
    }
    .footer-contact-buttons {
        gap: 6px;
    }
    .footer-contact-pill {
        padding: 7px 6px;
        gap: 5px;
    }
    .footer-contact-pill i {
        font-size: 11px;
    }
    .footer-contact-pill span {
        font-size: 11px;
    }
    .footer-widget h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }
    .links-widget ul li {
        margin-bottom: 6px;
    }
    .links-widget ul li a {
        font-size: 11.5px;
    }
    .about-widget p, .newsletter-widget p {
        font-size: 11.5px;
    }
    .copyright {
        font-size: 11px;
    }
}


/* 13. Featured Tabbed Section */
.featured-box {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 50px 30px 30px;
    position: relative;
    margin-top: 20px;
}
.featured-badge {
    position: absolute;
    top: -16px;
    left: 30px;
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.3);
}
.category-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 10px;
}
.category-tabs::-webkit-scrollbar {
    height: 4px;
}
.category-tabs::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.tab-btn {
    background: var(--white);
    border: 1px solid #cbd5e1;
    color: var(--text-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.tab-btn:hover {
    border-color: var(--primary-color);
}
.tab-btn.active {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    background: rgba(0, 210, 211, 0.05);
}

.ft-product-card {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    background: var(--white);
}
.ft-product-card:hover {
    border-color: #e2e8f0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.ft-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #2ecc71;
    color: var(--white);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}
.ft-image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden;
}
.ft-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.ft-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ft-price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.ft-old-price {
    color: #94a3b8;
    text-decoration: line-through;
    font-size: 13px;
}
.ft-new-price {
    color: #ff3b30;
    font-weight: 700;
    font-size: 16px;
}

.featured-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}
.see-all-btn {
    background: #000;
    color: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.see-all-btn:hover {
    background: #333;
}

/* Swiper navigation for Featured */
.featured-swiper {
    padding: 10px 0;
}
.ft-nav-next, .ft-nav-prev {
    width: 30px;
    height: 30px;
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    color: var(--text-color);
}
.ft-nav-next::after, .ft-nav-prev::after {
    font-size: 12px;
    font-weight: bold;
}
.ft-nav-next {
    right: 0px;
}
.ft-nav-prev {
    left: 0px;
}

.featured-header .see-all-btn {
    position: absolute;
    top: -16px;
    right: 30px;
    padding: 6px 20px;
    font-size: 14px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.3);
}

/* Mobile Responsive for Sections, Badges, and Boxes */
@media (max-width: 768px) {
    /* Reduce excessive vertical section gaps */
    .section-padding {
        padding: 8px 0 !important;
    }

    .hero-section {
        padding: 8px 0 4px 0 !important;
    }

    .features-section {
        padding: 6px 0 !important;
        margin-top: 0 !important;
    }

    .features-wrapper {
        padding: 12px 14px;
        gap: 10px;
        border-radius: 10px;
    }

    .container {
        padding: 0 12px;
    }

    .featured-box {
        display: flex;
        flex-direction: column;
        padding: 24px 10px 12px;
        position: relative;
        margin-top: 13px !important;
        border-radius: 10px;
    }
    
    .featured-header {
        display: contents;
    }
    
    .featured-badge {
        position: absolute;
        top: -13px;
        left: 14px;
        transform: none;
        font-size: 12px;
        padding: 4px 15px;
        border-radius: 20px;
        z-index: 5;
    }
    
    .category-tabs {
        order: 1;
        gap: 6px;
        margin-top: 2px;
        margin-bottom: 10px;
        padding-bottom: 4px;
    }
    
    .tab-btn {
        padding: 5px 12px;
        font-size: 11px;
        border-radius: 15px;
    }
    
    .tab-content {
        order: 2;
        width: 100%;
        min-width: 0;
    }
    
    .category-swiper,
    .featured-swiper,
    .product-swiper,
    .brands-grid,
    .swiper {
        order: 2;
        width: 100%;
        min-width: 0;
        margin-top: 0 !important;
        padding: 4px 0 !important;
    }
    
    .featured-header .see-all-btn {
        order: 3;
        position: static !important;
        align-self: flex-end;
        margin-top: 8px;
        margin-right: 0;
        font-size: 11px;
        padding: 5px 14px;
        border-radius: 20px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
        display: inline-flex;
        width: fit-content;
        z-index: 1;
    }
    
    .ft-product-card {
        padding: 8px;
    }
    .ft-image {
        height: 115px;
    }

    /* Promo Banner */
    .promo-section.section-padding {
        padding: 8px 0 14px 0 !important;
    }
    .promo-banner {
        padding: 22px 14px !important;
        border-radius: 10px !important;
    }
    .promo-content {
        margin-bottom: 20px !important;
    }
    .promo-image img {
        height: 180px !important;
    }
}

@media (max-width: 480px) {
    .site-header-logo,
    .logo img {
        max-height: 44px !important;
    }
    .logo a {
        font-size: 20px;
    }
    .section-padding {
        padding: 6px 0 !important;
    }
    .featured-box {
        padding: 22px 8px 10px;
        margin-top: 11px !important;
        border-radius: 8px;
    }
    .featured-badge {
        top: -12px;
        left: 10px;
        font-size: 11px;
        padding: 3px 12px;
    }
    .category-swiper,
    .featured-swiper,
    .product-swiper,
    .brands-grid,
    .swiper {
        padding: 2px 0 !important;
    }
}

/* 14. Shop by Brands Section */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 14px;
    margin-top: 15px;
}

.brand-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    transition: all 0.25s ease;
    overflow: hidden;
    text-decoration: none;
}

.brand-item:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.brand-item img {
    max-height: 52px;
    max-width: 95%;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.brand-item:hover img {
    transform: scale(1.06);
}

@media (max-width: 1200px) {
    .brands-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 10px;
    }
    .brand-item {
        height: 66px;
        padding: 5px 10px;
    }
    .brand-item img {
        max-height: 48px;
    }
}

@media (max-width: 992px) {
    .brands-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
    }
    .brand-item {
        height: 62px;
        padding: 5px 8px;
    }
    .brand-item img {
        max-height: 44px;
    }
}

@media (max-width: 768px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px;
        margin-top: 10px;
    }
    .brand-item {
        height: 58px;
        padding: 5px 8px;
    }
    .brand-item img {
        max-height: 40px;
    }
    .brand-item:nth-child(n+10) {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px;
    }
    .brand-item {
        height: 54px;
        padding: 4px 6px;
    }
    .brand-item img {
        max-height: 36px;
    }
    .brand-item:nth-child(n+10) {
        display: none !important;
    }
}


/* =========================================
   15. Product Details Page
   ========================================= */

.breadcrumb-container {
    background: #f8fafc;
    padding: 15px 0;
    margin-bottom: 30px;
}

.breadcrumb {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb li {
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.breadcrumb li a {
    color: var(--text-main);
    transition: color 0.3s;
}

.breadcrumb li a:hover {
    color: var(--primary-color);
}

.breadcrumb li.active {
    color: var(--primary-color);
    font-weight: 600;
}

.breadcrumb li i {
    font-size: 10px;
    color: #cbd5e1;
}

.product-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* Gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image-container {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.main-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.main-image-container .product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 14px;
    padding: 8px 15px;
    z-index: 10;
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
    gap: 12px;
}

.thumb-item {
    background: var(--white);
    border-radius: 8px;
    padding: 10px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #cbd5e1;
}

.thumb-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.thumb-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Product Info */
.product-info-content {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
}

.product-page-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.product-meta .rating {
    color: #f59e0b;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-meta .rating span {
    color: var(--text-light);
    margin-left: 5px;
}

.stock-status {
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 30px;
    white-space: nowrap;
}

.stock-status.in-stock {
    color: #10b981;
    background: #ecfdf5;
}

.product-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.product-feature-list li {
    font-size: 14px;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}
.product-feature-list li i {
    color: #10b981; /* Green checkmark */
    font-size: 14px;
    margin-top: 3px;
}

.product-page-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.product-page-price .new-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-color);
}

.product-page-price .old-price {
    font-size: 18px;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-short-desc {
    color: var(--text-main);
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 14px;
}

.product-actions-form {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 0;
    border: 1px solid #e2e8f0;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.qty-label {
    font-weight: 600;
    color: var(--primary-color);
}

.qty-controls {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #f1f5f9;
}

.qty-input {
    width: 50px;
    height: 40px;
    border: none;
    border-left: 1px solid #cbd5e1;
    border-right: 1px solid #cbd5e1;
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
}

.qty-input:focus {
    outline: none;
}

.action-buttons {
    display: flex;
    gap: 15px;
}

.action-buttons button {
    flex: 1;
    padding: 12px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.add-to-cart-lg {
    background: var(--secondary-color);
    color: var(--white);
}

.add-to-cart-lg:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.buy-now-lg {
    background: var(--primary-color);
    color: var(--white);
}

.buy-now-lg:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.product-features-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 15px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
}

.feature-item .icon {
    width: 40px;
    height: 40px;
    background: #eef2ff;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.feature-item .text h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.feature-item .text p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

/* Product Tabs Section */
.product-tabs-section {
    padding: 50px 0;
    background: var(--white);
}

.product-tabs-container {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.tabs-header {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.product-tab-btn {
    flex: 1;
    padding: 18px 20px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.3s;
}

.product-tab-btn:hover {
    color: var(--primary-color);
}

.product-tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: var(--white);
}

.product-tab-content {
    display: none;
    padding: 30px;
    animation: fadeIn 0.4s;
}

.product-tab-content.active {
    display: block;
}

.product-tab-content h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.product-tab-content p {
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 15px;
}

.product-tab-content ul {
    padding-left: 20px;
    color: var(--text-main);
    line-height: 1.7;
}

.product-tab-content ul li {
    margin-bottom: 10px;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table th, .spec-table td {
    padding: 15px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.spec-table th {
    background: #f8fafc;
    width: 30%;
    font-weight: 600;
    color: var(--primary-color);
}

.spec-table td {
    color: var(--text-main);
}

.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 20px;
}

.review-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-info .avatar {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.reviewer-info h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: var(--primary-color);
}

.reviewer-info .date {
    font-size: 13px;
    color: var(--text-light);
}

.review-item p {
    margin: 0;
}

/* Related Products */
.related-products {
    padding: 20px 0 60px 0;
}

@media (max-width: 992px) {
    .product-details-grid {
        grid-template-columns: 1fr;
    }
    
    .product-page-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {


    
    .product-page-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .action-buttons button {
        padding: 12px 10px;
        font-size: 14px;
        gap: 5px;
    }
    
    .main-image-container {
        height: 280px;
        padding: 10px;
    }

    .thumbnail-gallery {
        grid-template-columns: repeat(auto-fill, minmax(55px, 1fr));
        gap: 8px;
    }

    .thumb-item {
        height: 60px;
        padding: 5px;
    }
    
    .product-features-list {
        gap: 10px;
    }
    
    .feature-item {
        padding: 12px;
        gap: 12px;
    }
    
    .feature-item .icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .feature-item .text h4 {
        font-size: 14px;
        margin-bottom: 2px;
    }
    
    .feature-item .text p {
        font-size: 12px;
    }

    .product-tabs-section {
        padding: 20px 0;
    }
    
    .tabs-header {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        border-bottom: 1px solid #e2e8f0;
        scrollbar-width: none; /* Firefox */
    }
    
    .tabs-header::-webkit-scrollbar {
        display: none; /* Chrome */
    }
    
    .product-tab-btn {
        flex: 0 0 auto;
        padding: 12px 20px;
        font-size: 14px;
        border-left: none;
        border-bottom: 3px solid transparent;
        text-align: center;
    }
    
    .product-tab-btn.active {
        border-left-color: transparent;
        border-bottom-color: var(--primary-color);
    }
    
    .product-tab-content {
        padding: 20px 15px;
    }
}

/* Variations */
.product-variations {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.variation-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.variation-label .selected-val {
    font-weight: 600;
    color: var(--text-main);
    font-size: 13px;
    margin-left: 5px;
}

.variation-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.var-btn {
    border: 1px solid #cbd5e1;
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    padding: 0;
}

.color-btn.active {
    box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--primary-color);
    border-color: transparent;
}

.text-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

.text-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.text-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* =========================================
   16. Shopping Cart Page
   ========================================= */
.page-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.cart-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.cart-items-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    gap: 20px;
    transition: all 0.3s;
}

.cart-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border-color: #cbd5e1;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: #f8fafc;
    flex-shrink: 0;
}

.cart-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.cart-item-title a {
    color: var(--primary-color);
    transition: color 0.3s;
}

.cart-item-title a:hover {
    color: var(--accent-color);
}

.cart-item-variants {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.cart-item-price-mobile {
    display: none;
    font-weight: 700;
    color: var(--accent-color);
    font-size: 16px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.cart-qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    overflow: hidden;
    height: 30px;
}

.cart-qty-btn {
    width: 28px;
    height: 100%;
    background: var(--white);
    border: none;
    cursor: pointer;
    color: var(--text-main);
    transition: background 0.2s;
    font-size: 12px;
}

.cart-qty-btn:hover {
    background: #f1f5f9;
}

.cart-qty-input {
    width: 35px;
    height: 100%;
    border: none;
    border-left: 1px solid #cbd5e1;
    border-right: 1px solid #cbd5e1;
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 13px;
}

.cart-item-price-desktop {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 16px;
    width: 90px;
    text-align: right;
}

.cart-remove-btn {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    background: #fef2f2;
    color: #ef4444;
    border: 1px solid #fca5a5;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.cart-remove-btn:hover {
    background: #ef4444;
    color: var(--white);
    border-color: #ef4444;
}

.cart-footer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    flex-wrap: wrap;
    gap: 15px;
}

.coupon-box {
    display: flex;
    gap: 8px;
}

.coupon-box input {
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    outline: none;
    width: 180px;
    font-size: 13px;
}

.coupon-box input:focus {
    border-color: var(--primary-color);
}

.coupon-box .btn {
    padding: 8px 15px;
    font-size: 13px;
    border-radius: 4px;
}

.btn-outline {
    border: 1px solid #cbd5e1;
    color: var(--text-main);
    background: var(--white);
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: #f1f5f9;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Order Summary */
.cart-summary {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    height: fit-content;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.cart-summary h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    color: var(--text-main);
    font-size: 14px;
}

.summary-row.shipping-options {
    flex-direction: column;
    gap: 8px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.shipping-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2px;
    font-size: 14px;
}

.shipping-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-main);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    padding-top: 15px;
    border-top: 1px solid #cbd5e1;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-color);
}

.checkout-btn {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    transition: background 0.3s;
}

.checkout-btn:hover {
    background: var(--secondary-color);
}

.secure-checkout {
    text-align: center;
    font-size: 13px;
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.fw-bold {
    font-weight: 700;
}

/* Cart Mobile Responsive */
@media (max-width: 992px) {
    .cart-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {


    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        position: relative;
    }
    
    .cart-item-image {
        width: 80px;
        height: 80px;
        position: absolute;
        top: 20px;
        left: 20px;
    }
    
    .cart-item-details {
        padding-left: 100px;
        min-height: 80px;
        width: 100%;
    }
    
    .cart-item-price-desktop {
        display: none;
    }
    
    .cart-item-price-mobile {
        display: block;
        margin-top: 5px;
    }
    
    .cart-item-actions {
        width: 100%;
        justify-content: space-between;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #f1f5f9;
    }
    
    .cart-footer-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .coupon-box {
        width: 100%;
    }
    
    .coupon-box input {
        flex: 1;
    }
    
    .btn-outline {
        text-align: center;
    }
}

/* =========================================
   17. Checkout Page
   ========================================= */
.checkout-section {
    padding-bottom: 60px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.checkout-box {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.checkout-box-title {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group {
    margin-bottom: 18px;
    width: 100%;
}

.form-group.half {
    flex: 1;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.form-group label span {
    color: #ef4444;
}

.form-group label span.optional {
    color: var(--text-light);
    font-weight: 400;
    font-size: 12px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-main);
    background: #f8fafc;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.05);
}

textarea.form-control {
    resize: vertical;
}

/* Checkout Summary */
.checkout-summary {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    position: sticky;
    top: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.checkout-summary .checkout-box-title {
    margin-bottom: 15px;
    font-size: 16px;
    padding-bottom: 10px;
}

.checkout-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.checkout-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkout-item .item-img {
    width: 50px;
    height: 50px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-item .item-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.checkout-item .item-info {
    flex: 1;
}

.checkout-item .item-info h4 {
    font-size: 13px;
    color: var(--text-main);
    margin-bottom: 2px;
    line-height: 1.3;
}

.checkout-item .item-info small {
    color: var(--text-light);
    font-size: 11px;
    display: block;
    margin-bottom: 4px;
}

.item-qty-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-qty-price .qty {
    font-size: 12px;
    color: var(--text-main);
    font-weight: 600;
}

.item-qty-price .price {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 14px;
}

.checkout-qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    overflow: hidden;
    height: 24px;
}

.checkout-qty-btn {
    width: 24px;
    height: 100%;
    background: var(--white);
    border: none;
    cursor: pointer;
    color: var(--text-main);
    font-size: 10px;
    transition: background 0.2s;
}

.checkout-qty-btn:hover {
    background: #f1f5f9;
}

.checkout-qty-input {
    width: 30px;
    height: 100%;
    border: none;
    border-left: 1px solid #cbd5e1;
    border-right: 1px solid #cbd5e1;
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 12px;
}

/* Coupon */
.checkout-coupon {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.coupon-toggle {
    font-size: 13px;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.coupon-toggle i {
    color: var(--accent-color);
}

.coupon-form {
    display: none;
    margin-top: 10px;
    gap: 10px;
}

.coupon-form.active {
    display: flex;
}

.coupon-form input {
    flex: 1;
    padding: 8px 12px;
}

.coupon-form button {
    padding: 8px 15px;
}

.summary-totals {
    margin-bottom: 20px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--text-main);
}

.summary-line.discount-line {
    color: #10b981;
}

.summary-total-line {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #cbd5e1;
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-color);
}

.payment-title {
    font-size: 15px;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-box {
    display: block;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 10px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-box.active {
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.pay-header {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid transparent;
}

.payment-box.active .pay-header {
    border-bottom-color: #e2e8f0;
}

.pay-header input[type="radio"] {
    margin-right: 10px;
    accent-color: var(--primary-color);
}

.pay-name {
    flex: 1;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-main);
}

.pay-icon {
    color: var(--primary-color);
    font-size: 16px;
}

.pay-icon-img {
    height: 16px;
    object-fit: contain;
}

.pay-body {
    padding: 12px;
    font-size: 12px;
    color: var(--text-light);
}

.pay-body p {
    margin-bottom: 5px;
}

.trx-input {
    margin-top: 8px;
    padding: 8px 12px;
    font-size: 12px;
}

.place-order-btn {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border-radius: 6px;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-summary {
        position: static;
    }
}

@media (max-width: 576px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* =========================================
   18. Shop Page
   ========================================= */
.shop-section {
    padding-bottom: 60px;
}

.shop-layout {
    display: flex;
    gap: 30px;
}

/* Sidebar */
.shop-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sidebar-widget {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.sidebar-widget .widget-title {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 700;
}

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

.category-list li {
    margin-bottom: 10px;
}

.category-list li:last-child {
    margin-bottom: 0;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    color: var(--text-main);
    font-size: 14px;
    transition: color 0.3s;
}

.category-list a:hover {
    color: var(--accent-color);
}

.category-list a span {
    color: var(--text-light);
    font-size: 12px;
}

.price-filter {
    padding-top: 5px;
}

.price-range {
    width: 100%;
    accent-color: var(--primary-color);
}

.price-values {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-main);
    font-weight: 600;
}

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

.brand-list li {
    margin-bottom: 10px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-main);
    cursor: pointer;
}

.custom-checkbox input {
    accent-color: var(--primary-color);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Shop Main */
.shop-main {
    flex: 1;
}

.shop-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 25px;
}

.results-count {
    color: var(--text-main);
    font-size: 14px;
    margin: 0;
}

.sort-by .form-control {
    padding: 8px 12px;
    width: auto;
    font-size: 13px;
    cursor: pointer;
}

.shop-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.pagination a:hover,
.pagination a.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

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

@media (max-width: 992px) {
    .shop-layout {
        flex-direction: column;
    }
    
    .shop-sidebar {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .sidebar-widget {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {


    
    .shop-sidebar {
        grid-template-columns: 1fr;
    }
    
    .shop-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .shop-topbar {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

/* Mobile Filter Button and Sidebar Drawer */
.sidebar-header-mobile {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.sidebar-header-mobile h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin: 0;
}

.close-sidebar-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-main);
    cursor: pointer;
}

.mobile-filter-btn {
    display: none;
    background: var(--white);
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    align-items: center;
    gap: 8px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.sidebar-overlay.active {
    display: block;
}

/* Media Query Overrides */
@media (max-width: 992px) {
    .shop-sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100%;
        background: var(--white);
        z-index: 1001;
        overflow-y: auto;
        padding: 25px 20px;
        display: block;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }
    
    .shop-sidebar.active {
        left: 0;
    }
    
    .sidebar-header-mobile {
        display: flex;
    }
    
    .mobile-filter-btn {
        display: flex;
    }

    .shop-layout {
        display: block;
    }
}

@media (max-width: 768px) {


    
    .shop-topbar {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .topbar-left {
        width: 100%;
        justify-content: space-between;
    }
    .sort-by {
        width: 100%;
    }
    .sort-by .form-control {
        width: 100%;
    }
}

/* Mobile Gap Reduction for Shop Page */
@media (max-width: 768px) {


    
    .shop-section.section-padding {
        padding-top: 10px;
    }
        .breadcrumb-container {
        margin-bottom: 15px;
        padding: 12px 0;
    }
    .breadcrumb {
        font-size: 13px;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        padding-bottom: 2px;
    }
    .breadcrumb::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }
    .breadcrumb li {
        white-space: nowrap;
    }
    .shop-topbar {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {

    .product-details-grid {
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .product-info-content {
        padding: 18px;
        border-radius: 12px;
        box-shadow: 0 2px 15px rgba(0,0,0,0.04);
    }
    
    .product-page-title {
        font-size: 20px;
        line-height: 1.3;
        margin-bottom: 8px;
    }
}

@media (max-width: 768px) {
    .product-meta {
        gap: 12px;
        flex-wrap: wrap;
        margin-bottom: 15px;
        padding-bottom: 12px;
    }
    .product-meta .rating {
        font-size: 13px;
        flex-wrap: wrap;
    }
    .product-meta .rating span {
        margin-left: 2px;
        font-size: 12px;
    }
}


/* Dynamic Cart Classes */
.dyn-qty-btn { width: 28px; height: 100%; background: var(--white); border: none; cursor: pointer; color: var(--text-main); transition: background 0.2s; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.dyn-qty-btn:hover { background: #f1f5f9; }
.dyn-qty-input { width: 35px; height: 100%; border: none; border-left: 1px solid #cbd5e1; border-right: 1px solid #cbd5e1; text-align: center; font-size: 14px; font-weight: 600; outline: none; background: transparent; }
.dyn-remove-btn { width: 35px; height: 35px; border-radius: 5px; border: 1px solid #fee2e2; background: #fef2f2; color: #ef4444; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; }
.dyn-remove-btn:hover { background: #ef4444; color: #ffffff; }

.w-100 { width: 100%; display: block; text-align: center; }

.dyn-place-order-btn { width: 100%; padding: 12px; font-size: 14px; border-radius: 6px; margin-top: 15px; cursor: pointer; border: none; transition: all 0.3s ease; }
.dyn-place-order-btn:hover { background-color: #1d4ed8; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2); }

/* Sticky Floating Chat Widget Responsive */
@media (max-width: 768px) {
    .sticky-chat-widget {
        bottom: 20px;
        right: 18px;
        gap: 10px;
    }
    .chat-main-btn {
        width: 46px;
        height: 46px;
        font-size: 20px;
        box-shadow: 0 3px 12px rgba(16, 172, 132, 0.35);
    }
    .chat-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
        box-shadow: 0 3px 8px rgba(0,0,0,0.12);
    }
    .chat-options {
        gap: 8px;
        transform: translateY(14px);
    }
}

@media (max-width: 480px) {
    .sticky-chat-widget {
        bottom: 16px;
        right: 14px;
        gap: 8px;
    }
    .chat-main-btn {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
    .chat-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

