.elementor-kit-2899{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-2899 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;--container-default-padding-top:0px;--container-default-padding-right:0px;--container-default-padding-bottom:0px;--container-default-padding-left:0px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:768px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* ======================================================
   FPT UNIFIED CARD SYSTEM - CLEAN FINAL VERSION
   Fixed: Product title clipping / overflow issues
====================================================== */

/* Global card wrapper */
.fpt-modern-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Main card container */
.fpt-modern-card .fpt-card-container,
.fpt-card-container {
    background: #ffffff;
    border: 1px solid var(--fpt-border, #f2f2f2);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    padding-bottom: 15px;
}

/* Card hover */
.fpt-modern-card .fpt-card-container:hover,
.fpt-card-container:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: #d1d1d1;
}

/* Image area - supports both old and new class names */
.fpt-modern-card .fpt-image-area,
.fpt-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    padding: 20px;
    background: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
}

/* Background circle behind product image */
.fpt-img-bg-circle {
    position: absolute;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(82, 97, 7, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    transition: all 0.5s ease;
}

.fpt-card-container:hover .fpt-img-bg-circle {
    transform: scale(1.5);
    background: radial-gradient(circle, rgba(82, 97, 7, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
}

/* Product image */
.fpt-modern-card .fpt-main-img,
.fpt-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.06));
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Image hover */
.fpt-modern-card .fpt-card-container:hover .fpt-main-img,
.fpt-card-container:hover .fpt-image-wrapper img {
    transform: scale(1.07) translateY(-5px);
}

/* Card content - supports both old and new class names */
.fpt-modern-card .fpt-card-body,
.fpt-card-content {
    padding: 15px 20px 20px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

/* Product title - FIXED: no more cut text */
.fpt-modern-card .fpt-product-title,
.fpt-product-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1e272e !important;
    line-height: 1.6 !important;
    margin-bottom: 12px !important;

    /* مهم‌ترین بخش: جلوگیری از بریده شدن متن */
    min-height: 72px !important;
    height: auto !important;
    max-height: none !important;
    display: block !important;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: unset !important;

    /* حذف line clamp قبلی */
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
}

/* Footer sticks to bottom */
.fpt-modern-card .fpt-card-footer,
.fpt-card-footer {
    margin-top: auto !important;
    padding-top: 15px;
}

/* Price */
.fpt-modern-card .price,
.fpt-price-box .price {
    color: var(--fpt-green, #526107) !important;
    font-size: 19px !important;
    font-weight: 900 !important;
    display: block !important;
    margin-bottom: 12px !important;
}

/* Sale price */
.fpt-modern-card .price ins,
.fpt-modern-card .price > .amount {
    color: #333333 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

/* Old price */
.fpt-modern-card .price del {
    color: #b2bec3 !important;
    font-size: 13px !important;
    margin-left: 5px;
}

/* Button */
.fpt-modern-card .fpt-card-footer .button,
.fpt-button-wrapper .button {
    width: 100% !important;
    background: #FFC107 !important;
    color: #000000 !important;
    border-radius: 12px !important;
    padding: 12px 10px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    border: none !important;
    border-bottom: 4px solid #E4AD05 !important;
    box-shadow: 0 3px 0 #d9a200 !important;
    transition: all 0.15s ease !important;
    cursor: pointer !important;
}

/* Button hover */
.fpt-modern-card .fpt-card-footer .button:hover,
.fpt-button-wrapper .button:hover {
    background: #FFD54F !important;
    transform: translateY(2px);
    border-bottom: 2px solid #E4AD05 !important;
    box-shadow: 0 1px 0 #d9a200 !important;
}

/* Remove unwanted button icons */
.fpt-modern-card .button::before,
.fpt-modern-card .button::after,
.fpt-button-wrapper .button::before,
.fpt-button-wrapper .button::after {
    display: none !important;
    content: none !important;
}

/* Out of stock label - old version */
.fpt-out-of-stock-label {
    position: absolute;
    bottom: 10px;
    background: rgba(239, 68, 68, 0.9);
    color: #ffffff;
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: bold;
}

/* Out of stock overlay - new version */
.fpt-modern-card .fpt-oos-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.fpt-modern-card .fpt-oos-badge {
    background: #2d3436;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ======================================================
   FPT GLOBAL FONT
====================================================== */

body,
button,
input,
textarea,
select,
.elementor-widget,
.elementor-heading-title,
.elementor-button,
.woocommerce,
.woocommerce-page {
    font-family: "iranyekanwebmedium_FaNum", "iranyekanwebregular_FaNum", Tahoma, Arial, sans-serif !important;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6,
.elementor-heading-title {
    font-family: "iranyekanwebbold_FaNum", "iranyekanwebmedium_FaNum", Tahoma, Arial, sans-serif !important;
    font-weight: 700;
}

/* Menu */
.menu,
.main-nav,
.whb-navigation,
.wd-nav,
.wd-nav a,
.elementor-nav-menu,
.elementor-nav-menu a {
    font-family: "iranyekanwebmedium_FaNum", "iranyekanwebregular_FaNum", Tahoma, Arial, sans-serif !important;
}

/* WooCommerce */
.woocommerce,
.woocommerce div.product,
.woocommerce ul.products li.product,
.woocommerce-loop-product__title,
.product_title,
.price,
.woocommerce button,
.woocommerce input,
.woocommerce textarea {
    font-family: "iranyekanwebmedium_FaNum", "iranyekanwebregular_FaNum", Tahoma, Arial, sans-serif !important;
}

/* Elementor forms */
.elementor-field,
.elementor-field-label,
.elementor-button-text {
    font-family: "iranyekanwebmedium_FaNum", "iranyekanwebregular_FaNum", Tahoma, Arial, sans-serif !important;
}

/* ======================================================
   RESPONSIVE FIXES
====================================================== */

@media (max-width: 1024px) {
    .fpt-modern-card .fpt-image-area,
    .fpt-image-wrapper {
        height: 210px;
    }

    .fpt-modern-card .fpt-product-title,
    .fpt-product-title {
        min-height: 76px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 767px) {
    .fpt-modern-card .fpt-card-container,
    .fpt-card-container {
        border-radius: 16px;
    }

    .fpt-modern-card .fpt-image-area,
    .fpt-image-wrapper {
        height: 190px;
        padding: 18px;
    }

    .fpt-modern-card .fpt-card-body,
    .fpt-card-content {
        padding: 12px 15px 18px 15px;
    }

    .fpt-modern-card .fpt-product-title,
    .fpt-product-title {
        min-height: auto !important;
        font-size: 14px !important;
        line-height: 1.7 !important;
        margin-bottom: 10px !important;
    }

    .fpt-modern-card .price,
    .fpt-price-box .price {
        font-size: 17px !important;
    }

    .fpt-modern-card .fpt-card-footer .button,
    .fpt-button-wrapper .button {
        font-size: 13px !important;
        padding: 11px 8px !important;
    }
}/* End custom CSS */