/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/*Scroll Styles*/

.scroll-wrapper {
    position: relative;
}

/* Category Scroll Arrows */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #e0e0e0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: #2c3e50;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


/* Product List Styles */

.products-section {
    padding: 50px 0;
}

.section-header {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

    .section-header ::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 15%;
    height: 3px;
    background-color: #8b9d5f;
}

    .view-all-link {
        font-size: 14px;
        font-weight: 600;
        color: #2c3e50;
        text-transform: uppercase;
        transition: color 0.3s;
    }

    .view-all-link:hover {
        color: #0056b3;
    }

.products-list {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

    .products-list::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }


.products-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.products-tabs {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.tab-item {
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    cursor: pointer;
    padding: 8px 0;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

    .tab-item.active {
        color: #2c3e50;
        border-bottom-color: #007bff;
    }

    .tab-item:hover {
        color: #2c3e50;
    }

.product-item {
    flex: 0 0 auto;
    width: 220px;
    background: white;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

    .product-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

.discount-badge {
    background: #dc3545;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.product-image-container {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

    .product-image-container img {
        max-width: 80%;
        max-height: 80%;
        object-fit: contain;
    }

.product-info {
    text-align: left;
}

.product-brand {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 5px;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 10px;
}

.star {
    color: #ffc107;
    font-size: 14px;
}

    .star.empty {
        color: #e0e0e0;
    }

.product-pricing {
    display: flex;
    align-items: center;
    gap: 10px;
}

.original-price {
    font-size: 14px;
    color: #6c757d;
    text-decoration: line-through;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: #28a745;
}

/* Responsive Design */
@media (max-width: 1200px) {

}

@media (max-width: 768px) {
    .popular-scroll-wrapper, .best-scroll-wrapper {
        padding: 0 40px;
    }

    .products-scroll-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .product-item {
        width: 180px;
    }


    .products-tabs {
        gap: 20px;
    }

    .tab-item {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .products-scroll-wrapper {
        padding: 0 35px;
    }

    .product-item {
        width: 160px;
    }

    .product-image-container {
        height: 140px;
    }
}