/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Logo Styling */
.logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #ff4757;
    font-size: 24px;
    margin: 0;
}

/* Navigation */
.navbar {
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-item {
    position: relative;
    padding: 60px 0;
    min-height: 500px;
}

.hero-content {
    padding: 20px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-image {
    max-height: 400px;
    object-fit: contain;
}

.discount-badge {
    background: #ff4444;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
}

/* Owl Carousel Custom Styles */
.owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.owl-prev {
    left: 20px;
}

.owl-next {
    right: 20px;
}

.owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .hero-item {
        min-height: 400px;
        padding: 40px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-image {
        max-height: 300px;
    }
}

/* Product Cards */
.product-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.product-card:hover {
    transform: translateY(-2px);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-image-container {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background: #f8f9fa;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.product-details {
    padding: 8px;
}

.product-name {
    font-size: 14px;
    margin: 0 0 4px;
    color: #212121;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    margin-bottom: 4px;
}

.current-price {
    color: #f85606;
    font-size: 16px;
    font-weight: 500;
}

.original-price {
    color: #9e9e9e;
    font-size: 12px;
    text-decoration: line-through;
    margin-left: 4px;
}

.product-rating {
    display: flex;
    align-items: center;
    font-size: 12px;
}

.rating-stars {
    color: #ffc400;
    margin-right: 4px;
}

.rating-count {
    color: #757575;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .product-name {
        font-size: 12px;
        height: 32px;
    }

    .current-price {
        font-size: 14px;
    }

    .product-rating {
        font-size: 11px;
    }
}

.product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.btn-wishlist, .btn-quickview {
    background: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-info {
    padding: 15px;
}

.product-title {
    font-size: 14px;
    margin-bottom: 10px;
    height: 40px;
    overflow: hidden;
}

.product-title a {
    color: #333;
    text-decoration: none;
}

.btn-add-cart {
    background: #e41e31;
    border: none;
    transition: all 0.3s ease;
}

.btn-add-cart:hover {
    background: #c41826;
}

/* Buttons */
.btn-primary {
    background-color: #ff4757;
    border-color: #ff4757;
    padding: 10px 25px;
    border-radius: 25px;
}

.btn-primary:hover {
    background-color: #ff6b81;
    border-color: #ff6b81;
}

/* Featured Sections */
.featured-categories,
.featured-products {
    padding: 60px 0;
}

/* Footer */
footer {
    margin-top: 60px;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    color: #ff4757;
}

/* Top Bar */
.top-bar {
    font-size: 12px;
    background-color: #424242 !important;
}

/* Main Navigation */
.navbar {
    padding: 15px 0;
    box-shadow: none;
}

/* Search Bar */
.search-bar .form-control {
    border-radius: 2px 0 0 2px;
    border: 2px solid #ff4757;
    border-right: none;
    height: 45px;
}

.search-bar .btn {
    border-radius: 0 2px 2px 0;
    background-color: #ff4757;
    border: 2px solid #ff4757;
    height: 45px;
    width: 50px;
}

/* Cart Icon */
.nav-item-cart {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff4757;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
}

/* Categories Bar */
.categories-bar {
    position: relative;
    z-index: 1000;
}

.categories-bar .nav-link {
    padding: 15px;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
}

.categories-bar .nav-link:hover {
    color: #ff4757;
}

.categories-bar .dropdown-toggle::after {
    margin-left: 8px;
}

/* Dropdown Menus */
.dropdown-menu {
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: none;
    padding: 8px 0;
}

.dropdown-item {
    padding: 8px 20px;
    font-size: 14px;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
    color: #ff4757;
}

/* User Dropdown */
.nav-item-user {
    position: relative;
    z-index: 1002;
}

.nav-item-user .dropdown-toggle::after {
    margin-left: 8px;
}

.nav-item-user .dropdown-menu {
    min-width: 200px;
    padding: 8px;
}

.nav-item-user .dropdown-item {
    padding: 8px 15px;
    color: #333;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.nav-item-user .dropdown-item i {
    width: 20px;
    color: #666;
}

.nav-item-user .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #ff4757;
}

.nav-item-user .dropdown-item:hover i {
    color: #ff4757;
}

.nav-item-user .dropdown-divider {
    margin: 8px 0;
}

.user-avatar img {
    border: 1px solid #eee;
}

#userFullName {
    font-weight: 500;
    color: #333;
}

/* Logo */
.logo {
    font-size: 28px;
    color: #ff4757;
    margin: 0;
    font-weight: 700;
    letter-spacing: -1px;
}

/* Footer Styles */
.footer-section {
    background-color: #f5f5f5;
}

/* Footer Top Services */
.footer-service-item {
    padding: 20px;
    background: white;
    border-radius: 8px;
    transition: transform 0.3s;
}

.footer-service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2rem;
    color: #ff4757;
    margin-bottom: 15px;
}

.footer-service-item h5 {
    font-size: 16px;
    margin-bottom: 5px;
}

.footer-service-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Main Footer */
.footer-main {
    background-color: #2d2d2d !important;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff4757;
}

/* App Download Buttons */
.app-buttons img {
    max-height: 40px;
    border-radius: 5px;
}

/* Social Icons */
.social-links {
    margin-top: 20px;
}

.social-icon {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #fff;
    color: #2d2d2d;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #ff4757;
    color: #fff;
}

/* Footer Bottom */
.bg-darker {
    background-color: #1a1a1a !important;
}

.footer-bottom {
    color: #b0b0b0;
    font-size: 14px;
}

.payment-methods img {
    opacity: 0.8;
    transition: opacity 0.3s;
}

.payment-methods img:hover {
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-service-item {
        margin-bottom: 20px;
    }
    
    .footer-title {
        margin-top: 20px;
    }
    
    .payment-methods {
        margin-top: 15px;
    }
    
    .mega-menu {
        padding: 10px;
    }
    
    .mega-menu .row > div {
        margin-bottom: 20px;
    }
    
    .mega-menu .dropdown-header {
        margin-bottom: 5px;
    }
}

.floating-message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    background-color: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.whatsapp-btn i {
    font-size: 24px;
    margin-right: 8px;
}

.message-text {
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .message-text {
        display: none;
    }
    
    .whatsapp-btn {
        padding: 12px;
        border-radius: 50%;
    }
    
    .whatsapp-btn i {
        margin-right: 0;
    }
}

/* Mega Menu Styles */
.mega-dropdown {
    position: static !important;
}

.mega-menu {
    display: none;
    position: absolute;
    width: 100%;
    left: 0;
    top: 100%;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.12);
    z-index: 1000;
    padding: 0;
    border: none;
    border-radius: 0;
}

.mega-menu.show {
    display: block;
}

.category-wrapper {
    display: flex;
    min-height: 480px;
}

.main-categories,
.sub-categories,
.sub-sub-categories {
    width: 200px;
    background: #fff;
    border-right: 1px solid #eff0f5;
    padding: 8px 0;
}

.main-category,
.sub-category,
.sub-sub-category {
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #212121;
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
    position: relative;
}

.main-category span,
.sub-category span {
    display: block;
    width: calc(100% - 20px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.main-category i,
.sub-category i {
    font-size: 10px;
    color: #9e9e9e;
    margin-left: 8px;
}

.main-category:hover,
.main-category.active,
.sub-category:hover,
.sub-category.active,
.sub-sub-category:hover {
    color: #f57224;
    background: #fafafa;
}

.main-category.active::after,
.sub-category.active::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: #f57224;
}

.sub-categories,
.sub-sub-categories {
    display: none;
}

.sub-categories.active,
.sub-sub-categories.active {
    display: block;
}

.sub-sub-category {
    text-decoration: none;
    padding: 6px 12px;
    color: #757575;
    transition: color 0.2s ease;
    cursor: pointer;
    display: block;
}

.sub-sub-category:hover {
    text-decoration: none;
    color: #f57224;
    background: #fafafa;
}

/* Loading spinner */
.loading-spinner {
    color: #f57224;
    font-size: 24px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .category-wrapper {
        flex-direction: column;
        min-height: auto;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }

    .main-categories,
    .sub-categories,
    .sub-sub-categories {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eff0f5;
    }

    .main-category,
    .sub-category,
    .sub-sub-category {
        padding: 12px 16px;
    }
}

/* Additional Mega Menu Styles */
.mega-menu .view-all {
    color: #ff4757;
    font-weight: 500;
    margin-top: 10px;
    border-top: 1px dashed #eee;
    padding-top: 10px;
}

.mega-menu .view-all:hover {
    color: #ff6b81;
}

.mega-menu .dropdown-item {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

/* Loading State */
.category-loading {
    padding: 20px;
    text-align: center;
    color: #666;
}

/* Add these styles */
.mega-menu.show {
    display: block !important;
}

.mega-dropdown .dropdown-toggle::after {
    transition: transform 0.2s;
}

.mega-dropdown .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    /* Modify existing navbar for mobile */
    .navbar {
        background: #f85606 !important;
        box-shadow: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1001;
        padding: 10px 0;
    }

    .navbar-brand, .nav-items {
        display: none !important;
    }

    .search-bar {
        width: 100%;
        margin: 0 !important;
        padding: 0 15px;
    }

    .search-bar .input-group {
        background: white;
        border-radius: 4px;
        overflow: hidden;
    }

    .search-bar .form-control {
        border: none !important;
        height: 40px;
        padding-left: 15px;
        box-shadow: none !important;
    }

    .search-bar .form-control:focus {
        outline: none;
        box-shadow: none !important;
    }

    .search-bar .btn {
        border: none !important;
        background: white;
        color: #666;
        box-shadow: none !important;
    }

    .search-bar .btn:focus {
        outline: none;
        box-shadow: none !important;
    }

    /* Remove any Bootstrap default focus styles */
    .form-control:focus,
    .btn:focus {
        border-color: transparent !important;
        outline: 0 !important;
        box-shadow: none !important;
    }

    .categories-bar {
        display: none;
    }

    /* Adjust body for fixed navbar */
    body {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    /* Top bar hide on mobile */
    .top-bar {
        display: none;
    }

    /* Bottom Navigation */
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        display: flex;
        justify-content: space-around;
        padding: 8px 0;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 1001;
    }

    .mobile-bottom-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #666;
        text-decoration: none;
        font-size: 12px;
        position: relative;
    }

    .mobile-bottom-nav .nav-item i {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .mobile-bottom-nav .nav-item.active {
        color: #ff4757;
    }

    .mobile-bottom-nav .cart-count {
        position: absolute;
        top: -5px;
        right: -5px;
        background: #ff4757;
        color: white;
        border-radius: 50%;
        font-size: 10px;
        padding: 2px 5px;
        min-width: 15px;
        text-align: center;
    }

    /* Adjust floating message position */
    .floating-message {
        bottom: 70px;
    }

    .mobile-category-menu {
        z-index: 1003;
    }
}

/* Mobile Category Menu */
.mobile-category-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    height: 80vh;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1003;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
    overflow-y: auto;
    padding: 20px;
}

.mobile-category-menu.show {
    transform: translateY(0);
}

.mobile-category-menu .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
}

.mobile-category-menu h5 {
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-item i {
    color: #666;
    font-size: 14px;
}

.category-item:last-child {
    border-bottom: none;
}

.subcategory-list {
    list-style: none;
    padding-left: 20px;
    display: none;
}

.subcategory-list.show {
    display: block;
}

.subcategory-item {
    padding: 10px 15px;
    color: #666;
}

/* User Navigation Styles */
.user-nav .dropdown-toggle {
    color: #333;
    text-decoration: none;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-nav .dropdown-toggle:hover,
.user-nav .dropdown-toggle:focus {
    color: #007bff;
}

.user-nav .dropdown-menu {
    padding: 8px;
    min-width: 200px;
}

.user-nav .dropdown-item {
    padding: 8px 15px;
    border-radius: 4px;
}

.user-nav .dropdown-item:hover {
    background-color: #f8f9fa;
}

.user-nav .dropdown-divider {
    margin: 8px 0;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .user-nav .dropdown-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
        border-top: 1px solid #dee2e6;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
}

/* Auth Pages (Login & Register) Styles */
.auth-page {
    min-height: 100vh;
    background-color: #f8f9fa;
    padding: 40px 0;
}

.auth-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header .logo {
    font-size: 28px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.auth-header h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.auth-header p {
    color: #666;
    font-size: 14px;
}

.auth-form {
    padding: 30px;
}

.auth-form .form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.auth-form .form-control {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.auth-form .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.auth-form .btn-primary {
    padding: 12px;
    font-weight: 500;
    font-size: 16px;
    border-radius: 8px;
    width: 100%;
    margin-top: 20px;
}

.auth-form .btn-primary:hover {
    background-color: #0b5ed7;
}

.auth-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background-color: #ddd;
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-divider span {
    background: #fff;
    padding: 0 15px;
    color: #666;
    font-size: 14px;
}

.social-login {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-login-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.social-login-btn:hover {
    background-color: #f8f9fa;
    border-color: #0d6efd;
}

.social-login-btn i {
    font-size: 18px;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

.auth-footer a {
    color: #0d6efd;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Form validation styles */
.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

/* Responsive styles */
@media (max-width: 768px) {
    .auth-page {
        padding: 20px;
    }

    .auth-card {
        margin: 0;
    }

    .auth-form {
        padding: 20px;
    }

    .social-login {
        flex-direction: column;
    }

    .social-login-btn {
        width: 100%;
    }
}

/* Loading state styles */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.btn-loading::after {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* Alert styles */
.auth-alert {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.auth-alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.auth-alert-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Just For You Section Styles */
.just-for-you {
    background-color: #f8f9fa;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e41e31;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-left: 5px;
}

@media (max-width: 768px) {
    .just-for-you .product-card {
        margin-bottom: 15px;
    }
    
    .section-header {
        padding: 0 15px;
    }
}

/* Add these styles for cart icon */
.cart-icon-btn {
    position: relative;
    padding: 8px;
    color: #333;
    text-decoration: none;
}

.cart-icon-btn:hover {
    color: #f85606;
}

.cart-icon-btn i {
    font-size: 20px;
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #f85606;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.category-wrapper {
    display: flex;
    min-height: 400px;
}

.main-categories,
.sub-categories,
.sub-sub-categories {
    width: 250px;
    background: #fff;
    border-right: 1px solid #f0f0f0;
}

.main-category,
.sub-category,
.sub-sub-category {
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #757575;
    font-size: 13px;
    cursor: pointer;
}

.main-category:hover,
.main-category.active,
.sub-category:hover,
.sub-category.active {
    color: #f85606;
    background: #fafafa;
}

.sub-categories,
.sub-sub-categories {
    display: none;
}

.sub-categories.active,
.sub-sub-categories.active {
    display: block;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .category-wrapper {
        flex-direction: column;
    }

    .main-categories,
    .sub-categories,
    .sub-sub-categories {
        width: 100%;
    }
}

/* Category Page Styles */
.category-header {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eff0f5;
}

.breadcrumb {
    margin-bottom: 10px;
}

.breadcrumb-item a {
    color: #757575;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #212121;
}

.category-content {
    padding: 20px 0;
    background: #f5f5f5;
}

.filters-wrapper {
    background: #fff;
    padding: 15px;
    border-radius: 4px;
}

.filter-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eff0f5;
}

.filter-section h3 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #212121;
}

.price-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.price-filter input {
    width: 80px;
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn-apply {
    background: #f57224;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #fff;
    margin-bottom: 20px;
    border-radius: 4px;
}

.results-count {
    color: #757575;
    font-size: 14px;
}

.sort-options select {
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 4px;
    color: #212121;
    font-size: 14px;
}

/* Mobile Search Bar */
.mobile-search-bar {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 12px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    z-index: 1000;
}

.mobile-search-bar .input-group {
    background: #fff;
}

.mobile-search-bar .form-control {
    border: 1px solid #eff0f5;
    padding: 8px 12px;
    font-size: 14px;
}

.mobile-search-bar .btn {
    background: #f57224;
    border-color: #f57224;
}

/* Mobile Bottom Navigation */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 8px 0;
    z-index: 1000;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #757575;
    text-decoration: none;
    font-size: 12px;
    padding: 4px 0;
}

.mobile-nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

.mobile-nav-item.active {
    color: #f57224;
}

.mobile-cart-badge {
    position: absolute;
    top: 0;
    right: 50%;
    transform: translateX(8px);
    background: #f57224;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* Add padding to body on mobile to account for fixed nav */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 60px;
    }
}

/* Text Logo Styles */
.text-logo {
    font-size: 24px;
    font-weight: 700;
    color: #f57224;
    text-decoration: none;
    padding: 0;
}

.text-logo:hover {
    color: #f57224;
}

/* Quick View Styles */
.quick-view-content {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.quick-view-image {
    flex: 0 0 200px;
}

.quick-view-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.product-info {
    flex: 1;
    text-align: left;
}

.product-info .price {
    font-size: 24px;
    font-weight: bold;
    color: #f57224;
    margin-bottom: 10px;
}

.product-info .stock {
    color: #28a745;
    margin-bottom: 10px;
}

.product-info .description {
    font-size: 14px;
    color: #666;
}


