/* Header */
.naturo-header {
    background: linear-gradient(90deg, #003315, #00240f);
    border-bottom: 1px solid rgba(37, 182, 114, 0.25);
    position: sticky;
    top: 0;
    z-index: 999;
}

/* Search */
.naturo-search input {
    background: #000f06;
    color: #cae9d7;
    /* border: 1px solid #25b672; */
}

.naturo-cart-btn i {
    font-size: 18px;
}

/* Cart Badge */
.cart-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: #dc3545;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 50%;
}

/* Cart Text */
.cart-text {
    font-size: 14px;
    font-weight: 500;
}

/* Search Button (Mobile) */
.naturo-search-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
}
.top-search::placeholder {
    color: #25b672;
    opacity: 1;
}

/* Slider wrapper */
.swiper {
    width: 100%;
    height: 400px;
    /* desktop default height */
    position: relative;
    /* text overlay বা elements রাখার জন্য */
    overflow: hidden;
    /* extra parts hide */
}

/* Slide */
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    font-size: 18px;
    background: #444;
}

/* Slide image */
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* image always cover slider */
    display: block;
}

/* Optional: overlay content */
.swiper-slide .slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

/* -------------------- */
#autoScrollWrapper {
    gap: 40px;
}

#autoScrollWrapper {
    cursor: grab;
    user-select: none;
    will-change: transform;
    display: flex;
}
#autoScrollWrapper.grabbing {
    cursor: grabbing;
}

/* Smooth slide effect for Bootstrap carousel */
#bestSellerCarousel .carousel-inner {
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1); /* silky smooth */
}

/* Optional: prevent content flicker while sliding */
#bestSellerCarousel .carousel-item {
    scroll-behavior: smooth;
    backface-visibility: hidden; /* prevents rendering issues */
}

/* Optional: hide scrollbar for horizontal scrollable items */
#bestSellerCarousel::-webkit-scrollbar {
    display: none;
}

.product-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-img {
    padding: 20px;
    background: #fff;
}

.price {
    font-weight: 700;
    color: #16a34a;
    font-size: 18px;
}

.old-price {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 14px;
    margin-left: 8px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.icon-btn:hover {
    background: #f3f4f6;
}
