/* Casa Valora V40.11 — cards compactos, navegação clicável e produto objetivo.
   Não modifica APIs, autenticação nem processamento financeiro. */
body.cv-inner-page #catalog-products{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important}
body.cv-inner-page #catalog-products .cv-product-tile,
body.cv40-2 .bv-product-grid .cv-product-tile{border-radius:14px!important;overflow:hidden;cursor:pointer;min-width:0;box-shadow:0 3px 15px rgba(16,48,35,.065)}
body.cv-inner-page #catalog-products .cv-product-tile:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(16,48,35,.14)}
body.cv40-2 .cv-product-tile .cv-card-photo-link{display:block;position:relative;text-decoration:none;overflow:hidden;background:#fcfaf5}
body.cv40-2 .cv-product-tile .cv-card-photo-link:focus-visible,
body.cv40-2 .cv-product-tile .cv-card-name-link:focus-visible{outline:3px solid #ac8446;outline-offset:-2px}
body.cv-inner-page #catalog-products .cv-product-tile .product-image{aspect-ratio:1.25 / 1!important;min-height:0!important;height:auto!important;max-height:185px!important;padding:10px!important;box-sizing:border-box;background:#fcfaf7!important}
body.cv-inner-page #catalog-products .cv-product-tile .product-image img{height:100%!important;width:100%!important;max-height:none!important;object-fit:contain!important;object-position:center}
body.cv40-2 .cv-product-tile .cv-card-see{display:flex;position:absolute;right:8px;bottom:8px;align-items:center;gap:5px;background:#fffefaef;border:1px solid #dfd4c2;border-radius:999px;padding:4px 9px;color:#173f35;font:600 10px Inter,Arial,sans-serif;box-shadow:0 2px 9px #173f3515}
body.cv40-2 .cv-product-tile .cv-card-see span{font-size:12px;color:#a98140}
body.cv-inner-page #catalog-products .cv-product-tile .product-body{display:flex;flex-direction:column;gap:5px;padding:11px 11px 12px!important}
body.cv-inner-page #catalog-products .cv-product-tile .product-tag{font:700 9px Inter,Arial,sans-serif;color:#9e7b43;text-transform:uppercase;letter-spacing:.045em;margin:0}
body.cv-inner-page #catalog-products .cv-product-tile h3{font:600 12px/1.45 Inter,Arial,sans-serif!important;min-height:2.9em;max-height:2.9em;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0!important}
body.cv40-2 .cv-product-tile .cv-card-name-link{color:#123e31;text-decoration:none}
body.cv40-2 .cv-product-tile .cv-card-name-link:hover{text-decoration:underline;text-underline-offset:2px}
body.cv-inner-page #catalog-products .cv-product-tile .card-price{display:flex;flex-direction:column;gap:3px;margin:4px 0 3px!important}
body.cv-inner-page #catalog-products .cv-product-tile .card-price strong{font:800 16px/1.18 Inter,Arial,sans-serif!important;color:#0a4536}
body.cv-inner-page #catalog-products .cv-product-tile .card-price span{font-size:10px;line-height:1.3}
body.cv-inner-page #catalog-products .cv-product-tile .product-actions-card{display:block!important;margin-top:auto}
body.cv-inner-page #catalog-products .cv-product-tile .product-actions-card .btn{width:100%;min-height:35px!important;padding:8px 6px!important;border-radius:9px;font:700 10px Inter,Arial,sans-serif!important}
body.cv40-2 .cv-card-price-pending{font-size:11px;color:#52675a}
body.cv40-2 .cv-card-no-image{font-size:10px;color:#6b786d;display:block;text-align:center}
body.cv-inner-page .catalog-toolbar{margin-bottom:12px!important}
body.cv-inner-page .catalog-count{margin-bottom:11px!important;font-size:12px}
body.cv-inner-page:has(#catalog-products) .page-hero{padding:25px 0 20px!important}
body.cv-inner-page:has(#catalog-products) .page-hero h1{font-size:clamp(27px,3vw,39px)!important;margin:4px 0 4px!important}
body.cv-inner-page:has(#catalog-products) .page-hero p{font-size:12px;line-height:1.55!important;max-width:720px}
body.cv-inner-page:has(#catalog-products) .section{padding:19px 0 38px!important}
/* Layout real da página de produto: foto visível sem dominar, ficha imediatamente abaixo */
body.cv-inner-page .product-page-section>.container{max-width:1030px!important}
body.cv-inner-page .product-page-grid{grid-template-columns:minmax(0,280px) minmax(0,1fr)!important;gap:17px!important}
body.cv-inner-page .product-gallery{width:100%;max-width:280px!important;margin:0!important}
body.cv-inner-page .gallery-main{height:218px!important;max-height:218px!important;min-height:0!important;border-radius:13px!important}
body.cv-inner-page .gallery-main .gallery-placeholder{height:100%!important;max-height:218px!important;min-height:0!important}
body.cv-inner-page .gallery-main .cv-zoom-trigger img{object-fit:contain!important}
body.cv-inner-page .gallery-main .cv-gallery-video{height:210px!important;max-height:210px!important}
body.cv-inner-page .cv-gallery-specs{margin-top:8px!important;border-radius:12px}
body.cv-inner-page .cv-gallery-specs>summary{padding:9px 11px!important}
body.cv-inner-page .cv-gallery-specs-body{padding:0 11px 9px!important}
body.cv-inner-page .cv-spec-row{padding:5px 0!important;line-height:1.35!important;grid-template-columns:37% minmax(0,1fr)!important}
body.cv-inner-page .product-buybox{padding:13px 17px!important}
body.cv-inner-page .product-buybox h1{font-size:clamp(21px,2.1vw,26px)!important}
body.cv-inner-page .cv-size-preview{margin:4px 0 6px!important}
body.cv-inner-page .cv-reco-body .cv-reco-name{font-size:11px;line-height:1.4;min-height:30px;font-weight:700;color:#173f35;text-decoration:none;display:block}
body.cv-inner-page .cv-reco-body .cv-reco-name:hover{text-decoration:underline}
/* Mantém checkout da V40.10 e melhora apenas foco e resumo sem reduzir áreas de toque. */
body.cv-checkout-v4010 .cv-payment-assurance{margin-top:10px!important}
body.cv-checkout-v4010 .order-summary{overflow-wrap:anywhere}
@media(max-width:1150px){body.cv-inner-page #catalog-products{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:900px){body.cv-inner-page #catalog-products{grid-template-columns:repeat(3,minmax(0,1fr))!important}body.cv-inner-page .product-page-grid{grid-template-columns:minmax(0,230px) minmax(0,1fr)!important;gap:13px!important}body.cv-inner-page .product-gallery{max-width:230px!important}body.cv-inner-page .gallery-main,body.cv-inner-page .gallery-main .gallery-placeholder{height:205px!important;max-height:205px!important}}
@media(max-width:780px){body.cv-inner-page #catalog-products{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.cv-inner-page .product-page-grid{grid-template-columns:1fr!important;gap:12px!important}body.cv-inner-page .product-gallery{width:100%;max-width:430px!important;margin:0 auto!important}body.cv-inner-page .gallery-main,body.cv-inner-page .gallery-main .gallery-placeholder{height:210px!important;max-height:210px!important}body.cv-inner-page .cv-gallery-specs:not(.cv-spec-expanded) .cv-spec-row:nth-child(n+4){display:none!important}body.cv-inner-page .product-buybox{padding:13px!important}}
@media(max-width:500px){body.cv-inner-page #catalog-products{gap:9px!important}body.cv-inner-page #catalog-products .cv-product-tile .product-image{max-height:160px!important;padding:7px!important}body.cv-inner-page #catalog-products .cv-product-tile .product-body{padding:9px!important}body.cv-inner-page #catalog-products .cv-product-tile h3{font-size:11px!important}body.cv-inner-page #catalog-products .cv-product-tile .card-price strong{font-size:14px!important}body.cv-inner-page #catalog-products .cv-product-tile .card-price span{font-size:9px}body.cv-inner-page #catalog-products .cv-product-tile .product-actions-card .btn{font-size:9px!important;line-height:1.3}body.cv40-2 .cv-product-tile .cv-card-see{font-size:9px;bottom:5px;right:5px;padding:3px 7px}body.cv-inner-page:has(#catalog-products) .page-hero{padding:19px 0 17px!important}body.cv-inner-page .gallery-main,body.cv-inner-page .gallery-main .gallery-placeholder{height:194px!important;max-height:194px!important}body.cv-inner-page .cv-reco-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:350px){body.cv-inner-page #catalog-products .cv-product-tile .product-body{padding:8px!important}body.cv-inner-page #catalog-products .cv-product-tile .product-tag{font-size:8px!important}}
