body.single-product #masthead,
body.single-product .site-footer {
    display: none !important;
}

body.single-product [class*="sticky-add-to-cart"],
body.single-product [id*="sticky-add-to-cart"],
body.single-product .ast-sticky-add-to-cart,
body.single-product .ast-sticky-add-to-cart-action-wrap {
    display: none !important;
    visibility: hidden !important;
}

body.single-product {
    background: #fffdf8;
}

.m24-product-chrome {
    background: #fffdf8;
    color: #2e322c;
    font-family: Manrope, "Avenir Next", Arial, sans-serif;
}

body.single-product .site-content > .ast-container {
    max-width: 1416px !important;
    padding: 54px 34px 100px !important;
}

body.single-product div.product.product {
    width: 100% !important;
    max-width: 1416px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(500px, .92fr) !important;
    column-gap: 64px !important;
    align-items: start !important;
    color: #2e322c;
}

body.single-product div.product.product .woocommerce-product-gallery,
body.single-product div.product.product .images {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
    grid-column: 1 !important;
}

.m24-left-column {
    min-width: 0;
    grid-column: 1 !important;
    grid-row: 1 !important;
}

.m24-left-column .woocommerce-product-gallery,
.m24-left-column .images {
    width: 100% !important;
}

body.single-product div.product.product .summary {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    align-self: start !important;
    transform: none !important;
}

body.single-product div.product.product .summary.ast-sticky,
body.single-product div.product.product .summary[class*="sticky"] {
    position: static !important;
    top: auto !important;
    transform: none !important;
}

body.single-product .woocommerce-product-gallery__wrapper {
    border-radius: 16px;
    overflow: hidden;
    background: #f5f0e7;
}

body.single-product .woocommerce-product-gallery__image img {
    width: 100% !important;
    min-height: 620px;
    object-fit: cover;
}

body.single-product .flex-control-thumbs {
    margin-top: 12px !important;
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 8px !important;
}

body.single-product .flex-control-thumbs li {
    width: auto !important;
    margin: 0 !important;
}

body.single-product .flex-control-thumbs img {
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 7px;
}

body.single-product .woocommerce-breadcrumb {
    margin-bottom: 18px !important;
    color: #666a61 !important;
    font-size: 10px !important;
}

body.single-product .product_meta {
    margin-top: 17px;
    color: #666a61;
    font-size: 10px;
}

body.single-product .woocommerce-tabs,
body.single-product div.product.product > .woocommerce-product-details__short-description,
body.single-product div.product.product > .related {
    grid-column: 1 / -1 !important;
}

body.single-product div.product .product_title {
    margin-bottom: 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(35px, 3vw, 47px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -.03em;
    text-transform: none;
}

body.single-product div.product .price {
    color: #b66f53 !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px !important;
}

body.single-product .summary > .woocommerce-product-details__short-description {
    display: none !important;
}

.m24-product-benefits {
    width: 100%;
    clear: both;
    margin: 24px 0 0;
    padding: 22px 24px;
    border: 1px solid #dcd2c2;
    border-left: 4px solid #7f9279;
    border-radius: 10px;
    background: #fffdf8;
}

body.woocommerce-cart .coupon,
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout form.checkout_coupon {
    display: none !important;
}

.m24-product-benefits h2 {
    margin: 0 0 15px !important;
    color: #2e322c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px !important;
    font-weight: 400;
    line-height: 1.2;
}

.m24-product-benefits ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.m24-product-benefits li {
    position: relative;
    margin: 0;
    padding: 7px 0 7px 27px;
    color: #5f635b;
    font-size: 13px;
    line-height: 1.5;
}

.m24-product-benefits li::before {
    content: "✓";
    position: absolute;
    top: 7px;
    left: 1px;
    color: #748b6d;
    font-weight: 700;
}

.m24-product-benefits strong {
    color: #2e322c;
}

.m24-calc {
    margin: 22px 0 20px;
    padding: 28px;
    background: #f5f0e7;
    border: 1px solid #dcd2c2;
    border-radius: 12px;
}

.m24-calc-eyebrow {
    margin: 0 0 10px;
    color: #657861;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.m24-calc h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 400;
}

.m24-calc-intro {
    margin: 12px 0 22px;
    color: #666a61;
    font-size: 12px;
    line-height: 1.6;
}

.m24-calc-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.m24-calc-fields label,
.m24-calc-select {
    color: #666a61;
    font-size: 10px;
    font-weight: 700;
}

.m24-calc-fields label > span {
    height: 52px;
    margin-top: 7px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    background: #fffdf8;
    border: 1px solid #dcd2c2;
}

.m24-calc-fields input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #2e322c;
    font-size: 16px;
}

.m24-calc-select {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.m24-calc-select select {
    height: 52px;
    padding: 0 12px;
    background: #fffdf8;
    border: 1px solid #dcd2c2;
    color: #2e322c;
    font-size: 13px;
}

.m24-calc-material {
    margin-top: 10px;
    padding: 14px 15px;
    background: #fffdf8;
    border-left: 3px solid #7f9279;
}

.m24-calc-material > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.m24-calc-material strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 400;
}

.m24-calc-material span {
    color: #657861;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.m24-calc-material ul {
    margin: 10px 0 0;
    padding-left: 18px;
    color: #666a61;
    font-size: 10px;
    line-height: 1.65;
}

.m24-calc-mirror {
    margin: 16px 0 0;
    padding: 0;
    display: flex;
    gap: 20px;
    border: 0;
}

.m24-calc-mirror legend {
    margin-bottom: 8px;
    color: #666a61;
    font-size: 10px;
    font-weight: 700;
}

.m24-calc-mirror label {
    font-size: 12px;
}

.m24-calc-summary {
    margin: 20px 0 0;
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid #dcd2c2;
    border-bottom: 1px solid #dcd2c2;
}

.m24-calc-summary span {
    font-size: 11px;
}

.m24-calc-summary small {
    margin-top: 5px;
    display: block;
    color: #666a61;
}

.m24-calc-summary strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 400;
    white-space: nowrap;
}

.m24-calc-included {
    margin: 14px 0 0;
    color: #666a61;
    font-size: 10px;
    line-height: 1.55;
    text-align: center;
}

body.single-product form.cart .quantity {
    display: none !important;
}

body.single-product form.cart .single_add_to_cart_button {
    width: 100%;
    min-height: 56px;
    border-radius: 0 !important;
    background: #7f9279 !important;
    color: #fff !important;
    font-size: 14px;
}

body.single-product form.cart .single_add_to_cart_button:hover {
    background: #657861 !important;
}

body.single-product div.product.product > .woocommerce-product-details__short-description {
    margin-top: 65px;
    padding: 52px;
    background: #f5f0e7;
    color: #666a61;
    font-size: 13px;
    line-height: 1.75;
    border-radius: 12px;
}

body.single-product div.product.product > .woocommerce-product-details__short-description h2,
body.single-product div.product.product > .woocommerce-product-details__short-description h3 {
    color: #2e322c;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

body.single-product .woocommerce-tabs {
    margin-top: 70px;
}

body.single-product .related.products {
    margin-top: 80px;
}

.m24-product-properties {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin-top: 72px !important;
    padding: 72px 52px !important;
    border-radius: 14px;
}

@media (max-width: 900px) {
    body.single-product div.product.product {
        grid-template-columns: 1fr !important;
    }

    body.single-product div.product.product .woocommerce-product-gallery,
    body.single-product div.product.product .m24-left-column,
    body.single-product div.product.product .summary {
        grid-column: 1 !important;
    }

    body.single-product div.product.product .m24-left-column {
        grid-row: auto !important;
    }

    body.single-product div.product.product .summary {
        grid-row: auto !important;
        margin-top: 35px !important;
    }

    .m24-product-properties {
        padding: 55px 25px !important;
    }
}

@media (max-width: 600px) {
    body.single-product .site-content > .ast-container {
        padding: 20px 16px 60px !important;
    }

    body.single-product .woocommerce-product-gallery__image img {
        min-height: 390px;
    }

    .m24-calc {
        padding: 22px 16px;
    }

    .m24-product-properties {
        margin-top: 50px !important;
        padding: 48px 16px !important;
    }

    .m24-calc-fields {
        grid-template-columns: 1fr;
    }
}
