/*
 * v0.5.11.95 — Produto individual: refinamento visual inspirado em referência.
 * CSS-only, carregado por último e restrito a body.single-product.
 * Não altera DOM, JS, compra, frete, carrinho, checkout ou regras comerciais.
 */

/* ============================================================
   DESKTOP >= 1025px
   ============================================================ */
@media (min-width: 1025px) {
    body.single-product .product-entry-wrapper.leo-product-reference-layout {
        grid-template-columns:
            minmax(0, 44fr)
            minmax(0, 30fr)
            minmax(310px, 26fr) !important;
        border-radius: 16px !important;
        border-color: #d9dde2 !important;
    }

    body.single-product .leo-product-info-column {
        padding: 18px 17px 22px !important;
        border-right-color: #e2e5e8 !important;
    }

    body.single-product .leo-product-info-column .product_title {
        margin-bottom: 19px !important;
        color: #111827 !important;
        font-size: 24px !important;
        line-height: 1.07 !important;
        letter-spacing: -.3px !important;
    }

    body.single-product .leo-product-top-actions {
        top: 15px !important;
        right: 15px !important;
        gap: 7px !important;
    }

    body.single-product .leo-product-favorite-button,
    body.single-product .leo-product-share-button {
        width: 38px !important;
        height: 38px !important;
        flex-basis: 38px !important;
        background: #f5f6f7 !important;
    }

    body.single-product .leo-product-seller {
        gap: 8px !important;
        margin-bottom: 10px !important;
        color: #667085 !important;
        font-size: 13.5px !important;
        line-height: 1.35 !important;
    }

    body.single-product .leo-product-seller-logo {
        max-width: 102px !important;
        height: 27px !important;
        max-height: 27px !important;
    }

    body.single-product .leo-product-reference {
        min-height: 28px !important;
        margin-bottom: 16px !important;
        padding: 4px 9px !important;
        color: #6f7782 !important;
        font-size: 11.5px !important;
        border-color: #b8bec6 !important;
        border-radius: 7px !important;
    }

    body.single-product .leo-product-short-description {
        margin-bottom: 17px !important;
        color: #596273 !important;
        font-size: 13.5px !important;
        line-height: 1.52 !important;
    }

    body.single-product .leo-product-specs {
        margin-top: 2px !important;
        background: #f6f6f6 !important;
        border-color: #e1e3e6 !important;
        border-radius: 11px !important;
    }

    body.single-product .leo-product-specs-header {
        min-height: 43px !important;
        padding-left: 13px !important;
        padding-right: 13px !important;
    }

    body.single-product .leo-product-specs-header strong {
        color: #20242a !important;
        font-size: 14px !important;
    }

    body.single-product .leo-product-spec-name,
    body.single-product .leo-product-spec-value {
        font-size: 12.5px !important;
    }

    body.single-product .leo-product-buy-column {
        padding: 18px 17px 22px !important;
    }

    body.single-product .leo-product-buy-column .price {
        margin-bottom: 8px !important;
        color: #0f1720 !important;
        font-size: 29px !important;
        line-height: 1.08 !important;
        letter-spacing: -.2px !important;
    }

    body.single-product .leo-product-buy-column .price::after {
        color: #667085 !important;
        font-size: 12px !important;
    }

    body.single-product .leo-product-payment {
        margin-bottom: 15px !important;
    }

    body.single-product .leo-product-payment-toggle {
        min-height: 30px !important;
        padding: 5px 11px !important;
        border-color: #dfe3e7 !important;
        background: #f7f7f7 !important;
        color: #30343b !important;
        font-size: 11.5px !important;
    }

    body.single-product .leo-product-payment-toggle svg {
        width: 13px !important;
        height: 13px !important;
        flex: 0 0 13px !important;
    }

    body.single-product .leo-product-stock-block {
        margin-bottom: 13px !important;
    }

    body.single-product .leo-product-stock-block .stock {
        color: #3c4653 !important;
        font-size: 13px !important;
    }

    body.single-product .leo-product-buy-column .single_add_to_cart_button {
        min-height: 48px !important;
        height: 48px !important;
        border-radius: 9px !important;
        background: #19875c !important;
    }

    body.single-product .leo-product-buy-column .leo-single-cart-text {
        font-size: 14.5px !important;
    }

    body.single-product .leo-product-delivery {
        margin-top: 25px !important;
        padding-top: 20px !important;
        border-top-color: #e4e7ea !important;
    }

    body.single-product .leo-product-delivery-title {
        margin-bottom: 11px !important;
        color: #1f2933 !important;
        font-size: 13.5px !important;
    }
}

/* ============================================================
   TABLET 768–1024px
   Mantém a estrutura homologada; harmoniza apenas a hierarquia visual.
   ============================================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    body.single-product .leo-tablet-product-info {
        padding: 21px 21px 24px !important;
    }

    body.single-product .leo-tablet-product-info .product_title {
        margin-bottom: 19px !important;
        color: #111827 !important;
        font-size: 24px !important;
        line-height: 1.08 !important;
        letter-spacing: -.25px !important;
    }

    body.single-product .leo-tablet-product-info .leo-product-seller {
        color: #667085 !important;
        font-size: 13px !important;
    }

    body.single-product .leo-tablet-product-info .leo-product-reference {
        margin-bottom: 15px !important;
        font-size: 11px !important;
    }

    body.single-product .leo-tablet-product-info .leo-product-short-description {
        margin-bottom: 18px !important;
        color: #596273 !important;
        font-size: 13.5px !important;
        line-height: 1.5 !important;
    }

    body.single-product .leo-tablet-buy-area {
        padding: 21px 20px 24px !important;
    }

    body.single-product .leo-tablet-buy-area .price {
        color: #0f1720 !important;
        font-size: 28px !important;
    }

    body.single-product .leo-tablet-product-info .leo-product-payment-toggle,
    body.single-product .leo-tablet-buy-area .leo-product-payment-toggle {
        font-size: 11.5px !important;
    }

    body.single-product .leo-tablet-product-info .leo-product-payment-toggle svg,
    body.single-product .leo-tablet-buy-area .leo-product-payment-toggle svg {
        width: 13px !important;
        height: 13px !important;
        flex: 0 0 13px !important;
    }
}

/* ============================================================
   MOBILE <= 767px
   Sem mudança estrutural: tipografia equilibrada + correção do ícone do
   seletor de pagamento para impedir herança exagerada do tema.
   ============================================================ */
@media (max-width: 767px) {
    body.single-product .leo-mobile-product-info {
        padding: 10px 16px 22px !important;
    }

    body.single-product .leo-mobile-product-info .product_title {
        margin-bottom: 16px !important;
        padding-right: 82px !important;
        color: #111827 !important;
        font-size: 21px !important;
        line-height: 1.1 !important;
        letter-spacing: -.18px !important;
    }

    body.single-product .leo-mobile-product-info .leo-product-seller {
        margin-top: 2px !important;
        margin-bottom: 9px !important;
        color: #667085 !important;
        font-size: 12.5px !important;
    }

    body.single-product .leo-mobile-product-info .leo-product-reference {
        margin-bottom: 13px !important;
        font-size: 10.5px !important;
    }

    body.single-product .leo-mobile-product-info .leo-product-short-description {
        margin-bottom: 17px !important;
        color: #596273 !important;
        font-size: 13.5px !important;
        line-height: 1.5 !important;
    }

    body.single-product .leo-mobile-product-info .price {
        margin-bottom: 8px !important;
        color: #0f1720 !important;
        font-size: 27px !important;
        line-height: 1.08 !important;
    }

    body.single-product .leo-mobile-product-info .price::after {
        color: #667085 !important;
        font-size: 11px !important;
    }

    body.single-product .leo-mobile-product-info .leo-product-payment {
        margin-bottom: 14px !important;
    }

    body.single-product .leo-mobile-product-info .leo-product-payment-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 6px !important;
        width: auto !important;
        max-width: 100% !important;
        min-height: 32px !important;
        padding: 6px 12px !important;
        border-radius: 999px !important;
        font-size: 11.5px !important;
        line-height: 1.25 !important;
    }

    body.single-product .leo-mobile-product-info .leo-product-payment-toggle span {
        display: inline !important;
        min-width: 0 !important;
    }

    body.single-product .leo-mobile-product-info .leo-product-payment-toggle svg {
        display: block !important;
        width: 13px !important;
        height: 13px !important;
        min-width: 13px !important;
        max-width: 13px !important;
        min-height: 13px !important;
        max-height: 13px !important;
        flex: 0 0 13px !important;
        fill: none !important;
        stroke: currentColor !important;
        stroke-width: 1.8 !important;
    }

    body.single-product .leo-mobile-product-info .leo-product-stock-block .stock {
        color: #3c4653 !important;
        font-size: 13px !important;
    }

    body.single-product .leo-mobile-product-info .leo-single-cart-text {
        font-size: 14.5px !important;
    }
}
