/* V5 — ações de compra, quantidade e relacionados. */
.cmp-product-actions{display:grid;grid-template-columns:minmax(0,1fr) 46px;gap:10px;width:100%;align-items:stretch}
.cmp-add-icon{display:inline-grid;place-items:center;width:46px;min-width:46px;height:46px;padding:0;border:1px solid #b9c5ba;border-radius:3px;background:transparent;color:#203c30;text-decoration:none;cursor:pointer;transition:background .2s,border-color .2s}
.cmp-add-icon:hover{color:#203c30;background:#e4e9e0;border-color:#203c30}
.cmp-add-icon .cmp-icon{width:22px;height:22px;stroke-width:1.5;transform:none}
.cmp-card__body .cmp-product-actions>.cmp-btn{min-height:46px;margin:0;display:flex;justify-content:center;align-items:center}
.woocommerce ul.products li.product .cmp-product-actions .button{min-height:46px;margin:0;display:flex;justify-content:center;align-items:center}
.woocommerce div.product form.cart.cmp-single-purchase{display:grid;grid-template-columns:140px minmax(0,1fr) 52px;gap:12px;align-items:end;width:100%;margin:24px 0 28px}
.cmp-single-quantity{display:flex;flex-direction:column;gap:10px;min-width:0}
.cmp-single-quantity__label{font:400 12px/1.5 var(--cmp-font-body);color:#796451}
.cmp-product-stepper{display:flex;align-items:center;border:1px solid #d4c5b2;border-radius:3px;background:#fffcf7;width:140px;height:52px;overflow:hidden}
.cmp-product-stepper>button{display:grid;place-items:center;border:0;background:transparent;color:#59412b;min-width:44px;width:44px;height:50px;padding:0;cursor:pointer}
.cmp-product-stepper>button:hover{background:#eee6d9}.cmp-product-stepper>button:disabled{opacity:.35;cursor:default;background:transparent}
.cmp-product-stepper>button .cmp-icon{width:15px;height:15px}
.woocommerce div.product form.cart .cmp-product-stepper .quantity{float:none;margin:0;flex:1;min-width:0}
.woocommerce .cmp-product-stepper .quantity .qty{width:100%;min-width:0;min-height:50px;height:50px;border:0;padding:0;background:transparent;border-radius:0;font-size:15px;appearance:textfield;-moz-appearance:textfield}
.cmp-product-stepper input::-webkit-inner-spin-button,.cmp-product-stepper input::-webkit-outer-spin-button{appearance:none;-webkit-appearance:none;margin:0}
.woocommerce div.product form.cart.cmp-single-purchase .cmp-single-checkout{float:none;display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-width:0;min-height:52px;margin:0;padding:12px;font-size:13px;line-height:1.4;background:#203c30;color:#fff;white-space:nowrap}
.cmp-single-checkout .cmp-icon{width:17px;height:17px;flex:none}
.woocommerce div.product form.cart.cmp-single-purchase .cmp-single-bag{float:none;min-height:52px;height:52px;width:52px;min-width:52px;margin:0;padding:0;color:#203c30;background:transparent;border:1px solid #9faf9d}
.woocommerce div.product form.cart.cmp-single-purchase .cmp-single-bag:hover{background:#e4e9e0;border-color:#203c30}
.cmp-single-purchase[aria-busy=true]{opacity:.65;cursor:progress}.cmp-single-purchase[aria-busy=true] button{pointer-events:none}
/* Sobrescreve também a variação desabilitada do WooCommerce. */
.woocommerce #payment #place_order,.woocommerce #payment #place_order:hover,.woocommerce #payment #place_order:focus{background:#203c30!important;border-color:#203c30!important;color:#fff!important}
.woocommerce #payment #place_order:disabled,.woocommerce #payment #place_order[disabled]{background:#203c30!important;border-color:#203c30!important;color:#fff!important;opacity:.55;cursor:not-allowed}
.woocommerce{--wc-primary:#203c30;--wc-primary-text:#fff;--wc-secondary:#eee6d9;--wc-secondary-text:#30231a}
/* Prateleira com o mesmo tratamento visual do catálogo. */
.woocommerce .cmp-related{margin-top:20px;padding-top:42px;border-top:1px solid #ded3c3;min-width:0}
.cmp-related__head{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:30px}
.cmp-related__head .cmp-eyebrow{font-size:10px;margin:0 0 12px;color:#80613a;letter-spacing:.15em}
.woocommerce .cmp-related__head h2{font:500 clamp(27px,2.6vw,38px)/1.15 var(--cmp-font-title);letter-spacing:-.04em;margin:0}
.cmp-related__nav{display:flex;align-items:center;gap:9px;flex:none}
.cmp-related__count{font-size:11px;letter-spacing:.08em;color:#8a7258;margin-right:12px;min-width:34px}
.cmp-related__nav .cmp-round{width:44px;height:44px;border-color:#bda98f;color:#5d452e}
.woocommerce .cmp-related.is-carousel ul.products{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;margin:0;padding:2px 0 12px}
.cmp-related.is-carousel ul.products::-webkit-scrollbar{display:none}
.woocommerce .cmp-related.is-carousel ul.products li.product{flex:0 0 calc((100% - 48px)/3.35);width:auto!important;scroll-snap-align:start;display:flex;flex-direction:column;align-items:stretch}
.woocommerce .cmp-related ul.products li.product a.woocommerce-LoopProduct-link{flex:1;display:flex;flex-direction:column;align-items:flex-start}
.woocommerce .cmp-related ul.products li.product a img{aspect-ratio:1;padding:24px;margin:0 0 20px}
.woocommerce .cmp-related ul.products li.product .woocommerce-loop-product__title{font-size:14px;line-height:1.55;padding:0 0 16px}
.woocommerce .cmp-related ul.products li.product>.button{margin-top:0;min-height:46px}
.woocommerce .cmp-related ul.products li.product .cmp-loop-status{margin-bottom:12px}
.woocommerce .cmp-related ul.products li.product .price{margin-top:auto;margin-bottom:16px}
@media(min-width:768px) and (max-width:1100px){
 .woocommerce div.product form.cart.cmp-single-purchase{grid-template-columns:minmax(0,1fr) 52px}
 .cmp-single-quantity{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between;margin-bottom:6px}
 .woocommerce .cmp-related.is-carousel ul.products li.product{flex-basis:calc((100% - 24px)/2.35)}
}
@media(max-width:767px){
 .cmp-product-actions{grid-template-columns:minmax(0,1fr) 48px;gap:10px}.cmp-add-icon{width:48px;min-width:48px;height:48px}
 .cmp-card__body .cmp-product-actions>.cmp-btn{min-height:48px}
 .woocommerce div.product form.cart.cmp-single-purchase{grid-template-columns:minmax(0,1fr) 52px;gap:14px 10px;margin-top:20px}
 .cmp-single-quantity{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between;margin:0 0 4px}
 .cmp-single-quantity__label{font-size:13px}
 .woocommerce div.product form.cart.cmp-single-purchase .cmp-single-checkout{font-size:14px;padding:12px;gap:10px}
 .cmp-related__head{display:block;margin-bottom:23px}.woocommerce .cmp-related__head h2{font-size:28px}
 .cmp-related__nav{justify-content:flex-end;margin-top:22px}.cmp-related__count{margin-right:auto;font-size:12px}
 .woocommerce .cmp-related.is-carousel ul.products{gap:18px}
 .woocommerce .cmp-related.is-carousel ul.products li.product{flex-basis:82%;min-width:0}
 .woocommerce .cmp-related ul.products li.product a img{padding:25px}
 .woocommerce .cmp-related ul.products li.product .woocommerce-loop-product__title{font-size:14px;min-height:60px}
 .woocommerce .cmp-related ul.products li.product>.button{font-size:13px;padding:13px 14px}
 .woocommerce ul.products li.product .cmp-product-actions{grid-template-columns:minmax(0,1fr) 42px;gap:6px}
 .woocommerce ul.products li.product .cmp-add-icon{width:42px;min-width:42px;height:46px}
 .woocommerce ul.products li.product .cmp-product-actions .button{padding-inline:4px}
}

/* ==========================================================================
   Compra na página do produto — bloco único (substitui as regras acima)
   Linha 1: Quantidade + seletor · Linha 2: Finalizar compra + Sacola
   ========================================================================== */
.woocommerce div.product form.cart.cmp-single-purchase::before,
.woocommerce div.product form.cart.cmp-single-purchase::after{content:none;display:none}
.woocommerce div.product form.cart.cmp-single-purchase{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px 12px;align-items:stretch;width:100%;max-width:520px;margin:24px 0 28px;padding:20px;border:1px solid #e4dbcd;border-radius:6px;background:#fffcf7}
.woocommerce div.product form.cart.cmp-single-purchase>*:not(.cmp-single-quantity):not(.cmp-single-checkout):not(.cmp-single-bag){grid-column:1/-1}
.cmp-single-purchase .cmp-single-quantity{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;margin:0;padding-bottom:14px;border-bottom:1px solid #ece3d3}
.cmp-single-purchase .cmp-single-quantity__label{font:600 11px/1.4 var(--cmp-font-body);letter-spacing:.14em;text-transform:uppercase;color:#80613a}
.cmp-single-purchase .cmp-product-stepper{width:136px;height:48px;background:#fff}
.cmp-single-purchase .cmp-product-stepper>button{height:46px}
.woocommerce .cmp-single-purchase .cmp-product-stepper .quantity .qty{min-height:46px;height:46px;font-weight:600}
.woocommerce div.product form.cart.cmp-single-purchase .cmp-single-checkout{grid-column:1;min-height:52px;font-size:15px;font-weight:600;border-radius:4px}
.woocommerce div.product form.cart.cmp-single-purchase .cmp-single-bag{grid-column:2;display:inline-flex;align-items:center;justify-content:center;gap:10px;width:auto;min-width:52px;height:52px;padding:0 18px;border-radius:4px;font:600 14px/1 var(--cmp-font-body);white-space:nowrap}
.cmp-single-bag .cmp-icon{width:20px;height:20px;flex:none}
@media(max-width:767px){
 .woocommerce div.product form.cart.cmp-single-purchase{max-width:none;padding:16px;gap:12px 10px}
 .woocommerce div.product form.cart.cmp-single-purchase .cmp-single-bag{width:52px;padding:0}
 .cmp-single-bag__text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
}
/* Selo de disponibilidade */
.cmp-product-availability{display:inline-flex;align-items:center;gap:8px;margin:4px 0 0;padding:5px 12px;border-radius:999px;background:#e4ece2;color:#1f3a2a;font-size:12px;font-weight:600}
.cmp-product-availability::before{content:"";width:7px;height:7px;border-radius:50%;background:#2f6b45}
