.spb-catalog-section{padding:72px 0 90px}.spb-catalog-grid{display:grid;grid-template-columns:repeat(var(--spb-cols,4),minmax(0,1fr));gap:22px;margin-top:28px}.spb-product-card,.spb-category-card{background:#fff;border:1px solid #e6e9ef;border-radius:18px;overflow:hidden;transition:.2s ease;min-width:0}.spb-product-card:hover,.spb-category-card:hover{transform:translateY(-3px);box-shadow:0 18px 45px rgba(18,30,55,.1)}.spb-product-card a,.spb-category-card a{text-decoration:none;color:inherit;display:block;height:100%}.spb-product-card img{width:100%;aspect-ratio:1/1;object-fit:contain;background:#f7f8fa;padding:16px}.spb-category-card img{width:100%;aspect-ratio:4/3;object-fit:contain;background:#f7f8fa;padding:14px}.spb-product-card>a>div,.spb-category-card>a>div{padding:20px}.spb-product-card h3,.spb-category-card h3{margin:4px 0 8px}.spb-product-card p,.spb-category-card p{color:#667085}.spb-product-placeholder{aspect-ratio:1/1;display:grid;place-items:center;background:#f2f4f7;color:#98a2b3}.spb-category-card span{font-weight:700}.spb-category-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,420px);gap:48px;align-items:center;margin-bottom:38px}.spb-category-media{background:#f7f8fa;border:1px solid #e6e9ef;border-radius:18px;padding:20px;display:grid;place-items:center}.spb-category-media img{width:100%;height:250px;object-fit:contain}.spb-product-detail{padding:50px 0 90px}.spb-product-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);gap:60px;align-items:start}.spb-product-main-image{width:100%;aspect-ratio:1/1;object-fit:contain;background:#f7f8fa;border-radius:18px;padding:24px}.spb-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:12px}.spb-thumbs button{border:1px solid #e3e6eb;background:#fff;padding:4px;border-radius:10px;cursor:pointer}.spb-thumbs img{width:100%;aspect-ratio:1;object-fit:contain;background:#f7f8fa;border-radius:7px}.spb-product-meta h1{font-size:clamp(2rem,4vw,3.6rem);margin:8px 0 18px}.spb-product-meta .summary{font-size:1.12rem;color:#667085}.spb-attrs{margin:24px 0;border-top:1px solid #e5e7eb}.spb-attrs div{display:grid;grid-template-columns:160px 1fr;gap:20px;padding:10px 0;border-bottom:1px solid #e5e7eb}.spb-quote-box{display:flex;gap:12px;align-items:center;margin-top:28px}.spb-quote-box input{width:90px;padding:13px;border:1px solid #d0d5dd;border-radius:10px}.spb-btn-quote{border:0;background:#0c2f59;color:#fff;border-radius:10px;padding:14px 20px;font-weight:800;cursor:pointer}.spb-video{margin-top:28px;aspect-ratio:16/9;width:100%;border:0;border-radius:16px;overflow:hidden}.spb-catalog-breadcrumb{padding:24px 0 0;color:#667085}.spb-catalog-breadcrumb a{color:inherit}.spb-empty{padding:42px;background:#f8fafc;border-radius:16px}.spb-empty-state{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-height:220px;justify-content:center}.spb-empty-state strong{font-size:22px}.spb-empty-state p{max-width:680px}@media(max-width:1000px){.spb-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.spb-product-layout{grid-template-columns:1fr}.spb-category-hero{grid-template-columns:1fr}.spb-category-media{max-width:440px}}@media(max-width:620px){.spb-catalog-grid{grid-template-columns:1fr}.spb-thumbs{grid-template-columns:repeat(4,1fr)}.spb-attrs div{grid-template-columns:1fr;gap:4px}}
/* 5.7.7 | Galeria tratada e lightbox */
.spb-product-main-trigger{display:block;width:100%;margin:0;padding:0;border:0;background:transparent;cursor:zoom-in}.spb-product-main-trigger .spb-product-main-image{display:block}.spb-product-description{color:#56627a;line-height:1.7;overflow-wrap:anywhere}.spb-product-description p:first-child{margin-top:0}.spb-product-description img,.spb-product-description figure{display:none!important}.spb-thumbs button{position:relative;overflow:hidden}.spb-lightbox-lock{overflow:hidden!important}.spb-lightbox{position:fixed;inset:0;height:100svh;height:100dvh;height:var(--sb-vv-height,100dvh);max-height:var(--sb-vv-height,100dvh);z-index:9999;display:none;align-items:center;justify-content:center;padding:72px 90px;background:rgba(8,10,14,.92);backdrop-filter:blur(8px)}.spb-lightbox.open{display:flex}.spb-lightbox figure{margin:0;max-width:min(1180px,88vw);max-height:calc(var(--sb-vv-height,100dvh) - 120px);display:grid;place-items:center;gap:10px}.spb-lightbox figure img{display:block;max-width:100%;max-height:calc(var(--sb-vv-height,100dvh) - 160px);width:auto;height:auto;object-fit:contain;border-radius:10px;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.38)}.spb-lightbox figcaption{color:#fff;font-size:12px;text-align:center;opacity:.78}.spb-lightbox-close,.spb-lightbox-prev,.spb-lightbox-next{position:absolute;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.1);color:#fff;border-radius:999px;display:grid;place-items:center;cursor:pointer;backdrop-filter:blur(4px)}.spb-lightbox-close{right:24px;top:22px;width:46px;height:46px;font-size:30px;line-height:1}.spb-lightbox-prev,.spb-lightbox-next{top:50%;transform:translateY(-50%);width:52px;height:52px;font-size:38px}.spb-lightbox-prev{left:22px}.spb-lightbox-next{right:22px}.spb-lightbox-counter{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);padding:6px 10px;border-radius:999px;background:rgba(0,0,0,.45);color:#fff;font-size:11px}.spb-lightbox button:hover{background:rgba(255,255,255,.18)}
@media(max-width:700px){.spb-lightbox{padding:64px 14px}.spb-lightbox-prev,.spb-lightbox-next{width:42px;height:42px;font-size:30px}.spb-lightbox-prev{left:8px}.spb-lightbox-next{right:8px}.spb-lightbox-close{right:10px;top:10px}}

/* 5.8.1: estilos dinâmicos */
.spb-category-style-compact .spb-category-card a{display:flex;align-items:center;min-height:130px}
.spb-category-style-compact .spb-category-card img{width:130px;min-width:130px;height:130px;object-fit:cover}
.spb-category-style-compact .spb-category-card p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.spb-product-style-minimal .spb-product-card{border:0;border-radius:0;box-shadow:none;background:transparent}
.spb-product-style-minimal .spb-product-card img,.spb-product-style-minimal .spb-product-placeholder{border-radius:16px}
.spb-product-style-minimal .spb-product-card>a>div{padding:16px 2px}
.spb-catalog-card-link{display:inline-flex;margin-top:12px;font-weight:800;font-size:12px}

/* 6.2.17 | Categoria do catálogo: hero responsivo sem sobreposição */
@media (max-width: 760px){
  body.catalog-category .spb-catalog-section{padding:38px 0 64px}
  body.catalog-category .spb-category-hero,
  body.catalog-category .spb-category-hero.has-image{
    display:grid;
    grid-template-columns:minmax(0,1fr) 116px;
    grid-template-areas:
      "eyebrow media"
      "title media"
      "lead lead";
    column-gap:16px;
    row-gap:8px;
    align-items:start;
    margin-bottom:28px;
    min-width:0;
  }
  body.catalog-category .spb-category-hero:not(.has-image){
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"eyebrow" "title" "lead";
  }
  body.catalog-category .spb-category-copy{display:contents}
  body.catalog-category .spb-category-copy>.eyebrow{grid-area:eyebrow;align-self:end;margin:0 0 2px}
  body.catalog-category .spb-category-copy>h1{
    grid-area:title;
    min-width:0;
    margin:0;
    font-size:clamp(2rem,9.5vw,3rem);
    line-height:1.04;
    overflow-wrap:anywhere;
    word-break:normal;
  }
  body.catalog-category .spb-category-copy>.lead{
    grid-area:lead;
    width:100%;
    max-width:none;
    margin:8px 0 0;
    font-size:1rem;
    line-height:1.55;
    overflow-wrap:anywhere;
  }
  body.catalog-category .spb-category-media{
    grid-area:media;
    width:116px!important;
    max-width:116px!important;
    min-width:0!important;
    margin:0!important;
    padding:8px;
    border-radius:14px;
    justify-self:end;
    align-self:start;
    position:static!important;
    inset:auto!important;
    transform:none!important;
    float:none!important;
    z-index:auto!important;
  }
  body.catalog-category .spb-category-media img{
    display:block;
    width:100%!important;
    height:auto!important;
    max-width:100%!important;
    aspect-ratio:1/1;
    object-fit:contain;
    padding:0;
    margin:0;
  }
}
@media (max-width: 390px){
  body.catalog-category .spb-category-hero,
  body.catalog-category .spb-category-hero.has-image{
    grid-template-columns:minmax(0,1fr) 96px;
    column-gap:12px;
  }
  body.catalog-category .spb-category-media{
    width:96px!important;
    max-width:96px!important;
    padding:6px;
    border-radius:12px;
  }
  body.catalog-category .spb-category-copy>h1{font-size:clamp(1.9rem,9vw,2.55rem)}
}
