        :root {
            --primary-blue: #2c5aa0;
            --light-blue: #e8f4fd;
            --border-color: #dee2e6;
            --text-muted: #6c757d;
        }

        body {
            /* background-color: #f8f9fa; */
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        .btn-primary{
            background-color: #2c5aa0;
            border-color: #2c5aa0;
        }
        .text-primary{
            color: #2c5aa0 !important;
        }

        .navbar-brand img {
            height: 40px;
        }

        .navbar {
            background-color: var(--light-blue);
            border-bottom: 1px solid var(--border-color);
            z-index: 1000;
        }

        .search-box {
            position: relative;
            max-width: 600px;
        }

        .search-box input {
            border-radius: 25px;
            padding-left: 20px;
            border: 1px solid var(--border-color);
        }

        .search-box button {
            position: absolute;
            right: 5px;
            top: 50%;
            transform: translateY(-50%);
            border: none;
            background: var(--primary-blue);
            color: white;
            border-radius: 50%;
            width: 35px;
            height: 35px;
        }

        .cart-badge {
            background: var(--primary-blue);
            color: white;
            border-radius: 50%;
            width: 25px;
            height: 25px;
            display: flex !important;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            position: absolute;
            top: -8px;
            right: -8px;
        }

        .sidebar {
            background: white;
            border-radius: 8px;
            /* box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
            padding: 20px;
            position: sticky;
            top: 60px;
            max-height: calc(100vh - 80px);
            overflow-y: auto;
            display: block;
        }

        .sidebar .nav-link {
            color: #333;
            font-size: 14px;
            padding: 10px 15px;
            border-bottom: 1px solid #f0f0f0;
        }

        .sidebar .nav-link:hover, .sidebar .nav-link.active {
            background-color: var(--light-blue);
            color: var(--primary-blue);
        }

        .product-card {
            background: white;
            border-radius: 8px;
            /* box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
            margin-bottom: 20px;
            padding: 20px;
            border: 1px solid var(--border-color);
        }

        .product-image {
            width: 80px;
            height: 60px;
            object-fit: contain;
            /* border: 1px solid var(--border-color); */
            border-radius: 4px;
            padding: 5px;
        }

        .product-title {
            font-size: 24px;
            font-weight: 600;
            color: #333;
            margin-bottom: 10px;
        }

        .product-price {
            font-size: 24px;
            font-weight: 600;
            color: var(--primary-blue);
        }

        .quantity-controls {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .quantity-btn {
            background: var(--primary-blue);
            color: white;
            border: none;
            width: 30px;
            height: 30px;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .quantity-input {
            width: 60px;
            text-align: center;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            padding: 5px;
        }

        .btn-outline-primary {
            border-color: var(--primary-blue);
            color: var(--primary-blue);
        }

        .btn-outline-primary:hover {
            background-color: var(--primary-blue);
            border-color: var(--primary-blue);
        }

        .cart-section {
            background: white;
            border-radius: 8px;
            /* box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
            padding: 20px;
            position: sticky;
            top: 55px;
            max-height: calc(100vh - 100px);
            overflow-y: auto;
            display: block;
        }

        .cart-item {
            border-bottom: 1px solid var(--border-color);
            padding: 15px 0;
        }

        .cart-item:last-child {
            border-bottom: none;
        }

        .cart-item img {
            width: 100px;
            height: 70px;
            object-fit: contain;
            border: 1px solid var(--border-color);
            border-radius: 4px;
        }

        .cart-total {
            background: var(--light-blue);
            padding: 15px;
            border-radius: 8px;
            margin-top: 20px;
        }

        .breadcrumb {
            background: transparent;
            padding: 0;
            margin-bottom: 20px;
        }

        .breadcrumb-item a {
            color: var(--primary-blue);
            text-decoration: none;
        }

        @media (max-width: 768px) {
            .sidebar {
                margin-bottom: 20px;
                position: relative;
                top: 0;
                max-height: none;
            }
            
            .cart-section {
                position: relative;
                top: 0;
                max-height: none;
            }
            
            .product-card {
                padding: 15px;
            }
            
            .product-image {
                width: 60px;
                height: 45px;
            }

            /* .container-fluid {
                margin-top: 70px !important;
            } */

            .search-box {
                /* max-width: 300px; */
                width:85%;
            }
        }

         /* Footer Styles */
        .footer {
            /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
            border-top: 1px solid var(--border-color);
            margin-top: auto;
        }

        .footer-brand {
            display: flex;
            align-items: center;
        }

        .footer-title {
            color: #333;
            font-weight: 600;
            font-size: 16px;
            margin-bottom: 1rem;
            position: relative;
        }

        .footer-title::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 30px;
            height: 2px;
            background: var(--primary-blue);
        }

        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-links li {
            margin-bottom: 8px;
        }

        .footer-links a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 14px;
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: var(--primary-blue);
        }

        .social-links {
            margin-top: 1rem;
        }

        .social-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 35px;
            height: 35px;
            background: var(--light-blue);
            color: var(--primary-blue);
            border-radius: 50%;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .social-link:hover {
            background: var(--primary-blue);
            color: white;
            transform: translateY(-2px);
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            font-size: 14px;
            color: var(--text-muted);
        }

        .contact-item i {
            margin-top: 2px;
            flex-shrink: 0;
        }

        .newsletter-section {
            background: var(--light-blue);
            border-radius: 12px;
            margin: 2rem 0;
        }

        .newsletter-form .input-group {
            max-width: 400px;
            margin-left: auto;
        }

        .newsletter-form .form-control {
            border: 1px solid var(--border-color);
            border-radius: 25px 0 0 25px;
        }

        .newsletter-form .btn {
            border-radius: 0 25px 25px 0;
            padding: 0 25px;
        }

        .security-section {
            border-top: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
        }

        .payment-methods {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
        }

        .payment-icon {
            font-size: 24px;
            color: var(--text-muted);
        }

        .payment-text {
            font-size: 14px;
            color: var(--text-muted);
        }

        .security-badges {
            display: flex;
            align-items: center;
            justify-content: flex-end;
        }

        .footer-bottom {
            border-top: 1px solid var(--border-color);
        }

        .footer-legal-links a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 14px;
        }

        .footer-legal-links a:hover {
            color: var(--primary-blue);
        }

        /* Responsive Footer */
        @media (max-width: 768px) {
            .newsletter-form .input-group {
                margin-left: 0;
            }
            
            .security-badges {
                justify-content: flex-start;
            }
            
            .footer-legal-links {
                text-align: center !important;
            }
            
            .payment-methods {
                justify-content: center;
                margin-bottom: 1rem;
            }
        }
/* Default Desktop Sidebar */
.sidebar {
    background: white;
    border-radius: 8px;
    padding: 20px;
    position: sticky;
    top: 60px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    display: block;
}

.nav-link {
    color: #333;
    font-size: 14px;
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
    white-space: nowrap; /* Prevent breaking in horizontal scroll */
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--light-blue);
    color: var(--primary-blue);
}

/* Mobile: Horizontal Scroll */
@media screen and (max-width: 992px) {
    .sidebar {
        position: relative;
        top: 0;
        max-height: none;
        padding: 10px 0;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
    }

    .sidebar .nav {
        display: inline-flex;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .sidebar .nav-link {
        display: inline-block;
        border-bottom: none;
        border: 1px solid #f0f0f0;
        border-radius: 6px;
        padding: 8px 12px;
        background: white;
    }
}







/* Product Section */
        .product-section {
            background: white;
            margin-top: 1rem;
            padding: 2rem 0;
        }

        .product-section .detail-product-image {
            max-width: 100%;
            height: auto;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 1rem;
        }

        .thumbnail {
            width: 80px;
            height: 80px;
            object-fit: contain;
            border: 2px solid var(--border-color);
            border-radius: 8px;
            padding: 5px;
            cursor: pointer;
            margin-bottom: 10px;
        }

        .thumbnail:hover, .thumbnail.active {
            border-color: var(--primary-blue);
        }

        .product-section .product-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: #333;
            margin-bottom: 1rem;
        }

        .product-section .product-price {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary-blue);
            margin-bottom: 2rem;
        }

       .product-section .quantity-section {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .product-section .quantity-controls {
            display: flex;
            align-items: center;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            overflow: hidden;
        }

       .product-section .quantity-btn {
            background: var(--light-blue);
            border: none;
            padding: 10px 15px;
            color: var(--primary-blue);
            cursor: pointer;
        }

        .product-section .quantity-btn:hover {
            background: var(--primary-blue);
            color: white;
        }

       .product-section .quantity-input {
            border: none;
            width: 60px;
            text-align: center;
            padding: 10px;
        }

        /* Content Sections */
        .content-section {
            background: white;
            margin: 2rem 0;
            padding: 2rem;
            border-radius: 8px;
            border: 1px solid var(--border-color);
        }

        .content-section h3 {
            color: #333;
            font-weight: 600;
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
        }

        .content-section h4 {
            color: var(--primary-blue);
            font-weight: 600;
            margin: 2rem 0 1rem 0;
            font-size: 1.25rem;
        }

        .feature-list, .spec-list, .benefit-list {
            list-style: none;
            padding: 0;
        }

        .feature-list li, .spec-list li, .benefit-list li {
            padding: 8px 0;
            border-bottom: 1px solid #f0f0f0;
            display: flex;
            align-items: flex-start;
        }

        .feature-list li:before, .benefit-list li:before {
            content: '✓';
            color: var(--success-green);
            font-weight: bold;
            margin-right: 10px;
            margin-top: 2px;
        }

        .spec-list li strong {
            min-width: 150px;
            display: inline-block;
            color: #333;
        }

        /* Similar Products */
        .product-card {
            background: white;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 1rem;
            margin-bottom: 1rem;
            text-align: center;
            transition: all 0.3s ease;
        }

        .product-card:hover {
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            transform: translateY(-2px);
        }

        /* .product-card img {
            width: 100%;
            height: 150px;
            object-fit: contain;
            margin-bottom: 1rem;
        } */

        /* .product-card h5 {
            /* font-size: 14px; 
            margin-bottom: 1rem;
            /* height: 3em; 
            overflow: hidden;
        } */

        .product-card .price {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--primary-blue);
            margin-bottom: 1rem;
        }

        .product-card .old-price {
            text-decoration: line-through;
            color: var(--text-muted);
            font-size: 0.9rem;
            margin-left: 0.5rem;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .product-title {
                font-size: 1.25rem;
            }
            
            .product-price {
                font-size: 1.5rem;
            }
            
            .quantity-section {
                flex-direction: column;
                align-items: stretch;
            }
            
            .content-section {
                margin: 1rem 0;
                padding: 1rem;
            }
        }


        .pagination .page-link {
    cursor: pointer;
}
.custom-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.custom-pagination .page-item {
    list-style: none;
}

.custom-pagination .page-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #555;
    font-weight: 500;
    background: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.custom-pagination .page-link:hover {
    background-color: #f0f0f0;
    border-color: #ccc;
}

.custom-pagination .page-item.active .page-link {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.custom-pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

