:root {
    --primary-color: #0a4ba3; /* Blue from the new iprinters logo */
    --secondary-color: #1a2b3c;
    --text-color: #333;
    --light-text: #777;
    --accent-color: #28a745;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
}



body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: #f4f7f6;
}

/* Header Styles */
.top-header {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.search-bar-container {
    background: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    padding: 2px 5px;
    display: flex;
    align-items: center;
}

.search-bar-container input {
    border: none;
    background: transparent;
    padding: 10px;
    width: 100%;
    outline: none;
}

.search-bar-container select {
    border: none;
    background: #f8f9fa;
    border-right: 1px solid #eee;
    margin-right: 5px;
    padding: 10px 15px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 4px 0 0 4px;
    outline: none;
    transition: background 0.3s;
}

.search-bar-container select:hover {
    background: #edf2f7;
}


.btn-search {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 2px;
    width: 45px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Navigation */
.navbar-brand img {
    height: 50px;
}

.all-categories-btn {
    background: var(--primary-color);
    color: white;
    padding: 10px 25px;
    border-radius: 5px 5px 0 0;
    font-weight: 600;
    display: inline-block;
    text-decoration: none;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    margin: 0 15px;
}

/* Hero Section */
.hero-section {
    background: var(--white);
    padding: 20px 0;
}

.banner-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.banner-container {
    position: relative;
    overflow: hidden;
}

.carousel-item {
    position: relative;
}

.carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.6));
    border-radius: 15px;
}

.carousel-caption {
    bottom: 20%;
    z-index: 10;
    text-align: center;
}

.banner-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .banner-img {
        height: 250px;
    }
    .banner-content h2 {
        font-size: 1.8rem;
    }
    .banner-content p {
        font-size: 1rem;
    }
    .carousel-caption {
        bottom: 10%;
    }
}

/* Category Sidebar */
.category-list {
    background: var(--white);
    border-radius: 0 0 5px 5px;
    box-shadow: var(--shadow);
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li a {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid #f1f1f1;
    color: var(--text-color);
    text-decoration: none;
    transition: 0.3s;
}

.category-list li a:hover, .category-list li a.active-cat {
    background: #f8f9fa;
    color: var(--primary-color);
    padding-left: 25px;
    border-left: 4px solid var(--primary-color);
}


/* Product Card */
.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    height: 100%;
    border: none;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image-wrapper {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f9f9f9;
}

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

.discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.product-details {
    padding: 15px;
}

.product-category {
    font-size: 0.75rem;
    color: var(--light-text);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
    height: 2.5em;
    overflow: hidden;
}

.price-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.current-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-color);
}

.cash-discount-label {
    display: block;
    font-size: 0.7rem;
    color: var(--accent-color);
    font-weight: 700;
    margin-top: -5px;
    margin-bottom: 5px;
}

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

.brand-badge {
    font-size: 0.7rem;
    color: var(--light-text);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.buy-now-btn {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    margin-top: 15px;
    font-weight: 700;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
}


.buy-now-btn:hover {
    background: #0052cc;
    color: white;
}

/* Product Details Page Styles */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.product-detail-img-wrapper {
    transition: transform 0.3s ease;
}

.product-detail-img-wrapper img {
    max-height: 500px;
    width: auto;
    object-fit: contain;
}

.fw-extrabold {
    font-weight: 800;
}

/* Shop Filter Styles */
.category-filters {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-item {
    display: block;
    padding: 12px 15px;
    border-radius: 8px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 600;
    border: 1px solid transparent;
}

.filter-item:hover {
    background: #f1f5f9;
    color: var(--primary-color);
}

.filter-item.active {
    background: var(--primary-color);
    color: white !important;
}

.filter-item.active .badge {
    background: rgba(255,255,255,0.2) !important;
    color: white !important;
}



/* Section Title */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title a {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-decoration: none;
}

/* Footer Styles */
footer {
    background: #1a1a1a;
    color: white;
    padding: 50px 0 20px;
    margin-top: 50px;
}

/* Mobile Sidebar (Offcanvas) Styles */
.mobile-sidebar {
    width: 300px !important;
    background: #000; /* Dark background as per screenshot */
}

.mobile-sidebar .offcanvas-header {
    background: #000 !important;
    border-bottom: 1px solid #333;
}

.filter-white {
    filter: brightness(0) invert(1);
}

.menu-tabs {
    background: #111;
    border-bottom: 1px solid #333;
}

.menu-tabs .nav-link {
    color: #888;
    border: none;
    padding: 15px;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 0;
}

.menu-tabs .nav-link.active {
    background: transparent;
    color: #fff;
    border-bottom: 3px solid var(--primary-color);
}

.sidebar-list .list-group-item {
    background: #000;
    color: #eee;
    border-color: #222;
    padding: 15px 20px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: 0.3s;
}

.sidebar-list .list-group-item:hover {
    background: #111;
    color: var(--primary-color);
}

.bg-secondary {
    background-color: #222 !important;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
