/* SR Móveis - frontend.css
 * Extraído da RC29 na RC30.
 * Somente apresentação; nenhuma regra de API/sincronização reside aqui.
 */

/* ===== Cards da Home ===== */
body.home .products .product-small .col-inner,
        body.home .products .product-small .box{
            background:#fff;
            border-radius:12px;
        }
        body.home .products .product-small .box{
            border:1px solid #dcdcdc;
            overflow:hidden;
            padding:10px 10px 12px;
            transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
            box-shadow:0 4px 16px rgba(0,0,0,.06);
        }
        body.home .products .product-small .box:hover{
            transform:translateY(-2px);
            border-color:#d5d5d5;
            box-shadow:0 8px 22px rgba(0,0,0,.08);
        }
        body.home .products .product-small .box-image{
            position:relative;
            border-radius:10px;
            overflow:hidden;
            background:#fff;
            margin-bottom:8px;
        }
        body.home .products .product-small .box-image img{
            display:block;
            width:100%;
            aspect-ratio:1/1;
            object-fit:contain;
            background:#fff;
        }
        body.home .products .product-small .box-image.sr-gallery-swapped .back-image,
        body.home .products .product-small .box-image.sr-gallery-swapped .show-on-hover{
            display:none!important;
        }
        body.home .products .product-small .box-text{
            padding:10px 6px 0!important;
            text-align:center!important;
        }
        body.home .products .product-small .product-title,
        body.home .products .product-small .product-title a{
            display:block;
            text-align:center!important;
            font-size:15px;
            line-height:1.28;
            font-weight:500;
            color:#202020;
            margin:0 auto;
        }
        body.home .products .product-small .price-wrapper{
            text-align:center;
            margin-top:7px;
        }
        body.home .products .product-small .price{
            display:block!important;
            margin:0!important;
        }
        body.home .products .product-small .sr-home-price{
            display:flex;
            flex-direction:column;
            align-items:center;
            justify-content:center;
            line-height:1.15;
        }
        body.home .products .product-small .sr-home-pix{
            display:block;
            font-size:18px;
            line-height:1.05;
            font-weight:700;
            color:#16a34a;
        }
        body.home .products .product-small .sr-home-pix-label{
            display:flex;
            align-items:center;
            justify-content:center;
            width:100%;
            margin-top:7px;
            padding:7px 8px;
            border:0;
            border-radius:6px;
            background:linear-gradient(180deg,#16a34a 0%,#12833c 100%);
            box-shadow:0 4px 12px rgba(18,131,60,.22), inset 0 1px 0 rgba(255,255,255,.18);
            font-size:11px;
            font-weight:800;
            line-height:1.15;
            color:#fff;
            text-transform:none;
            letter-spacing:0;
            white-space:nowrap;
        }
        body.home .products .product-small .sr-home-pix .woocommerce-Price-currencySymbol{
            font-size:.72em;
            vertical-align:.1em;
        }
        body.home .products .product-small .star-rating{
            margin:6px auto 2px!important;
        }
        body.home .products .product-small .add-to-cart-button,
        body.home .products .product-small .quick-view,
        body.home .products .product-small .category,
        body.home .products .product-small .product-cat{
            display:none!important;
        }
        body.home .products .sr-home-gallery-strip{
            display:flex;
            align-items:center;
            justify-content:center;
            gap:10px;
            padding:10px 4px 4px;
            flex-wrap:wrap;
        }
        body.home .products .sr-home-gallery-thumb{
            width:58px;
            height:58px;
            border:1px solid #d7d7d7;
            border-radius:6px;
            background:#fff;
            padding:3px;
            display:flex;
            align-items:center;
            justify-content:center;
            overflow:hidden;
            appearance:none;
            -webkit-appearance:none;
            cursor:pointer;
            transition:border-color .16s ease, box-shadow .16s ease, transform .16s ease;
            box-shadow:0 1px 3px rgba(0,0,0,.04);
        }
        body.home .products .sr-home-gallery-thumb:hover{
            border-color:#c8a600;
            transform:translateY(-1px);
        }
        body.home .products .sr-home-gallery-thumb.is-active{
            border-color:#111;
            box-shadow:0 0 0 1px #111 inset;
        }
        body.home .products .sr-home-gallery-thumb img{
            display:block;
            width:100%;
            height:100%;
            object-fit:cover;
            pointer-events:none;
            border-radius:4px;
        }
        body.home .products .sr-home-gallery-thumb-hidden{
            display:none!important;
        }
        body.home .products .sr-home-gallery-strip.is-expanded .sr-home-gallery-thumb-hidden{
            display:flex!important;
        }
        body.home .products .sr-home-gallery-more{
            min-width:46px;
            height:34px;
            border:0;
            padding:0 10px;
            border-radius:6px;
            background:#f5b400;
            color:#111;
            font-size:13px;
            line-height:34px;
            font-weight:700;
            text-align:center;
            cursor:pointer;
            appearance:none;
            -webkit-appearance:none;
        }
        body.home .products .sr-home-gallery-more:hover{
            filter:brightness(.96);
        }
        body.home .products .sr-home-economy-badge{
            position:absolute;
            z-index:8;
            top:0;
            left:0;
            min-width:42px;
            padding:7px 8px;
            border-radius:7px 0 7px 0;
            background:#f5c400;
            color:#111;
            font-size:13px;
            font-weight:600;
            line-height:1;
            text-align:center;
        }
        body.home .products .sr-home-card-extras{display:contents}
        @media (max-width:549px){
            body.home .products .product-small .box{padding:8px 8px 10px}
            body.home .products .product-small .product-title,
            body.home .products .product-small .product-title a{font-size:14px}
            body.home .products .product-small .sr-home-pix{font-size:17px}
            body.home .products .product-small .sr-home-pix-label{font-size:9px;padding:6px 4px;border-radius:5px;letter-spacing:-.01em;white-space:nowrap}
            body.home .products .sr-home-gallery-strip{gap:8px;padding-top:8px}
            body.home .products .sr-home-gallery-thumb{width:52px;height:52px}
            body.home .products .sr-home-gallery-more{min-width:42px;height:32px;line-height:32px}
        }


/* ===== RC34: mobile — cores em grade, sem coluna comprida ===== */
@media (max-width:549px){
    body.home .products .sr-home-gallery-strip{
        display:grid!important;
        grid-template-columns:repeat(2, 42px);
        justify-content:center;
        align-items:center;
        gap:6px;
        width:100%;
        max-width:94px;
        margin:0 auto;
        padding:8px 0 3px;
    }
    body.home .products .sr-home-gallery-thumb{
        width:42px!important;
        height:42px!important;
        padding:2px;
        margin:0!important;
    }
    body.home .products .sr-home-gallery-thumb img{
        width:100%;
        height:100%;
        object-fit:cover;
    }
    body.home .products .sr-home-gallery-more{
        grid-column:1 / -1;
        justify-self:center;
        min-width:40px!important;
        height:30px!important;
        line-height:30px!important;
        margin:0!important;
        padding:0 8px;
    }
    body.home .products .sr-home-gallery-strip.is-expanded .sr-home-gallery-thumb-hidden{
        display:flex!important;
    }
}


/* ===== RC32: Cards compactos e com altura uniforme ===== */
@media (min-width:850px){
    body.home .products.row{align-items:stretch}
    body.home .products .product-small{display:flex}
    body.home .products .product-small .col-inner{display:flex;width:100%;height:100%}
    body.home .products .product-small .box{
        display:flex;
        flex-direction:column;
        width:100%;
        height:100%;
        padding:6px 6px 9px;
        border-radius:9px;
    }
    body.home .products .product-small .box-image{
        margin-bottom:4px;
        border-radius:7px;
    }
    body.home .products .product-small .box-image img{
        max-height:205px;
        aspect-ratio:1/1;
        object-fit:contain;
    }
    body.home .products .sr-home-gallery-strip{
        gap:6px;
        padding:5px 2px 2px;
        min-height:48px;
    }
    body.home .products .sr-home-gallery-thumb{
        width:46px;
        height:46px;
        padding:2px;
        border-radius:4px;
    }
    body.home .products .sr-home-gallery-more{
        min-width:36px;
        height:28px;
        line-height:28px;
        padding:0 7px;
        border-radius:4px;
        font-size:12px;
    }
    body.home .products .product-small .box-text{
        margin-top:2px;
        padding:5px 3px 0!important;
    }
    body.home .products .product-small .product-title,
    body.home .products .product-small .product-title a{
        font-size:13px;
        line-height:1.22;
    }
    body.home .products .product-small .price-wrapper{margin-top:5px}
    body.home .products .product-small .sr-home-pix{font-size:16px}
    body.home .products .product-small .sr-home-pix-label{font-size:9px;margin-top:6px;padding:6px 4px;border-radius:5px;letter-spacing:-.01em;white-space:nowrap}
}


/* ===== RC33: grade mais larga e respiro entre os 6 cards ===== */
@media (min-width:850px){
    /* O Flatsome limita a row; abrimos a grade para ficar próxima da referência. */
    body.home .products.row{
        width:min(1240px, calc(100vw - 28px))!important;
        max-width:none!important;
        position:relative;
        left:50%;
        transform:translateX(-50%);
        margin-left:0!important;
        margin-right:0!important;
    }
    body.home .products .product-small{
        padding-left:8px!important;
        padding-right:8px!important;
    }
    body.home .products .product-small .box{
        max-width:192px;
        margin-left:auto;
        margin-right:auto;
    }
    /* Com o card mais largo, 3 miniaturas cabem na mesma linha como na referência. */
    body.home .products .sr-home-gallery-strip{
        max-width:180px;
        margin-left:auto;
        margin-right:auto;
    }
}

/* ===== Página Individual do Produto ===== */
body.single-product .product-main{padding-top:28px;padding-bottom:45px}
        body.single-product .product-main>.row{max-width:1180px}
        body.single-product .product-main .product-sidebar,
        body.single-product .product-main .shop-sidebar,
        body.single-product #shop-sidebar{display:none!important}
        body.single-product .product-main .large-9{max-width:100%!important;flex-basis:100%!important}
        body.single-product .product-gallery{max-width:53%;flex-basis:53%;padding-right:34px}
        body.single-product .product-info{max-width:47%;flex-basis:47%;padding:24px 34px 28px;border-left:1px solid #eee;text-align:center}
        body.single-product .product-gallery .woocommerce-product-gallery__wrapper,
        body.single-product .product-gallery .product-gallery-slider{border-radius:16px;overflow:hidden;background:#fff}
        body.single-product .product-gallery img{border-radius:12px}
        body.single-product .product-thumbnails a.sr-thumb-active,
        body.single-product .thumbnails a.sr-thumb-active{outline:2px solid #111;outline-offset:2px;border-radius:5px}
        body.single-product .breadcrumbs{display:none}
        body.single-product .sr-product-code{font-size:12px;line-height:1.3;color:#6f6f6f;margin:0 0 8px;letter-spacing:.02em}
        body.single-product .product-title{font-size:27px;line-height:1.22;font-weight:600;margin:0 auto 18px;max-width:560px;color:#222}
        body.single-product .product-info>.price,
        body.single-product .summary>.price{display:block;margin:0 auto 20px!important;max-width:480px}
        body.single-product .sr-price-card{display:flex;flex-direction:column;align-items:center;width:100%;padding:18px 16px 20px;background:#fff;border:1px solid #ededed;border-radius:16px;box-shadow:0 8px 28px rgba(0,0,0,.055);line-height:1.15}
        body.single-product .sr-price-from{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#777;margin-bottom:5px}
        body.single-product .sr-price-card-total{font-size:22px;font-weight:700;color:#222;margin-bottom:6px}
        body.single-product .sr-price-card-installments{font-size:13px;color:#555}
        body.single-product .sr-price-card-installments strong{font-weight:700;color:#333}
        body.single-product .sr-price-card-divider{width:54px;height:1px;background:#e6e6e6;margin:15px 0 12px}
        body.single-product .sr-price-card-pix{font-size:34px;font-weight:800;letter-spacing:-.025em;color:#16a34a;line-height:1}
        body.single-product .sr-price-card-pix-label{display:flex;align-items:center;justify-content:center;width:100%;max-width:310px;font-size:13px;color:#fff;margin-top:10px;font-weight:800;background:linear-gradient(180deg,#16a34a 0%,#12833c 100%);border:0;border-radius:8px;padding:9px 14px;letter-spacing:.015em;box-shadow:0 5px 14px rgba(18,131,60,.22),inset 0 1px 0 rgba(255,255,255,.18)}
        body.single-product .sr-price-card .woocommerce-Price-currencySymbol{font-size:.64em;font-weight:700;vertical-align:.18em;margin-right:2px}
        body.single-product form.variations_form{margin-top:20px;padding-top:20px;border-top:1px solid #eee}
        body.single-product table.variations{margin-bottom:14px}
        body.single-product table.variations th.label{display:block;width:100%;text-align:center;padding:0 0 10px}
        body.single-product table.variations th.label label{font-size:15px;font-weight:600;color:#333}
        body.single-product table.variations td.value{display:block;width:100%;padding:0;text-align:center}
        body.single-product .sr-swatches-ready select.sr-native-variation-select{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}
        body.single-product .sr-color-swatches{display:flex;justify-content:center;align-items:flex-start;gap:10px;flex-wrap:wrap;margin:2px 0 15px}
        body.single-product .sr-color-swatch{appearance:none;background:#fff;border:2px solid #ececec;border-radius:11px;padding:5px;width:82px;min-height:96px;cursor:pointer;transition:.18s ease;box-shadow:none;text-transform:none;line-height:1.1}
        body.single-product .sr-color-swatch:hover{border-color:#c8c8c8;transform:translateY(-1px)}
        body.single-product .sr-color-swatch.is-active{border-color:#f59e0b;box-shadow:0 0 0 2px rgba(245,158,11,.14)}
        body.single-product .sr-swatch-image{display:flex;width:68px;height:65px;border-radius:7px;overflow:hidden;background:#f7f7f7;align-items:center;justify-content:center;margin:0 auto 5px}
        body.single-product .sr-swatch-image img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0}
        body.single-product .sr-swatch-label{display:block;font-size:10px;font-weight:600;color:#444;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
        body.single-product .reset_variations{display:inline-block!important;font-size:11px;margin-top:4px;color:#777}
        /* O JS atualiza o cartão principal com o preço da variação escolhida.
         * Oculta apenas o preço duplicado do WooCommerce; disponibilidade e
         * demais dados da variação continuam visíveis. */
        body.single-product .woocommerce-variation-price{display:none!important}
        body.single-product form.cart{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:18px}
        body.single-product form.cart .quantity{margin:0 2px 0 0!important}
        body.single-product form.cart .single_add_to_cart_button,
        body.single-product form.cart .sr-buy-now-button{min-height:46px;border:0;border-radius:7px;padding:0 22px!important;font-size:13px;font-weight:700;letter-spacing:.01em;display:inline-flex;align-items:center;justify-content:center;margin:0!important;box-shadow:none;transition:.18s ease}
        body.single-product form.cart .single_add_to_cart_button{background:#f59e0b!important;color:#171717!important}
        body.single-product form.cart .sr-buy-now-button{background:#111!important;color:#fff!important}
        body.single-product form.cart .single_add_to_cart_button:hover,
        body.single-product form.cart .sr-buy-now-button:hover{transform:translateY(-1px);filter:brightness(.96)}
        body.single-product .product_meta{display:none}
        body.single-product .social-icons{margin-top:18px}
        body.single-product .woocommerce-variation-availability{font-size:12px}
        body.single-product .woocommerce-product-rating{justify-content:center}
        body.single-product .product-short-description{text-align:left}
        body.single-product .products .sr-price-card{box-shadow:none;border:0;padding:0;background:transparent}
        @media (max-width:849px){
            body.single-product .product-main{padding-top:12px}
            body.single-product .product-gallery,
            body.single-product .product-info{max-width:100%;flex-basis:100%;padding-left:15px;padding-right:15px}
            body.single-product .product-info{border-left:0;border-top:1px solid #eee;padding-top:22px;margin-top:12px}
            body.single-product .product-title{font-size:23px}
            body.single-product .sr-price-card-pix{font-size:31px}
            body.single-product form.cart .quantity{width:100%;display:flex;justify-content:center;margin-bottom:5px!important}
            body.single-product form.cart .single_add_to_cart_button,
            body.single-product form.cart .sr-buy-now-button{flex:1 1 calc(50% - 6px);padding-left:10px!important;padding-right:10px!important}
        }
        @media (max-width:420px){
            body.single-product .sr-color-swatch{width:72px;min-height:88px}
            body.single-product .sr-swatch-image{width:58px;height:56px}
            body.single-product form.cart .single_add_to_cart_button,
            body.single-product form.cart .sr-buy-now-button{flex-basis:100%;width:100%}
        }

/* ===== RC37: destaque forte para "em dinheiro, débito e pix" ===== */

/* ===== RC38: faixa verde retangular premium ===== */

/* ===== RC39: mantém "em dinheiro, débito e pix" em uma linha no celular ===== */


/* ===== RC52: cards alinhados + expansão da galeria sem alterar altura ===== */
@media (min-width:850px){
    body.home .products .product-small{
        align-self:stretch!important;
    }

    body.home .products .product-small .col-inner{
        height:100%!important;
        display:flex!important;
    }

    body.home .products .product-small .box{
        position:relative;
        height:100%!important;
        min-height:350px;
    }

    body.home .products .product-small .box-text{
        margin-top:auto!important;
    }

    /* Reserva a mesma área para o título em todos os cards. */
    body.home .products .product-small .product-title,
    body.home .products .product-small .product-title a{
        min-height:48px;
        display:-webkit-box!important;
        -webkit-box-orient:vertical;
        -webkit-line-clamp:3;
        overflow:hidden;
    }

    /*
     * Ao clicar em +N, a galeria vira um painel flutuante dentro do card.
     * Assim o card não cresce e não empurra/sobrepõe os produtos vizinhos.
     */
    body.home .products .sr-home-gallery-strip.is-expanded{
        position:absolute!important;
        z-index:40;
        left:8px;
        right:8px;
        top:205px;
        width:auto!important;
        max-width:none!important;
        min-height:0!important;
        margin:0!important;
        padding:8px!important;
        display:flex!important;
        flex-wrap:wrap!important;
        justify-content:center!important;
        gap:6px!important;
        background:#fff;
        border:1px solid #ddd;
        border-radius:8px;
        box-shadow:0 8px 22px rgba(0,0,0,.14);
    }

    body.home .products .sr-home-gallery-strip.is-expanded .sr-home-gallery-thumb-hidden{
        display:flex!important;
    }
}

/* Em telas menores, mantém a expansão dentro do card e evita sobreposição externa. */
@media (max-width:849px){
    body.home .products .product-small .box{
        position:relative;
    }
}


/* ===== RC53: correção específica do grid no celular ===== */
@media (max-width:849px){
    body.home .products.row{
        align-items:stretch!important;
    }

    body.home .products .product-small{
        display:flex!important;
        align-self:stretch!important;
    }

    body.home .products .product-small .col-inner{
        display:flex!important;
        width:100%!important;
        height:100%!important;
    }

    body.home .products .product-small .box{
        display:flex!important;
        flex-direction:column!important;
        width:100%!important;
        height:100%!important;
        position:relative!important;
    }

    body.home .products .product-small .box-text{
        display:flex!important;
        flex-direction:column!important;
        flex:1 1 auto!important;
        margin-top:0!important;
    }

    body.home .products .product-small .price-wrapper{
        margin-top:auto!important;
    }

    /* Evita que títulos longos deixem um card muito maior que o vizinho. */
    body.home .products .product-small .product-title,
    body.home .products .product-small .product-title a{
        display:-webkit-box!important;
        -webkit-box-orient:vertical!important;
        -webkit-line-clamp:4!important;
        overflow:hidden!important;
    }

    /*
     * No celular o +N também abre as imagens extras em um painel flutuante.
     * O card não cresce e a próxima linha não é empurrada.
     */
    body.home .products .sr-home-gallery-strip.is-expanded{
        position:absolute!important;
        z-index:50!important;
        left:6px!important;
        right:6px!important;
        top:150px!important;
        width:auto!important;
        max-width:none!important;
        min-height:0!important;
        margin:0!important;
        padding:7px!important;
        display:flex!important;
        flex-wrap:wrap!important;
        justify-content:center!important;
        gap:5px!important;
        background:#fff!important;
        border:1px solid #ddd!important;
        border-radius:8px!important;
        box-shadow:0 8px 22px rgba(0,0,0,.16)!important;
    }

    body.home .products .sr-home-gallery-strip.is-expanded .sr-home-gallery-thumb-hidden{
        display:flex!important;
    }
}

@media (max-width:549px){
    body.home .products .product-small{
        padding-left:4px!important;
        padding-right:4px!important;
    }

    body.home .products .product-small .box{
        padding:7px 7px 9px!important;
        min-height:0!important;
    }

    /* Imagem principal uniforme e compacta em 2 colunas. */
    body.home .products .product-small .box-image{
        width:100%!important;
        height:138px!important;
        min-height:138px!important;
        margin-bottom:4px!important;
        overflow:hidden!important;
    }

    body.home .products .product-small .box-image img{
        width:100%!important;
        height:138px!important;
        max-height:138px!important;
        object-fit:contain!important;
    }

    /* Área de miniaturas com altura fixa em todos os cards. */
    body.home .products .sr-home-gallery-strip{
        display:grid!important;
        grid-template-columns:repeat(2, 38px)!important;
        grid-auto-rows:38px!important;
        justify-content:center!important;
        align-content:start!important;
        gap:5px!important;
        width:100%!important;
        max-width:86px!important;
        min-height:81px!important;
        height:81px!important;
        margin:0 auto!important;
        padding:5px 0 0!important;
        overflow:visible!important;
    }

    body.home .products .sr-home-gallery-thumb{
        width:38px!important;
        height:38px!important;
        min-width:38px!important;
        min-height:38px!important;
        padding:2px!important;
    }

    body.home .products .sr-home-gallery-more{
        grid-column:1 / -1!important;
        justify-self:center!important;
        min-width:36px!important;
        height:28px!important;
        line-height:28px!important;
        padding:0 7px!important;
        margin:0!important;
        font-size:11px!important;
    }

    body.home .products .product-small .box-text{
        padding:4px 1px 0!important;
    }

    body.home .products .product-small .product-title,
    body.home .products .product-small .product-title a{
        min-height:58px!important;
        max-height:58px!important;
        font-size:12px!important;
        line-height:1.2!important;
        -webkit-line-clamp:4!important;
        margin-bottom:3px!important;
    }

    body.home .products .product-small .sr-home-pix{
        font-size:14px!important;
        line-height:1.15!important;
    }

    body.home .products .product-small .sr-home-pix-label{
        margin-top:5px!important;
        padding:5px 3px!important;
        font-size:8px!important;
        line-height:1!important;
        white-space:nowrap!important;
    }

    /* Painel de expansão começa logo abaixo da imagem no celular. */
    body.home .products .sr-home-gallery-strip.is-expanded{
        top:146px!important;
        min-height:0!important;
        height:auto!important;
        max-width:none!important;
    }
}


/* ===== RC54: +N no celular sem sobrepor o conteúdo ===== */
@media (max-width:549px){

    /*
     * Na RC53 o estado expandido era absoluto e podia ficar por cima
     * do título/preço. Na RC54 a expansão permanece dentro da área
     * reservada das miniaturas.
     */
    body.home .products .sr-home-gallery-strip.is-expanded{
        position:static!important;
        z-index:auto!important;
        left:auto!important;
        right:auto!important;
        top:auto!important;

        display:grid!important;
        grid-template-columns:repeat(3, 38px)!important;
        grid-auto-rows:38px!important;
        justify-content:center!important;
        align-content:start!important;
        gap:5px!important;

        width:100%!important;
        max-width:124px!important;
        min-height:81px!important;
        height:81px!important;
        margin:0 auto!important;
        padding:5px 0 0!important;

        overflow:hidden!important;
        background:transparent!important;
        border:0!important;
        border-radius:0!important;
        box-shadow:none!important;
    }

    body.home .products .sr-home-gallery-strip.is-expanded .sr-home-gallery-thumb-hidden{
        display:flex!important;
    }
}


/* ===== 1.1.0: página do produto em cartões (layout de referência) ===== */
body.single-product .product-main{padding-top:16px}
body.single-product .product-gallery{padding-right:8px}
body.single-product .product-info{border-left:0;padding:0 0 0 8px;text-align:center}

/* Galeria em cartão branco */
body.single-product .product-gallery>.col-inner,
body.single-product .product-gallery>.product-images{background:#fff;border:1px solid #e6e6e6;border-radius:4px;padding:12px}
body.single-product .product-gallery .woocommerce-product-gallery__wrapper,
body.single-product .product-gallery .product-gallery-slider{border-radius:0}
body.single-product .product-gallery img{border-radius:0}

/* Cartões da coluna de informações */
body.single-product .sr-info-card,
body.single-product table.variations,
body.single-product .single_variation_wrap,
body.single-product form.cart:not(.variations_form){background:#fff;border:1px solid #e6e6e6;border-radius:4px;padding:16px 18px;margin:0 0 12px}
body.single-product .product-info .is-divider{display:none}
body.single-product .sr-product-code{font-size:10px;color:#444;margin:0 0 6px}
body.single-product .product-title{font-size:22px;line-height:1.25;font-weight:500;margin:0 auto 14px;max-width:none}
body.single-product .product-info .price-wrapper{margin:0}
body.single-product .product-info>.price,
body.single-product .sr-info-card .price{margin:0 auto!important;max-width:none}

/* Preço: valor no cartão pequeno, PIX grande em verde, sem faixa */
body.single-product .sr-price-card{background:transparent;border:0;border-radius:0;box-shadow:none;padding:4px 0 0}
body.single-product .sr-price-card-total{font-size:18px;font-weight:700;color:#222;margin-bottom:4px}
body.single-product .sr-price-card-installments{font-size:12px;color:#444}
body.single-product .sr-price-card-divider{display:none}
body.single-product .sr-price-card-pix{font-size:32px;font-weight:700;margin-top:22px;letter-spacing:-.02em}
body.single-product .sr-price-card-pix-label{display:block;width:auto;max-width:none;background:none;box-shadow:none;border-radius:0;padding:0;margin-top:6px;font-size:11px;font-weight:400;letter-spacing:0;color:#16a34a}

/* Cores: miniaturas quadradas com nome sobre a imagem */
body.single-product form.variations_form.cart{display:block;margin:0;padding:0;border:0}
body.single-product table.variations,
body.single-product table.variations tbody,
body.single-product table.variations tr{display:block;width:100%;border:0}
body.single-product table.variations{border:1px solid #e6e6e6;margin-bottom:12px}
body.single-product table.variations th.label{padding:0 0 10px}
body.single-product table.variations th.label label{font-size:13px;font-weight:500;color:#333}
body.single-product .reset_variations{display:none!important}
body.single-product .sr-color-swatches{gap:8px;margin:0}
body.single-product .sr-color-swatch{position:relative;width:62px;min-height:0;height:62px;padding:0;border:2px solid #e0e0e0;border-radius:3px;overflow:hidden;background:#fff}
body.single-product .sr-color-swatch:hover{transform:none;border-color:#bdbdbd}
body.single-product .sr-color-swatch.is-active{border-color:#ffc400;box-shadow:none}
body.single-product .sr-swatch-image{width:100%;height:100%;border-radius:0;margin:0}
body.single-product .sr-swatch-label{position:absolute;left:0;right:0;bottom:0;padding:2px 3px;background:rgba(40,40,40,.78);color:#fff;font-size:9px;font-weight:600;text-align:center;line-height:1.2}
body.single-product .sr-color-swatch.is-out{opacity:.45}

/* Botões: amarelos, lado a lado, sem campo de quantidade */
body.single-product .single_variation_wrap .woocommerce-variation-description:empty,
body.single-product .single_variation_wrap .woocommerce-variation:empty{display:none}
body.single-product .woocommerce-variation-availability{margin-bottom:10px}
body.single-product form.cart .quantity{display:none!important}
body.single-product .woocommerce-variation-add-to-cart,
body.single-product form.cart:not(.variations_form){display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:nowrap}
body.single-product form.cart .single_add_to_cart_button,
body.single-product form.cart .sr-buy-now-button{flex:0 1 auto;min-height:34px;padding:0 16px!important;font-size:13px;font-weight:600;letter-spacing:0;text-transform:none;border:1px solid #e0a800;border-radius:2px;background:#ffc400!important;color:#111!important}
body.single-product form.cart .single_add_to_cart_button.disabled,
body.single-product form.cart .single_add_to_cart_button:disabled{opacity:.5}

/* Compartilhe: barra própria sob a galeria; oculta a do tema */
body.single-product .product-info .social-icons,
body.single-product .product-gallery .social-icons{display:none!important}
body.single-product .sr-share{margin:16px 0 0;text-align:center}
body.single-product .sr-share-title{font-size:14px;font-weight:500;color:#222;margin-bottom:10px}
body.single-product .sr-share-icons{display:flex;justify-content:center;align-items:center;gap:20px;flex-wrap:wrap}
body.single-product .sr-share-link{display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;transition:transform .15s ease}
body.single-product .sr-share-link:hover{transform:translateY(-2px)}
body.single-product .sr-share-link svg{width:26px;height:26px;display:block}
body.single-product .sr-share-facebook svg{width:15px;height:26px}

@media (max-width:849px){
    body.single-product .product-gallery,
    body.single-product .product-info{padding-left:15px;padding-right:15px}
    body.single-product .product-info{border-top:0;margin-top:0}
    body.single-product .product-title{font-size:20px}
    body.single-product .sr-price-card-pix{font-size:30px}
}
@media (max-width:549px){
    body.single-product form.cart .single_add_to_cart_button,
    body.single-product form.cart .sr-buy-now-button{flex:1 1 0;width:auto;padding:0 8px!important}
    body.single-product .sr-color-swatch{width:58px;height:58px;min-height:0}
    body.single-product .sr-swatch-image{width:100%;height:100%}
}

/* ===== 1.1.2: disponibilidade logo abaixo das miniaturas de cor ===== */
body.single-product .sr-stock-line{min-height:0;margin-top:8px;text-align:center;font-size:12px;line-height:1.3}
body.single-product .sr-stock-line:empty{display:none}
body.single-product .sr-stock-line p,
body.single-product .sr-stock-line .stock{margin:0;font-size:12px;font-weight:600}
body.single-product .sr-stock-line .in-stock{color:#16a34a}
body.single-product .sr-stock-line .out-of-stock{color:#b93a3a}
body.single-product .sr-stock-line .available-on-backorder{color:#b45309}
body.single-product form.sr-stock-moved .woocommerce-variation-availability{display:none!important}


/* 1.1.3: tabela recolhível com os valores das parcelas no cartão. */
body.single-product .sr-price-card-installments{margin-bottom:3px}
body.single-product .sr-installments-toggle{appearance:none;display:inline-block;padding:0;margin:2px 0 0;border:0;background:none!important;color:#333!important;font-size:11px;line-height:1.35;text-decoration:underline;text-transform:none;letter-spacing:0;box-shadow:none;cursor:pointer}
body.single-product .sr-installments-toggle:hover{color:#111!important}
body.single-product .sr-installments-toggle:focus-visible{outline:2px solid #f59e0b;outline-offset:2px}
body.single-product .sr-installments-panel{display:block;width:100%;margin-top:8px;padding:8px;border:1px solid #ffc400;border-radius:4px;background:#fff;text-align:left}
body.single-product .sr-installments-panel[hidden]{display:none!important}
body.single-product .sr-installments-grid{display:grid;grid-auto-flow:column;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(5,auto);column-gap:14px}
body.single-product .sr-installment-row{min-width:0;padding:4px 2px;border-bottom:1px solid #eee;font-size:12px;line-height:1.35;color:#222;white-space:nowrap}
body.single-product .sr-installment-row:nth-child(5),
body.single-product .sr-installment-row:last-child{border-bottom:0}
body.single-product .sr-installment-row .woocommerce-Price-amount{font-weight:600}
@media (max-width:420px){
    body.single-product .sr-installments-panel{padding:6px}
    body.single-product .sr-installments-grid{column-gap:6px}
    body.single-product .sr-installment-row{font-size:10px;padding:4px 1px}
}


/* ===== 1.1.5: componentes dos cards (preço, selo, miniaturas) em relacionados/upsells ===== */
/* ===== Cards da Home ===== */
:is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .col-inner,
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .box{
            background:#fff;
            border-radius:12px;
        }
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .box{
            border:1px solid #dcdcdc;
            overflow:hidden;
            padding:10px 10px 12px;
            transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
            box-shadow:0 4px 16px rgba(0,0,0,.06);
        }
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .box:hover{
            transform:translateY(-2px);
            border-color:#d5d5d5;
            box-shadow:0 8px 22px rgba(0,0,0,.08);
        }
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .box-image{
            position:relative;
            border-radius:10px;
            overflow:hidden;
            background:#fff;
            margin-bottom:8px;
        }
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .box-image img{
            display:block;
            width:100%;
            aspect-ratio:1/1;
            object-fit:contain;
            background:#fff;
        }
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .box-image.sr-gallery-swapped .back-image,
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .box-image.sr-gallery-swapped .show-on-hover{
            display:none!important;
        }
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .box-text{
            padding:10px 6px 0!important;
            text-align:center!important;
        }
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .product-title,
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .product-title a{
            display:block;
            text-align:center!important;
            font-size:15px;
            line-height:1.28;
            font-weight:500;
            color:#202020;
            margin:0 auto;
        }
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .price-wrapper{
            text-align:center;
            margin-top:7px;
        }
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .price{
            display:block!important;
            margin:0!important;
        }
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .sr-home-price{
            display:flex;
            flex-direction:column;
            align-items:center;
            justify-content:center;
            line-height:1.15;
        }
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .sr-home-pix{
            display:block;
            font-size:18px;
            line-height:1.05;
            font-weight:700;
            color:#16a34a;
        }
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .sr-home-pix-label{
            display:flex;
            align-items:center;
            justify-content:center;
            width:100%;
            margin-top:7px;
            padding:7px 8px;
            border:0;
            border-radius:6px;
            background:linear-gradient(180deg,#16a34a 0%,#12833c 100%);
            box-shadow:0 4px 12px rgba(18,131,60,.22), inset 0 1px 0 rgba(255,255,255,.18);
            font-size:11px;
            font-weight:800;
            line-height:1.15;
            color:#fff;
            text-transform:none;
            letter-spacing:0;
            white-space:nowrap;
        }
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .sr-home-pix .woocommerce-Price-currencySymbol{
            font-size:.72em;
            vertical-align:.1em;
        }
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .star-rating{
            margin:6px auto 2px!important;
        }
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .add-to-cart-button,
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .quick-view,
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .category,
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .product-cat{
            display:none!important;
        }
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .sr-home-gallery-strip{
            display:flex;
            align-items:center;
            justify-content:center;
            gap:10px;
            padding:10px 4px 4px;
            flex-wrap:wrap;
        }
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .sr-home-gallery-thumb{
            width:58px;
            height:58px;
            border:1px solid #d7d7d7;
            border-radius:6px;
            background:#fff;
            padding:3px;
            display:flex;
            align-items:center;
            justify-content:center;
            overflow:hidden;
            appearance:none;
            -webkit-appearance:none;
            cursor:pointer;
            transition:border-color .16s ease, box-shadow .16s ease, transform .16s ease;
            box-shadow:0 1px 3px rgba(0,0,0,.04);
        }
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .sr-home-gallery-thumb:hover{
            border-color:#c8a600;
            transform:translateY(-1px);
        }
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .sr-home-gallery-thumb.is-active{
            border-color:#111;
            box-shadow:0 0 0 1px #111 inset;
        }
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .sr-home-gallery-thumb img{
            display:block;
            width:100%;
            height:100%;
            object-fit:cover;
            pointer-events:none;
            border-radius:4px;
        }
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .sr-home-gallery-thumb-hidden{
            display:none!important;
        }
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .sr-home-gallery-strip.is-expanded .sr-home-gallery-thumb-hidden{
            display:flex!important;
        }
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .sr-home-gallery-more{
            min-width:46px;
            height:34px;
            border:0;
            padding:0 10px;
            border-radius:6px;
            background:#f5b400;
            color:#111;
            font-size:13px;
            line-height:34px;
            font-weight:700;
            text-align:center;
            cursor:pointer;
            appearance:none;
            -webkit-appearance:none;
        }
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .sr-home-gallery-more:hover{
            filter:brightness(.96);
        }
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .sr-home-economy-badge{
            position:absolute;
            z-index:8;
            top:0;
            left:0;
            min-width:42px;
            padding:7px 8px;
            border-radius:7px 0 7px 0;
            background:#f5c400;
            color:#111;
            font-size:13px;
            font-weight:600;
            line-height:1;
            text-align:center;
        }
        :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .sr-home-card-extras{display:contents}
        @media (max-width:549px){
            :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .box{padding:8px 8px 10px}
            :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .product-title,
            :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .product-title a{font-size:14px}
            :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .sr-home-pix{font-size:17px}
            :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .sr-home-pix-label{font-size:9px;padding:6px 4px;border-radius:5px;letter-spacing:-.01em;white-space:nowrap}
            :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .sr-home-gallery-strip{gap:8px;padding-top:8px}
            :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .sr-home-gallery-thumb{width:52px;height:52px}
            :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .sr-home-gallery-more{min-width:42px;height:32px;line-height:32px}
        }


/* ===== RC34: mobile — cores em grade, sem coluna comprida ===== */
@media (max-width:549px){
    :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .sr-home-gallery-strip{
        display:grid!important;
        grid-template-columns:repeat(2, 42px);
        justify-content:center;
        align-items:center;
        gap:6px;
        width:100%;
        max-width:94px;
        margin:0 auto;
        padding:8px 0 3px;
    }
    :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .sr-home-gallery-thumb{
        width:42px!important;
        height:42px!important;
        padding:2px;
        margin:0!important;
    }
    :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .sr-home-gallery-thumb img{
        width:100%;
        height:100%;
        object-fit:cover;
    }
    :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .sr-home-gallery-more{
        grid-column:1 / -1;
        justify-self:center;
        min-width:40px!important;
        height:30px!important;
        line-height:30px!important;
        margin:0!important;
        padding:0 8px;
    }
    :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .sr-home-gallery-strip.is-expanded .sr-home-gallery-thumb-hidden{
        display:flex!important;
    }
}


/* ===== 1.1.5: Produtos relacionados / upsells — alinhamento e legibilidade ===== */
:is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .box{display:flex;flex-direction:column;height:100%;}
:is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .col-inner{height:100%;}
:is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .box-text{display:flex;flex-direction:column;flex:1 1 auto;}
:is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .category,
:is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .product-cat{display:none!important;}
:is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .title-wrapper{min-height:calc(1.3em * 3);}
:is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .product-title,
:is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .product-title a{
    font-size:14px;line-height:1.3;
    display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;
}
:is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .price-wrapper{margin-top:auto;padding-top:8px;}
:is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .sr-home-price{align-items:center;}
:is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .sr-home-gallery-strip{justify-content:center;flex-wrap:nowrap;}
:is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .sr-home-gallery-strip .sr-home-gallery-thumb{width:44px;height:44px;}
:is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .box-image::before,
:is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .box-image::after,
:is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .image-fade_in_back::after{background-image:none!important;}
:is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .flickity-viewport,
:is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .slider{background:transparent;}
:is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .flickity-slider > .product-small{display:flex;}
:is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .flickity-prev-next-button{
    width:38px;height:38px;border-radius:50%;background:#fff;border:1px solid #dcdcdc;box-shadow:0 2px 8px rgba(0,0,0,.12);
}
:is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .flickity-prev-next-button .flickity-button-icon{width:40%;height:40%;left:30%;top:30%;}
@media (max-width:549px){
    :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .title-wrapper{min-height:calc(1.3em * 2);}
    :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .product-title,:is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .product-title a{font-size:13px;-webkit-line-clamp:2;}
    :is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .sr-home-gallery-strip .sr-home-gallery-thumb{width:36px;height:36px;}
}


/* ===== 1.2.0: categoria/loja ===== */
:is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .sr-home-card-line{display:block;margin-top:6px;font-size:12px;line-height:1.3;color:#666;text-align:center;}
:is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .product-title,
:is(body.single-product,body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .product-small .product-title a{font-size:14px;}
body.woocommerce-shop .widget .product_list_widget .sr-preco-cartao,
body.woocommerce-shop .widget .product_list_widget .sr-preco-parcela,
body.tax-product_cat .widget .product_list_widget .sr-preco-cartao,
body.tax-product_cat .widget .product_list_widget .sr-preco-parcela,
body.tax-product_tag .widget .product_list_widget .sr-preco-cartao,
body.tax-product_tag .widget .product_list_widget .sr-preco-parcela,
body.woocommerce-shop .widget .product_list_widget .sr-precos-comerciais br,
body.tax-product_cat .widget .product_list_widget .sr-precos-comerciais br,
body.tax-product_tag .widget .product_list_widget .sr-precos-comerciais br{display:none!important;}


/* ===== 1.2.2: botão "Adicionar" laranja com ícone de carrinho ===== */
body.single-product form.cart .single_add_to_cart_button{
    background:#ea5b0c!important;color:#fff!important;border:0!important;border-radius:6px!important;
    min-height:44px;padding:0 20px!important;font-size:15px;font-weight:700;line-height:1;white-space:nowrap;
    display:inline-flex;align-items:center;justify-content:center;gap:8px;
}
body.single-product form.cart .single_add_to_cart_button::before{
    content:"";display:inline-block;width:20px;height:20px;flex:0 0 20px;background:#fff;
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2 3h3l2.6 12.2a1 1 0 0 0 1 .8h9.6a1 1 0 0 0 1-.8L21 7H6'/%3E%3C/svg%3E") center/contain no-repeat;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2 3h3l2.6 12.2a1 1 0 0 0 1 .8h9.6a1 1 0 0 0 1-.8L21 7H6'/%3E%3C/svg%3E") center/contain no-repeat;
}
body.single-product form.cart .single_add_to_cart_button:hover{filter:brightness(.94);}
body.single-product form.cart .single_add_to_cart_button.disabled,
body.single-product form.cart .single_add_to_cart_button:disabled{opacity:.55;}
body.single-product form.cart .sr-buy-now-button{min-height:44px;border-radius:6px!important;font-size:15px;font-weight:700;white-space:nowrap;}
body.single-product .woocommerce-variation-add-to-cart,
body.single-product form.cart:not(.variations_form){align-items:stretch;}


/* ===== 1.2.3: chamada "Veja aqui o valor de cada parcela" ===== */
body.single-product .sr-price-card .sr-installments-toggle{
    display:inline-flex;align-items:center;justify-content:center;gap:8px;
    margin:10px auto 2px;padding:9px 16px;border:1.5px solid #ea5b0c;border-radius:999px;
    background:#fff4ec!important;color:#c94a05!important;
    font-size:13px;font-weight:700;line-height:1.2;text-decoration:none;
    transition:background .15s ease,color .15s ease,transform .15s ease;
}
body.single-product .sr-price-card .sr-installments-toggle::before{
    content:"";width:18px;height:18px;flex:0 0 18px;background:currentColor;
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20M6 15h4'/%3E%3C/svg%3E") center/contain no-repeat;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20M6 15h4'/%3E%3C/svg%3E") center/contain no-repeat;
}
body.single-product .sr-price-card .sr-installments-toggle::after{
    content:"";width:8px;height:8px;margin-left:2px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;
    transform:translateY(-2px) rotate(45deg);transition:transform .2s ease;
}
body.single-product .sr-price-card .sr-installments-toggle[aria-expanded="true"]::after{transform:translateY(2px) rotate(-135deg);}
@media (hover:hover){body.single-product .sr-price-card .sr-installments-toggle:hover{background:#ea5b0c!important;color:#fff!important;transform:translateY(-1px);}}
body.single-product .sr-price-card .sr-installments-toggle:focus-visible{outline:2px solid #ea5b0c;outline-offset:2px;}
@media (max-width:549px){body.single-product .sr-price-card .sr-installments-toggle{font-size:12.5px;padding:9px 14px;}}


/* ===== 1.2.4: botão de parcelas menor + destaque nos textos do preço ===== */
body.single-product .sr-price-card .sr-installments-toggle{padding:6px 13px;gap:6px;font-size:12px;margin:8px auto 0;border-width:1.5px;}
body.single-product .sr-price-card .sr-installments-toggle::before{width:15px;height:15px;flex-basis:15px;}
body.single-product .sr-price-card .sr-installments-toggle::after{width:6px;height:6px;border-width:1.5px;}
body.single-product .sr-price-card .sr-installments-toggle:focus{outline:none;}
body.single-product .sr-price-card .sr-installments-toggle:focus-visible{outline:2px solid #ea5b0c;outline-offset:2px;}
body.single-product .sr-price-card-installments{font-size:15px;font-weight:600;color:#222;margin-bottom:4px;}
body.single-product .sr-price-card-installments strong{font-size:16px;font-weight:800;color:#111;}
body.single-product .sr-price-card-installments .sr-sem-juros{color:#16a34a;font-weight:800;}
body.single-product .sr-price-card-pix-label{display:inline-block;margin-top:8px;padding:5px 14px;border-radius:999px;background:#e8f7ed;color:#12833c;font-size:14px;font-weight:800;letter-spacing:.01em;}
@media (max-width:549px){body.single-product .sr-price-card-installments{font-size:14px;}body.single-product .sr-price-card-installments strong{font-size:15px;}body.single-product .sr-price-card-pix-label{font-size:13px;}body.single-product .sr-price-card .sr-installments-toggle{font-size:11.5px;padding:6px 12px;}}


/* ===== 1.2.5: selo PIX em linha própria + sem anel de foco duplo ===== */
body.single-product .sr-price-card-pix-label{display:table;margin:8px auto 0;}
body.single-product .sr-price-card .sr-installments-toggle,
body.single-product .sr-price-card .sr-installments-toggle:focus,
body.single-product .sr-price-card .sr-installments-toggle:focus-visible,
body.single-product .sr-price-card .sr-installments-toggle:active{outline:0!important;box-shadow:none!important;}
body.single-product .sr-price-card .sr-installments-toggle:focus-visible{background:#ffe6d5!important;}


/* ===== 1.2.6: respiro entre o botão de parcelas e o preço PIX ===== */
body.single-product .sr-price-card .sr-installments-toggle{margin-bottom:14px;}
body.single-product .sr-price-card-pix{display:block;margin-top:0;line-height:1.1;}

/* 1.2.8: nome completo da opção escolhida, abaixo das miniaturas. */
body.single-product .sr-selected-option{display:block;clear:both;width:100%;max-width:100%;box-sizing:border-box;margin:10px 0 4px;padding:9px 12px;background:#f6f7f8;border:1px solid #e6e6e6;border-radius:6px;color:#333;font-size:13px;font-weight:600;line-height:1.5;text-align:center;white-space:normal;overflow-wrap:anywhere;word-break:normal;}
body.single-product .sr-selected-option[hidden]{display:none!important;}

/* 1.2.9: aviso quando nenhuma miniatura corresponde a uma opção disponível. */
body.single-product .sr-options-unavailable{margin:10px 0;padding:10px 12px;color:#8a3131;background:#fff5f5;border:1px solid #f1dada;border-radius:6px;font-size:13px;line-height:1.5;text-align:center;}
