/* Dicas: ranking {{TOP}} e selos de historico do card de ofertas.
   Arquivo a parte de proposito: o public/css/bento.css e refeito pelo
   npm run build:bento e o que nao esta no resources/css some. */

/* Historico de preco no card e no ranking (PriceHistory::badge). */
.product-offers-pricebox{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0}
.product-offers-hist{padding:2px 7px;border-radius:7px;font-size:11px;font-weight:800;line-height:1.4;white-space:nowrap}
.product-offers-hist.is-queda{background:#dcfce7;color:#166534}
.product-offers-hist.is-menor{background:#ede9fe;color:#5b21b6}
.product-offers-hist.is-ja_esteve{background:#f4f4f5;color:#52525b;font-weight:600}
@media (min-width:640px){.product-offers-pricebox{align-items:flex-end}}

/* O "Comparar lojas" do ranking desce ate o card, abaixo do cabecalho fixo. */
.product-offers-card{scroll-margin-top:88px}

/* Ranking */
.product-top{margin:2rem 0;overflow:hidden;border:1px solid #e4e4e7;border-radius:1rem;background:#fff;box-shadow:0 1px 2px 0 rgba(0,0,0,.05)}
.product-top-list{margin:0;padding:0;list-style:none}
.product-top-item{display:grid;grid-template-columns:32px 64px minmax(0,1fr);align-items:center;gap:12px 14px;padding:14px 16px}
.product-top-item+.product-top-item{border-top:1px solid #f4f4f5}
.product-top-rank{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:999px;background:#ede9fe;color:#5b21b6;font-size:14px;font-weight:800;font-variant-numeric:tabular-nums}
.product-top-item:first-child .product-top-rank{background:#5d43c8;color:#fff}
.product-top-image{display:flex;align-items:center;justify-content:center;width:64px;height:64px;padding:6px;border:1px solid #f4f4f5;border-radius:12px;background:#fff}
.product-top-image img{width:100%;height:100%;object-fit:contain}
.product-top-body{min-width:0}
.product-top-label{margin:0 0 3px;color:#5d43c8;font-size:11px;font-weight:800;letter-spacing:.06em;line-height:1.3;text-transform:uppercase}
.product-top-name{margin:0;color:#18181b;font-size:15px;font-weight:700;line-height:1.35;overflow-wrap:anywhere}
.product-top-name a{color:inherit;text-decoration:none}
.product-top-name a:hover{color:#5d43c8;text-decoration:underline}
.product-top-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:6px 0 0;color:#52525b;font-size:13px;line-height:1.4}
.product-top-meta strong{color:#18181b;font-size:16px;font-variant-numeric:tabular-nums}
.product-top-store{font-weight:600;color:#3f3f46}
.product-top-stores{color:#71717a}
.product-top-actions{display:flex;grid-column:1/-1;gap:8px}
.product-top-actions>a{flex:1}
.product-top-button,.product-top-more{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:44px;padding:.625rem 1rem;border-radius:.5rem;font-size:.875rem;font-weight:600;line-height:1.25rem;text-decoration:none;white-space:nowrap;transition:background-color .15s,border-color .15s,color .15s}
.product-top-button{background:#5d43c8;color:#fff}
.product-top-button:hover{background:#4932a7;color:#fff}
.product-top-more{border:1px solid #e4e4e7;background:#fff;color:#3f3f46}
.product-top-more:hover{border-color:#5d43c8;color:#5d43c8}
@media (min-width:640px){
  .product-top-item{grid-template-columns:36px 80px minmax(0,1fr) auto;gap:16px;padding:16px 20px}
  .product-top-rank{width:36px;height:36px}
  .product-top-image{width:80px;height:80px}
  .product-top-name{font-size:16px}
  .product-top-actions{grid-column:auto;flex-direction:column;align-items:stretch;min-width:140px}
}

/* ===== Componentes das dicas (TipMarkers) ===== */
.tip-content .sr-only,.product-compare .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Card do produto: partes novas */
.product-offers-heading{min-width:0;flex:1}
.product-offers-saving{display:inline-flex;margin:8px 0 0;padding:3px 9px;border-radius:8px;background:#dcfce7;color:#166534;font-size:12px;font-weight:700;line-height:1.4}
.product-offers-storename{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;min-width:0}
.product-offers-best{display:inline-flex;padding:2px 7px;border-radius:7px;background:#ede9fe;color:#5b21b6;font-size:11px;font-weight:800;line-height:1.4;white-space:nowrap}
.product-offers-row.is-best{background:linear-gradient(90deg,#f5f3ff,#fff 60%);box-shadow:inset 3px 0 0 #5d43c8}
.product-offers-coupon{display:inline-flex;align-items:center;gap:4px;padding:2px 7px;border:1px dashed #a78bfa;border-radius:7px;color:#5d43c8;font-size:11px;font-weight:700;line-height:1.4;text-decoration:none;white-space:nowrap}
.product-offers-coupon:hover{background:#f5f3ff;color:#4932a7}
.product-offers-unit{color:#52525b;font-size:12px;font-weight:600;white-space:nowrap}
.product-offers-more{border-top:1px solid #f4f4f5}
.product-offers-more>summary{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:10px 16px;color:#5d43c8;font-size:14px;font-weight:700;cursor:pointer;list-style:none}
.product-offers-more>summary::-webkit-details-marker{display:none}
.product-offers-more>summary::after{content:"";width:8px;height:8px;margin-top:-3px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .15s}
.product-offers-more[open]>summary::after{margin-top:3px;transform:rotate(-135deg)}
.product-offers-more[open]>summary{border-bottom:1px solid #f4f4f5}
.product-offers-empty{margin:0;padding:16px 20px;color:#52525b;font-size:14px;line-height:1.5}
.product-offers-card--empty .product-offers-kicker{color:#71717a}

/* Uma loja so: preco e botao no cabecalho */
.product-offers-card--single .product-offers-header{flex-wrap:wrap;border-bottom:0}
.product-offers-solo{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;width:100%;padding-top:4px}
.product-offers-solo .product-offers-pricebox{flex:1;align-items:flex-start}
.product-offers-solo .product-offers-button{min-width:140px}
@media (min-width:640px){
  .product-offers-card--single .product-offers-header{flex-wrap:nowrap}
  .product-offers-solo{flex-direction:column;align-items:flex-end;width:auto;padding-top:0}
  .product-offers-solo .product-offers-pricebox{align-items:flex-end}
}

/* Destaque: faixa, veredito, pros e contras */
.product-offers-card--destaque{border-color:#c4b5fd;box-shadow:0 10px 30px -18px rgba(93,67,200,.45)}
.product-offers-ribbon{margin:0;padding:8px 20px;background:#5d43c8;color:#fff;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.product-offers-verdict{padding:16px 20px;border-bottom:1px solid #f4f4f5}
.product-offers-verdict-text{margin:0;color:#27272a;font-size:15px;line-height:1.6}
.product-offers-proscons{display:grid;gap:12px;margin-top:12px}
.product-offers-verdict-text+.product-offers-proscons{margin-top:14px}
.product-offers-proscons ul{margin:0;padding:0;list-style:none}
.product-offers-proscons li{position:relative;padding:3px 0 3px 24px;color:#3f3f46;font-size:14px;line-height:1.5}
.product-offers-proscons li::before{position:absolute;left:0;top:5px;display:flex;align-items:center;justify-content:center;width:17px;height:17px;border-radius:999px;font-size:12px;font-weight:800;line-height:1}
.product-offers-proscons li.is-pro::before{content:"+";background:#dcfce7;color:#166534}
.product-offers-proscons li.is-con::before{content:"!";background:#fef3c7;color:#92400e}
.product-offers-pc-title{margin:0 0 4px;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.product-offers-pc-title.is-pro{color:#166534}
.product-offers-pc-title.is-con{color:#92400e}
@media (min-width:640px){.product-offers-proscons{grid-template-columns:1fr 1fr;gap:20px}}

/* Card mini: uma linha no meio do texto */
.product-mini{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:center;gap:10px 14px;margin:1.5rem 0;padding:12px 14px;border:1px solid #e4e4e7;border-radius:14px;background:#fff}
.product-mini-image{display:flex;align-items:center;justify-content:center;width:56px;height:56px;padding:4px;border:1px solid #f4f4f5;border-radius:10px;background:#fff}
.product-mini-image img{width:100%;height:100%;object-fit:contain}
.product-mini-body{min-width:0}
.product-mini-name{margin:0;color:#18181b;font-size:15px;font-weight:700;line-height:1.35;overflow-wrap:anywhere}
.product-mini-meta{display:flex;flex-wrap:wrap;gap:2px 10px;margin:4px 0 0;color:#52525b;font-size:13px;line-height:1.4}
.product-mini-meta strong{color:#18181b;font-variant-numeric:tabular-nums}
.product-mini-meta a{color:#5d43c8;font-weight:600}
.product-mini-button{display:inline-flex;grid-column:1/-1;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border-radius:8px;background:#5d43c8;color:#fff;font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap}
.product-mini-button:hover{background:#4932a7;color:#fff}
@media (min-width:640px){.product-mini{grid-template-columns:56px minmax(0,1fr) auto}.product-mini-button{grid-column:auto}}

/* Tabela comparativa */
.product-compare{margin:2rem 0;border:1px solid #e4e4e7;border-radius:16px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.05);overflow:hidden}
.product-compare-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.product-compare-scroll:focus-visible{outline:2px solid #5d43c8;outline-offset:-2px}
.product-compare-table{width:100%;border-collapse:separate;border-spacing:0;font-size:14px}
.product-compare-table th,.product-compare-table td{padding:12px 14px;border-bottom:1px solid #f4f4f5;text-align:left;vertical-align:top}
.product-compare-table thead th{min-width:150px;max-width:190px;background:#fafafa;vertical-align:bottom}
.product-compare-table tbody th{position:sticky;left:0;z-index:1;min-width:110px;max-width:140px;background:#fafafa;color:#52525b;font-size:13px;font-weight:700;box-shadow:1px 0 0 #f4f4f5}
.product-compare-corner{position:sticky;left:0;z-index:2}
.product-compare-table td{min-width:150px;max-width:190px;color:#27272a;line-height:1.45}
.product-compare-image{display:flex;align-items:center;justify-content:center;width:72px;height:72px;margin-bottom:8px;padding:6px;border:1px solid #f4f4f5;border-radius:12px;background:#fff}
.product-compare-image img{width:100%;height:100%;object-fit:contain}
.product-compare-name{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:#18181b;font-size:14px;font-weight:700;line-height:1.35;text-decoration:none;white-space:normal}
a.product-compare-name:hover{color:#5d43c8;text-decoration:underline}
.product-compare-none{color:#a1a1aa;font-size:13px}
.product-compare-yes{display:inline-flex;align-items:center;gap:4px;color:#166534;font-weight:700}
.product-compare-no{color:#71717a}
.product-compare-price td{background:#fcfcff}
.product-compare-price th{background:#f5f3ff;color:#4932a7}
.product-compare-price strong{display:block;color:#18181b;font-size:17px;font-variant-numeric:tabular-nums}
.product-compare-store{display:block;margin:2px 0 6px;color:#52525b;font-size:12px}
.product-compare-best{display:table;margin-bottom:6px}
@media (max-width:639px){.product-compare-table th,.product-compare-table td{padding:10px}.product-compare-table tbody th{min-width:92px;max-width:104px;font-size:12px}.product-compare-table thead th,.product-compare-table td{min-width:136px}.product-compare-image{width:60px;height:60px}}
.product-compare-button{display:flex;align-items:center;justify-content:center;min-height:40px;margin-top:6px;padding:8px 12px;border-radius:8px;background:#5d43c8;color:#fff;font-size:13px;font-weight:600;text-decoration:none}
.product-compare-button:hover{background:#4932a7;color:#fff}
.product-compare-table tr:last-child>*{border-bottom:0}

/* Calculadora */
.tip-calc{margin:2rem 0;padding:18px;border:1px solid #ddd6fe;border-radius:16px;background:linear-gradient(180deg,#f5f3ff,#fff 140px)}
.tip-calc-head{display:flex;align-items:flex-start;gap:12px}
.tip-calc-icon{display:flex;flex:none;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;background:#5d43c8;color:#fff}
.tip-calc-head h3{margin:0;color:#18181b;font-size:18px;font-weight:800;letter-spacing:-.01em}
.tip-calc-head p{margin:2px 0 0;color:#52525b;font-size:14px;line-height:1.45}
.tip-calc-form{display:grid;gap:12px;margin:16px 0 0}
.tip-calc-form label{display:grid;gap:5px;color:#3f3f46;font-size:13px;font-weight:700}
.tip-calc-form input[type=number],.tip-calc-form select{width:100%;min-height:44px;padding:9px 12px;border:1px solid #d4d4d8;border-radius:10px;background:#fff;color:#18181b;font:inherit;font-size:16px;font-weight:600}
.tip-calc-form input:focus,.tip-calc-form select:focus{outline:2px solid #c4b5fd;border-color:#5d43c8}
.tip-calc-form .tip-calc-check{display:flex;align-items:center;gap:10px;min-height:44px;font-weight:600}
.tip-calc-check input{width:20px;height:20px;accent-color:#5d43c8}
@media (min-width:640px){.tip-calc{padding:22px}.tip-calc-form{grid-template-columns:repeat(2,minmax(0,1fr))}.tip-calc-form .tip-calc-check{grid-column:1/-1}}
.tip-calc-result{margin-top:16px;padding-top:16px;border-top:1px dashed #c4b5fd}
.tip-calc-answer{display:flex;flex-direction:column;gap:2px}
.tip-calc-answer-label{color:#5d43c8;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.tip-calc-answer strong{color:#18181b;font-size:28px;font-weight:800;letter-spacing:-.02em;line-height:1.15;font-variant-numeric:tabular-nums}
.tip-calc-math{margin:8px 0 0;color:#3f3f46;font-size:14px;line-height:1.5}
.tip-calc-note{margin:8px 0 0;color:#71717a;font-size:13px;line-height:1.5}
.tip-calc-table-wrap{margin-top:12px;overflow-x:auto}
.tip-calc-table{width:100%;border-collapse:collapse;font-size:14px}
.tip-calc-table th,.tip-calc-table td{padding:8px 10px;border-bottom:1px solid #ede9fe;text-align:left;font-variant-numeric:tabular-nums}
.tip-calc-table thead th{color:#52525b;font-size:12px;font-weight:700}
.tip-calc-table tbody th{color:#18181b;font-weight:800}
.tip-calc-products{margin-top:14px}
.tip-calc-products-title{margin:0 0 6px;color:#18181b;font-size:14px;font-weight:800}
.tip-calc-products ul{margin:0;padding:0;list-style:none;border:1px solid #e4e4e7;border-radius:12px;background:#fff}
.tip-calc-product{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:8px 12px;padding:10px 12px}
.tip-calc-product+.tip-calc-product{border-top:1px solid #f4f4f5}
.tip-calc-product-image{display:flex;width:48px;height:48px;padding:3px;border:1px solid #f4f4f5;border-radius:8px;background:#fff}
.tip-calc-product-image img{width:100%;height:100%;object-fit:contain}
.tip-calc-product-body{display:grid;gap:2px;min-width:0}
.tip-calc-product-name{overflow:hidden;color:#18181b;font-size:14px;font-weight:700;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.tip-calc-product-price{color:#52525b;font-size:13px}
.tip-calc-product-actions{display:flex;grid-column:1/-1;gap:8px}
.tip-calc-product-actions>a{flex:1;display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;border-radius:8px;font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap}
.tip-calc-product-button{background:#5d43c8;color:#fff}
.tip-calc-product-button:hover{background:#4932a7;color:#fff}
.tip-calc-product-more{border:1px solid #e4e4e7;color:#3f3f46}
.tip-calc-product-more:hover{border-color:#5d43c8;color:#5d43c8}
@media (min-width:640px){.tip-calc-product{grid-template-columns:48px minmax(0,1fr) auto}.tip-calc-product-actions{grid-column:auto}}

/* Historico de preco */
.price-history{margin:2rem 0;padding:18px;border:1px solid #e4e4e7;border-radius:16px;background:#fff}
.price-history-head{margin:0}
.price-history-title{margin:0;color:#5d43c8;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.price-history-name{margin:2px 0 0;color:#18181b;font-size:15px;font-weight:700;line-height:1.35}
.price-history-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0 0}
.price-history-stats>div{padding:8px 10px;border-radius:10px;background:#fafafa}
.price-history-stats dt{color:#71717a;font-size:11px;font-weight:700;line-height:1.3}
.price-history-stats dd{margin:2px 0 0;color:#18181b;font-size:15px;font-weight:800;line-height:1.3;font-variant-numeric:tabular-nums}
.price-history-stats dd span{display:block;color:#71717a;font-size:11px;font-weight:600}
.price-history-chart{position:relative;margin-top:12px;touch-action:pan-y}
.price-history-chart svg{display:block;width:100%;height:170px;overflow:visible}
.ph-grid{stroke:#f4f4f5;stroke-width:1}
.ph-area{fill:#5d43c8;fill-opacity:.08}
.ph-line{fill:none;stroke:#5d43c8;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.ph-cross{stroke:#a1a1aa;stroke-width:1;stroke-dasharray:3 3}
.ph-dot{position:absolute;width:10px;height:10px;margin:-5px 0 0 -5px;border:2px solid #fff;border-radius:999px;background:#5d43c8;box-shadow:0 0 0 1px #5d43c8;pointer-events:none}
.ph-dot--min{background:#16a34a;box-shadow:0 0 0 1px #16a34a}
.ph-dot--hover{background:#18181b;box-shadow:0 0 0 1px #18181b}
.ph-tip{position:absolute;top:-4px;transform:translateX(-50%);padding:4px 8px;border-radius:7px;background:#18181b;color:#fff;font-size:12px;font-weight:600;white-space:nowrap;pointer-events:none;font-variant-numeric:tabular-nums}
.ph-axis{display:flex;justify-content:space-between;margin-top:-18px;color:#71717a;font-size:11px;font-weight:600}
.price-history-note{margin:12px 0 0;color:#52525b;font-size:13px;line-height:1.5}

/* Caixas: > [!RESPOSTA], > [!DICA], > [!ATENCAO], > [!IMPORTANTE] */
.tip-box{margin:1.75rem 0;padding:14px 16px 14px 18px;border:1px solid;border-left-width:4px;border-radius:12px}
.tip-box-title{display:flex;align-items:center;gap:8px;margin:0 0 6px;font-size:13px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.tip-box-title::before{display:flex;align-items:center;justify-content:center;flex:none;width:20px;height:20px;border-radius:999px;color:#fff;font-size:12px;font-weight:800;letter-spacing:0}
.tip-box-body{color:#27272a;font-size:16px;line-height:1.65}
.tip-box-body>*{margin:0}
.tip-box-body>*+*{margin-top:.6em}
.tip-box-body ul,.tip-box-body ol{padding-left:1.25em}
.tip-box-body a{color:#4932a7;text-decoration:underline}
.tip-box--resposta{border-color:#c4b5fd;background:#f5f3ff}
.tip-box--resposta .tip-box-title{color:#4932a7}
.tip-box--resposta .tip-box-title::before{content:"?";background:#5d43c8}
.tip-box--resposta .tip-box-body{font-size:17px;font-weight:500}
.tip-box--dica{border-color:#bbf7d0;background:#f0fdf4}
.tip-box--dica .tip-box-title{color:#166534}
.tip-box--dica .tip-box-title::before{content:"✓";background:#16a34a}
.tip-box--atencao{border-color:#fde68a;background:#fffbeb}
.tip-box--atencao .tip-box-title{color:#92400e}
.tip-box--atencao .tip-box-title::before{content:"!";background:#d97706}
.tip-box--importante{border-color:#fecaca;background:#fef2f2}
.tip-box--importante .tip-box-title{color:#991b1b}
.tip-box--importante .tip-box-title::before{content:"!";background:#dc2626}

/* Cupons das lojas da dica */
.tip-coupons{margin:2rem 0;padding:16px;border:1px dashed #a78bfa;border-radius:16px;background:#faf9ff}
.tip-coupons-title{display:flex;align-items:center;gap:8px;margin:0 0 10px;color:#4932a7;font-size:15px;font-weight:800}
.tip-coupons ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.tip-coupon{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:8px 12px;padding:10px 12px;border:1px solid #e4e4e7;border-radius:12px;background:#fff;color:inherit;text-decoration:none;transition:border-color .15s}
.tip-coupon:hover{border-color:#5d43c8}
.tip-coupon-logo{position:relative;display:flex;align-items:center;justify-content:center;width:40px;height:40px;overflow:hidden;border:1px solid #e4e4e7;border-radius:10px;background:#fff;color:#71717a;font-weight:700}
.tip-coupon-logo>span{position:absolute}
.tip-coupon-logo img{position:relative;width:100%;height:100%;object-fit:contain;background:#fff}
.tip-coupon-body{display:grid;gap:1px;min-width:0}
.tip-coupon-store{color:#71717a;font-size:12px;font-weight:600}
.tip-coupon-body strong{color:#18181b;font-size:16px;font-weight:800;line-height:1.3}
.tip-coupon-desc{color:#52525b;font-size:13px;line-height:1.4}
.tip-coupon-cta{display:inline-flex;grid-column:1/-1;align-items:center;justify-content:center;min-height:40px;padding:8px 14px;border:1px solid #5d43c8;border-radius:8px;color:#5d43c8;font-size:13px;font-weight:700;white-space:nowrap}
.tip-coupon:hover .tip-coupon-cta{background:#5d43c8;color:#fff}
.tip-coupons-note{margin:10px 0 0;color:#71717a;font-size:12px}
@media (min-width:640px){.tip-coupon{grid-template-columns:40px minmax(0,1fr) auto}.tip-coupon-cta{grid-column:auto}}

/* Promocoes da categoria */
.tip-deals{margin:2rem 0}
.tip-deals-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}
.tip-deals-title{margin:0;color:#18181b;font-size:17px;font-weight:800}
.tip-deals-head a{color:#5d43c8;font-size:14px;font-weight:700}
.tip-deals .deal-card h2{font-size:14px;line-height:1.35}
@media (min-width:768px){.tip-deals .tip-deals-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}}

/* Chamada para o grupo */
.tip-group{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:12px 14px;margin:2rem 0;padding:16px;border-radius:16px;background:#1e1b2e;color:#fff}
.tip-group-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:rgba(255,255,255,.12)}
.tip-group-title{margin:0;font-size:16px;font-weight:800;line-height:1.35}
.tip-group-text{margin:3px 0 0;color:#d4d4d8;font-size:13px;line-height:1.45}
.tip-group-actions{display:flex;grid-column:1/-1;gap:8px}
.tip-group-button{display:inline-flex;flex:1;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border-radius:10px;color:#fff;font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap}
.tip-group-button.is-whatsapp{background:#128c4a}
.tip-group-button.is-whatsapp:hover{background:#0f7a40}
.tip-group-button.is-telegram{background:#1d7fc2}
.tip-group-button.is-telegram:hover{background:#1a6fa9}
@media (min-width:640px){.tip-group{grid-template-columns:44px minmax(0,1fr) auto;padding:18px 20px}.tip-group-actions{grid-column:auto}}

/* Checklist ("- [ ] item") */
.tip-content ul.tip-checklist{padding-left:0;list-style:none}
.tip-content ul.tip-checklist>li{margin:0;padding:0;border-bottom:1px solid #f4f4f5}
.tip-content ul.tip-checklist>li::marker{content:""}
.tip-checklist label{display:flex;align-items:flex-start;gap:12px;padding:10px 4px;cursor:pointer}
.tip-check{flex:none;width:20px;height:20px;margin:3px 0 0;accent-color:#5d43c8;cursor:pointer}
.tip-checklist li.is-done span{color:#a1a1aa;text-decoration:line-through}
.tip-checklist-bar{--progresso:0%;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:1.25rem 0 -.5rem;padding:8px 12px;border-radius:10px;background:linear-gradient(90deg,#ede9fe var(--progresso),#fafafa var(--progresso));font-size:13px;font-weight:700;color:#3f3f46}
.tip-checklist-clear{padding:4px 8px;border:0;border-radius:6px;background:transparent;color:#5d43c8;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.tip-checklist-clear:hover{background:#fff}

/* Perguntas frequentes */
.tip-faq h3{margin-top:1.5em;padding-top:1em;border-top:1px solid #f4f4f5}
.tip-faq h2+h3{border-top:0;padding-top:0}

/* Barra fixa do produto no celular */
.tip-sticky{position:fixed;right:8px;bottom:calc(8px + env(safe-area-inset-bottom,0px));left:8px;z-index:39;display:grid;grid-template-columns:44px minmax(0,1fr) auto 32px;align-items:center;gap:10px;padding:8px 8px 8px 10px;border:1px solid #e4e4e7;border-radius:14px;background:rgba(255,255,255,.97);box-shadow:0 12px 30px -12px rgba(24,24,27,.35);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.tip-sticky[hidden]{display:none}
.tip-sticky-image{display:flex;width:44px;height:44px;padding:3px;border:1px solid #f4f4f5;border-radius:8px;background:#fff}
.tip-sticky-image img{width:100%;height:100%;object-fit:contain}
.tip-sticky-body{display:grid;min-width:0}
.tip-sticky-name{overflow:hidden;color:#18181b;font-size:13px;font-weight:700;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
.tip-sticky-price{overflow:hidden;color:#52525b;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.tip-sticky-price strong{color:#18181b;font-size:14px;font-variant-numeric:tabular-nums}
.tip-sticky-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 14px;border-radius:9px;background:#5d43c8;color:#fff;font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap}
.tip-sticky-close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:0;border-radius:8px;background:transparent;color:#71717a;cursor:pointer}
.tip-sticky-close:hover{background:#f4f4f5}
@media (max-width:639px){.tip-sticky{bottom:calc(72px + env(safe-area-inset-bottom,0px))}}
@media (min-width:1024px){.tip-sticky{display:none!important}}

/* Calculadoras: linhas que o leitor adiciona (compressor e gerador) */
.tip-calc-rows{display:grid;gap:8px;grid-column:1/-1}
.tip-calc-rows-head{display:none;margin:0;color:#52525b;font-size:12px;font-weight:700}
.tip-calc-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;gap:8px;align-items:center;padding:10px;border:1px solid #e4e4e7;border-radius:12px;background:#fff}
.tip-calc-row[hidden]{display:none}
.tip-calc-row>select,.tip-calc-row>input[type=text]{grid-column:1/-1}
.tip-calc-row input,.tip-calc-row select{width:100%;min-height:44px;padding:8px 10px;border:1px solid #d4d4d8;border-radius:10px;background:#fff;color:#18181b;font:inherit;font-size:16px;font-weight:600}
.tip-calc-row input:focus,.tip-calc-row select:focus{outline:2px solid #c4b5fd;border-color:#5d43c8}
.tip-calc-form .tip-calc-mini-check{display:flex;align-items:center;gap:6px;min-height:44px;font-size:13px;font-weight:700;color:#3f3f46}
.tip-calc-mini-check input{width:20px;height:20px;min-height:0;accent-color:#5d43c8}
.tip-calc-remove{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #e4e4e7;border-radius:10px;background:#fff;color:#71717a;font-size:20px;line-height:1;cursor:pointer}
.tip-calc-remove:hover{border-color:#dc2626;color:#dc2626}
.tip-calc-remove[hidden]{visibility:hidden;display:flex}
.tip-calc-row--compressor{grid-template-columns:repeat(3,minmax(0,1fr)) 44px}
.tip-calc-row--gerador{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) 44px}
.tip-calc-add{justify-self:start;min-height:44px;padding:8px 14px;border:1px dashed #a78bfa;border-radius:10px;background:transparent;color:#5d43c8;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.tip-calc-add:hover{background:#f5f3ff}
.tip-calc-add[hidden]{display:none}
.tip-calc-hint{margin:0;color:#71717a;font-size:12px;line-height:1.45}
.tip-calc-warn{margin:8px 0 0;padding:8px 10px;border-radius:8px;background:#fffbeb;color:#92400e;font-size:13px;font-weight:600;line-height:1.45}
.tip-calc-table tr.is-hit>*{background:#ede9fe;color:#4932a7;font-weight:800}
.tip-calc-page-link{margin:14px 0 0;font-size:14px}
.tip-calc-page-link a{color:#5d43c8;font-weight:700}
@media (min-width:640px){
  .tip-calc-rows-head{display:grid;grid-template-columns:minmax(0,1.6fr) repeat(3,minmax(0,1fr)) 44px;gap:8px;padding:0 11px}
  .tip-calc-rows-head--gerador{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) 88px minmax(0,.8fr) 44px}
  .tip-calc-row,.tip-calc-row--compressor{grid-template-columns:minmax(0,1.6fr) repeat(3,minmax(0,1fr)) 44px;padding:0;border:0;background:transparent}
  .tip-calc-row--gerador{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) 88px minmax(0,.8fr) 44px}
  .tip-calc-row>select,.tip-calc-row>input[type=text]{grid-column:auto}
}

/* Pagina da calculadora */
.calc-page .tip-calc--page{margin-top:1.5rem}
.calc-guide{display:flex;align-items:center;gap:12px;margin:2rem 0;padding:14px 16px;border:1px solid #e4e4e7;border-radius:14px;background:#fff}
.calc-guide-icon{display:flex;flex:none;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;background:#ede9fe;color:#5d43c8}
.calc-guide-body{display:grid;gap:2px;min-width:0}
.calc-guide-label{color:#71717a;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.calc-guide-body a{color:#18181b;font-size:15px;font-weight:700;line-height:1.4}
.calc-guide-body a:hover{color:#5d43c8}
.calc-others{margin-top:2.5rem;margin-bottom:2.5rem}
.calc-others h2,.calc-shelf h2{margin:0 0 12px;color:#18181b;font-size:20px;font-weight:800;letter-spacing:-.01em}
.calc-grid{display:grid;gap:10px;margin:0;padding:0;list-style:none}
@media (min-width:640px){.calc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1024px){.calc-index .calc-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.calc-card{display:flex;flex-direction:column;gap:4px;height:100%;padding:16px;border:1px solid #e4e4e7;border-radius:14px;background:#fff;color:inherit;text-decoration:none;transition:border-color .15s,box-shadow .15s}
.calc-card:hover{border-color:#5d43c8;box-shadow:0 8px 20px -14px rgba(93,67,200,.5)}
.calc-card strong{color:#18181b;font-size:16px;font-weight:800}
.calc-card span{color:#52525b;font-size:14px;line-height:1.45}
.calc-card .calc-card-cta{margin-top:auto;padding-top:8px;color:#5d43c8;font-weight:700}
.calc-index{padding-top:1.5rem;padding-bottom:3rem}
.calc-index-head{margin-bottom:1.5rem}
.calc-index-head h1{margin:.25rem 0 .5rem;color:#18181b;font-size:clamp(28px,5vw,40px);font-weight:800;letter-spacing:-.02em;line-height:1.1}
.calc-index-head p{margin:0;color:#52525b;font-size:16px;line-height:1.6;max-width:640px}
.calc-shelf+.calc-shelf{margin-top:2rem}

.tip-calc-form .tip-calc-cell{gap:3px;min-width:0}
.tip-calc-cell-label{color:#71717a;font-size:11px;font-weight:700}
.tip-calc-row--gerador .tip-calc-mini-check{align-self:end}
.tip-calc-row--compressor .tip-calc-remove,.tip-calc-row--gerador .tip-calc-remove{align-self:end}
@media (min-width:640px){.tip-calc-cell-label{display:none}.tip-calc-row--gerador .tip-calc-mini-check,.tip-calc-row .tip-calc-remove{align-self:center}}

/* Distancia da TV: sala vista de cima */
.tv-calc{display:grid;gap:16px;grid-column:1/-1}
.tv-scene{position:relative}
.tv-svg{display:block;width:100%;max-width:420px;height:auto;margin:0 auto;touch-action:none;cursor:ns-resize;user-select:none;-webkit-user-select:none}
.tv-room{fill:#fbfaff;stroke:#e4e4e7}
.tv-wall{fill:#e4e4e7}
.tv-screen{fill:#18181b}
.tv-size-label{fill:#52525b;font-size:11px;font-weight:700}
.tv-cone{fill-opacity:.16;stroke-width:1.5;transition:fill .2s,stroke .2s}
.tv-cone.is-ok{fill:#16a34a;stroke:#16a34a}
.tv-cone.is-curto,.tv-cone.is-imerso{fill:#d97706;stroke:#d97706}
.tv-cone.is-demais{fill:#dc2626;stroke:#dc2626}
.tv-sofa-hit{fill:transparent}
.tv-sofa-seat{fill:#a78bfa}
.tv-sofa-back{fill:#5d43c8}
.tv-head{fill:#fde3c8;stroke:#4932a7;stroke-width:2}
.tv-sofa-grip{fill:#ede9fe}
.tv-sofa{cursor:grab}
.is-dragging .tv-sofa{cursor:grabbing}
.is-dragging .tv-sofa-seat{fill:#8b5cf6}
.tv-angle-label{fill:#18181b;font-size:13px;font-weight:800}
.tv-tick{stroke:#d4d4d8;stroke-width:1}
.tv-tick-label{fill:#a1a1aa;font-size:10px;font-weight:600}
.tv-hint{margin:6px 0 0;color:#71717a;font-size:12px;text-align:center}
.tv-controls{display:grid;gap:14px;align-content:start}
.tip-calc-form .tv-range{display:grid;gap:8px}
.tv-range span{display:flex;justify-content:space-between;gap:8px;color:#3f3f46;font-size:13px;font-weight:700}
.tv-range strong{color:#5d43c8;font-size:15px;font-variant-numeric:tabular-nums}
.tv-range input[type=range]{width:100%;min-height:32px;accent-color:#5d43c8}
.tv-mode{display:grid;gap:6px;margin:0;padding:0;border:0}
.tv-mode legend{margin-bottom:6px;color:#3f3f46;font-size:13px;font-weight:700}
.tip-calc-form .tv-mode label{display:flex;align-items:center;gap:8px;min-height:40px;padding:6px 10px;border:1px solid #e4e4e7;border-radius:10px;background:#fff;font-size:14px;font-weight:600;cursor:pointer}
.tv-mode label:has(input:checked){border-color:#5d43c8;background:#f5f3ff;color:#4932a7}
.tv-mode input{width:18px;height:18px;accent-color:#5d43c8}
.tv-sizes-title{margin:0 0 6px;color:#3f3f46;font-size:13px;font-weight:700}
.tv-chips{display:flex;flex-wrap:wrap;gap:6px}
.tv-chip{min-height:40px;padding:6px 12px;border:1px solid #d4d4d8;border-radius:999px;background:#fff;color:#3f3f46;font:inherit;font-size:14px;font-weight:700;cursor:pointer;font-variant-numeric:tabular-nums}
.tv-chip:hover{border-color:#5d43c8;color:#5d43c8}
.tv-chip[aria-pressed=true]{border-color:#5d43c8;background:#5d43c8;color:#fff}
.tv-verdict{margin:10px 0 0;padding:10px 12px;border-radius:10px;font-size:14px;font-weight:600;line-height:1.5}
.tv-verdict.is-ok{background:#f0fdf4;color:#166534}
.tv-verdict.is-curto,.tv-verdict.is-imerso{background:#fffbeb;color:#92400e}
.tv-verdict.is-demais{background:#fef2f2;color:#991b1b}
@media (min-width:640px){.tv-calc{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start}}
