/* Saibarato live WooCommerce shop enhancements */
.sb-live-shop .sb-catalog-grid .sb-card-image img{width:100%;height:220px;object-fit:contain}
.sb-live-shop .sb-catalog-grid .sb-card-price .amount{font-weight:700}
.sb-live-shop .sb-catalog-grid .sb-card-price del{opacity:.55;margin-right:6px}
.sb-live-shop .sb-catalog-grid .sb-card-price ins{text-decoration:none}
.sb-live-shop .sb-live-pagination{display:flex;gap:8px;flex-wrap:wrap;margin:26px 0 45px;justify-content:center}
.sb-live-shop .sb-live-pagination a{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:7px;border:1px solid #dedede;border-radius:9px;text-decoration:none}
.sb-live-shop .sb-live-pagination a[aria-current=page]{background:#172b2a;color:#fff}
.sb-live-shop .sb-filter-tree a[aria-current=page]{font-weight:800}
.sb-live-shop .sb-clear-filters{text-decoration:underline}
@media(max-width:767px){.sb-live-shop .sb-filter-slot:not(.sb-filters-visible){display:none}.sb-live-shop .sb-filter-slot.sb-filters-visible{display:block}}

/* Card image: keep the photo inside its box.
   The image was 220px tall inside a 174px box (newstyles.css), so it spilled over the
   category label, and the hover zoom pushed it further. Box = 220px, image fits, zoom is clipped. */
.sb-home .sb-live-shop .sb-catalog-grid .sb-card-image{display:flex;align-items:center;justify-content:center;height:220px;padding:6px;overflow:hidden;border-radius:12px}
.sb-home .sb-live-shop .sb-catalog-grid .sb-card-image img{width:100%;height:100%;max-height:100%;object-fit:contain;transform-origin:center center}
@media (max-width:540px){
  .sb-home .sb-live-shop .sb-catalog-grid .sb-card-image{height:200px}
}

/* Compact pagination: ‹ Anterior  1 … 4 5 [6] 7 8 … 95  Seguinte › */
.sb-home .sb-live-shop .sb-live-pagination{align-items:center;gap:6px}
.sb-home .sb-live-shop .sb-live-pagination a{color:var(--sb-ink,#202b4c);font-weight:600;transition:background-color .15s,border-color .15s}
.sb-home .sb-live-shop .sb-live-pagination a:not([aria-current]):hover{background:#f3f5fa;border-color:#c9d1e3}
.sb-home .sb-live-shop .sb-live-pagination a[aria-current="page"]{background:var(--sb-blue,#253a76);border-color:var(--sb-blue,#253a76);color:#fff}
.sb-home .sb-live-shop .sb-live-pagination a[aria-current="page"]:hover{background:#192c63;border-color:#192c63}
.sb-home .sb-live-shop .sb-live-pagination .sb-page-step{display:inline-flex;align-items:center;gap:6px;height:38px;padding:7px 14px;border:1px solid #dedede;border-radius:9px;font-weight:600;white-space:nowrap;color:var(--sb-ink,#202b4c)}
.sb-home .sb-live-shop .sb-live-pagination .sb-page-prev{margin-right:6px}
.sb-home .sb-live-shop .sb-live-pagination .sb-page-next{margin-left:6px}
.sb-home .sb-live-shop .sb-live-pagination .sb-page-step.is-disabled{opacity:.4;cursor:default}
.sb-home .sb-live-shop .sb-live-pagination .sb-page-gap{min-width:22px;text-align:center;color:var(--sb-muted,#606879);letter-spacing:.05em}
@media (max-width:640px){
  .sb-home .sb-live-shop .sb-live-pagination{gap:5px}
  .sb-home .sb-live-shop .sb-live-pagination .sb-page-far{display:none}
  .sb-home .sb-live-shop .sb-live-pagination a,.sb-home .sb-live-shop .sb-live-pagination .sb-page-step{height:36px;min-width:36px}
  .sb-home .sb-live-shop .sb-live-pagination .sb-page-step{padding:6px 10px}
  .sb-home .sb-live-shop .sb-live-pagination .sb-page-prev{margin-right:2px}
  .sb-home .sb-live-shop .sb-live-pagination .sb-page-next{margin-left:2px}
}
@media (max-width:400px){
  /* Very small phones: arrows only (the words stay in the markup, so screen readers still read them). */
  .sb-home .sb-live-shop .sb-live-pagination .sb-page-step{font-size:0;gap:0;padding:6px;justify-content:center}
  .sb-home .sb-live-shop .sb-live-pagination .sb-page-step span{font-size:20px;line-height:1}
}

/* Sort menu (Destaques / Preço / Nome / Mais recentes) — design style, custom chevron */
.sb-home .sb-live-shop .sb-live-sort-form label{display:inline-flex;align-items:center;margin:0}
.sb-home .sb-live-shop .sb-live-sort-form select{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:46px;min-width:200px;max-width:260px;padding:0 40px 0 14px;border:1px solid var(--sb-line,#e5e7ec);border-radius:8px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23253a76' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 13px center/16px 16px;color:var(--sb-ink,#202b4c);font:inherit;font-size:14px;font-weight:600;line-height:1;cursor:pointer;box-shadow:none;transition:border-color .15s,box-shadow .15s}
.sb-home .sb-live-shop .sb-live-sort-form select:hover{border-color:#c9d1e3}
.sb-home .sb-live-shop .sb-live-sort-form select:focus{outline:0;border-color:var(--sb-blue,#253a76);box-shadow:0 0 0 3px rgba(37,58,118,.14)}
.sb-home .sb-live-shop .sb-live-sort-form select::-ms-expand{display:none}
@media (max-width:540px){
  .sb-home .sb-live-shop .sb-live-sort-form select{min-width:0;max-width:190px;height:42px;font-size:16px;padding-left:12px}
}
