/* EVO TRADE DIRECT — Single product purchase layout (brand #176B45) */
body.single-product .page-shell { max-width: 1320px; }
body.single-product .evo-single-product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    align-items: start;
    gap: clamp(32px, 5vw, 76px);
    margin: 32px auto 48px;
}
body.single-product .evo-single-product-layout::after { content: none; }
body.single-product .evo-single-product-layout .evo-product-gallery-column {
    position: relative;
}
body.single-product .evo-single-product-layout .evo-product-gallery-column > span.onsale {
    position: absolute;
    top: 12px;
    left: calc(82px + 14px + 12px);
    z-index: 5;

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

    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 6px 10px;

    border: 0;
    border-radius: 5px;
    box-sizing: border-box;

    background: var(--brand-green);
    color: var(--white, #FFFFFF);

    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 700px) {
    body.single-product .evo-single-product-layout .evo-product-gallery-column > span.onsale {
        top: 12px;
        left: 12px;
    }
}
body.single-product .evo-single-product-layout .evo-product-gallery-column {
    min-width: 0;
    padding-left: 96px;
}

body.single-product .evo-single-product-layout .evo-aplus-content-wrapper {
    grid-column: 1 / -1;
}

body.single-product .evo-single-product-layout .woocommerce-product-gallery {
    position: relative;
    float: none !important;
    display: block;
    width: 100% !important;
    max-width: 100%;
    margin: 0;
}

body.single-product .evo-single-product-layout .woocommerce-product-gallery__wrapper {
    width: 100%;
}

body.single-product .evo-single-product-layout .flex-control-thumbs {
    position: absolute;
    top: 0;
    left: -96px;
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    width: 82px;
    margin: 0 !important;
    padding: 0;
}

body.single-product .evo-single-product-layout .flex-control-thumbs li {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

body.single-product .evo-single-product-layout .flex-control-thumbs img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 1px solid #e4e9e5;
    border-radius: 8px;
    padding: 3px;
    opacity: .72;
    cursor: pointer;
}

body.single-product .evo-single-product-layout .flex-control-thumbs img.flex-active,
body.single-product .evo-single-product-layout .flex-control-thumbs img:hover {
    border-color: #176B45;
    opacity: 1;
}
body.single-product .evo-product-purchase-column { min-width: 0; }
body.single-product .evo-product-summary {
    float: none !important; width: 100% !important; margin: 0 !important;
    padding: 26px 28px; border: 1px solid #e5ebe7; border-radius: 13px;
    background: #fff; box-shadow: 0 8px 28px rgba(15,42,28,.045);
    position: sticky; top: 92px;
}
body.single-product .evo-product-brand { margin: 0 0 8px; color: #176B45; font-size: 13px; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }
body.single-product .evo-product-summary .product_title { margin: 0 0 10px; color: #17231b; font-size: clamp(25px, 2vw, 32px); line-height: 1.25; font-weight: 700; }
body.single-product .evo-product-sku { margin: 0 0 12px; color: #737d76; font-size: 12px; }
body.single-product .evo-product-sku span { font-weight: 600; }
body.single-product .evo-product-summary .evo-product-rating-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 9px; margin: 0 0 14px; color: #68756c; font-size: 12px; }
body.single-product .evo-product-summary .evo-product-rating-stars .star-rating { float: none; display: inline-block; margin: 0; color: #d99a19; font-size: 13px; }
body.single-product .evo-product-summary .evo-product-rating-average { color: #26382c; font-weight: 700; }
body.single-product .evo-product-summary .evo-product-rating-count { color: #68756c; text-decoration: underline; text-underline-offset: 2px; }
body.single-product .evo-product-summary .evo-rating-cold-start { gap: 5px 7px; font-size: 11px; }
body.single-product .evo-product-summary .evo-rating-cold-start .star-rating { font-size: 11px; }
body.single-product .evo-product-summary .evo-product-rating-count:hover { color: #176B45; }
body.single-product .evo-product-summary .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; color: #17231b; font-size: 27px; font-weight: 700; }
body.single-product .evo-product-summary .price del { color: #8b938d; font-size: 16px; font-weight: 500; opacity: 1; }
body.single-product .evo-product-summary .price ins { text-decoration: none; color: #176B45; }
body.single-product .evo-product-summary .price .evo-discount-percent { display: inline-flex; padding: 4px 7px; border-radius: 5px; background: #edf7f0; color: #176B45; font-size: 12px; font-weight: 700; }
body.single-product .evo-product-summary .woocommerce-product-details__short-description { margin: 0 0 20px; color: #4b584f; font-size: 14px; line-height: 1.7; }
body.single-product .evo-product-summary form.cart { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid #e8eee9; }
body.single-product .evo-product-summary form.cart .quantity { margin: 0 10px 10px 0; }
body.single-product .evo-product-summary form.cart .quantity .qty { min-height: 46px; border: 1px solid #dce5de; border-radius: 7px; }
body.single-product .evo-product-summary .single_add_to_cart_button,
body.single-product .evo-product-summary button.single_add_to_cart_button {
    min-height: 46px; padding: 12px 22px; border: 0; border-radius: 7px;
    background: #176B45; color: #fff; font-weight: 700; transition: background .18s ease;
}
body.single-product .evo-product-summary .single_add_to_cart_button:hover { background: #0f5133; }
body.single-product .evo-product-summary .stock { margin: 12px 0; font-size: 13px; font-weight: 600; }
body.single-product .evo-product-summary .stock.in-stock { color: #176B45; }
body.single-product .evo-product-summary .stock.out-of-stock { color: #a83232; }
body.single-product .evo-product-summary .variations { margin: 0 0 12px; }
body.single-product .evo-product-summary .variations th,
body.single-product .evo-product-summary .variations td { padding: 8px 0; vertical-align: middle; }
body.single-product .evo-product-summary .variations label { color: #27362c; font-size: 13px; font-weight: 600; }
body.single-product .evo-product-summary .variations select { min-height: 42px; width: 100%; border: 1px solid #dce5de; border-radius: 7px; padding: 7px 10px; background: #fff; }
body.single-product .evo-product-summary .reset_variations { color: #176B45; font-size: 12px; }
body.single-product .evo-product-summary .woocommerce-variation-price .price { margin: 8px 0; }
body.single-product .evo-product-summary .woocommerce-variation-availability { font-size: 13px; }
body.single-product .evo-product-summary .product_meta { font-size: 12px; }
body.single-product .evo-single-product-layout .woocommerce-product-gallery .woocommerce-product-gallery__trigger { z-index: 2; }
@media (max-width: 900px) {
 body.single-product .evo-single-product-layout { grid-template-columns: minmax(0, 1fr) minmax(310px, .9fr); gap: 24px; }
 body.single-product .evo-product-summary { padding: 22px; top: 84px; }
}
@media (max-width: 700px) {
 body.single-product .evo-single-product-layout { display: flex; flex-direction: column; gap: 24px; margin: 18px auto 32px; }
 body.single-product .evo-single-product-layout .woocommerce-product-gallery { display: block; }
 body.single-product .evo-single-product-layout .woocommerce-product-gallery__wrapper { width: 100%; }
 body.single-product .evo-single-product-layout .flex-control-thumbs { flex-direction: row; overflow-x: auto; padding: 8px 0 3px !important; gap: 8px; }
 body.single-product .evo-single-product-layout .flex-control-thumbs li { flex: 0 0 64px; width: 64px !important; }
 body.single-product .evo-product-summary { position: static; padding: 20px 17px; }
 body.single-product .evo-product-summary .product_title { font-size: 25px; }
 body.single-product .evo-product-summary form.cart .quantity { margin-right: 8px; }
 body.single-product .evo-product-summary .single_add_to_cart_button { width: 100%; }
}

/* Mobile sticky Add to Cart — native WooCommerce form remains authoritative. */
body.single-product .evo-mobile-cart-bar[hidden] { display: none !important; }
body.single-product .evo-mobile-cart-bar { display: none; }
@media (max-width: 700px) {
    body.single-product .evo-mobile-cart-bar:not([hidden]) {
        position: fixed;
        z-index: 9998;
        left: 0;
        right: 0;
        bottom: calc(var(--evo-consent-offset, 0px) + env(safe-area-inset-bottom, 0px));
        display: flex;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
        background: rgba(255,255,255,.97);
        border-top: 1px solid #e2e9e4;
        box-shadow: 0 -5px 20px rgba(20,40,28,.08);
        backdrop-filter: blur(8px);
    }
    body.single-product .evo-mobile-cart-button {
        width: 100%;
        min-height: 48px;
        border: 0;
        border-radius: 8px;
        background: #176B45;
        color: #fff;
        font: inherit;
        font-weight: 700;
        cursor: pointer;
    }
    body.single-product .evo-mobile-cart-button:disabled { opacity: .55; cursor: not-allowed; }
    body.single-product.evo-mobile-cart-bar-visible { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}

/* Phase 3: configured shipping / trust information below native Add to Cart. */
body.single-product .evo-product-trust {
    display: grid; gap: 9px; margin: 16px 0 0; padding: 13px 0 0;
    border-top: 1px solid #e8eee9; color: #536057; font-size: 12px; line-height: 1.5;
}
body.single-product .evo-product-trust .evo-trust-row { display: flex; align-items: baseline; gap: 8px; }
body.single-product .evo-product-trust .evo-trust-label { flex: 0 0 76px; color: #27362c; font-weight: 700; }
body.single-product .evo-product-trust a { color: #176B45; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Phase 4: centralized description/specifications (kept separate from A+ modules). */
body.single-product .evo-product-information { grid-column: 1 / -1; margin: 28px 0 0; padding: clamp(20px, 3vw, 34px); border: 1px solid #e5ebe7; border-radius: 12px; background: #fff; color: #35443a; }
body.single-product .evo-product-information > h2 { margin: 0 0 22px; color: #17231b; font-size: 25px; line-height: 1.3; }
body.single-product .evo-product-information h3 { margin: 0 0 12px; color: #17231b; font-size: 17px; }
body.single-product .evo-product-information .evo-product-info-block,
body.single-product .evo-product-information .evo-product-description { margin: 0 0 24px; }
body.single-product .evo-product-information .evo-product-description > :last-child { margin-bottom: 0; }
body.single-product .evo-product-information ul { margin: 0; padding-left: 20px; }
body.single-product .evo-product-information li { margin: 0 0 7px; }
body.single-product .evo-product-information .evo-product-info-list { margin: 0; border: 1px solid #e8eee9; border-radius: 8px; overflow: hidden; }
body.single-product .evo-product-information .evo-product-info-list > div { display: grid; grid-template-columns: minmax(130px, .35fr) 1fr; gap: 16px; padding: 11px 14px; border-bottom: 1px solid #e8eee9; }
body.single-product .evo-product-information .evo-product-info-list > div:last-child { border-bottom: 0; }
body.single-product .evo-product-information dt { color: #27362c; font-weight: 650; }
body.single-product .evo-product-information dd { margin: 0; overflow-wrap: anywhere; }
body.single-product .evo-product-information .woocommerce-product-attributes { width: 100%; margin: 0; border-collapse: collapse; }
body.single-product .evo-product-information .woocommerce-product-attributes th,
body.single-product .evo-product-information .woocommerce-product-attributes td { padding: 11px 14px; border: 1px solid #e8eee9; text-align: left; }
body.single-product .evo-product-information .woocommerce-product-attributes th { color: #27362c; font-weight: 650; }
body.single-product .evo-product-information a { color: #176B45; font-weight: 600; text-underline-offset: 2px; }
body.single-product .evo-product-information .evo-product-download-note { color: #657168; font-size: 13px; }
@media (max-width: 600px) { body.single-product .evo-product-information { padding: 18px 15px; } body.single-product .evo-product-information .evo-product-info-list > div { grid-template-columns: 1fr; gap: 4px; } }

/* Phase 7 product recommendations */
.evo-recommendations{grid-column:1 / -1;clear:both;margin:32px 0;padding:24px 0;border-top:1px solid #e5e7eb}.evo-recommendations h2{margin:0 0 20px;font-size:1.45rem}.evo-recommendation-grid,.evo-fbt-items{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;list-style:none;margin:0;padding:0}.evo-fbt-items li{min-width:0;padding:12px;border:1px solid #e5e7eb;border-radius:8px}.evo-fbt-items label{display:flex;align-items:flex-start;gap:8px}.evo-fbt-items input{margin-top:4px}.evo-fbt-price{display:block;margin:8px 0 0 24px}.evo-fbt-total{margin:18px 0;font-size:1.05rem}.evo-fbt-message{margin-top:10px}.evo-fbt-current{font-weight:600}.evo-recommendation-grid .product-card{min-width:0}
@media(max-width:768px){.evo-recommendation-grid,.evo-fbt-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.evo-recommendations{margin:24px 0;padding:20px 0}}


/*
| SINGLE PRODUCT — PURCHASE PANEL KEY BENEFITS
*/

body.single-product .evo-product-summary .evo-purchase-panel-benefits {
    margin: 16px 0;
    padding: 0;
}

body.single-product .evo-product-summary .evo-purchase-panel-benefits ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.single-product .evo-product-summary .evo-purchase-panel-benefits li {
    position: relative;
    margin: 0 0 9px;
    padding-left: 25px;
    color: #444;
    font-size: 14px;
    line-height: 1.5;
}

body.single-product .evo-product-summary .evo-purchase-panel-benefits li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: #176B45;
    font-weight: 700;
}


/*
| SINGLE PRODUCT — DISCOUNT INFORMATION
*/

body.single-product .evo-product-summary .evo-product-discount {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 8px 0 14px;
    font-size: 14px;
    line-height: 1.4;
}

body.single-product .evo-product-summary .evo-product-discount-label {
    color: #555;
}

body.single-product .evo-product-summary .evo-product-discount strong {
    color: #176B45;
    font-weight: 700;
}


/*
| SINGLE PRODUCT — BUY NOW BUTTON
*/

body.single-product .evo-product-summary .evo-buy-now-button {
    display: block;
    width: 100%;
    min-height: 46px;
    margin-top: 10px;
    padding: 12px 22px;
    border: 2px solid #176B45;
    border-radius: 7px;
    background: #fff;
    color: #176B45;
    font-weight: 700;
    text-align: center;
    transition: background .18s ease, color .18s ease;
}

body.single-product .evo-product-summary .evo-buy-now-button:hover {
    background: #176B45;
    color: #fff;
}




/*
| SINGLE PRODUCT — PREMIUM PURCHASE BUTTON LAYOUT
| Quantity above two equal-width purchase buttons.
*/

body.single-product .product-type-simple .evo-product-summary form.cart {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

body.single-product .product-type-simple .evo-product-summary form.cart .quantity {
    width: 100%;
    margin: 0 !important;
}

body.single-product .product-type-simple .evo-product-summary form.cart .quantity .qty {
    min-height: 46px;
}

body.single-product .product-type-simple .evo-product-summary form.cart .single_add_to_cart_button,
body.single-product .product-type-simple .evo-product-summary form.cart .evo-buy-now-button {
    display: block;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 12px 20px;
    box-sizing: border-box;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}



