/* Best Sellers CSS - Luxury Modern Herbal Brand styling */

.bs-f87dd68e-container {
    padding: 80px 20px;
    font-family: "Playfair Display", "Georgia", serif;
    background-color: #FAFAF7;
    overflow: hidden;
}

.bs-f87dd68e-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.bs-f87dd68e-header-section {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    animation: bsFadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.bs-f87dd68e-badge-top-wrapper {
    margin-bottom: 15px;
}

.bs-f87dd68e-badge-top {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8C7C5F;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
}

.bs-f87dd68e-heading {
    font-family: "Playfair Display", serif;
    font-size: 42px;
    font-weight: 600;
    color: #1C2E24;
    line-height: 1.2;
    margin: 0 0 15px 0;
}

.bs-f87dd68e-sub-heading {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    color: #5C6E64;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive Grid */
.bs-f87dd68e-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

@media (max-width: 1024px) {
    .bs-f87dd68e-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .bs-f87dd68e-grid {
        grid-template-columns: 1fr;
    }
}

/* Product Cards */
.bs-f87dd68e-card {
    background-color: #FFFFFF;
    border-radius: 24px;
    border: 1px solid #EAE9E2;
    box-shadow: 0 4px 20px rgba(28, 46, 36, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
    transform: translateY(30px);
    animation: bsFadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.2s;
    height: 100%;
}

/* Float Animation Option */
.bs-f87dd68e-card {
    animation: bsFadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards, bsFloat 6s ease-in-out infinite alternate;
}

/* Floating animation details */
@keyframes bsFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-6px); }
}

@keyframes bsFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card Hover */
.bs-f87dd68e-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(28, 46, 36, 0.08);
}

.bs-f87dd68e-card-media {
    position: relative;
    padding-top: 100%; /* square ratio */
    background-color: #F7F6F0;
    overflow: hidden;
}

.bs-f87dd68e-product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.bs-f87dd68e-card:hover .bs-f87dd68e-product-img {
    transform: scale(1.08);
}

.bs-f87dd68e-badge-bestseller {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #8C7C5F;
    color: #FAFAF7;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 50px;
    z-index: 2;
    font-family: "Montserrat", sans-serif;
}

.bs-f87dd68e-card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.bs-f87dd68e-card-title {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    font-weight: 600;
    color: #1C2E24;
    margin: 0 0 10px 0;
}

.bs-f87dd68e-card-desc {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    color: #5C6E64;
    line-height: 1.5;
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 42px; /* standard height helper for 2 lines */
}

/* Rating style */
.bs-f87dd68e-rating {
    display: flex;
    gap: 3px;
    margin-bottom: 20px;
}

.bs-f87dd68e-rating .star {
    font-size: 16px;
}

.bs-f87dd68e-rating .star.filled { color: #D4AF37; }
.bs-f87dd68e-rating .star.half { color: #D4AF37; }
.bs-f87dd68e-rating .star.empty { color: #EAE9E2; }

/* Pricing */
.bs-f87dd68e-pricing {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    margin-top: auto;
}

.bs-f87dd68e-price-sale {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1C2E24;
}

.bs-f87dd68e-price-original {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    color: #A0B0A6;
    text-decoration: line-through;
}

/* Card Buttons style */
.bs-f87dd68e-card-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bs-f87dd68e-btn {
    display: block;
    text-align: center;
    padding: 12px 20px;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    text-decoration: none !important;
}

.bs-f87dd68e-btn-buy {
    background-color: #1C2E24;
    color: #FAFAF7;
    border: 1px solid #1C2E24;
}

.bs-f87dd68e-card:hover .bs-f87dd68e-btn-buy {
    box-shadow: 0 0 15px rgba(28, 46, 36, 0.3);
}

.bs-f87dd68e-btn-details {
    background-color: transparent;
    color: #1C2E24;
    border: 1px solid #1C2E24;
}

.bs-f87dd68e-card:hover .bs-f87dd68e-btn-details {
    background-color: #1C2E24;
    color: #FAFAF7;
}

/* Bottom Button Section */
.bs-f87dd68e-bottom-action {
    text-align: center;
    margin-top: 20px;
}

.bs-f87dd68e-btn-premium {
    display: inline-block;
    padding: 16px 36px;
    background-color: #1C2E24;
    color: #FAFAF7;
    border: 1px solid #1C2E24;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    text-decoration: none;
}

.bs-f87dd68e-btn-premium:hover {
    background-color: #FAFAF7;
    color: #1C2E24;
    box-shadow: 0 10px 20px rgba(28, 46, 36, 0.1);
}
