:root {
    --primary-navy: #004b8d;
    --primary-green: #70b132;
    --light-bg: #f8fafc;
    --text-muted: #64748b;
    --dark-navy: #003366;
    --border-color: #e2e8f0;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background-color: #fff;
}

.text-primary { color: var(--primary-navy) !important; }
.text-green { color: var(--primary-green) !important; }
.bg-navy { background-color: var(--primary-navy) !important; }
.bg-green { background-color: var(--primary-green) !important; }
.border-primary { border-color: var(--primary-navy) !important; }
.border-green { border-color: var(--primary-green) !important; }

/* Typography Improvements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

.tiny {
    font-size: 0.7rem;
}

/* Header Styles */
.top-bar {
    font-size: 0.85rem;
}

.main-header {
    z-index: 1050;
}

.logo-icon i {
    font-size: 1.2rem;
}

.search-container {
    transition: all 0.3s ease;
}

.search-container:focus-within {
    box-shadow: 0 0 0 2px rgba(0, 142, 204, 0.2);
}

.sub-nav {
    position: relative;
    z-index: 1040;
    overflow: visible !important;
}

.sub-nav .container {
    overflow: visible !important;
}

.sub-nav .nav {
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: 250px; /* Provides vertical space for dropdowns */
    margin-bottom: -250px; /* Negates the extra height added for layout */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sub-nav .nav::-webkit-scrollbar {
    display: none;
}

.sub-nav .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s;
}

.sub-nav .nav-link:not(.active) {
    background-color: var(--light-bg);
}

.sub-nav .nav-link.active {
    background-color: var(--primary-navy) !important;
}

.sub-nav .dropdown-menu {
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 200px;
    z-index: 2000; /* Extremely high to ensure visibility */
}

.sub-nav .dropdown-item {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.sub-nav .dropdown-item:hover {
    background-color: rgba(0, 75, 141, 0.05);
    color: var(--primary-navy);
    transform: translateX(5px);
}

/* Hero Section */
.hero-section .item {
    height: 500px;
    overflow: hidden;
}

.bg-dark-blue {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--dark-navy) 100%);
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-image {
    max-height: 400px;
    width: auto !important;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
}

.owl-theme .owl-nav {
    margin-top: 0;
}

.owl-theme .owl-nav [class*="owl-"] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: #fff !important;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    color: var(--primary-navy) !important;
    font-size: 1.2rem !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: all 0.3s ease !important;
    z-index: 10;
}

.owl-theme .owl-nav .owl-prev { left: 30px; }
.owl-theme .owl-nav .owl-next { right: 30px; }

.owl-theme .owl-nav [class*="owl-"]:hover {
    background: var(--primary-navy) !important;
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(0,142,204,0.3) !important;
}

#heroCarousel.owl-theme .owl-dots {
    position: absolute;
    bottom: 40px;
    left: 80px;
    text-align: left !important;
}

#heroCarousel.owl-theme .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4) !important;
    margin: 5px 4px !important;
    transition: all 0.3s ease;
}

#heroCarousel.owl-theme .owl-dots .owl-dot.active span {
    width: 25px;
    background: #fff !important;
    border-radius: 10px;
}

/* Brands Carousel Dots */
#brandsCarousel.owl-theme .owl-dots {
    margin-top: 30px;
    text-align: center;
}

#brandsCarousel.owl-theme .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    background: var(--border-color) !important;
    margin: 5px 4px !important;
    transition: all 0.3s ease;
}

#brandsCarousel.owl-theme .owl-dots .owl-dot.active span {
    width: 25px;
    background: var(--primary-navy) !important;
    border-radius: 10px;
}

/* Section Header */
.section-header h4 {
    font-weight: 700;
    position: relative;
}

.border-bottom-accent {
    border-bottom: 3px solid var(--primary-navy);
    display: inline-block;
}

.border-bottom-section {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
}

/* Product Card */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.product-card.highlighted {
    border: 2px solid var(--primary-navy);
}

.product-img-wrapper {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img-wrapper img {
    max-height: 100%;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.1);
}

.product-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.badge {
    font-size: 0.75rem;
    font-weight: 600;
}

/* Category Item */
.category-circle {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.category-circle img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.category-item:hover .category-circle {
    border-color: var(--primary-navy) !important;
    background-color: var(--light-bg) !important;
}

.category-scroll::-webkit-scrollbar {
    height: 4px;
}

.category-scroll::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

/* Brands Section */
.brand-card {
    height: 220px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    border: none !important;
}

.brand-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s ease;
}

.brand-card:hover .brand-card-img {
    transform: scale(1.1);
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.7));
    z-index: 2;
    transition: all 0.3s ease;
}

.brand-card:hover::before {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8));
}

.brand-card img:not(.brand-card-img) {
    width: auto !important; /* For other icons/logos if any */
}

.brand-card.iphone { background-color: #313131; }
.brand-card.realme { background-color: #FFF3CC; }
.brand-card.xiaomi { background-color: #FFF0ED; } /* Adjusted to more pleasant light red */
.brand-card.samsung { background-color: #EBF2FF; }

.brand-content {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-bg-image {
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 180px !important;
    height: 180px !important;
    object-fit: contain;
    opacity: 0.1; /* Even more subtle */
    z-index: 1;
    transition: transform 0.5s ease;
    pointer-events: none;
}

.brand-card:hover .brand-bg-image {
    transform: scale(1.2) rotate(-10deg);
}

.invert-white {
    filter: brightness(0) invert(1);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border-color);
}

.dot.active {
    background-color: var(--primary-navy);
    width: 20px;
    border-radius: 10px;
}

/* Responsiveness */
/* Daily Essentials Section */
.essential-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.essential-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.essential-img-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.essential-img-wrapper img {
    max-height: 100%;
}

/* Footer Section */
.footer {
    background-color: var(--primary-navy);
    color: #fff;
}

.footer-title {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 25px;
    display: inline-block; /* Ensure width matches text */
}

/* Product Details Page Styles */
.product-gallery-main {
    border: 1px solid #eee;
    background: #f8f9fa;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-gallery-main img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-gallery-main:hover img {
    transform: scale(1.05);
}

.thumb-item {
    width: 70px;
    height: 70px;
    border: 2px solid #eee;
    cursor: pointer;
    transition: all 0.2s ease;
}

.thumb-item.active, .thumb-item:hover {
    border-color: var(--primary-navy);
    opacity: 0.8;
}

.qty-input {
    width: 45px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
}

.qty-btn {
    width: 35px;
    height: 35px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: var(--primary-navy);
    color: #fff;
}

.artisan-card {
    background: #fdfdfd;
    border-left: 4px solid var(--primary-green);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.artisan-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sticky-mobile-buy {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 20px;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.05);
    z-index: 1000;
}

@media (min-width: 992px) {
    .sticky-mobile-buy {
        display: none;
    }
}

.specs-table th {
    background: #f8f9fa;
    width: 30%;
    font-weight: 600;
}

/* Cart Page Styles */
.cart-table th {
    background: #f8f9fa;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    font-weight: 700;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
}

.cart-summary-card {
    border-radius: 20px;
    position: sticky;
    top: 100px;
}

.promo-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.promo-btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

@media (max-width: 991px) {
    .cart-table thead {
        display: none;
    }
    .cart-table tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #eee;
        border-radius: 16px;
        padding: 15px;
    }
    .cart-table td {
        display: block;
        text-align: right;
        padding: 10px 0;
        border: none;
    }
    .cart-table td::before {
        content: attr(data-label);
        float: left;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 0.7rem;
    }
    .cart-table td:first-child {
        text-align: left;
    }
    .cart-table td:first-child::before {
        display: none;
    }
}
/* Checkout Page Styles */
.checkout-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-option {
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    display: block;
}

.payment-option input {
    position: absolute;
    opacity: 0;
}

.payment-option:hover {
    border-color: var(--primary-navy);
    background: #f8f9fa;
}

.payment-option input:checked + .payment-content {
    color: var(--primary-navy);
}

.payment-option input:checked {
    display: block;
}

.payment-option.active {
    border-color: var(--primary-navy);
    background: rgba(0, 51, 102, 0.03);
}

.checkout-summary-card {
    border-radius: 20px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 0.25rem rgba(0, 51, 102, 0.1);
}

.checkout-item-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}
/* Review & Rating Styles */
.rating-summary-card {
    background: #f8f9fa;
    border-radius: 16px;
}

.rating-bar {
    height: 8px;
    border-radius: 4px;
    background: #eee;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: var(--primary-green);
}

.review-card {
    border-bottom: 1px solid #eee;
}

.review-card:last-child {
    border-bottom: none;
}

.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.star-rating-input input {
    display: none;
}

.star-rating-input label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #ddd;
    transition: color 0.2s ease;
}

.star-rating-input input:checked ~ label,
.star-rating-input label:hover,
.star-rating-input label:hover ~ label {
    color: #ffc107;
}

.bg-green-soft {
    background-color: rgba(0, 150, 64, 0.1) !important;
}

.text-green {
    color: var(--primary-green) !important;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-green);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.contact-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
}

/* Extra section spacing */
section {
    position: relative;
}

@media (max-width: 768px) {
    .top-bar p {
        display: none;
    }
    .top-bar .container {
        justify-content: center !important;
    }
    .main-header .navbar-brand {
        font-size: 1.1rem;
    }
    .hero-section .item {
        height: 380px;
        padding: 0 !important;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .hero-section .row > div {
        padding: 0 !important;
    }
    .hero-section .hero-image {
        max-height: 140px;
        margin: 1rem auto 0;
        display: block;
    }
    .display-4 {
        font-size: 1.5rem;
    }
    .lead {
        font-size: 0.9rem !important;
    }
    .h3 {
        font-size: 1.2rem;
    }
    .footer-title::after {
        left: 0;
        transform: none;
    }
    .footer-links, .contact-info {
        text-align: left;
        display: block;
        align-items: flex-start;
    }
    .footer-title {
        font-size: 1rem;
    }
    .app-downloads {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 2rem;
    }
}

/* Extra small devices */
@media (max-width: 576px) {
    .product-card {
        padding: 0.75rem !important;
    }
    .product-img-wrapper {
        height: 140px;
    }
    .product-title {
        font-size: 0.85rem;
    }
    .section-header h4 {
        font-size: 1.1rem;
    }
}

/* Shop Page Styles */
.breadcrumb-item a {
    color: var(--primary-navy);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-item.active {
    color: var(--primary-green);
}

.filter-card {
    border: 1px solid #eee;
    padding: 1.5rem;
    background: #fff;
}

.filter-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--primary-green);
    display: inline-block;
}

.filter-list {
    list-style: none;
    padding: 0;
}

.filter-list li {
    margin-bottom: 0.8rem;
}

.filter-list a {
    color: #444;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.filter-list a:hover {
    color: var(--primary-green);
}

.custom-checkbox .form-check-input:checked {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.price-range-inputs .form-control {
    font-size: 0.85rem;
    border-radius: 4px;
}

.shop-sort-bar {
    background: #f8f9fa;
    padding: 0.8rem 1.2rem;
}

.product-card-shop {
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0 !important;
}

.product-card-shop:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.pagination .page-link {
    color: var(--primary-navy);
    border: none;
    margin: 0 3px;
    border-radius: 4px !important;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-navy);
    border-color: var(--primary-navy);
}

.sidebar-promo {
    background: linear-gradient(135deg, var(--primary-navy), var(--dark-navy));
    color: #fff;
    padding: 1.5rem;
    border-radius: 12px;
}

/* Custom Pagination */
.pagination {
    gap: 8px;
}

.pagination .page-link {
    border: none !important;
    background: #f8f9fa;
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 18px;
    border-radius: 8px !important;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: #edf2f7;
    color: var(--primary-green);
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background: var(--primary-navy) !important;
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(0,43,92,0.25);
}

.pagination .page-item.disabled .page-link {
    background: #fafafa;
    color: #ccc;
}

/* Slim Product Cards */
.product-card-shop {
    transition: all 0.3s ease;
    border: 1px solid #eee !important;
    cursor: pointer;
}

.product-card-shop .btn {
    position: relative;
    z-index: 2;
}

.product-card-shop a:not(.stretched-link) {
    position: relative;
    z-index: 2;
}

.product-card-shop:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
    border-color: var(--primary-green) !important;
}

.product-card-shop h6 {
    font-size: 0.9rem;
    line-height: 1.4;
    height: 2.8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
}

.product-card-shop .btn-outline-primary {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

/* Shop Banners */
.shop-banner {
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    padding: 3rem;
    color: #fff;
    background-size: cover;
    background-position: center;
}

.shop-banner.lg {
    background: linear-gradient(to right, rgba(0,25,50,0.9) 0%, rgba(0,25,50,0.4) 100%), url('../images/sambulpuri.jpg');
}

.shop-banner.sm {
    background: linear-gradient(to right, rgba(0,43,92,0.95) 0%, rgba(0,43,92,0.6) 100%), url('../images/haladi.png');
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 60%;
}

.shop-banner h2 {
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.shop-banner .lead {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

/* Category Icons */
.category-icon-container {
    padding: 2rem 0;
    background: #fff;
}

.category-icon-box {
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.category-icon-box:hover {
    background: #f8f9fa;
    border-color: #eee;
    transform: translateY(-5px);
}

.category-icon-box .icon-circle {
    width: 65px;
    height: 65px;
    background: #f0f4f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--primary-navy);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.category-icon-box:hover .icon-circle {
    background: var(--primary-green);
    color: #fff;
}

.category-icon-box p {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0;
    color: #333;
}

/* Mobile Filter Toggle (Breadcrumb Aligned) */
.filter-toggle-btn {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid #dee2e6;
    background: #fff;
    color: var(--primary-navy);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.filter-toggle-btn:hover {
    background: #f8f9fa;
    border-color: var(--primary-green);
    color: var(--primary-green);
}

/* Offcanvas Side-Sheet Refinement */
.offcanvas-lg {
    z-index: 1050 !important;
}

@media (max-width: 991.98px) {
    .offcanvas-lg {
        width: 85% !important;
        max-width: 350px !important;
        border-radius: 0 20px 20px 0 !important;
    }
    
    .offcanvas-header {
        background: #fff;
        padding: 1.5rem !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    
    .offcanvas-body {
        padding: 1.5rem !important;
    }
    
    .filter-card {
        border: none !important;
        border-bottom: 1px solid #f1f1f1 !important;
        margin-bottom: 1.5rem !important;
        padding-bottom: 1.5rem !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .offcanvas-footer {
        padding: 1.5rem;
        background: #fff;
        border-top: 1px solid #eee;
        position: sticky;
        bottom: 0;
        z-index: 5;
    }
}

/* Premium Side-Sheet (Accordion & Icons) */
.offcanvas-lg .filter-title {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: var(--primary-navy);
    margin-bottom: 0px;
}

.offcanvas-lg .accordion-item {
    border: none;
    background: transparent;
    border-bottom: 1px solid #f1f1f1;
}

.offcanvas-lg .accordion-button {
    padding: 1.25rem 0;
    font-weight: 700;
    color: var(--primary-navy);
    background: transparent !important;
    box-shadow: none !important;
}

.offcanvas-lg .accordion-button:not(.collapsed) {
    color: var(--primary-green);
}

.offcanvas-lg .accordion-body {
    padding: 0 0 1.25rem 0;
}

.offcanvas-lg .filter-list li a {
    padding: 10px 0;
    font-size: 0.95rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: 12px;
}

.offcanvas-lg .filter-list li a:hover {
    color: var(--primary-green);
}

.offcanvas-lg .filter-icon {
    width: 32px;
    height: 32px;
    background: #f0f4f8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--primary-navy);
    transition: all 0.2s ease;
}

.offcanvas-lg .filter-list li a:hover .filter-icon {
    background: var(--primary-green);
    color: #fff;
}

.offcanvas-footer .btn-primary {
    background: linear-gradient(to right, var(--primary-navy), #004080);
    border: none;
    height: 56px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.offcanvas-footer .btn-primary:active {
    transform: scale(0.98);
}

@media (max-width: 991.98px) {
    .shop-banner {
        height: 220px !important;
        padding: 1.5rem !important;
        border-radius: 15px !important;
    }
    .shop-banner h2 {
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    .shop-banner .lead {
        font-size: 0.85rem !important;
        margin-bottom: 1rem !important;
    }
    .shop-sidebar-mobile.collapse:not(.show) {
        display: none;
    }
    .shop-banner.lg, .shop-banner.sm {
        background-position: left center !important;
    }
}

/* Owl Carousel Dots for Banner */
#shopBannerCarousel .owl-dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
}

#shopBannerCarousel .owl-dot span {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.3) !important;
}

#shopBannerCarousel .owl-dot.active span {
    background: #fff !important;
    width: 20px;
}

/* Profile Page & Dashboard */
.profile-sidebar {
    background: #fff;
    border-radius: 20px;
}

.profile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 12px;
    color: #555;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.profile-nav-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.profile-nav-link:hover, .profile-nav-link.active {
    background: var(--primary-navy);
    color: #fff;
}

.profile-nav-link.active {
    box-shadow: 0 5px 15px rgba(0, 43, 92, 0.2);
}

.form-floating > .form-control:focus, .form-floating > .form-control:not(:placeholder-shown) {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

/* Order History Table */
.order-badge {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-pending { background: #fff8e1; color: #ffa000; }
.badge-shipped { background: #e3f2fd; color: #1976d2; }
.badge-delivered { background: #e8f5e9; color: #2e7d32; }
.badge-cancelled { background: #ffebee; color: #c62828; }

/* Tracking Stepper */
.tracking-stepper {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.tracking-stepper::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: #eee;
    z-index: 1;
}

.step-item {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 25%;
}

.step-circle {
    width: 45px;
    height: 45px;
    background: #fff;
    border: 4px solid #eee;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ccc;
    transition: all 0.4s ease;
}

.step-item.active .step-circle {
    border-color: var(--primary-green);
    background: var(--primary-green);
    color: #fff;
    box-shadow: 0 0 0 8px rgba(0, 150, 64, 0.1);
}

.step-item.completed .step-circle {
    border-color: var(--primary-green);
    background: var(--primary-green);
    color: #fff;
}

.step-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #999;
}

.step-item.active .step-label, .step-item.completed .step-label {
    color: var(--primary-navy);
}

@media (max-width: 768px) {
    .tracking-stepper {
        flex-direction: column;
        gap: 30px;
        padding-left: 20px;
    }
    .tracking-stepper::before {
        left: 42px;
        top: 20px;
        bottom: 20px;
        width: 4px;
        height: auto;
    }
    .step-item {
        width: 100%;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 20px;
    }
    .step-circle {
        margin: 0;
    }
}
