/*
 * Conservative single product visual polish.
 * Keep WoodMart's product layout and variation controls untouched.
 */

body.single-product .main-page-wrapper {
    background: linear-gradient(135deg, #f6eee5 0%, #efe3d2 24%, #f3e3dc 48%, #e7ede3 72%, #e8edf0 100%);
}

body.single-product {
    background:
        radial-gradient(circle at 12% 10%, rgba(243, 227, 220, 0.36), rgba(243, 227, 220, 0) 32%),
        linear-gradient(135deg, #f9f2ea 0%, #f3e8de 42%, #eef3ed 100%);
}

body.single-product .product_title {
    color: #37322d;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.32;
    margin-bottom: 14px;
}

body.single-product .summary-inner > .price,
body.single-product .woocommerce-variation-price .price {
    color: #2f5b43 !important;
    font-size: 22px;
    font-weight: 750;
    line-height: 1.3;
    margin: 8px 0 14px;
}

body.single-product .price .amount,
body.single-product .price .woocommerce-Price-currencySymbol,
body.single-product .price ins,
body.single-product .price ins .amount {
    color: inherit !important;
}

body.single-product .woocommerce-product-details__short-description {
    color: #6f665d;
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 22px;
}

body.single-product .momoko-product-assurance {
    background: rgba(255, 250, 243, 0.7);
    border: 1px solid rgba(234, 223, 206, 0.86);
    border-radius: 13px;
    box-shadow: none;
    color: #5f5548;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 9px 0 8px;
    padding: 6px 8px;
}

body.single-product .momoko-product-assurance > .momoko-product-assurance-item {
    align-items: center;
    background: transparent;
    border-radius: 0;
    color: #5f5548;
    display: inline-flex;
    flex: 1 1 0;
    font-size: 12px;
    font-weight: 600;
    justify-content: center;
    line-height: 1.25;
    min-height: 24px;
    padding: 3px 8px;
    text-align: center;
    white-space: nowrap;
}

body.single-product .momoko-product-assurance > .momoko-product-assurance-item + .momoko-product-assurance-item {
    border-left: 1px solid rgba(234, 223, 206, 0.72);
}

body.single-product .momoko-product-cart-note {
    color: #928477;
    font-size: 11.5px;
    line-height: 1.4;
    margin: 4px 0 6px;
}

body.single-product form.cart .single_add_to_cart_button {
    align-items: center;
    background-color: #8fb996 !important;
    border-color: #8fb996 !important;
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(102, 145, 109, 0.16);
    color: #fff !important;
    display: inline-flex;
    font-size: 15px;
    font-weight: 650;
    justify-content: center;
    line-height: 1.2;
    min-height: 42px;
    padding: 10px 28px;
}

body.single-product form.cart .single_add_to_cart_button:hover,
body.single-product form.cart .single_add_to_cart_button:focus-visible {
    background-color: #7aa984 !important;
    border-color: #7aa984 !important;
    box-shadow: 0 8px 16px rgba(102, 145, 109, 0.2);
    color: #fff !important;
}

body.single-product .woocommerce-tabs,
body.single-product .wd-single-tabs {
    color: #4d453d;
}

body.single-product .variations select,
body.single-product .variations select option {
    color: #5f5548;
    font-weight: 650;
}

@media (max-width: 768px) {
    body.single-product .product_title {
        font-size: 24px;
        line-height: 1.32;
        margin-bottom: 8px;
    }

    body.single-product .summary-inner > .price,
    body.single-product .woocommerce-variation-price .price {
        font-size: 20px;
        margin: 6px 0 10px;
    }

    body.single-product .woocommerce-product-details__short-description,
    body.single-product .short-description,
    body.single-product .product-short-description {
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 5;
        color: #6f665d;
        display: -webkit-box;
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 12px;
        overflow: hidden;
    }

    body.single-product .momoko-product-assurance {
        margin: 7px 0 6px;
        padding: 6px 7px;
    }

    body.single-product .momoko-product-assurance > .momoko-product-assurance-item {
        flex: 0 0 50%;
        font-size: 11.5px;
        min-height: 23px;
        padding: 3px 7px;
    }

    body.single-product .momoko-product-assurance > .momoko-product-assurance-item + .momoko-product-assurance-item {
        border-left: 0;
        border-top: 0;
    }

    body.single-product .momoko-product-assurance > .momoko-product-assurance-item:nth-child(2) {
        border-left: 1px solid rgba(234, 223, 206, 0.72);
    }

    body.single-product .momoko-product-assurance > .momoko-product-assurance-item:nth-child(3) {
        border-top: 1px solid rgba(234, 223, 206, 0.72);
        flex-basis: 100%;
    }

    body.single-product .momoko-product-cart-note {
        font-size: 11px;
        margin: 3px 0 5px;
    }

    body.single-product form.cart .single_add_to_cart_button {
        min-height: 40px;
        padding-bottom: 9px;
        padding-top: 9px;
    }
}

@media (max-width: 768px) {
    body.single-product .momoko-product-assurance > .momoko-product-assurance-item {
        align-items: center;
        display: inline-flex;
        justify-content: center;
        line-height: 1.15;
        min-height: 28px;
        padding-bottom: 5px;
        padding-top: 5px;
    }

    body.single-product .momoko-product-assurance > .momoko-product-assurance-item:nth-child(3) {
        min-height: 30px;
        padding-bottom: 6px;
        padding-top: 6px;
    }
}

@media (max-width: 768px) {
    body.single-product .momoko-product-assurance > .momoko-product-assurance-item:nth-child(3) {
        align-items: center !important;
        box-sizing: border-box;
        display: flex !important;
        justify-content: center !important;
        line-height: 1.2 !important;
        min-height: 34px !important;
        padding-bottom: 2px !important;
        padding-top: 6px !important;
    }
}
