
body {
    font-family: 'Nunito', 'Kantumruy Pro', sans-serif;
    overflow-x: hidden;
}
/* For better visibility when navbar sticks */
.navbar.sticky {
    background: #f8f9fa; 
}

/* end static navbar */
 /* Navbar Styling */
 .navbar {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.navbar-brand img {
    height: 60px;
    width: auto;
}
.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: #007bff !important;
}
.nav-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}
.nav-icons i {
    font-size: 1.3rem;
    color: #007bff;
    transition: color 0.3s ease;
}
.nav-icons i:hover {
    color: #0056b3;
}
.cart-text {
    font-weight: bold;
    color: #555;
    font-size: 0.9rem;
}
.btn-outline-primary {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 20px;
}
/* Hero Section Styling */
.hero-section {
    background-color: #e3f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    text-align: left;
    padding: 50px 0;
    position: relative;
}
.hero-section .container {
    max-width: 1200px;
    margin-bottom: 90px;
}
.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
.hero-content h4 {
    font-weight: bold;
    color: #333;
}
.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #222;
}
.hero-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}
.shop-btn {
    display: inline-flex;
    align-items: center;
    background-color: #007bff;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: 0.3s ease-in-out;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}
.shop-btn:hover {
    background-color: #0056b3;
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
}
.shop-btn i {
    margin-right: 8px;
}
/* Background pattern */
.background-pattern {
    position: absolute;
    right: 0;
    top: 20%;
    width: 300px;
    height: 300px;
    opacity: 0.1;
    background: url('https://www.svgrepo.com/show/326908/leaves.svg') no-repeat;
    background-size: cover;
}

/* Benefits Section Styling */
.benefits-section {
padding: 40px 0;
background-color: #02172c;
}

.benefit-card {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.benefit-card:hover {
    transform: scale(1.05);
}

.benefit-icon {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 10px;
}

.benefit-card h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.benefit-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

.rating {
    cursor: pointer;
}
.rating .star {
    font-size: 20px;
    color: #ddd; 
}
.rating .star.selected {
    color: #ffcc00; 
}
/* cart icon */
.cart-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: none; /* Hide by default */
}
.card {
    position: relative;
}
.card:hover .cart-icon {
    display: block; /* Show when hovering */
}


.hygiene-section {
    background-color: #e3f0ff;
    padding: 60px 0;
}
.card {
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensures all cards have the same height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.card-body {
    flex-grow: 1; 
}
.card-title {
    font-size: 22px;
    color: #333;
}
.card-text {
    color: #555;
}
.btn-custom {
    background-color: #270acd;
    color: white;
    font-weight: bold;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 0.85rem;
    transition: all 0.3s ease-in-out;
    border: none;
    box-shadow: 0 3px 6px rgba(39, 10, 205, 0.3);
}

.btn-custom:hover {
    background-color: #d63f32;
    color: white;
    transform: scale(1.03);
    box-shadow: 0 4px 10px rgba(214, 63, 50, 0.5);
}

.btn-custom:active {
    transform: scale(0.97);
    box-shadow: 0 2px 4px rgba(214, 63, 50, 0.4);
}

.card img {
    width: 100px;
    height: auto;
    margin: 15px auto 0;
    display: block;
}
/* Promotion Section */
.promo-section {
    background-color: #0d1325;
    color: white;
    padding: 12px 0; /* Smaller padding */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Keep text and button in one row */
.promo-container {
    display: flex;
    align-items: center;
    gap: 20px; /* Reduced spacing */
    flex-wrap: nowrap;
    max-width: 90%;
    justify-content: center;
}

/* Promo Text */
.promo-container h2 {
    font-size: 1.4rem; /* Smaller size */
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
}

/* Shop Now Button */
.shop-btn {
    display: inline-flex;
    align-items: center;
    background-color: #007bff;
    color: white;
    padding: 10px 14px; 
    border-radius: 4px;
    font-size: 0.9rem; 
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
    white-space: nowrap;
}

.shop-btn i {
    margin-right: 6px;
    font-size: 0.9rem;
}

/* Hover Effect */
.shop-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Info Section */
.info-section {
    background-color: #004080; 
    padding: 12px 0; 
    font-size: 1rem; 
    font-weight: 500;
    color: white;
    text-align: center;
}
/* treding product */
/* Section Styling */
.best-selling {
    text-align: center;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
}

/* Product Card */
.product-card {
    background: white;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Product Image */
.product-img {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
}

/* Cart Icon */
.cart-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: none; /* Hidden by default */
}

.product-card:hover .cart-icon {
    display: flex; /* Show on hover */
}

.cart-icon i {
    font-size: 18px;
    color: #333;
}

/* Product Body */
.product-body {
    padding-top: 10px;
}

/* Product Title */
.product-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Rating */
.rating {
    font-size: 1.2rem;
    color: #f4c150; /* Gold color */
    margin-bottom: 5px;
}

.star {
    font-size: 20px;
}

/* Price */
.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

/* feedback */
.deal-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 50px 20px;
}
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 350px;
}
.stars {
    color: gold;
    font-size: 20px;
}
.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-top: 10px;
}
.deal-card {
    position: relative;
    width: 350px;
    border-radius: 15px;
    overflow: hidden;
}
.deal-card img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    filter: brightness(0.7);
}
.deal-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}
/* icon */
.icon-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.icon-cart svg {
    width: 24px;
    height: 24px;
    color: #333; /* Adjust color if needed */
}

.icon-cart span {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: red;
    width: 20px;
    height: 20px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.cartTab {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background-color: #fff;
    box-shadow: -4px 0 6px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 9999;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.cartTab.active {
    transform: translateX(0);
}

.cartTab h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.listCart {
    margin-bottom: 20px;
}

.cartTab .item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.cartTab .item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.cartTab .item .name {
    flex: 1;
    padding: 0 10px;
}

.cartTab .item .totalPrice {
    font-weight: bold;
    color: #333;
}

.cartTab .btn {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.cartTab .btn button {
    width: 48%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
}

.cartTab .btn .close {
    background-color: #ccc;
    color: #fff;
}

.cartTab .btn .checkOut {
    background-color: #007bff;
    color: #fff;
}

.cartTab .btn .checkOut:hover {
    background-color: #0056b3;
}

.cartTab .btn .close:hover {
    background-color: #999;
}

@media screen and (max-width: 768px) {
    .cartTab {
        width: 100%;
    }
}

/* <------------ icon card ---------------------- > */
/* Cart Icon */
.cart-container {
    position: relative;
    display: inline-block;
}

.icon-cart {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.icon-cart svg {
    width: 30px;
    height: 30px;
}

#cart-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background: red;
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 6px;
}

.cart-dropdown h4 {
    margin: 0;
    padding-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}

/* Cart Items */
.cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.cart-item img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
}

.item-details {
    flex: 1;
}

.item-details p {
    margin: 0;
    font-size: 14px;
    font-weight: bold;
}

.item-details span {
    font-size: 12px;
    color: gray;
}

.item-details b {
    font-weight: bold;
    color: black;
}

/* Remove Item Button */
.remove-item {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: gray;
    transition: 0.3s;
}

.remove-item:hover {
    color: red;
}

/* Checkout Button */
.checkout-btn {
    width: 100%;
    background: orange;
    color: white;
    font-size: 14px;
    padding: 10px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 10px;
}

.checkout-btn:hover {
    background: darkorange;
}

