body {
    background-color: #f1f3f6;
    font-family: 'Roboto', sans-serif;
}

/* Navbar */
.navbar {
    background-color: #172337;
    padding: 10px 0;
}

.navbar-brand img {
    width: 75px;
}

.search-bar {
    width: 100%;
    max-width: 500px;
    position: relative;
}

.search-bar input {
    border: none;
    padding: 10px 15px;
    width: 100%;
    border-radius: 2px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .2);
}

.search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #2874f0;
    cursor: pointer;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    margin-left: 20px;
}

.login-btn {
    background-color: white;
    color: #2874f0;
    border-radius: 2px;
    padding: 5px 40px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #dbdbdb;
}

.login-btn:hover {
    color: #2874f0;
}

/* Categories */
.categories-container {
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .16);
    margin-bottom: 10px;
}

.category-item {
    text-align: center;
    cursor: pointer;
}

.category-item img {
    width: 64px;
    height: 64px;
    margin-bottom: 5px;
}

.category-item p {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    color: #333;
}

/* Carousel */
.carousel-item img {
    width: 100%;
    height: auto;
}

/* Product Section */
.section-header {
    background-color: white;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title {
    font-size: 22px;
    font-weight: 500;
    margin: 0;
}

.view-all-btn {
    background-color: #2874f0;
    color: white;
    padding: 10px 20px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .2);
}

.product-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
}

.product-scroll-container::-webkit-scrollbar {
    display: none;
    /* Safari and Chrome */
}

.product-card-wrapper {
    min-width: 200px;
    max-width: 200px;
    border-right: 1px solid #f0f0f0;
}

.product-card {
    background-color: white;
    padding: 20px;
    text-align: center;
    transition: box-shadow 0.2s;
    height: 100%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, .2);
}

.product-img {
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.2s;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    font-size: 16px;
    font-weight: 600;
    color: #212121;
}

.product-original-price {
    font-size: 12px;
    color: #878787;
    text-decoration: line-through;
    margin-left: 8px;
}

.product-discount {
    font-size: 13px;
    color: #388e3c;
    font-weight: 500;
    margin-left: 8px;
}

.product-tag {
    color: #388e3c;
    font-size: 12px;
    margin-top: 5px;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 80px;
    background-color: rgba(255, 255, 255, 1);
    border: none;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, .11);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
}

.scroll-btn.left {
    left: 0;
    border-radius: 0 4px 4px 0;
}

.scroll-btn.right {
    right: 0;
    border-radius: 4px 0 0 4px;
}

.scroll-btn i {
    color: #212121;
    font-size: 20px;
}

/* Ads */
.ad-section img {
    width: 100%;
    height: auto;
}

/* Footer */
footer {
    background-color: #172337;
    color: white;
    padding: 40px 0;
    margin-top: 20px;
    font-size: 12px;
}

.footer-col h6 {
    color: #878787;
    margin-bottom: 15px;
    font-size: 12px;
    text-transform: uppercase;
}

.footer-link {
    display: block;
    color: white;
    margin-bottom: 8px;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.carousel-control-next, .carousel-control-prev{
    width:3%;
}