/* ====================================================
 * BSEC Product Carousel Widget Styles
 * Full-width image layout, bottom content padding,
 * Flat color Add to Cart button, Desktop hover arrows,
 * Mobile/Tablet always-visible arrows & title truncation.
 * ==================================================== */

.bsec-product-carousel-wrapper {
    width: 100%;
    position: relative;
    padding: 16px 0 36px;
    box-sizing: border-box;
}

.bsec-product-carousel {
    width: 100%;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    padding: 8px 0 32px;
}

.bsec-product-carousel .swiper-wrapper {
    display: flex;
    box-sizing: border-box;
}

.bsec-product-carousel .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 2px;
    flex-shrink: 0;
    height: auto;
    cursor: default;
    box-sizing: border-box;
    transition: transform 0.35s ease;
}

/* --- Product Card: Edge-to-Edge Image & Bottom Content --- */
.bsec-product-carousel .fct-product-card:not(.bsec-card-t2),
.bsec-product-carousel-wrapper .fct-product-card:not(.bsec-card-t2) {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden !important;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    padding: 0 !important; /* Image sits edge-to-edge flush with card borders */
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
}

.bsec-product-carousel .fct-product-card:not(.bsec-card-t2):hover,
.bsec-product-carousel-wrapper .fct-product-card:not(.bsec-card-t2):hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
    border-color: #cbd5e1;
}

/* --- Product Card Image: Border Full Width & Height --- */
.bsec-product-carousel .bsec-carousel-card-media,
.bsec-product-carousel .fct-product-card-image-wrap,
.bsec-product-carousel-wrapper .bsec-carousel-card-media,
.bsec-product-carousel-wrapper .fct-product-card-image-wrap {
    position: relative;
    width: 100% !important;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #f8fafc;
    display: block;
    text-decoration: none;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    flex-shrink: 0;
}

.bsec-product-carousel .bsec-carousel-card-media img,
.bsec-product-carousel .fct-product-card-image-wrap img,
.bsec-product-carousel img.fct-product-card-image,
.bsec-product-carousel-wrapper img.fct-product-card-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 !important;
    border-radius: 0 !important;
    transition: transform 0.4s ease;
}

.bsec-product-carousel .fct-product-card:hover .bsec-carousel-card-media img,
.bsec-product-carousel .fct-product-card:hover .fct-product-card-image-wrap img {
    transform: scale(1.04);
}

/* --- Product Card Bottom Section (Receives Padding) --- */
.bsec-product-carousel .bsec-carousel-card-bottom,
.bsec-product-carousel-wrapper .bsec-carousel-card-bottom {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 16px; /* Default padding for bottom section */
    box-sizing: border-box;
    width: 100%;
}

.bsec-product-carousel .fct-product-card-title,
.bsec-product-carousel-wrapper .fct-product-card-title {
    margin: 0 0 8px 0;
    padding: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: #1e293b;
    overflow-wrap: anywhere;
}

.bsec-product-carousel .fct-product-card-title a,
.bsec-product-carousel-wrapper .fct-product-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bsec-product-carousel .fct-product-card-title a:hover,
.bsec-product-carousel-wrapper .fct-product-card-title a:hover {
    color: #0f172a;
}

/* --- Product Title: Truncate to 1 Line on Tablet and Mobile --- */
@media (max-width: 1024px) {
    .bsec-product-carousel .fct-product-card-title,
    .bsec-product-carousel-wrapper .fct-product-card-title {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .bsec-product-carousel .fct-product-card-title a,
    .bsec-product-carousel-wrapper .fct-product-card-title a {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
        max-width: 100% !important;
    }
}

.bsec-product-carousel .fct-product-card-excerpt,
.bsec-product-carousel-wrapper .fct-product-card-excerpt {
    margin: 0 0 10px 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #64748b;
}

.bsec-product-carousel .fct-product-card-prices,
.bsec-product-carousel-wrapper .fct-product-card-prices {
    margin: 0 0 14px 0;
    padding: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.bsec-product-carousel .fct-product-card-prices del,
.bsec-product-carousel-wrapper .fct-product-card-prices del {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 400;
}

/* --- Card Action / Add to Cart Button: Flat Color & No Gradient --- */
.bsec-product-carousel .fct-product-card:not(.bsec-card-t2) .bsec-carousel-buy-btn,
.bsec-product-carousel .fct-product-card:not(.bsec-card-t2) .fct-product-view-button,
.bsec-product-carousel .fct-product-card:not(.bsec-card-t2) .fluent-cart-add-to-cart-button,
.bsec-product-carousel .fct-product-card:not(.bsec-card-t2) a.bsec-carousel-buy-btn,
.bsec-product-carousel-wrapper .fct-product-card:not(.bsec-card-t2) .bsec-carousel-buy-btn,
.bsec-product-carousel-wrapper .fct-product-card:not(.bsec-card-t2) .fct-product-view-button,
.bsec-product-carousel-wrapper .fct-product-card:not(.bsec-card-t2) .fluent-cart-add-to-cart-button,
.bsec-product-carousel-wrapper .fct-product-card:not(.bsec-card-t2) a.bsec-carousel-buy-btn {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    width: 100%;
    padding: 10px 16px;
    border-radius: 8px;
    border: none !important;
    background-image: none !important; /* Remove top gradient */
    background: #253241; /* Flat color */
    box-shadow: none !important; /* Remove inset box shadow */
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: background-color 0.2s ease, transform 0.15s ease;
    box-sizing: border-box;
}

.bsec-product-carousel .fct-product-card:not(.bsec-card-t2) .bsec-carousel-buy-btn:hover,
.bsec-product-carousel .fct-product-card:not(.bsec-card-t2) .fct-product-view-button:hover,
.bsec-product-carousel .fct-product-card:not(.bsec-card-t2) .fluent-cart-add-to-cart-button:hover,
.bsec-product-carousel .fct-product-card:not(.bsec-card-t2) a.bsec-carousel-buy-btn:hover,
.bsec-product-carousel-wrapper .fct-product-card:not(.bsec-card-t2) .bsec-carousel-buy-btn:hover,
.bsec-product-carousel-wrapper .fct-product-card:not(.bsec-card-t2) .fct-product-view-button:hover,
.bsec-product-carousel-wrapper .fct-product-card:not(.bsec-card-t2) .fluent-cart-add-to-cart-button:hover,
.bsec-product-carousel-wrapper .fct-product-card:not(.bsec-card-t2) a.bsec-carousel-buy-btn:hover {
    background-image: none !important;
    background: #1a232c !important; /* Flat darker hover color */
    box-shadow: none !important;
    color: #ffffff;
}

.bsec-product-carousel .bsec-carousel-buy-btn:active,
.bsec-product-carousel a.bsec-carousel-buy-btn:active {
    transform: scale(0.98);
}

.bsec-product-carousel .bsec-carousel-buy-btn.out-of-stock {
    background-color: #f1f5f9 !important;
    background-image: none !important;
    color: #94a3b8 !important;
    cursor: not-allowed;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
    transform: none;
}

/* Spinner during AJAX add to cart (simple products) */
.bsec-product-carousel .fluent-cart-loader {
    pointer-events: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
    background: inherit;
}

.bsec-product-carousel button.loading .fluent-cart-loader,
.bsec-product-carousel .fct-product-view-button.loading .fluent-cart-loader,
.bsec-product-carousel .fluent-cart-add-to-cart-button.loading .fluent-cart-loader {
    display: flex;
}

.bsec-product-carousel .fluent-cart-loader svg {
    animation: bsec-spin 1s linear infinite;
    fill: currentColor;
    width: 18px;
    height: 18px;
}

@keyframes bsec-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* --- Carousel Navigation Arrows --- */
.bsec-product-carousel .swiper-button-prev,
.bsec-product-carousel .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    color: #111827;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    pointer-events: auto;
}

.bsec-product-carousel .swiper-button-prev:after,
.bsec-product-carousel .swiper-button-next:after {
    display: none;
}

.bsec-product-carousel .swiper-button-prev {
    left: 10px;
}

.bsec-product-carousel .swiper-button-next {
    right: 10px;
}

.bsec-arrows-sm .swiper-button-prev,
.bsec-arrows-sm .swiper-button-next {
    width: 30px;
    height: 30px;
}
.bsec-arrows-sm svg { width: 14px; height: 14px; }

.bsec-arrows-md .swiper-button-prev,
.bsec-arrows-md .swiper-button-next {
    width: 38px;
    height: 38px;
}
.bsec-arrows-md svg { width: 18px; height: 18px; }

.bsec-arrows-lg .swiper-button-prev,
.bsec-arrows-lg .swiper-button-next {
    width: 46px;
    height: 46px;
}
.bsec-arrows-lg svg { width: 22px; height: 22px; }

.bsec-product-carousel .swiper-button-prev:hover,
.bsec-product-carousel .swiper-button-next:hover {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.bsec-product-carousel .swiper-button-disabled {
    opacity: 0.35;
    cursor: default !important;
    box-shadow: none !important;
    pointer-events: auto !important;
}

/* --- Desktop Arrow Visibility: Show ONLY on Carousel/Card Hover --- */
@media (min-width: 1025px) {
    .bsec-product-carousel .swiper-button-prev,
    .bsec-product-carousel .swiper-button-next {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .bsec-product-carousel .swiper-button-prev {
        transform: translateY(-50%) translateX(-6px);
    }

    .bsec-product-carousel .swiper-button-next {
        transform: translateY(-50%) translateX(6px);
    }

    .bsec-product-carousel-wrapper:hover .swiper-button-prev:not(.swiper-button-disabled),
    .bsec-product-carousel-wrapper:hover .swiper-button-next:not(.swiper-button-disabled),
    .bsec-product-carousel:hover .swiper-button-prev:not(.swiper-button-disabled),
    .bsec-product-carousel:hover .swiper-button-next:not(.swiper-button-disabled) {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(-50%) translateX(0);
    }

    .bsec-product-carousel-wrapper:hover .swiper-button-prev.swiper-button-disabled,
    .bsec-product-carousel-wrapper:hover .swiper-button-next.swiper-button-disabled,
    .bsec-product-carousel:hover .swiper-button-prev.swiper-button-disabled,
    .bsec-product-carousel:hover .swiper-button-next.swiper-button-disabled {
        opacity: 0.35 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(-50%) translateX(0);
    }
}

/* --- Mobile and Tablet Arrow Visibility: Hidden by default, Dots only --- */
@media (max-width: 1024px) {
    .bsec-product-carousel .swiper-button-prev,
    .bsec-product-carousel .swiper-button-next,
    .bsec-product-carousel .fct-carousel-controls:not(.bsec-show-arrows-mobile) .swiper-button-prev,
    .bsec-product-carousel .fct-carousel-controls:not(.bsec-show-arrows-mobile) .swiper-button-next,
    .bsec-product-carousel-wrapper:not(.bsec-show-arrows-mobile) .swiper-button-prev,
    .bsec-product-carousel-wrapper:not(.bsec-show-arrows-mobile) .swiper-button-next {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .bsec-product-carousel .fct-carousel-controls.bsec-show-arrows-mobile .swiper-button-prev,
    .bsec-product-carousel .fct-carousel-controls.bsec-show-arrows-mobile .swiper-button-next,
    .bsec-product-carousel-wrapper.bsec-show-arrows-mobile .swiper-button-prev,
    .bsec-product-carousel-wrapper.bsec-show-arrows-mobile .swiper-button-next {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}

/* --- Card Background Shadow Toggle --- */
.bsec-product-carousel .fct-product-card.bsec-no-shadow,
.bsec-product-carousel.bsec-no-shadow .fct-product-card,
.bsec-product-carousel-wrapper.bsec-no-shadow .fct-product-card,
.bsec-no-shadow .fct-product-card {
    box-shadow: none !important;
}

.bsec-product-carousel .fct-product-card.bsec-no-shadow:hover,
.bsec-product-carousel.bsec-no-shadow .fct-product-card:hover,
.bsec-product-carousel-wrapper.bsec-no-shadow .fct-product-card:hover,
.bsec-no-shadow .fct-product-card:hover {
    box-shadow: none !important;
}

/* --- Carousel Pagination --- */
.bsec-carousel-pagination {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.bsec-product-carousel .swiper-pagination {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 16px auto 0;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(229, 231, 235, 0.8);
    width: fit-content;
    pointer-events: auto;
}

.bsec-product-carousel .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    opacity: 1;
    margin: 0 !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bsec-product-carousel .swiper-pagination-bullet:hover {
    background: #9ca3af;
    transform: scale(1.2);
}

.bsec-product-carousel .swiper-pagination-bullet-active {
    background: #111827;
    transform: scale(1.2);
    box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.2);
}

/* ====================================================
   Template 1: "Starts from" Price Wrap
   ==================================================== */
.bsec-product-carousel .fct-product-card-prices-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 12px;
}

.bsec-product-carousel .bsec-price-starts-from {
    font-size: 0.76rem;
    font-weight: 500;
    color: #6B7280;
    text-transform: capitalize;
    margin-right: 2px;
}

/* ====================================================
   Template 2: Floating Action & Minimal Reference Design
   ==================================================== */
.bsec-product-carousel .bsec-card-t2,
.bsec-product-carousel-wrapper .bsec-card-t2,
.bsec-card-t2,
.swiper-slide .bsec-card-t2 {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    position: relative !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-width: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: visible !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    --bsec-t2-cart-bg: #FFFFFF;
    --bsec-t2-cart-color: #111827;
    --bsec-t2-cart-hover-bg: #1C352D;
    --bsec-t2-cart-hover-color: #FFFFFF;
}

.bsec-product-carousel .bsec-card-t2:hover,
.bsec-product-carousel-wrapper .bsec-card-t2:hover,
.bsec-card-t2:hover,
.swiper-slide .bsec-card-t2:hover {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: translateY(-3px) !important;
}

/* Media Box */
.bsec-product-carousel .bsec-card-t2 .bsec-card2-media,
.bsec-card-t2 .bsec-card2-media,
.bsec-card2-media {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    background: transparent !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 0 12px 0 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* Background tints removed for clean image display */
.bsec-card2-media.bsec-tint-0,
.bsec-tint-0 .bsec-card2-media,
.bsec-card2-media.bsec-tint-1,
.bsec-tint-1 .bsec-card2-media,
.bsec-card2-media.bsec-tint-2,
.bsec-tint-2 .bsec-card2-media {
    background-color: transparent !important;
    background: transparent !important;
}

/* Product Image Link & Image */
.bsec-product-carousel .bsec-card-t2 .bsec-card2-img-link,
.bsec-card-t2 .bsec-card2-img-link,
.bsec-card2-img-link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: inherit !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    position: relative !important;
    overflow: hidden !important;
}

.bsec-product-carousel .bsec-card-t2 .bsec-card2-img,
.bsec-card-t2 .bsec-card2-img,
.bsec-card2-img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    margin: 0 auto !important;
    border-radius: inherit !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.bsec-product-carousel .bsec-card-t2:hover .bsec-card2-img,
.bsec-card-t2:hover .bsec-card2-img,
.bsec-card2-media:hover .bsec-card2-img {
    transform: scale(1.05) !important;
}

/* Badges (Category & Sale - Matching Reference & Previous Cards) */
.bsec-product-carousel .bsec-card-t2 .bsec-card-badge,
.bsec-product-carousel .bsec-card-badge,
.bsec-card-t2 .bsec-card-badge,
.bsec-card2-media .bsec-card-badge,
.bsec-card-badge {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
    bottom: auto !important;
    background-color: #E28834 !important;
    color: #FFFFFF !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    padding: 4px 10px !important;
    border-radius: 9999px !important;
    border: none !important;
    pointer-events: none !important;
    z-index: 4 !important;
    line-height: 1.2 !important;
    display: inline-flex !important;
    align-items: center !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

.bsec-product-carousel .bsec-card-t2 .bsec-card-sale-badge,
.bsec-product-carousel .bsec-card-sale-badge,
.bsec-card-t2 .bsec-card-sale-badge,
.bsec-card2-media .bsec-card-sale-badge,
.bsec-card-sale-badge {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    bottom: auto !important;
    background-color: #B23B2A !important;
    color: #FFFFFF !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    padding: 4px 10px !important;
    border-radius: 9999px !important;
    border: none !important;
    pointer-events: none !important;
    z-index: 4 !important;
    line-height: 1.2 !important;
    display: inline-flex !important;
    align-items: center !important;
    box-shadow: 0 2px 6px rgba(178, 59, 42, 0.28) !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

/* Floating Cart / Bag Button (Bottom-Right Circle) */
.bsec-product-carousel .bsec-card-t2 .bsec-card2-cart-btn,
.bsec-product-carousel .bsec-card-t2 button.bsec-card2-cart-btn,
.bsec-product-carousel .bsec-card-t2 a.bsec-card2-cart-btn,
.bsec-product-carousel .bsec-card-t2 .fluent-cart-add-to-cart-button,
.bsec-product-carousel-wrapper .bsec-card-t2 .bsec-card2-cart-btn,
.bsec-product-carousel-wrapper .bsec-card-t2 .fluent-cart-add-to-cart-button,
.bsec-card-t2 .bsec-card2-cart-btn,
.bsec-card-t2 button.bsec-card2-cart-btn,
.bsec-card-t2 a.bsec-card2-cart-btn,
.bsec-card-t2 .fluent-cart-add-to-cart-button,
.bsec-card2-media .bsec-card2-cart-btn,
.bsec-card2-media .fluent-cart-add-to-cart-button,
.bsec-card2-media button.fluent-cart-add-to-cart-button,
.bsec-card2-cart-btn {
    position: absolute !important;
    bottom: 10px !important;
    right: 10px !important;
    left: auto !important;
    top: auto !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    border-radius: 50% !important;
    background-color: var(--bsec-t2-cart-bg, #FFFFFF) !important;
    background-image: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    border-width: 0 !important;
    outline: none !important;
    cursor: pointer !important;
    color: var(--bsec-t2-cart-color, #111827) !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
    z-index: 5 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background-color 0.2s ease, color 0.2s ease !important;
    -webkit-tap-highlight-color: transparent !important;
    box-sizing: border-box !important;
}

.bsec-product-carousel .bsec-card-t2 .bsec-card2-cart-btn svg,
.bsec-card-t2 .bsec-card2-cart-btn svg,
.bsec-card2-media .bsec-card2-cart-btn svg,
.bsec-card2-cart-btn svg {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 2 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    flex-shrink: 0 !important;
    transition: stroke 0.2s ease !important;
}

.bsec-product-carousel .bsec-card-t2 .bsec-card2-cart-btn:hover,
.bsec-product-carousel-wrapper .bsec-card-t2 .bsec-card2-cart-btn:hover,
.bsec-card-t2 .bsec-card2-cart-btn:hover,
.bsec-card2-media .bsec-card2-cart-btn:hover,
.bsec-card2-cart-btn:hover {
    background-color: var(--bsec-t2-cart-hover-bg, #1C352D) !important;
    background-image: none !important;
    color: var(--bsec-t2-cart-hover-color, #FFFFFF) !important;
    transform: scale(1.1) translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(28, 53, 45, 0.28) !important;
}

.bsec-product-carousel .bsec-card-t2 .bsec-card2-cart-btn:hover svg,
.bsec-card-t2 .bsec-card2-cart-btn:hover svg,
.bsec-card2-media .bsec-card2-cart-btn:hover svg,
.bsec-card2-cart-btn:hover svg {
    stroke: currentColor !important;
}

.bsec-card2-cart-btn.is-out-of-stock {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    background-color: #F3F4F6 !important;
    color: #9CA3AF !important;
    box-shadow: none !important;
    transform: none !important;
}

.bsec-card2-cart-btn.loading,
.bsec-card2-cart-btn.fct-loading {
    pointer-events: none !important;
}

.bsec-card2-cart-btn.loading svg:not(.fluent-cart-loader svg),
.bsec-card2-cart-btn.fct-loading svg:not(.fluent-cart-loader svg) {
    display: none !important;
}

.bsec-card2-cart-btn.loading .fluent-cart-loader,
.bsec-card2-cart-btn.fct-loading .fluent-cart-loader {
    display: flex !important;
    animation: bsec-spin 0.75s linear infinite !important;
}

/* Card Info Block */
.bsec-product-carousel .bsec-card-t2 .bsec-card2-info,
.bsec-card-t2 .bsec-card2-info {
    padding: 14px 4px 6px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

/* Rating Row */
.bsec-card2-rating {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: calc(0.88rem + 2px) !important;
    line-height: 1 !important;
    margin-bottom: 2px !important;
}

.bsec-card2-stars {
    display: inline-flex !important;
    align-items: center !important;
    gap: 2.5px !important;
}

.bsec-card2-stars svg {
    width: 15.5px !important;
    height: 15.5px !important;
    fill: #F59E0B;
    stroke: #F59E0B;
}

.bsec-card2-score {
    font-weight: 700 !important;
    color: #111827;
    font-size: calc(0.88rem + 2px) !important;
    margin-left: 2px !important;
}

.bsec-card2-count {
    color: #9CA3AF;
    font-size: calc(0.84rem + 2px) !important;
    font-weight: 400 !important;
}

/* Title */
.bsec-card2-title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #111827;
    line-height: 1.35 !important;
    margin: 4px 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
}

.bsec-card2-title a {
    color: inherit !important;
    text-decoration: none !important;
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transition: color 0.15s ease !important;
}

.bsec-card2-title a:hover {
    color: #1C352D !important;
}

/* Pricing Row */
.bsec-card2-pricing {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 2px !important;
    flex-wrap: wrap !important;
}

.bsec-card2-pricing .bsec-price-starts-from {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    font-size: 0.80rem;
    font-weight: 500;
    color: #6B7280;
    text-transform: capitalize;
}

.bsec-card2-pricing .bsec-price-val {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    font-size: 1.25rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.01em;
}

.bsec-card2-pricing .bsec-price-compare {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    font-size: 0.95rem;
    font-weight: 400;
    color: #9CA3AF;
    text-decoration: line-through;
    margin-left: 4px;
}

