/**
 * FluentCart Custom Styles
 * Using FluentCart CSS Variables
 * Version 2.0.0
 */

/* === FluentCart CSS Variables Override === */
:root {
    /* Primary button (Koupit nyní / Direct Checkout) - GREEN */
    --fct-btn-bg-color: #42907E;
    --fct-btn-text-color: #ffffff;
    --fct-btn-border-color: #42907E;

    /* Secondary button (Přidat do košíku / Add to Cart) - ORANGE */
    --fct-secondary-btn-bg-color: #E7A141;
    --fct-secondary-btn-hover-bg-color: #d4922e;
    --fct-secondary-btn-text-color: #ffffff;
    --fct-secondary-btn-border-color: #E7A141;

    /* Primary colors */
    --fct-primary-bg-color: #42907E;
    --fct-primary-text-color: #3d4043;
    --fct-secondary-text-color: #666666;

    /* Border color */
    --fct-border-color: #e5e5e5;
    --fct-divider-color: #e5e5e5;
}

/* === Button Overrides (font + remove gradient) === */
.fluent-cart-direct-checkout-button,
.fluent-cart-add-to-cart-button {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    font-size: 19px !important;
    padding: 12px 24px !important;
    min-height: 52px !important;
    line-height: 1.4 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.fluent-cart-direct-checkout-button {
    background: #42907E !important;
    box-shadow: none !important;
}

.fluent-cart-direct-checkout-button:hover {
    background: #357566 !important;
    box-shadow: none !important;
}

/* === Hide date and author on product card === */
.fct-product-card-meta,
.fct-product-card-date,
.fct-product-card-author,
.fct-product-card .entry-meta {
    display: none !important;
}

/* === Price Range Slider (noUiSlider) === */
.noUi-connect {
    background: #E7A141 !important;
}

.noUi-handle {
    background: #E7A141 !important;
    border: 3px solid #ffffff !important;
    box-shadow: 0 2px 8px rgba(231, 161, 65, 0.4) !important;
}

.noUi-handle:before,
.noUi-handle:after {
    display: none !important;
}

/* === Product Card Hover Effect === */
.fct-product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.fct-product-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 24px -8px rgba(0, 0, 0, 0.15) !important;
}

/* === Price Color === */
.fct-product-card-prices,
.fct-item-price,
.fct-single-product-price,
.fct-product-price {
    color: #E7A141 !important;
}

/* === Single Product Price - Poppins 25px === */
.fct-product-prices,
.fct-product-prices .fct-item-price {
    font-family: 'Poppins', sans-serif !important;
    font-size: 25px !important;
    font-weight: 600 !important;
}

/* === Mini Cart in Header === */
/* Hide the price */
.fct-mini-cart-amount {
    display: none !important;
}

/* Orange circle for item count */
.fct-mini-cart-badge {
    background-color: #E7A141 !important;
    color: #ffffff !important;
}

/* === Floating Cart Button (bottom right) === */
.fct-cart-drawer-open-btn {
    background-color: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 12px !important;
}

.fct-cart-drawer-open-btn:hover {
    background-color: #FDF5E8 !important;
}

/* Hide original cart image and use same icon as header */
.fct-cart-drawer-open-btn img {
    display: none !important;
}

.fct-cart-drawer-open-btn::before {
    content: '';
    display: block;
    width: 28px;
    height: 28px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='%233d4043' d='M4.00488 16V4H2.00488V2H5.00488C5.55717 2 6.00488 2.44772 6.00488 3V15H18.4433L20.4433 7H8.00488V5H21.7241C22.2764 5 22.7241 5.44772 22.7241 6C22.7241 6.08176 22.7141 6.16322 22.6942 6.24254L20.1942 16.2425C20.083 16.6877 19.683 17 19.2241 17H5.00488C4.4526 17 4.00488 16.5523 4.00488 16ZM6.00488 23C4.90031 23 4.00488 22.1046 4.00488 21C4.00488 19.8954 4.90031 19 6.00488 19C7.10945 19 8.00488 19.8954 8.00488 21C8.00488 22.1046 7.10945 23 6.00488 23ZM18.0049 23C16.9003 23 16.0049 22.1046 16.0049 21C16.0049 19.8954 16.9003 19 18.0049 19C19.1095 19 20.0049 19.8954 20.0049 21C20.0049 22.1046 19.1095 23 18.0049 23Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Orange badge count on floating cart */
.fct-cart-badge-count {
    background-color: #E7A141 !important;
    color: #ffffff !important;
}

/* === View Switcher Active State === */
.fct-shop-view-switcher button.active,
.fct-shop-view-switcher button:hover {
    background-color: #E7A141 !important;
    border-color: #E7A141 !important;
    color: #ffffff !important;
}

/* === Filter Checkboxes === */
.fct-shop-filter-item input[type="checkbox"]:checked {
    accent-color: #E7A141 !important;
}

/* === Continue Shopping Link === */
.continue-shopping-link {
    background-color: #E7A141 !important;
    color: #ffffff !important;
}

.continue-shopping-link:hover {
    background-color: #42907E !important;
}

/* === Sale Badge === */
.fct-product-badge,
.fct-sale-badge {
    background-color: #42907E !important;
    color: #ffffff !important;
}

/* === Single Product Page - Short Excerpt === */
.fct-product-excerpt,
.fct-product-excerpt p {
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 550 !important;
    font-size: 18px !important;
    color: #3e4043 !important;
    line-height: 1.7 !important;
}

/* === Single Product Page - Description Wrapper === */
/* All content after product section - continuous white background */
.entry-content .fct-single-product-page ~ h2,
.entry-content .fct-single-product-page ~ h3,
.entry-content .fct-single-product-page ~ h4,
.entry-content .fct-single-product-page ~ p,
.entry-content .fct-single-product-page ~ ul,
.entry-content .fct-single-product-page ~ ol {
    background-color: #ffffff !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    margin: 0 !important; /* Remove all margins to eliminate gaps */
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

/* First heading - top rounded corners and extra top padding */
.entry-content .fct-single-product-page + h2 {
    margin-top: 2rem !important;
    padding-top: 2rem !important;
    border-radius: 12px 12px 0 0 !important;
}

/* Description text styling - Open Sans 600, 19px, dark gray */
.entry-content .fct-single-product-page ~ p,
.entry-content .fct-single-product-page ~ ul,
.entry-content .fct-single-product-page ~ ol,
.entry-content .fct-single-product-page ~ li {
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 550 !important;
    font-size: 18px !important;
    color: #3e4043 !important;
    line-height: 1.7 !important;
}

/* Lists inside description */
.entry-content .fct-single-product-page ~ ul {
    padding-left: 3.5rem !important;
    list-style-type: disc !important;
}

.entry-content .fct-single-product-page ~ ul li {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
    background: transparent !important;
}

/* Last child - bottom rounded corners and extra bottom padding with shadow */
.entry-content .fct-single-product-page ~ *:last-child {
    padding-bottom: 2rem !important;
    border-radius: 0 0 12px 12px !important;
    box-shadow: 0 12px 18px -6px rgba(0, 0, 0, 0.1) !important;
}
