/*!
Theme Name: Kava Child
Theme URI:
Author: Zemez
Author URI:
Description: Kava child theme.
Template: kava
Version: 1.0.1
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kava-child
*/
.rc-price-two-line {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.rc-price-two-line .rc-price-top {
    font-size: var(--Size-Text-size-H8, 16px);
font-style: normal;
font-weight: 300;
line-height: var(--Line-Height-Text-LH-H8, 24px); /* 150% */
text-decoration-line: line-through;
text-align: center;
}

.rc-price-two-line .rc-price-top.has-sale del {
    color: #b3b3b3;
}

.rc-price-two-line .rc-price-top.no-sale {
    visibility: hidden; /* ทำให้เว้นที่เหมือนมีข้อความ */
}

.rc-price-two-line .rc-price-bottom {
    font-size: var(--Size-Text-size-H6, 24px);
font-style: normal;
font-weight: 300;
line-height: var(--Line-Height-Text-LH-H6, 32px); 
text-align: center;
}

.latest-cat-badge {
    color: var(--Text-Text-CI-Normal, #E95283);
    font-size: var(--Size-Text-size-H9, 14px);
    font-style: normal;
    font-weight: 300;
    line-height: var(--Line-Height-Text-LH-H9, 20px);
    padding: 4px 8px;

    display: inline-flex;
    align-items: center;

    border-radius: var(--Corner-Radius---Default, 16px);

    /* ⭐ บังคับบรรทัดเดียว + ตัดด้วย ... */
    white-space: nowrap;       
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;           /* ให้ตัดตามคอนเทนเนอร์ของ Elementor */
}

.custom-cart-summary {
    background: #fafafa;
    padding: 30px;
    border-radius: 6px;
    width: 100%;
}

.summary-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.summary-line {
    border-bottom: 1px solid #e6e6e6;
    margin: 15px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    margin: 8px 0;
}

.shipping-hint {
    font-size: 14px;
    color: #999;
    margin-top: -5px;
}

.coupon-section {
    margin-top: 20px;
}

.coupon-header {
    font-size: 20px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.coupon-box input {
    width: 65%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.coupon-box button {
    width: 30%;
    padding: 10px;
    background: #ddd;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.discount-line .discount-amount {
    color: #36b44a;
    font-weight: 700;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 26px;
    font-weight: 700;
    margin: 20px 0;
}

.purchase-btn {
    display: block;
    text-align: center;
    padding: 16px;
    background: #555;
    color: #fff;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 18px;
}

.continue-btn {
    display: block;
    text-align: center;
    padding: 14px;
    border: 1px solid #555;
    color: #555;
    border-radius: 4px;
    font-size: 18px;
}
.woocommerce-cart .cart-collaterals{  padding: 0px !important; }