/* ===== VARIABLES ===== */
:root {
    --primary: #FBCC34;
    --primary-dark: #e5b82e;
    --dark: #1a1a2e;
    --dark-2: #16213e;
    --text: #333333;
    --text-light: #666666;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --font: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font);
    color: var(--text);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--dark);
    color: #ccc;
    padding: 8px 0;
    font-size: 13px;
}

.top-bar .top-contact span {
    color: #ccc;
}

.top-bar .top-links a {
    color: #ccc;
    margin-left: 12px;
    font-size: 15px;
}

.top-bar .top-links a:hover {
    color: var(--primary);
}

/* ===== NAVBAR ===== */
.navbar {
    padding: 12px 0;
    z-index: 1050;
}

.logo-img {
    height: 50px;
    width: auto;
}

.navbar .nav-link {
    font-weight: 600;
    color: var(--text);
    padding: 8px 18px !important;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary-dark);
}

.mega-menu {
    min-width: 600px;
    border: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
}

.mega-dropdown {
    position: static;
}

@media (max-width: 991px) {
    .mega-dropdown {
        position: relative;
    }

    .mega-dropdown .mega-menu {
        position: static;
        width: 100%;
        min-width: 100%;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        border-top: 1px solid rgba(0,0,0,0.1);
        padding: 10px 0;
    }

    .mega-dropdown .mega-menu .row {
        margin: 0;
    }

    .mega-dropdown .mega-menu [class*="col-"] {
        width: 100%;
        padding: 0;
    }
}

.mega-menu .dropdown-item {
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 6px;
    font-weight: 500;
}

.mega-menu .dropdown-item:hover {
    background: var(--primary);
    color: var(--dark);
}

.mega-menu .dropdown-item i {
    color: var(--primary-dark);
    font-size: 16px;
}

.mega-menu .dropdown-item:hover i {
    color: var(--dark);
}

.nav-right .btn {
    font-size: 14px;
    font-weight: 500;
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel {
    position: relative;
}

.hero-carousel .carousel-item {
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(22, 33, 62, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
   
    color: var(--white);
    max-width: 700px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-shop {
    background: var(--primary);
    color: var(--dark);
    font-weight: 700;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: all 0.3s ease;
}

.btn-shop:hover {
    background: var(--primary-dark);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 204, 52, 0.4);
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    margin: 0 20px;
}

.carousel-indicators [data-bs-target] {
    width: 16px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.5);
}
.carousel-indicators [data-bs-target].active {
    background: var(--primary);
}

/* ===== SECTION STYLES ===== */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    font-size: 16px;
    margin-top: 16px;
}

/* ===== FREE DELIVERY BANNER ===== */
.delivery-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    position: relative;
    overflow: hidden;
}

.delivery-section .container {
    position: relative;
    z-index: 2;
}

.delivery-content {
    color: var(--white);
    padding: 40px 0;
}

.delivery-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
}

.delivery-content h2 span {
    color: var(--primary);
}

.delivery-content p {
    font-size: 18px;
    opacity: 0.85;
    margin-bottom: 25px;
}

.delivery-img-wrapper {
    position: relative;
    text-align: center;
}

.delivery-img-wrapper img {
    max-height: 350px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.btn-download {
    background: var(--primary);
    color: var(--dark);
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: var(--primary-dark);
    color: var(--dark);
    transform: translateY(-2px);
}

/* ===== HOW TO ORDER ===== */
.how-to-order {
    background: var(--light-bg);
}

.order-method-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.order-method-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.order-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--dark);
}

.order-method-card h5 {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.order-method-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 0;
}

/* ===== POPULAR PRODUCTS ===== */
.product-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.product-card .card-img-top {
    height: 270px;
    object-fit: cover;
}

.product-card .card-body {
    padding: 20px;
}

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

.product-card .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
}

.product-card .btn-add-cart {
    background: var(--primary);
    color: var(--dark);
    border: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.product-card .btn-add-cart:hover {
    background: var(--primary-dark);
}

.no-products {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
    font-size: 16px;
}

/* View More Button */
.btn-view-more {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--primary);
    font-weight: 600;
    font-size: 16px;
    padding: 12px 32px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-view-more:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(251, 204, 52, 0.3);
}

.btn-view-more i {
    transition: transform 0.3s ease;
}

.btn-view-more:hover i {
    transform: translateX(5px);
}

/* ===== CATEGORIES ===== */
.categories-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.section-subtitle {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--dark);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 12px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .categories-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
    .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 15px; }
}
@media (max-width: 480px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

.category-card-link {
    text-decoration: none;
    display: block;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card-link.category-hidden {
    display: none;
}

.category-card-link.category-showing {
    animation: categoryFadeIn 0.5s ease forwards;
}

@keyframes categoryFadeIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.category-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px 16px 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
}

.category-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-dark);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    border: 1px solid rgba(251, 204, 52, 0.2);
}

.category-icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
    z-index: 1;
}

.category-card:hover .category-icon {
    color: var(--dark);
    background: transparent;
    border-color: transparent;
}

.category-card:hover .category-icon-bg {
    transform: translate(-50%, -50%) scale(1);
}

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

.category-card h6 {
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 0;
    line-height: 1.3;
}

.category-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #f5f5f5;
    border-radius: 50%;
    color: #999;
    font-size: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.category-card:hover .category-arrow {
    opacity: 1;
    transform: translateY(0);
    background: var(--primary);
    color: var(--dark);
}

/* Load More Button */
.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--dark);
    border: 2px solid #e0e0e0;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 32px;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-load-more:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 204, 52, 0.3);
}

.btn-load-more .btn-count {
    color: #888;
    font-weight: 400;
    font-size: 13px;
    transition: color 0.3s ease;
}

.btn-load-more:hover .btn-count {
    color: var(--dark);
}

.btn-load-more i {
    transition: transform 0.3s ease;
}

.btn-load-more:hover i {
    transform: translateY(3px);
}

.btn-load-more.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-load-more.loading i {
    animation: bounce 0.6s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: var(--white);
}

.about-img {
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.about-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-content {
    padding-left: 40px;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
}

.about-content h2 span {
    color: var(--primary-dark);
}

.about-content p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.about-features li {
    padding: 8px 0;
    font-weight: 500;
    color: var(--text);
}

.about-features li i {
    color: var(--primary-dark);
    margin-right: 10px;
    font-size: 18px;
}

/* ===== BUSINESS ACCOUNT CTA ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 16px;
    color: var(--dark);
    opacity: 0.8;
    margin-bottom: 25px;
}

.btn-cta {
    background: var(--dark);
    color: var(--white);
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: var(--dark-2);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ===== FOOTER ===== */
.footer-section {
    background: var(--dark);
    color: #ccc;
}

.footer-top {
    padding: 60px 0 30px;
}

.footer-logo {
    height: 45px;
    filter: brightness(0) invert(1);
}

.footer-widget h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: #aaa;
    font-size: 14px;
}

.footer-links li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact li i {
    color: var(--primary);
    font-size: 16px;
}

.footer-contact li a,
.footer-contact li span {
    color: #aaa;
    font-size: 14px;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    margin-right: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    font-size: 14px;
}

.back-to-top-link {
    color: var(--primary);
    font-weight: 500;
    font-size: 14px;
}

.back-to-top-link:hover {
    color: var(--primary-dark);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--dark);
}

.back-to-top.show {
    display: flex;
}

/* ===== ORDER INFO BANNER ===== */
.order-info-note {
    background: var(--primary);
    color: var(--dark);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    margin-top: 30px;
}

.order-info-note i {
    font-size: 20px;
    margin-right: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-carousel .carousel-item {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .delivery-content h2 {
        font-size: 30px;
    }

    .about-content {
        padding-left: 0;
        margin-top: 30px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .top-bar {
        display: none;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    /* Navbar mobile adjustments */
    .navbar-nav {
        padding: 10px 0;
    }

    .nav-right {
        margin-top: 15px;
        justify-content: center;
        gap: 10px;
    }

    .nav-right .btn {
        flex: 1;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .hero-carousel .carousel-item {
        height: 350px;
    }

    .hero-content h1 {
        font-size: 22px;
    }

    .section-padding {
        padding: 50px 0;
    }

    .delivery-content {
        text-align: center;
    }

    .about-content h2 {
        font-size: 26px;
    }
}

/* =========================================
   SHOP PAGE
   ========================================= */

/* Search & Controls */
.search-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.search-box {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 420px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    padding: 10px 18px;
    background: var(--white);
    transition: border-color 0.3s ease;
}

.search-box:focus-within {
    border-color: var(--primary);
}

.search-icon {
    color: var(--text-light);
    margin-right: 10px;
    font-size: 16px;
}

.search-input {
    width: 100%;
    border: none;
    outline: none;
    font-family: var(--font);
    font-size: 15px;
    background: transparent;
}

.btn-clear-search {
    color: #999;
    font-size: 14px;
    margin-left: 8px;
}

.btn-clear-search:hover {
    color: #e74c3c;
}

.limit-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-light);
    flex-shrink: 0;
}

.limit-selector label {
    font-weight: 600;
    color: var(--dark);
    margin-right: 4px;
}

.limit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    background: #f0f0f0;
    border: 2px solid transparent;
}

.limit-btn:hover {
    background: #fff8e1;
    color: var(--dark);
    border-color: var(--primary);
}

.limit-btn.active {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
}

/* Mobile Filter Button */
.category-filter-btn {
    display: block;
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    background: var(--primary);
    color: var(--dark);
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    font-family: var(--font);
    cursor: pointer;
    transition: background 0.3s ease;
}

.category-filter-btn:hover {
    background: var(--primary-dark);
}

/* Shop Layout */
.shop-layout {
    display: flex;
    gap: 30px;
}

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

.sidebar-widget {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 100px;
}

.sidebar-widget h5 {
    font-weight: 700;
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

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

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

.category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.category-list li a:hover {
    background: #fff8e1;
    color: var(--dark);
}

.category-list li a.active {
    background: var(--primary);
    color: var(--dark);
    font-weight: 700;
}

.cat-count {
    background: #f0f0f0;
    color: var(--text-light);
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
}

.category-list li a.active .cat-count {
    background: rgba(0, 0, 0, 0.15);
    color: var(--dark);
}

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

/* Active Filters */
.active-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff8e1;
    border: 1px solid var(--primary);
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
}

.filter-tag a {
    color: var(--dark);
    font-size: 14px;
}

.filter-tag a:hover {
    color: #e74c3c;
}

.clear-all-filters {
    font-size: 13px;
    color: #e74c3c;
    font-weight: 600;
}

.clear-all-filters:hover {
    color: #c0392b;
}

/* Results Info */
.results-info {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 500;
}

/* Product Grid */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

/* Product Card */
.shop-product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.shop-product-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.shop-product-img {
    height: 180px;
    overflow: hidden;
    background: #f5f5f5;
}

.shop-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.shop-product-card:hover .shop-product-img img {
    transform: scale(1.08);
}

.shop-product-info {
    padding: 16px;
}

.product-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-dark);
    background: rgba(251, 204, 52, 0.15);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.shop-product-info h6 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
}

.btn-add-to-cart {
    background: var(--primary);
    color: var(--dark);
    border: none;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-to-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Sale Badge */
.sale-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
    letter-spacing: 0.3px;
}

.shop-product-card {
    position: relative;
}

/* Brand name */
.product-brand {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
}

/* Old price (strikethrough) */
.product-price-old {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-right: 6px;
}

/* Pagination dots */
.page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 40px;
    font-size: 14px;
    color: var(--text-light);
}

/* No Products */
.no-products-found {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.no-products-found i {
    font-size: 50px;
    color: #ddd;
    margin-bottom: 15px;
    display: block;
}

.no-products-found h4 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.no-products-found p {
    margin-bottom: 20px;
}

/* Pagination */
.shop-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 35px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    background: #f0f0f0;
    transition: all 0.2s ease;
}

.page-btn:hover {
    background: #fff8e1;
    color: var(--dark);
}

.page-btn.active {
    background: var(--primary);
    color: var(--dark);
    font-weight: 700;
}

/* ── Mobile Category Modal ── */
.category-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: flex-end;
}

.category-modal-overlay.open {
    display: flex;
}

.category-modal-content {
    background: var(--white);
    width: 100%;
    max-height: 70vh;
    border-radius: 20px 20px 0 0;
    padding: 25px;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

.category-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.category-modal-header h5 {
    font-weight: 700;
    margin: 0;
    color: var(--dark);
}

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

.modal-close-btn:hover {
    color: #e74c3c;
}

.category-modal-content .category-list li a {
    padding: 14px 16px;
    font-size: 16px;
}

/* ── Shop Page Responsive ── */
@media (max-width: 991px) {
    .shop-layout {
        flex-direction: column;
    }

    .shop-sidebar {
        width: 100%;
    }

    .limit-selector {
        display: none;
    }

    .search-container {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .shop-product-img {
        height: 140px;
    }

    .shop-product-info {
        padding: 12px;
    }

    .shop-product-info h6 {
        font-size: 13px;
    }

    .product-price {
        font-size: 16px;
    }

    .btn-add-to-cart {
        padding: 5px 10px;
        font-size: 12px;
    }

    .product-category {
        font-size: 10px;
    }
}

@media (max-width: 400px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   CART PAGE
   ========================================= */

/* Cart Table Wrapper */
.cart-table-wrapper {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow-x: auto;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.cart-table thead {
    background: var(--dark);
    color: var(--white);
}

.cart-table thead th {
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.cart-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

.cart-table tbody tr:hover {
    background: #fafafa;
}

.cart-table td {
    padding: 16px;
    vertical-align: middle;
}

/* Cart Product Image */
.cart-product-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
}

/* Cart Product Info */
.cart-product-cell h6 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
    line-height: 1.3;
}

.cart-brand {
    display: block;
    font-size: 12px;
    color: var(--text-light);
}

.cart-category {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary-dark);
    background: rgba(251, 204, 52, 0.15);
    padding: 2px 8px;
    border-radius: 12px;
    margin-top: 4px;
}

/* Cart Price Cell */
.cart-price-cell {
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
    white-space: nowrap;
}

/* Quantity Control */
.qty-control {
    display: inline-flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    width: 36px;
    height: 36px;
    background: #f5f5f5;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: var(--dark);
    transition: background 0.2s ease;
}

.qty-btn:hover {
    background: var(--primary);
}

.qty-input {
    width: 48px;
    height: 36px;
    border: none;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    font-family: var(--font);
    outline: none;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Cart Total Cell */
.cart-total-cell {
    font-weight: 700;
    font-size: 16px;
    color: var(--dark);
    white-space: nowrap;
}

/* Remove Button */
.btn-remove-item {
    background: none;
    border: none;
    color: #ccc;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.btn-remove-item:hover {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

/* Cart Actions Row */
.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-continue-shopping {
    background: var(--dark);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    border: none;
}

.btn-continue-shopping:hover {
    background: #333;
    color: var(--white);
}

.btn-clear-cart {
    background: none;
    border: 2px solid #e0e0e0;
    color: var(--text-light);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    font-family: var(--font);
    transition: all 0.2s ease;
}

.btn-clear-cart:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

/* ── Order Summary ── */
.cart-summary {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 100px;
}

.cart-summary h5 {
    font-weight: 700;
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 15px;
}

.summary-row span:first-child {
    color: var(--text-light);
    font-weight: 500;
}

.summary-value {
    font-weight: 700;
    color: var(--dark);
}

.shipping-free {
    color: #2ecc71;
    font-weight: 700;
}

.summary-divider {
    height: 2px;
    background: #f0f0f0;
    margin: 10px 0;
}

.total-row span:first-child {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.total-row .summary-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
}

.btn-checkout {
    display: block;
    width: 100%;
    background: var(--primary);
    color: var(--dark);
    padding: 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    border: none;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn-checkout:hover {
    background: var(--primary-dark);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(251, 204, 52, 0.4);
}

.shipping-note {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-light);
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.shipping-note i {
    color: var(--primary-dark);
    margin-right: 4px;
}

/* ── Empty Cart ── */
.empty-cart {
    text-align: center;
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.empty-cart-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(251, 204, 52, 0.15) 0%, rgba(251, 204, 52, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.empty-cart-icon i {
    font-size: 44px;
    color: var(--primary-dark);
}

.empty-cart h3 {
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.empty-cart p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.specialty-form {
    margin-top: 25px;
}

.specialty-textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: var(--font);
    font-size: 14px;
    resize: vertical;
    transition: border-color 0.3s ease;
    outline: none;
}

.specialty-textarea:focus {
    border-color: var(--primary);
}

.specialty-form-actions {
    margin-top: 16px;
}

.btn-shop-now {
    background: var(--primary);
    color: var(--dark);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    border: none;
}

.btn-shop-now:hover {
    background: var(--primary-dark);
    color: var(--dark);
    transform: translateY(-2px);
}

/* ── Cart Toast Notification ── */
.cart-toast {
    position: fixed;
    top: 90px;
    right: 20px;
    background: var(--dark);
    color: var(--white);
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    z-index: 9999;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transform: translateX(120%);
    transition: transform 0.3s ease;
}

.cart-toast.show {
    transform: translateX(0);
}

.cart-toast.success {
    border-left: 4px solid #2ecc71;
}

.cart-toast.error {
    border-left: 4px solid #e74c3c;
}

.cart-toast i {
    font-size: 16px;
}

.cart-toast.success i {
    color: #2ecc71;
}

.cart-toast.error i {
    color: #e74c3c;
}

/* ── Cart Page Responsive ── */
@media (max-width: 991px) {
    .cart-summary {
        position: static;
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .cart-table thead th {
        font-size: 11px;
        padding: 10px 8px;
    }

    .cart-table td {
        padding: 12px 8px;
    }

    .cart-product-img {
        width: 50px;
        height: 50px;
    }

    .cart-product-cell h6 {
        font-size: 12px;
    }

    .qty-btn {
        width: 30px;
        height: 30px;
    }

    .qty-input {
        width: 38px;
        height: 30px;
        font-size: 13px;
    }

    .cart-total-cell {
        font-size: 14px;
    }

    .cart-actions {
        flex-direction: column;
    }

    .btn-continue-shopping,
    .btn-clear-cart {
        width: 100%;
        text-align: center;
    }
}

/* =========================================
   CHECKOUT PAGE
   ========================================= */

/* Checkout Cards */
.checkout-card {
    background: var(--white);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
}

.checkout-card h5 {
    font-weight: 700;
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f0f0f0;
}

.checkout-card h5 i {
    color: var(--primary-dark);
}

.checkout-card h5 small {
    font-weight: 400;
    font-size: 13px;
}

/* Form Inputs */
.checkout-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.checkout-label span {
    color: #e74c3c;
}

.checkout-input {
    width: 100%;
    padding: 11px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: var(--font);
    font-size: 14px;
    color: var(--dark);
    background: var(--white);
    transition: border-color 0.3s ease;
    outline: none;
    -webkit-appearance: none;
}

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

.checkout-input::placeholder {
    color: #bbb;
}

select.checkout-input {
    cursor: pointer;
}

.checkout-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: var(--font);
    font-size: 14px;
    color: var(--dark);
    resize: vertical;
    outline: none;
    transition: border-color 0.3s ease;
}

.checkout-textarea:focus {
    border-color: var(--primary);
}

.checkout-textarea::placeholder {
    color: #bbb;
}

/* Payment Card */
.payment-option {
    border: 2px solid var(--primary);
    border-radius: 10px;
    padding: 16px 20px;
    background: rgba(251, 204, 52, 0.06);
}

.payment-radio {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-radio input[type="radio"] {
    accent-color: var(--primary-dark);
    width: 18px;
    height: 18px;
}

.payment-radio label {
    font-weight: 700;
    font-size: 15px;
    color: var(--dark);
    cursor: pointer;
    margin: 0;
}

.payment-radio label i {
    color: var(--primary-dark);
}

.payment-description {
    font-size: 13px;
    color: var(--text-light);
    margin: 10px 0 0 28px;
    line-height: 1.6;
}

/* Checkout Order Summary */
.checkout-summary {
    background: var(--white);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 100px;
}

.checkout-summary h5 {
    font-weight: 700;
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f0f0f0;
}

/* Checkout Items List */
.checkout-items {
    max-height: 340px;
    overflow-y: auto;
    margin-bottom: 15px;
    padding-right: 4px;
}

.checkout-items::-webkit-scrollbar {
    width: 4px;
}

.checkout-items::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

.checkout-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.checkout-item:last-child {
    border-bottom: none;
}

.checkout-item-img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
    flex-shrink: 0;
}

.checkout-item-info {
    flex: 1;
    min-width: 0;
}

.checkout-item-info h6 {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 2px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.checkout-item-brand {
    display: block;
    font-size: 11px;
    color: var(--text-light);
}

.checkout-item-qty {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
}

.checkout-item-total {
    font-weight: 700;
    font-size: 14px;
    color: var(--dark);
    flex-shrink: 0;
}

/* Place Order Button */
.btn-place-order {
    display: block;
    width: 100%;
    background: var(--primary);
    color: var(--dark);
    padding: 15px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 16px;
    text-align: center;
    border: none;
    margin-top: 20px;
    cursor: pointer;
    font-family: var(--font);
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.btn-place-order:hover {
    background: var(--primary-dark);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 204, 52, 0.4);
}

.btn-edit-cart {
    display: block;
    width: 100%;
    background: none;
    color: var(--text-light);
    padding: 10px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    border: 2px solid #e0e0e0;
    margin-top: 10px;
    transition: all 0.2s ease;
}

.btn-edit-cart:hover {
    border-color: var(--dark);
    color: var(--dark);
}

.btn-back-shop {
    background: var(--primary);
    color: var(--dark);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    border: none;
}

.btn-back-shop:hover {
    background: var(--primary-dark);
    color: var(--dark);
    transform: translateY(-2px);
}

/* Checkout Errors */
.checkout-errors {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.7;
}

.checkout-errors i {
    color: #dc2626;
}

/* Checkout Empty State */
.checkout-empty {
    text-align: center;
    padding: 60px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.checkout-empty h3 {
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}

.checkout-empty p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* Order Confirmation */
.order-confirmation {
    text-align: center;
    padding: 60px 20px;
    max-width: 550px;
    margin: 0 auto;
}

.confirmation-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.confirmation-icon i {
    font-size: 50px;
    color: #28a745;
}

.order-confirmation h2 {
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}

.confirmation-id {
    display: inline-block;
    background: #f0f0f0;
    color: var(--dark);
    padding: 6px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 16px;
}

.order-confirmation p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.confirmation-note {
    background: #fff8e1;
    border: 1px solid var(--primary);
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 25px;
    display: inline-block;
}

.confirmation-note i {
    color: var(--primary-dark);
}

/* Checkout Responsive */
@media (max-width: 991px) {
    .checkout-summary {
        position: static;
        margin-top: 25px;
    }
}

@media (max-width: 767px) {
    .checkout-card {
        padding: 20px;
    }

    .checkout-summary {
        padding: 20px;
    }

    .checkout-items {
        max-height: 250px;
    }

    .btn-place-order {
        font-size: 14px;
        padding: 13px;
    }
}
