/* LTV Product Builder 1.0.0 */
.ltvpb-product-box,
.ltvpb-price,
.ltvpb-spec,
.ltvpb-buy,
.ltvpb-hotline-box {
    box-sizing: border-box;
    font-family: inherit;
}

.ltvpb-product-box {
    width: 100%;
}

.ltvpb-price {
    margin: 0 0 18px;
    line-height: 1.1;
}

.ltvpb-price-old {
    margin-bottom: 5px;
    color: #6f6f6f;
    font-size: clamp(17px, 1.5vw, 22px);
    font-weight: 500;
    text-decoration: line-through;
}

.ltvpb-price-current {
    color: #111;
    font-size: clamp(34px, 3.1vw, 48px);
    font-weight: 700;
    letter-spacing: -0.035em;
}

.ltvpb-price-current .woocommerce-Price-currencySymbol,
.ltvpb-price-old .woocommerce-Price-currencySymbol {
    font-size: .72em;
    font-weight: 600;
}

.ltvpb-saving {
    margin-top: 7px;
    color: #b42318;
    font-size: 13px;
    font-weight: 600;
}

.ltvpb-saving span {
    margin-left: 3px;
}

.ltvpb-spec {
    width: 100%;
    margin: 0 0 24px;
    padding: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 4px;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .12);
}

.ltvpb-spec h3 {
    margin: 0 0 8px;
    padding: 0 0 11px;
    border-bottom: 1px solid #e8e8e8;
    color: #161616;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: none;
    letter-spacing: 0;
}

.ltvpb-spec table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    background: transparent;
    font-size: 14px;
}

.ltvpb-spec tr,
.ltvpb-spec th,
.ltvpb-spec td {
    border: 0;
}

.ltvpb-spec tr:nth-child(even) {
    background: #f1f1f1;
}

.ltvpb-spec th,
.ltvpb-spec td {
    padding: 11px 10px;
    vertical-align: middle;
    line-height: 1.4;
}

.ltvpb-spec th {
    width: 46%;
    color: #292929;
    font-weight: 700;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
}

.ltvpb-spec td {
    color: #4d4d4d;
    font-weight: 400;
    text-align: left;
}

.ltvpb-buy {
    width: 100%;
}

.ltvpb-buy-row {
    display: grid;
    grid-template-columns: 120px minmax(160px, 1fr) 54px;
    gap: 10px;
    width: 100%;
    margin-bottom: 11px;
}

.ltvpb-quantity {
    display: grid;
    grid-template-columns: 36px 48px 36px;
    height: 54px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #cfcfcf;
}

.ltvpb-quantity button,
.ltvpb-quantity input {
    min-width: 0;
    height: 52px;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-family: inherit;
    box-shadow: none !important;
}

.ltvpb-quantity button {
    padding: 0;
    background: #f4f4f4;
    color: #222;
    font-size: 19px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    text-shadow: none;
}

.ltvpb-quantity button:hover {
    background: #e8e8e8;
    color: #111;
}

.ltvpb-qty-input {
    width: 48px;
    padding: 0 3px !important;
    background: #fff;
    border-right: 1px solid #ddd !important;
    border-left: 1px solid #ddd !important;
    color: #222;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    appearance: textfield;
}

.ltvpb-qty-input::-webkit-inner-spin-button,
.ltvpb-qty-input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.ltvpb-buy-now,
.ltvpb-add-cart,
.ltvpb-buy-delivery,
.ltvpb-hotline {
    text-decoration: none !important;
}

.ltvpb-buy-now {
    display: flex;
    min-width: 0;
    height: 54px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    background: #ae8745;
    border: 1px solid #9f793c;
    border-radius: 2px;
    color: #fff !important;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .01em;
    transition: background .18s ease, transform .18s ease;
}

.ltvpb-buy-now:hover {
    background: #8f6b35;
    color: #fff !important;
    transform: translateY(-1px);
}

.ltvpb-add-cart {
    display: flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #cfcfcf;
    border-radius: 2px;
    color: #222 !important;
    transition: background .18s ease, border-color .18s ease;
}

.ltvpb-add-cart:hover {
    background: #f5f5f5;
    border-color: #999;
    color: #111 !important;
}

.ltvpb-add-cart svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ltvpb-buy-delivery {
    display: flex;
    width: 100%;
    min-height: 60px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    background: #ed0000;
    border: 1px solid #d70000;
    border-radius: 4px;
    color: #fff !important;
    text-align: center;
    transition: background .18s ease, transform .18s ease;
}

.ltvpb-buy-delivery:hover {
    background: #c90000;
    color: #fff !important;
    transform: translateY(-1px);
}

.ltvpb-buy-delivery strong {
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
}

.ltvpb-buy-delivery span {
    margin-top: 2px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.ltvpb-hotline-box {
    width: 100%;
    margin-top: 14px;
}

.ltvpb-contact-title {
    margin-bottom: 10px;
    color: #c90000;
    font-size: 21px;
    font-weight: 700;
}

.ltvpb-hotline {
    display: flex;
    width: 100%;
    min-height: 64px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 18px;
    background: #e60000;
    border: 1px solid #ce0000;
    border-radius: 5px;
    color: #fff !important;
    box-shadow: 0 3px 8px rgba(230, 0, 0, .2);
}

.ltvpb-hotline-icon {
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    font-size: 20px;
}

.ltvpb-hotline > span:last-child {
    display: flex;
    flex-direction: column;
}

.ltvpb-hotline strong {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.ltvpb-hotline small {
    margin-top: 2px;
    color: #fff;
    font-size: 12px;
}

.ltvpb-notice {
    margin-top: 12px;
    padding: 13px 15px;
    background: #f7f7f7;
    border-left: 3px solid #d60000;
    color: #333;
    font-size: 14px;
}

@media (max-width: 549px) {
    .ltvpb-price-current {
        font-size: 34px;
    }

    .ltvpb-spec {
        padding: 14px;
    }

    .ltvpb-spec table {
        font-size: 13px;
    }

    .ltvpb-spec th,
    .ltvpb-spec td {
        padding: 10px 8px;
    }

    .ltvpb-buy-row {
        grid-template-columns: 100px minmax(110px, 1fr) 48px;
        gap: 6px;
    }

    .ltvpb-quantity {
        grid-template-columns: 30px 40px 30px;
        height: 50px;
    }

    .ltvpb-quantity button,
    .ltvpb-quantity input {
        height: 48px;
    }

    .ltvpb-qty-input {
        width: 40px;
    }

    .ltvpb-buy-now,
    .ltvpb-add-cart {
        height: 50px;
    }

    .ltvpb-add-cart {
        width: 48px;
    }

    .ltvpb-buy-now {
        padding: 0 8px;
        font-size: 13px;
    }
}
