/* Catálogo, produto e componentes comerciais internos */
.internal-main { min-height: 60vh; background: #fff; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 18px; padding-bottom: 18px; color: #777; font-size: 12px; }
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs strong { color: var(--ink); }

.catalog-hero { padding: 52px 0 48px; background: linear-gradient(135deg,#ececec,#fafafa); border-bottom: 1px solid var(--line); }
.catalog-hero .breadcrumbs { padding: 0 0 22px; }
.catalog-hero-grid { display: grid; grid-template-columns: 1fr .75fr; align-items: end; gap: 60px; }
.catalog-hero h1 { margin: 0; font-size: clamp(42px,5vw,72px); line-height: 1; }
.catalog-hero p { margin: 0; color: var(--muted); font-size: 16px; }
.catalog-content { padding: 34px 0 68px; background: #f7f7f7; }
.catalog-content > .container, .catalog-hero > .container { width: min(1440px, calc(100% - 64px)); }

.catalog-filter-panel { margin-bottom: 22px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.03); }
.catalog-search { height: 52px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; border: 1px solid #d2d2d2; background: #fff; }
.catalog-search > svg { margin-left: 16px; color: #777; }
.catalog-search input { min-width: 0; height: 100%; border: 0; outline: 0; padding: 0 10px; color: var(--ink); }
.catalog-search button { align-self: stretch; min-width: 110px; padding: 0 20px; border: 0; background: var(--orange); color: #fff; font-weight: 800; }
.catalog-search button:hover { background: var(--orange-strong); }
.filter-selects { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr 1fr auto auto; gap: 12px; align-items: end; }
.filter-selects label { display: grid; gap: 7px; }
.filter-selects label > span { color: #696969; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.filter-selects select { height: 44px; min-width: 0; border: 1px solid #d5d5d5; background: #fff; padding: 0 34px 0 12px; color: var(--ink); outline: 0; }
.filter-selects select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243,107,33,.08); }
.offer-check { min-height: 44px; padding: 0 14px; display: flex !important; grid-template-columns: auto 1fr; align-items: center; gap: 8px !important; border: 1px solid #d5d5d5; background: #fff; }
.offer-check > span { text-transform: none !important; letter-spacing: 0 !important; color: var(--ink) !important; white-space: nowrap; }
.clear-filters { height: 44px; display: inline-flex; align-items: center; color: var(--orange); font-size: 12px; font-weight: 800; white-space: nowrap; }
.catalog-result-head { margin-bottom: 16px; padding: 0 2px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; }
.catalog-result-head strong { color: var(--ink); }
.catalog-head-actions { display: flex; align-items: center; gap: 10px; }
.catalog-pdf-link { color: var(--orange); font-weight: 800; }
.mini-bag { min-height: 40px; padding: 0 12px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid #d2d2d2; background: #fff; color: var(--ink); }
.mini-bag b { min-width: 22px; height: 22px; display: grid; place-items: center; background: var(--orange); color: #fff; font-size: 11px; }

.shop-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.shop-card { min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.shop-card:hover { transform: translateY(-4px); border-color: #d0d0d0; box-shadow: var(--shadow-soft); }
.shop-card-image { position: relative; aspect-ratio: 1.32; padding: 14px; display: grid; place-items: center; overflow: hidden; background: #fafafa; border-bottom: 1px solid var(--line-soft); }
.shop-card-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.shop-card:hover .shop-card-image img { transform: scale(1.035); }
.sale-badge { position: absolute; top: 12px; left: 12px; padding: 6px 8px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 800; }
.sale-badge.large { z-index: 3; top: 18px; left: 18px; font-size: 12px; }
.shop-card-body { flex: 1; padding: 14px 15px 15px; display: flex; flex-direction: column; }
.shop-card-meta { display: flex; justify-content: space-between; gap: 10px; color: #888; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.shop-card h2, .shop-card h3 { margin: 8px 0 4px; font-size: 16px; line-height: 1.24; }
.shop-card h2 a:hover, .shop-card h3 a:hover { color: var(--orange); }
.sku { color: #8a8a8a; font-size: 11px; }
.shop-card-body > p { min-height: 34px; margin: 9px 0; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.shop-price { min-height: 38px; display: flex; flex-direction: column; justify-content: center; }
.shop-price del { color: #8e8e8e; font-size: 11px; }
.shop-price strong { font-size: 16px; }
.availability-dot { margin: 5px 0 10px; display: flex; align-items: center; gap: 7px; color: #6f6f6f; font-size: 11px; }
.availability-dot i { width: 7px; height: 7px; background: #1da36d; border-radius: 50%; }
.shop-card-actions { margin-top: auto; padding-top: 10px; display: grid; grid-template-columns: auto 1fr; gap: 10px; border-top: 1px solid var(--line-soft); }
.detail-link { display: inline-flex; align-items: center; color: var(--ink); font-size: 12px; font-weight: 800; }
.detail-link:hover { color: var(--orange); }
.add-bag { min-height: 36px; padding: 0 11px; border: 0; background: var(--graphite); color: #fff; font-size: 11px; font-weight: 800; }
.add-bag:hover { background: var(--orange); }

.catalog-empty { padding: 80px 30px; display: grid; justify-items: center; text-align: center; background: #fff; border: 1px solid var(--line); }
.catalog-empty > div:first-child { color: var(--orange); }
.catalog-empty h2 { margin: 16px 0 8px; }
.catalog-empty p { max-width: 650px; color: var(--muted); }
.catalog-empty > div:last-child { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.btn-dark { color: var(--ink); }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 38px; }
.pagination a { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #d5d5d5; background: #fff; color: var(--ink); font-size: 12px; }
.pagination a:hover, .pagination a.active { border-color: var(--orange); background: var(--orange); color: #fff; }

/* Product page */
.product-page { background: #fff; }
body.image-open { overflow: hidden; }
.product-detail { padding: 6px 0 40px; }
.product-detail-grid { width: min(1240px, calc(100% - 64px)); display: grid; grid-template-columns: minmax(0,650px) minmax(360px,1fr); gap: 34px; align-items: start; }
.product-gallery { min-width: 0; width: 100%; max-width: 650px; }
.product-main-media { position: relative; width: 100%; aspect-ratio: 1.18; min-height: 0; padding: 18px; display: grid; place-items: center; overflow: hidden; box-sizing: border-box; border: 1px solid var(--line); background: #fafafa; cursor: zoom-in; }
.product-main-media > img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .16s ease-out; will-change: transform; }
.product-main-media > img.zoomed { transform: scale(1.7); }
.zoom-icon { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #d0d0d0; background: rgba(255,255,255,.92); color: var(--ink); }
.product-thumb-carousel { position: relative; margin-top: 8px; display: grid; grid-template-columns: 30px minmax(0,1fr) 30px; gap: 6px; align-items: center; }
.product-thumbs { min-width: 0; display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth; scrollbar-width: none; }
.product-thumbs::-webkit-scrollbar { display: none; }
.product-thumb { flex: 0 0 58px; width: 58px; height: 58px; min-width: 0; min-height: 0; padding: 5px; display: grid; place-items: center; overflow: hidden; box-sizing: border-box; border: 1px solid #d5d5d5; background: #fff; }
.product-thumb.active { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
.product-thumb img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.product-gallery-arrow { width: 30px; height: 36px; display: grid; place-items: center; border: 1px solid #d8d8d8; background: #fff; color: var(--ink); transition: border-color .2s ease, background .2s ease, color .2s ease; }
.product-gallery-arrow:hover { border-color: var(--orange); background: var(--orange); color: #fff; }
.product-info { padding-top: 2px; max-width: 520px; }
.product-topline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.brand-chip, .category-chip { min-height: 32px; padding: 0 10px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid #d7d7d7; background: #fff; color: #646464; font-size: 11px; font-weight: 700; }
.brand-chip img { max-width: 70px; max-height: 22px; object-fit: contain; }
.product-info h1 { margin: 12px 0 7px; font-size: clamp(28px,2.5vw,42px); line-height: 1.04; }
.product-sku { margin: 0; color: #777; font-size: 12px; }
.product-lead { margin: 14px 0; color: var(--muted); font-size: 14px; }
.detail-price { padding: 14px 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.detail-price > span { width: 100%; color: #858585; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.detail-price del { color: #888; font-size: 13px; }
.detail-price strong { font-size: 22px; color: var(--ink); }
.availability-box { margin: 12px 0; padding: 11px 13px; display: grid; grid-template-columns: 9px 1fr; gap: 12px; background: #f6f6f6; border-left: 3px solid var(--orange); }
.availability-box > i { width: 9px; height: 9px; margin-top: 5px; background: var(--success); border-radius: 50%; }
.availability-box strong, .availability-box span { display: block; }
.availability-box strong { font-size: 13px; }
.availability-box span { margin-top: 4px; color: #777; font-size: 11px; }
.product-buy-row { display: grid; grid-template-columns: 118px 280px; gap: 10px; align-items: end; justify-content: start; }
.qty-field { display: grid; gap: 7px; }
.qty-field > span { color: #666; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.qty-stepper { height: 42px; display: grid; grid-template-columns: 1fr 44px; border: 1px solid #bfc1c2; background: #fff; }
.qty-stepper input { min-width: 0; width: 100%; border: 0; outline: 0; padding: 0 12px; text-align: center; font-weight: 800; -moz-appearance: textfield; }
.qty-stepper input::-webkit-inner-spin-button, .qty-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-controls { display: grid; grid-template-rows: 1fr 1fr; border-left: 1px solid #c7c7c7; }
.qty-controls button { display: grid; place-items: center; border: 0; background: #f3f3f3; color: var(--ink); }
.qty-controls button:first-child { border-bottom: 1px solid #c7c7c7; }
.qty-controls button:hover { background: var(--orange-soft); color: var(--orange); }
.product-add { width: 280px; height: 42px; min-height: 42px; padding-inline: 18px; }
.direct-quote { width: 280px; min-height: 42px; margin-top: 8px; margin-left: 128px; padding-inline: 18px; background: var(--graphite); color: #fff; }
.direct-quote:hover { background: linear-gradient(90deg,#414141,#2c2c2c); color: #fff; }
.product-trust { margin: 10px 0 0; color: #777; font-size: 11px; }
.product-description { padding: 44px 0; background: #f5f5f5; }
.description-card { max-width: 1100px; }
.description-card h2 { margin: 0 0 18px; font-size: 28px; }
.rich-copy { color: var(--ink-soft); line-height: 1.72; font-size: 14px; }
.related-products { padding: 54px 0 68px; }
.section-head.compact { margin-bottom: 26px; }
.section-head.compact h2 { font-size: 28px; }
.related-grid { grid-template-columns: repeat(4,1fr); }
.image-lightbox { position: relative; width: min(1060px,92vw); height: min(800px,88vh); padding: 0; border: 0; background: #fff; box-shadow: 0 25px 80px rgba(0,0,0,.3); overflow: hidden; user-select: none; -webkit-user-select: none; }
.image-lightbox::backdrop { background: rgba(0,0,0,.72); }
.image-lightbox-close { position: absolute; z-index: 4; right: 14px; top: 14px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: var(--graphite); color: #fff; }
.image-lightbox-nav { position: absolute; z-index: 4; top: 50%; width: 46px; height: 56px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.8); background: rgba(35,35,35,.72); color: #fff; transform: translateY(-50%); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.image-lightbox-prev { left: 16px; }
.image-lightbox-next { right: 16px; }
.image-lightbox-nav:hover { background: var(--orange); }
.image-lightbox-nav,
.image-lightbox-close {
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.image-lightbox-nav svg,
.image-lightbox-close svg { pointer-events: none; user-select: none; -webkit-user-select: none; }
.image-lightbox *::selection { background: transparent; color: inherit; }

.image-lightbox > img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; padding: 36px 70px; transition: transform .16s ease-out; will-change: transform; cursor: zoom-in; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
.image-lightbox > img.zoomed { transform: scale(1.42); cursor: zoom-out; }

/* Cart lines */
.cart-line { position: relative; padding: 12px 32px 12px 0; display: grid; grid-template-columns: 68px 1fr; gap: 12px; border-bottom: 1px solid var(--line-soft); }
.cart-line > img { width: 68px; height: 68px; object-fit: contain; background: #f6f6f6; }
.cart-line-main { min-width: 0; }
.cart-line-main > strong { display: block; padding-right: 5px; font-size: 12px; line-height: 1.35; }
.cart-line-main > small { color: #8b8b8b; font-size: 10px; }
.cart-line-bottom { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cart-line-bottom > span { font-size: 11px; font-weight: 700; }
.qty-control { display: grid; grid-template-columns: 28px 42px 28px; height: 30px; border: 1px solid #d1d1d1; }
.qty-control button { border: 0; background: #f3f3f3; }
.qty-control input { width: 42px; min-width: 0; border: 0; border-inline: 1px solid #d1d1d1; text-align: center; -moz-appearance: textfield; }
.qty-control input::-webkit-inner-spin-button, .qty-control input::-webkit-outer-spin-button { -webkit-appearance: none; }
.cart-remove { position: absolute; right: 0; top: 12px; width: 26px; height: 26px; border: 0; background: transparent; color: #8b8b8b; font-size: 20px; }
.cart-remove:hover { color: var(--orange); }

@media (max-width: 1240px) {
  .shop-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .filter-selects { grid-template-columns: repeat(3,1fr); }
  .offer-check, .clear-filters { align-self: stretch; }
  .product-detail-grid { gap: 30px; }
}

@media (max-width: 900px) {
  .catalog-hero-grid { grid-template-columns: 1fr; gap: 18px; }
  .filter-selects { grid-template-columns: repeat(2,1fr); }
  .shop-grid { grid-template-columns: repeat(2,1fr); }
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-info { padding-top: 0; }
  .related-grid { grid-template-columns: repeat(2,1fr); }
}


@media (max-width: 1100px) {
  .catalog-hero-grid { gap: 32px; }
  .filter-selects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-grid { grid-template-columns: repeat(3,1fr); }
  .product-detail-grid { grid-template-columns: minmax(0,1fr); gap: 24px; width: min(860px, calc(100% - 48px)); }
  .product-gallery, .product-info { max-width: none; }
  .related-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 760px) {
  .catalog-result-head { align-items: flex-start; flex-direction: column; }
  .catalog-head-actions { width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .product-buy-row { grid-template-columns: 1fr; }
  .product-add { width: 100%; }
  .direct-quote { width: 100%; margin-left: 0; }
}

@media (max-width: 620px) {
  .catalog-hero { padding: 38px 0; }
  .catalog-content { padding: 28px 0 60px; }
  .catalog-filter-panel { padding: 12px; }
  .catalog-search { grid-template-columns: 38px 1fr 50px; }
  .catalog-search button { min-width: 50px; padding: 0; font-size: 0; }
  .catalog-search button::after { content: '→'; font-size: 18px; }
  .filter-selects { grid-template-columns: 1fr; }
  .catalog-result-head { align-items: flex-start; flex-direction: column; }
  .shop-grid { grid-template-columns: 1fr; }
  .shop-card-image { aspect-ratio: 1.25; }
  .product-detail { padding-top: 0; }
  .breadcrumbs { padding-top: 16px; padding-bottom: 16px; }
  .product-main-media { padding: 18px; }
  .product-thumb-carousel { grid-template-columns: 30px minmax(0,1fr) 30px; gap: 6px; }
  .product-gallery-arrow { width: 30px; height: 36px; }
  .product-thumbs { padding-bottom: 2px; }
  .product-thumb { flex: 0 0 58px; width: 58px; height: 58px; }
  .product-info h1 { font-size: 36px; }
  .product-buy-row { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .image-lightbox > img { padding: 24px 58px; }
}


@media (max-width: 480px) {
  .breadcrumbs { gap: 6px; font-size: 11px; }
  .catalog-hero h1 { font-size: clamp(30px, 9vw, 40px); }
  .catalog-hero p { font-size: 14px; }
  .catalog-filter-panel { margin-bottom: 20px; }
  .catalog-search input { padding-inline: 8px; }
  .shop-card-body { padding: 16px; }
  .shop-card h2, .shop-card h3 { font-size: 16px; }
  .detail-price strong { font-size: 24px; }
  .product-info h1 { font-size: 30px; }
  .image-lightbox { width: 96vw; height: 84vh; }
  .image-lightbox-nav { width: 42px; height: 52px; }
  .image-lightbox-prev { left: 8px; }
  .image-lightbox-next { right: 8px; }
}

/* Ajustes finais de catálogo para manter a cascata responsiva previsível. */
@media (max-width: 900px) {
  .filter-selects { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .shop-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 620px) {
  .filter-selects, .shop-grid, .related-grid { grid-template-columns: 1fr; }
  .product-buy-row { grid-template-columns: 1fr; }
  .product-add, .direct-quote { width: 100%; }
  .direct-quote { margin-left: 0; }
}

/* ============================================================
   v4.8.9 — Página de produto moderna / mockup aprovado
   ============================================================ */
.product-page .internal-main { background: #fff; }
.product-page .breadcrumbs {
  width: min(1400px, calc(100% - 72px));
  padding-top: 16px;
  padding-bottom: 14px;
  font-size: 12px;
}
.product-page .breadcrumbs strong { color: var(--orange-strong); }
.product-detail { padding: 0 0 28px; }
.product-detail-grid {
  width: min(1400px, calc(100% - 72px));
  grid-template-columns: minmax(0, .98fr) minmax(420px, .92fr);
  gap: clamp(34px,4vw,64px);
  align-items: start;
}
.product-gallery { max-width: none; }
.product-main-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1.12;
  padding: 24px;
  border: 1px solid #eceeef;
  border-radius: 12px;
  background: linear-gradient(145deg,#f7f8f9,#f0f2f3);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
  cursor: zoom-in;
}
.product-main-media > img {
  max-width: 92%;
  max-height: 91%;
  filter: drop-shadow(0 20px 30px rgba(31,38,43,.08));
}
.product-main-media .sale-badge.large {
  left: 18px;
  top: 18px;
  min-width: 64px;
  height: 42px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.zoom-icon {
  right: 16px;
  top: 16px;
  bottom: auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  box-shadow: 0 6px 18px rgba(35,45,53,.09);
  cursor: zoom-in;
}
.product-main-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: #30383d;
  box-shadow: 0 7px 18px rgba(29,38,44,.10);
  transform: translateY(-50%);
  transition: .2s ease;
}
.product-main-arrow:hover { background: var(--orange); color: #fff; }
.product-main-arrow-prev { left: 14px; }
.product-main-arrow-next { right: 14px; }
.product-image-note {
  position: absolute;
  left: 14px;
  bottom: 10px;
  color: #8a9298;
  font-size: 10px;
}
.product-thumb-carousel {
  margin-top: 12px;
  display: block;
}
.product-thumbs {
  gap: 12px;
  padding: 0 2px 2px;
}
.product-thumb {
  flex: 0 0 84px;
  width: 84px;
  height: 72px;
  padding: 7px;
  border-radius: 7px;
  border-color: #e2e5e7;
  background: #f5f6f7;
}
.product-thumb.active {
  border-color: var(--orange);
  box-shadow: inset 0 0 0 1px var(--orange);
  background: #fff;
}
.product-info {
  max-width: 620px;
  padding-top: 4px;
}
.product-topline {
  gap: 0;
  min-height: 38px;
  align-items: center;
}
.brand-chip, .category-chip {
  min-height: 36px;
  padding: 0 13px;
  border-color: #e0e2e4;
  background: #fff;
  font-size: 11px;
}
.brand-chip { border-radius: 5px 0 0 5px; }
.brand-chip + .category-chip { border-left: 0; border-radius: 0 5px 5px 0; }
.brand-chip img { max-width: 78px; max-height: 24px; }
.product-info h1 {
  margin: 18px 0 8px;
  max-width: 760px;
  font-size: clamp(38px,3.25vw,56px);
  line-height: .98;
  letter-spacing: -.045em;
}
.product-sku {
  color: #6f7a82;
  font-size: 13px;
}
.product-lead {
  margin: 15px 0 18px;
  max-width: 650px;
  color: #5e6971;
  font-size: 14px;
  line-height: 1.55;
}
.detail-price {
  padding: 18px 0 16px;
  display: block;
  border-top: 1px solid #e6e8e9;
  border-bottom: 0;
}
.price-old-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.price-old-row del { color: #7e878d; font-size: 14px; }
.price-discount-chip {
  display: inline-flex !important;
  width: auto !important;
  padding: 5px 9px;
  border-radius: 7px;
  background: #fff0e8;
  color: var(--orange-strong) !important;
  font-size: 12px !important;
  font-weight: 800;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.detail-price > span {
  display: block;
  width: auto;
  margin-bottom: 1px;
  font-size: 11px;
}
.detail-price strong {
  display: block;
  margin-top: 1px;
  font-size: clamp(31px,2.6vw,42px);
  line-height: 1;
}
.availability-box {
  margin: 6px 0 16px;
  padding: 14px 16px;
  border-left: 0;
  border-radius: 7px;
  background: linear-gradient(90deg,#edf8f1,#f4fbf6);
  grid-template-columns: 11px 1fr;
}
.availability-box > i { width: 10px; height: 10px; margin-top: 4px; }
.availability-box strong { font-size: 14px; }
.availability-box span { font-size: 11px; }
.product-purchase-grid {
  display: grid;
  grid-template-columns: 142px minmax(280px,1fr);
  gap: 12px 16px;
  align-items: end;
}
.qty-field { gap: 8px; }
.qty-field > span { font-size: 10px; }
.qty-stepper.modern {
  height: 46px;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  border: 1px solid #d5d9dc;
  border-radius: 6px;
  overflow: hidden;
}
.qty-stepper.modern button {
  border: 0;
  background: #fff;
  color: #293037;
  font-size: 20px;
}
.qty-stepper.modern button:hover { background: #fff4ed; color: var(--orange-strong); }
.qty-stepper.modern input {
  padding: 0;
  border-inline: 1px solid #edf0f1;
  font-size: 16px;
}
.product-action-stack { display: grid; gap: 9px; }
.product-action-stack .product-add,
.product-action-stack .direct-quote {
  width: 100%;
  height: 46px;
  min-height: 46px;
  margin: 0;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
}
.product-action-stack .product-add { box-shadow: 0 10px 24px rgba(241,99,26,.14); }
.product-action-stack .direct-quote {
  border: 1px solid var(--orange);
  background: #fff;
  color: var(--orange-strong);
}
.product-action-stack .direct-quote:hover {
  background: #fff7f2;
  color: var(--orange-strong);
}
.product-trust {
  margin: 12px 0 0 158px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #727d85;
  font-size: 11px;
}
.product-trust svg { color: #22292e; flex: 0 0 auto; }

.product-description {
  padding: 8px 0 42px;
  background: #fff;
}
.product-description-layout {
  width: min(1400px, calc(100% - 72px));
  display: grid;
  grid-template-columns: minmax(0,1fr) 390px;
  gap: 42px;
  align-items: end;
}
.product-tabs-wrap { min-width: 0; }
.product-tabs {
  display: flex;
  gap: 42px;
  border-bottom: 1px solid #dfe3e5;
}
.product-tab {
  position: relative;
  min-height: 48px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: #6f7780;
  font-size: 14px;
  font-weight: 600;
}
.product-tab.active { color: #151a1e; }
.product-tab.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--orange);
}
.product-tab-panels { padding-top: 22px; }
.product-tab-panel h2 { margin: 0 0 7px; font-size: 22px; }
.product-tab-panel .rich-copy { max-width: 850px; color: #67737b; font-size: 13px; line-height: 1.65; }
.product-spec-list { margin: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 24px; }
.product-spec-list div { padding: 10px 0; border-bottom: 1px solid #edf0f1; }
.product-spec-list dt { color: #8a9298; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.product-spec-list dd { margin: 3px 0 0; color: #2b3237; font-size: 13px; font-weight: 700; }
.product-download-link { margin-top: 16px; display: inline-flex; gap: 8px; min-height: 40px; padding: 0 15px; background: var(--orange); color: #fff; }
.product-help-card {
  min-height: 88px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid #e0e4e6;
  border-radius: 8px;
  background: #fff;
  color: #252b30;
  box-shadow: 0 7px 22px rgba(31,40,46,.035);
}
.product-help-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff3ec;
  color: var(--orange);
}
.product-help-card strong,
.product-help-card small { display: block; }
.product-help-card strong { font-size: 13px; }
.product-help-card small { margin-top: 4px; color: #7b858c; font-size: 11px; }
.product-help-card > svg { color: #5e6970; }

@media (max-width: 1180px) {
  .product-detail-grid,
  .product-description-layout,
  .product-page .breadcrumbs { width: min(100% - 48px, 1100px); }
  .product-detail-grid { grid-template-columns: minmax(0,1fr) minmax(370px,.9fr); gap: 30px; }
  .product-info h1 { font-size: clamp(34px,4vw,46px); }
  .product-purchase-grid { grid-template-columns: 126px minmax(250px,1fr); }
  .product-trust { margin-left: 142px; }
  .product-description-layout { grid-template-columns: 1fr 330px; }
}
@media (max-width: 900px) {
  .product-detail-grid,
  .product-description-layout { grid-template-columns: 1fr; width: min(100% - 40px, 760px); }
  .product-page .breadcrumbs { width: min(100% - 40px, 760px); }
  .product-main-media { aspect-ratio: 1.12; }
  .product-info { max-width: none; }
  .product-description-layout { gap: 24px; }
  .product-help-card { max-width: 460px; }
}
@media (max-width: 620px) {
  .product-page .breadcrumbs,
  .product-detail-grid,
  .product-description-layout { width: calc(100% - 28px); }
  .product-detail { padding-bottom: 22px; }
  .product-main-media { aspect-ratio: 1 / 1; padding: 14px; border-radius: 9px; }
  .product-main-media > img { max-width: 94%; max-height: 90%; }
  .product-main-arrow { width: 36px; height: 36px; }
  .product-main-arrow-prev { left: 8px; }
  .product-main-arrow-next { right: 8px; }
  .product-thumb { flex-basis: 66px; width: 66px; height: 60px; }
  .product-info h1 { margin-top: 14px; font-size: 31px; }
  .product-purchase-grid { grid-template-columns: 1fr; }
  .qty-field { max-width: 150px; }
  .product-trust { margin-left: 0; }
  .product-tabs { gap: 22px; overflow-x: auto; }
  .product-tab { white-space: nowrap; }
  .product-spec-list { grid-template-columns: 1fr; }
  .product-help-card { min-height: 78px; }
}

/* v4.9.2 — CTAs comerciais em formato cápsula */
.catalog-search button,
.mini-bag,
.add-bag,
.pagination a,
.product-action-stack .product-add,
.product-action-stack .direct-quote,
.product-download-link {
  border-radius: 999px !important;
}

/* ============================================================
   v5.0.8 — Catálogo mais compacto e filtros refinados
   ============================================================ */
.catalog-page .catalog-hero {
  padding: 36px 0 38px;
  background: linear-gradient(135deg,#f1f1f1 0%,#fafafa 100%);
}
.catalog-page .catalog-hero .breadcrumbs {
  padding: 0 0 16px;
}
.catalog-page .catalog-hero-grid {
  grid-template-columns: minmax(0,1.05fr) minmax(320px,.72fr);
  gap: clamp(36px,5vw,76px);
  align-items: center;
}
.catalog-page .catalog-hero h1 {
  font-size: clamp(36px,4vw,56px);
  line-height: .98;
  letter-spacing: -.035em;
}
.catalog-page .catalog-hero p {
  max-width: 560px;
  font-size: 15px;
  line-height: 1.65;
}
.catalog-page .catalog-content {
  padding-top: 26px;
}

.catalog-page .catalog-filter-panel.catalog-filter-compact {
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid #e2e2e2;
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 32px rgba(0,0,0,.035);
}
.catalog-page .catalog-filter-toolbar {
  display: grid;
  grid-template-columns: 150px minmax(0,1fr);
  gap: 20px;
  align-items: end;
}
.catalog-page .catalog-filter-title {
  align-self: center;
  display: grid;
  gap: 4px;
}
.catalog-page .catalog-filter-title strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}
.catalog-page .catalog-filter-title span {
  color: #8a8a8a;
  font-size: 11px;
  line-height: 1.35;
}
.catalog-page .filter-selects {
  margin-top: 0;
  display: grid;
  grid-template-columns: minmax(150px,1fr) minmax(150px,1fr) minmax(160px,.95fr) auto auto;
  gap: 10px;
  align-items: end;
}
.catalog-page .filter-selects label {
  gap: 6px;
}
.catalog-page .filter-selects label > span {
  padding-left: 2px;
  color: #777;
  font-size: 9px;
  letter-spacing: .1em;
}
.catalog-page .filter-selects select {
  height: 42px;
  border: 1px solid #dcdcdc;
  border-radius: 11px;
  background: #fafafa;
  padding-left: 13px;
  font-size: 12px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.catalog-page .filter-selects select:hover {
  border-color: #c7c7c7;
  background: #fff;
}
.catalog-page .offer-check {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #dcdcdc;
  border-radius: 999px;
  background: #fafafa;
  transition: border-color .2s ease, background .2s ease;
}
.catalog-page .offer-check:hover {
  border-color: #ffc09d;
  background: #fff8f4;
}
.catalog-page .offer-check input {
  accent-color: var(--orange);
}
.catalog-page .offer-check > span {
  font-size: 11px !important;
  font-weight: 750 !important;
}
.catalog-page .clear-filters {
  height: 42px;
  padding: 0 4px;
  font-size: 11px;
}
.catalog-page .catalog-result-head {
  margin-bottom: 14px;
  min-height: 42px;
}
.catalog-page .catalog-result-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}
.catalog-page .catalog-query-chip {
  min-height: 28px;
  padding: 0 8px 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #f3c4a8;
  border-radius: 999px;
  background: #fff7f2;
  color: #7b5b49;
  font-size: 11px;
  font-weight: 650;
}
.catalog-page .catalog-query-chip a {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--orange);
  font-size: 15px;
  line-height: 1;
}
.catalog-page .catalog-query-chip a:hover {
  background: var(--orange);
  color: #fff;
}
.catalog-page .catalog-head-actions {
  gap: 14px;
}
.catalog-page .mini-bag {
  border-radius: 999px;
}

@media (max-width: 1180px) {
  .catalog-page .catalog-filter-toolbar {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .catalog-page .catalog-filter-title {
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 10px;
  }
  .catalog-page .filter-selects {
    grid-template-columns: repeat(3,minmax(0,1fr)) auto auto;
  }
}

@media (max-width: 900px) {
  .catalog-page .catalog-hero {
    padding: 30px 0 32px;
  }
  .catalog-page .catalog-hero-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .catalog-page .catalog-hero h1 {
    font-size: clamp(34px,7vw,48px);
  }
  .catalog-page .catalog-hero p {
    max-width: 660px;
  }
  .catalog-page .filter-selects {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .catalog-page .offer-check,
  .catalog-page .clear-filters {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .catalog-page .catalog-content > .container,
  .catalog-page .catalog-hero > .container {
    width: min(100% - 28px, 1440px);
  }
  .catalog-page .catalog-hero {
    padding: 24px 0 26px;
  }
  .catalog-page .catalog-hero .breadcrumbs {
    padding-bottom: 12px;
  }
  .catalog-page .catalog-hero h1 {
    font-size: clamp(30px,10vw,40px);
  }
  .catalog-page .catalog-filter-panel.catalog-filter-compact {
    padding: 14px;
    border-radius: 15px;
  }
  .catalog-page .catalog-filter-title {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .catalog-page .filter-selects {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .catalog-page .filter-selects select,
  .catalog-page .offer-check {
    height: 44px;
    min-height: 44px;
  }
  .catalog-page .catalog-result-head {
    gap: 10px;
  }
}


/* 5.0.9 · página de produto mais limpa */
.product-description-layout {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  align-items: start;
}
.product-tabs-wrap {
  width: 100%;
}
@media (max-width: 1180px) {
  .product-description-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}


/* 5.0.10 · Página de produto mais compacta e limpa */
.product-detail-grid {
  width: min(1260px, calc(100% - 72px));
  grid-template-columns: minmax(0, 560px) minmax(420px, 1fr);
  gap: clamp(38px, 4vw, 62px);
}
.product-gallery {
  width: 100%;
  max-width: 560px;
}
.product-main-media {
  aspect-ratio: 1.16;
  padding: 20px;
  cursor: zoom-in;
}
.product-main-media > img {
  max-width: 92%;
  max-height: 90%;
}
.product-image-note,
.zoom-icon {
  display: none !important;
}
.product-thumb {
  flex-basis: 72px;
  width: 72px;
  height: 62px;
  padding: 6px;
}
.product-action-stack {
  display: block;
}
.product-action-stack .product-add {
  width: 100%;
  margin: 0;
}
.product-action-stack .direct-quote {
  display: none !important;
}

@media (max-width: 1180px) {
  .product-detail-grid {
    width: min(1120px, calc(100% - 48px));
    grid-template-columns: minmax(0, 500px) minmax(380px, 1fr);
    gap: 34px;
  }
  .product-gallery { max-width: 500px; }
}

@media (max-width: 900px) {
  .product-detail-grid {
    width: min(100% - 32px, 760px);
    grid-template-columns: 1fr;
  }
  .product-gallery,
  .product-info {
    max-width: none;
  }
  .product-main-media {
    aspect-ratio: 1.18;
  }
}


/* 5.0.11 · Detalhes do produto integrados à coluna de compra */
.product-detail {
  padding-bottom: 44px;
}
.product-detail-grid {
  align-items: start;
}
.product-main-media {
  aspect-ratio: 1.24;
}
.product-thumb-carousel {
  margin-top: 6px;
}
.product-inline-details {
  margin-top: 28px;
  padding-top: 2px;
}
.product-inline-details .product-tabs-wrap {
  width: 100%;
}
.product-inline-details .product-tabs {
  gap: 30px;
}
.product-inline-details .product-tab {
  min-height: 44px;
  font-size: 13px;
}
.product-inline-details .product-tab-panels {
  padding-top: 18px;
}
.product-inline-details .product-tab-panel h2 {
  margin-bottom: 8px;
  font-size: 19px;
}
.product-inline-details .rich-copy {
  max-width: none;
  font-size: 12.5px;
  line-height: 1.65;
}
.product-inline-details .product-spec-list {
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px 20px;
}
.product-inline-details .product-spec-list div {
  padding: 8px 0;
}
.related-products {
  padding-top: 42px;
}

@media (max-width: 1180px) {
  .product-main-media {
    aspect-ratio: 1.2;
  }
  .product-inline-details {
    margin-top: 24px;
  }
}

@media (max-width: 900px) {
  .product-main-media {
    aspect-ratio: 1.18;
  }
  .product-inline-details {
    margin-top: 26px;
  }
}

@media (max-width: 620px) {
  .product-inline-details .product-tabs {
    gap: 22px;
  }
  .product-inline-details .product-spec-list {
    grid-template-columns: 1fr;
  }
}


/* 5.0.12 · texto introdutório abaixo do título do catálogo */
.catalog-page .catalog-hero-grid {
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  align-items: start !important;
}
.catalog-page .catalog-hero p {
  margin-top: 2px;
  max-width: 760px;
}

/* 5.0.13 · filtro do catálogo em estilo mega-menu */
.catalog-page .catalog-filter-shell {
  margin-bottom: 24px;
  padding: 24px;
  border: 1px solid #e4e4e4;
  border-radius: 24px;
  background: linear-gradient(180deg,#ffffff 0%,#fbfbfb 100%);
  box-shadow: 0 16px 40px rgba(15,23,42,.04);
}
.catalog-page .catalog-filter-shell-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.catalog-page .catalog-filter-shell-copy {
  max-width: 720px;
}
.catalog-page .catalog-shell-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.catalog-page .catalog-filter-shell-copy h2 {
  margin: 0;
  font-size: clamp(24px,2.5vw,34px);
  line-height: 1.02;
  letter-spacing: -.03em;
}
.catalog-page .catalog-filter-shell-copy p {
  margin: 10px 0 0;
  color: #6d6d6d;
  font-size: 14px;
  line-height: 1.65;
}
.catalog-page .catalog-shell-clear {
  min-height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e4d5ca;
  border-radius: 999px;
  background: #fff7f2;
  color: #82553a;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.catalog-page .catalog-shell-clear:hover {
  border-color: #ffc49d;
  box-shadow: 0 8px 18px rgba(243,107,33,.12);
  transform: translateY(-1px);
}
.catalog-page .catalog-filter-mega {
  display: grid;
  grid-template-columns: 290px minmax(0,1fr);
  gap: 18px;
}
.catalog-page .catalog-filter-categories,
.catalog-page .catalog-filter-block {
  padding: 18px;
  border: 1px solid #ececec;
  border-radius: 20px;
  background: #fcfcfc;
}
.catalog-page .catalog-filter-section-label {
  display: inline-block;
  margin-bottom: 12px;
  color: #777;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.catalog-page .catalog-category-list {
  display: grid;
  gap: 8px;
}
.catalog-page .catalog-category-item {
  min-height: 50px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.25;
  transition: background .18s ease, border-color .18s ease, transform .18s ease, color .18s ease;
}
.catalog-page .catalog-category-item:hover {
  background: #fff;
  border-color: #ededed;
  transform: translateX(2px);
}
.catalog-page .catalog-category-item.is-active {
  background: #f4f4f4;
  border-color: #e2e2e2;
  color: #111;
}
.catalog-page .catalog-all-link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}
.catalog-page .catalog-all-link:hover {
  color: var(--orange);
}
.catalog-page .catalog-filter-main {
  display: grid;
  gap: 18px;
}
.catalog-page .catalog-filter-block-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.catalog-page .catalog-filter-block-head.compact {
  margin-bottom: 12px;
}
.catalog-page .catalog-filter-block-head p {
  margin: 6px 0 0;
  color: #7a7a7a;
  font-size: 13px;
  line-height: 1.55;
}
.catalog-page .catalog-brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.catalog-page .catalog-brand-card {
  min-height: 92px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #e8e8e8;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.catalog-page .catalog-brand-card:hover {
  transform: translateY(-2px);
  border-color: #f6b48d;
  box-shadow: 0 12px 24px rgba(243,107,33,.08);
}
.catalog-page .catalog-brand-card.is-active {
  border-color: #f6b48d;
  background: #fff8f4;
  box-shadow: 0 10px 22px rgba(243,107,33,.07);
}
.catalog-page .catalog-brand-logo {
  width: 100%;
  min-height: 28px;
  display: flex;
  align-items: center;
}
.catalog-page .catalog-brand-logo img {
  max-width: 118px;
  max-height: 30px;
  object-fit: contain;
}
.catalog-page .catalog-brand-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}
.catalog-page .catalog-filter-utility {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 18px;
}
.catalog-page .catalog-sort-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.catalog-page .catalog-sort-pill {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dfdfdf;
  border-radius: 999px;
  background: #fff;
  color: #606060;
  font-size: 13px;
  font-weight: 700;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.catalog-page .catalog-sort-pill:hover {
  border-color: #f2be9c;
  color: var(--orange);
  transform: translateY(-1px);
}
.catalog-page .catalog-sort-pill.is-active {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}
.catalog-page .catalog-utility-actions {
  display: grid;
  gap: 12px;
}
.catalog-page .catalog-offer-chip {
  min-height: 50px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #dfdfdf;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}
.catalog-page .catalog-offer-chip:hover {
  border-color: #f3b895;
  box-shadow: 0 10px 22px rgba(243,107,33,.08);
  transform: translateY(-1px);
}
.catalog-page .catalog-offer-chip.is-active {
  border-color: #f3b895;
  background: #fff5ef;
  color: var(--orange);
}
.catalog-page .catalog-offer-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  opacity: .95;
}
.catalog-page .catalog-search-state {
  padding: 14px 16px;
  border: 1px dashed #e1e1e1;
  border-radius: 16px;
  background: #fff;
  color: #686868;
  font-size: 13px;
  line-height: 1.6;
}
.catalog-page .catalog-active-filters {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.catalog-page .catalog-active-chip {
  min-height: 36px;
  padding: 0 12px 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #f0c8b1;
  border-radius: 999px;
  background: #fff7f2;
  color: #744e38;
  font-size: 12px;
  font-weight: 700;
}
.catalog-page .catalog-active-chip span {
  font-size: 15px;
  line-height: 1;
  color: var(--orange);
}
.catalog-page .catalog-active-chip:hover {
  border-color: #f3b895;
  background: #fff1e8;
}

@media (max-width: 1180px) {
  .catalog-page .catalog-filter-mega {
    grid-template-columns: 250px minmax(0,1fr);
  }
  .catalog-page .catalog-brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .catalog-page .catalog-filter-utility {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .catalog-page .catalog-filter-shell {
    padding: 20px;
    border-radius: 22px;
  }
  .catalog-page .catalog-filter-shell-head {
    flex-direction: column;
    align-items: stretch;
  }
  .catalog-page .catalog-shell-clear {
    width: 100%;
  }
  .catalog-page .catalog-filter-mega {
    grid-template-columns: 1fr;
  }
  .catalog-page .catalog-category-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalog-page .catalog-brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .catalog-page .catalog-filter-shell {
    padding: 16px;
    border-radius: 18px;
  }
  .catalog-page .catalog-filter-categories,
  .catalog-page .catalog-filter-block {
    padding: 15px;
    border-radius: 16px;
  }
  .catalog-page .catalog-category-list,
  .catalog-page .catalog-brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalog-page .catalog-brand-card,
  .catalog-page .catalog-category-item {
    min-height: 74px;
    padding: 12px 13px;
  }
  .catalog-page .catalog-brand-name,
  .catalog-page .catalog-category-item {
    font-size: 13px;
  }
  .catalog-page .catalog-sort-pills {
    gap: 8px;
  }
  .catalog-page .catalog-sort-pill {
    min-height: 40px;
    padding: 0 14px;
    font-size: 12px;
  }
  .catalog-page .catalog-offer-chip {
    width: 100%;
    justify-content: center;
  }
  .catalog-page .catalog-search-state {
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .catalog-page .catalog-category-list,
  .catalog-page .catalog-brand-grid {
    grid-template-columns: 1fr;
  }
}

/* 5.0.14 · cards do catálogo mais premium e compactos */
.catalog-page .catalog-grid {
  gap: 20px;
}
.catalog-page .shop-card {
  overflow: hidden;
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(18,18,18,.035);
}
.catalog-page .shop-card:hover {
  transform: translateY(-5px);
  border-color: #f1c5aa;
  box-shadow: 0 18px 38px rgba(25,18,14,.09);
}
.catalog-page .shop-card-image {
  aspect-ratio: 1.2;
  padding: 18px;
  border-bottom: 0;
  background: linear-gradient(180deg,#f7f7f7 0%,#fbfbfb 100%);
}
.catalog-page .shop-card-image img {
  border-radius: 10px;
}
.catalog-page .sale-badge {
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(243,107,33,.15);
}
.catalog-page .shop-card-body {
  padding: 15px 16px 16px;
}
.catalog-page .shop-card-meta {
  color: #8a8a8a;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .075em;
}
.catalog-page .shop-card h2,
.catalog-page .shop-card h3 {
  margin: 8px 0 5px;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -.015em;
}
.catalog-page .shop-card .sku {
  font-size: 10.5px;
}
.catalog-page .shop-card-body > p {
  min-height: 36px;
  margin: 8px 0 10px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: #767676;
  font-size: 11px;
  line-height: 1.55;
}
.catalog-page .shop-price {
  min-height: 42px;
  margin-top: 2px;
}
.catalog-page .shop-price del {
  font-size: 10.5px;
}
.catalog-page .shop-price strong {
  font-size: 17px;
  letter-spacing: -.015em;
}
.catalog-page .availability-dot {
  width: fit-content;
  margin: 5px 0 12px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #f5faf7;
  color: #607067;
  font-size: 10.5px;
}
.catalog-page .shop-card-actions {
  padding-top: 11px;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}
.catalog-page .detail-link {
  min-height: 38px;
  padding: 0 2px;
  font-size: 11.5px;
  white-space: nowrap;
}
.catalog-page .add-bag {
  min-height: 40px;
  border-radius: 999px !important;
  background: var(--orange);
  box-shadow: 0 8px 18px rgba(243,107,33,.14);
  font-size: 11px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.catalog-page .add-bag:hover {
  background: var(--orange-strong);
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(243,107,33,.20);
}

@media (max-width: 900px) {
  .catalog-page .catalog-grid {
    gap: 16px;
  }
}

@media (max-width: 620px) {
  .catalog-page .shop-card {
    border-radius: 18px;
  }
  .catalog-page .shop-card-image {
    aspect-ratio: 1.18;
    padding: 16px;
  }
  .catalog-page .shop-card-body {
    padding: 14px 14px 15px;
  }
  .catalog-page .shop-card-actions {
    grid-template-columns: 1fr;
  }
  .catalog-page .detail-link {
    justify-content: center;
  }
  .catalog-page .add-bag {
    width: 100%;
  }
}


/* v5.0.15 · Catálogo sem painel gigante: toolbar compacta de resultados */
.catalog-page .catalog-result-head--compact {
  margin-top: 4px;
  margin-bottom: 22px;
  padding: 0;
  align-items: center;
  gap: 18px;
}
.catalog-page .catalog-result-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.catalog-page .catalog-query-chip {
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #efd3c2;
  border-radius: 999px;
  background: #fff8f4;
  color: #755140;
  font-size: 12px;
  font-weight: 700;
}
.catalog-page .catalog-query-chip span {
  color: var(--orange);
  font-size: 15px;
  line-height: 1;
}
.catalog-page .catalog-head-actions--refined {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}
.catalog-page .catalog-sort-compact {
  min-height: 42px;
  padding: 0 8px 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #dedede;
  border-radius: 999px;
  background: #fff;
}
.catalog-page .catalog-sort-compact label {
  color: #777;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.catalog-page .catalog-sort-compact select {
  min-width: 130px;
  height: 34px;
  padding: 0 28px 0 6px;
  border: 0;
  outline: 0;
  background-color: transparent;
  color: #202020;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.catalog-page .catalog-pdf-link {
  white-space: nowrap;
}

@media (max-width: 860px) {
  .catalog-page .catalog-result-head--compact {
    align-items: flex-start;
    flex-direction: column;
  }
  .catalog-page .catalog-head-actions--refined {
    width: 100%;
    justify-content: flex-start;
  }
}
@media (max-width: 560px) {
  .catalog-page .catalog-sort-compact {
    width: 100%;
    justify-content: space-between;
  }
  .catalog-page .catalog-sort-compact select {
    flex: 1;
    min-width: 0;
    text-align: right;
  }
  .catalog-page .catalog-head-actions--refined {
    gap: 10px;
  }
  .catalog-page .catalog-pdf-link,
  .catalog-page .mini-bag {
    flex: 1 1 auto;
  }
}

/* v5.0.17 · Banner visual na página de catálogo + head mais limpo */
.catalog-page .catalog-hero {
  padding: 34px 0 30px;
  background: linear-gradient(135deg, #ededed 0%, #fafafa 100%);
}
.catalog-page .catalog-hero .breadcrumbs {
  padding-bottom: 14px;
}
.catalog-page .catalog-hero-banner {
  position: relative;
  min-height: 250px;
  padding: clamp(28px, 4vw, 42px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(10,16,22,.70) 0%, rgba(10,16,22,.52) 32%, rgba(10,16,22,.22) 58%, rgba(10,16,22,.10) 100%),
    var(--catalog-banner-image, url('../products/componentes-paineis.webp')) center center / cover no-repeat;
  box-shadow: 0 18px 42px rgba(0,0,0,.10);
}
.catalog-page .catalog-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.02) 0%, rgba(0,0,0,.08) 100%);
  pointer-events: none;
}
.catalog-page .catalog-hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  display: grid;
  gap: 12px;
}
.catalog-page .catalog-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffb27a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.catalog-page .catalog-hero-kicker::before {
  content: '';
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}
.catalog-page .catalog-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 5vw, 62px);
  line-height: .96;
  letter-spacing: -.04em;
  text-shadow: 0 10px 28px rgba(0,0,0,.18);
}
.catalog-page .catalog-hero p {
  margin: 0;
  max-width: 560px;
  color: rgba(255,255,255,.88);
  font-size: 16px;
  line-height: 1.65;
}
.catalog-page .catalog-result-head--compact {
  margin-top: 0;
}
.catalog-page .catalog-head-actions--refined {
  gap: 0;
}
.catalog-page .catalog-sort-compact {
  box-shadow: 0 10px 24px rgba(0,0,0,.04);
}

@media (max-width: 900px) {
  .catalog-page .catalog-hero {
    padding: 28px 0 24px;
  }
  .catalog-page .catalog-hero-banner {
    min-height: 220px;
    align-items: flex-end;
    border-radius: 24px;
  }
}

@media (max-width: 620px) {
  .catalog-page .catalog-hero {
    padding: 22px 0 20px;
  }
  .catalog-page .catalog-hero .breadcrumbs {
    padding-bottom: 12px;
  }
  .catalog-page .catalog-hero-banner {
    min-height: 190px;
    padding: 22px 20px;
    border-radius: 22px;
    background-position: center center;
  }
  .catalog-page .catalog-hero-content {
    gap: 10px;
    max-width: 100%;
  }
  .catalog-page .catalog-hero-kicker {
    font-size: 11px;
    letter-spacing: .14em;
  }
  .catalog-page .catalog-hero-kicker::before {
    width: 28px;
  }
  .catalog-page .catalog-hero h1 {
    font-size: clamp(28px, 8.5vw, 40px);
  }
  .catalog-page .catalog-hero p {
    font-size: 14px;
    line-height: 1.55;
  }
}


/* 5.0.21 · Banner do catálogo com título e descrição em linha única no desktop */
@media (min-width: 901px) {
  .catalog-page .catalog-hero-content {
    max-width: none;
    width: 100%;
    gap: 10px;
  }
  .catalog-page .catalog-hero h1 {
    white-space: nowrap;
    font-size: clamp(34px, 4.25vw, 58px);
    line-height: 0.98;
  }
  .catalog-page .catalog-hero p {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(15px, 1.18vw, 19px);
    line-height: 1.45;
  }
}

@media (max-width: 900px) {
  .catalog-page .catalog-hero h1,
  .catalog-page .catalog-hero p {
    white-space: normal;
  }
}

/* ============================================================
   v5.2.3 · paginação compacta + moldura adaptativa de produto
   ============================================================ */
.pagination.pagination-compact {
  margin-top: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 10px;
}
.pagination-compact .pagination-pages {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.pagination-compact a,
.pagination-compact .pagination-nav,
.pagination-compact .pagination-ellipsis {
  box-sizing: border-box;
}
.pagination-compact .pagination-pages a {
  min-width: 42px;
  width: 42px;
  height: 42px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid #dedede;
  border-radius: 999px !important;
  background: #fff;
  color: #252525;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 5px 15px rgba(0,0,0,.025);
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.pagination-compact .pagination-pages a:hover {
  border-color: #f0b48f;
  background: #fff8f4;
  color: var(--orange-strong);
  transform: translateY(-1px);
}
.pagination-compact .pagination-pages a.active {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(243,107,33,.20);
}
.pagination-compact .pagination-ellipsis {
  min-width: 24px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #9a9a9a;
  font-size: 18px;
  letter-spacing: .08em;
}
.pagination-compact .pagination-nav {
  min-width: 104px;
  height: 42px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #dedede;
  border-radius: 999px !important;
  background: #fff;
  color: #303030;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 5px 15px rgba(0,0,0,.025);
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}
.pagination-compact a.pagination-nav:hover {
  border-color: #f0b48f;
  color: var(--orange-strong);
  transform: translateY(-1px);
}
.pagination-compact .pagination-nav > span {
  font-size: 20px;
  line-height: .8;
}
.pagination-compact .pagination-nav em {
  font-style: normal;
}
.pagination-compact .pagination-nav.is-disabled {
  opacity: .38;
  cursor: default;
}
.pagination-compact .pagination-status {
  display: none;
  min-height: 42px;
  padding: 0 15px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e1e1e1;
  border-radius: 999px;
  background: #fff;
  color: #4f4f4f;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

/* A moldura acompanha melhor a proporção do arquivo (definida pelo JS),
   mas fica limitada a formatos adequados para a coluna do produto. O fundo
   branco faz imagens JPEG com canvas branco se integrarem ao layout sem a
   aparência de uma segunda moldura dentro do card. */
.product-page .product-main-media {
  aspect-ratio: var(--product-media-ratio, 1.18);
  padding: clamp(8px, 1vw, 14px);
  background: #fff;
  border-color: #e7e9ea;
  box-shadow: 0 14px 34px rgba(31,38,43,.045);
}
.product-page .product-main-media > img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  filter: none;
}

@media (max-width: 760px) {
  .pagination.pagination-compact {
    margin-top: 30px;
    gap: 8px;
  }
  .pagination-compact .pagination-pages {
    display: none;
  }
  .pagination-compact .pagination-status {
    display: inline-flex;
  }
  .pagination-compact .pagination-nav {
    min-width: 42px;
    width: 42px;
    padding: 0;
  }
  .pagination-compact .pagination-nav em {
    display: none;
  }
  .product-page .product-main-media {
    padding: 8px;
    border-radius: 12px;
  }
}

/* 5.0.15 · descrição somente na aba do produto */
.catalog-page .shop-card-body > .shop-price {
  margin-top: 12px;
}
.product-page .product-tab-panel .rich-copy p {
  margin: 0 0 12px;
}
.product-page .product-tab-panel .rich-copy p:last-child {
  margin-bottom: 0;
}


/* v5.3.1 — ordenação robusta sem dependência de select/JavaScript */
.catalog-page .catalog-sort-compact { display:none !important; }
.catalog-page .catalog-sort-menu {
  position:relative;
  min-width:260px;
  z-index:12;
}
.catalog-page .catalog-sort-menu > summary {
  min-height:46px;
  padding:0 16px;
  display:flex;
  align-items:center;
  gap:14px;
  list-style:none;
  cursor:pointer;
  border:1px solid #dedede;
  border-radius:999px;
  background:#fff;
  box-shadow:0 10px 24px rgba(0,0,0,.04);
  user-select:none;
}
.catalog-page .catalog-sort-menu > summary::-webkit-details-marker { display:none; }
.catalog-page .catalog-sort-menu > summary span {
  color:#777;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.catalog-page .catalog-sort-menu > summary strong {
  margin-left:auto;
  color:#202020;
  font-size:13px;
  font-weight:700;
  white-space:nowrap;
}
.catalog-page .catalog-sort-menu > summary i {
  width:8px;
  height:8px;
  border-right:2px solid #202020;
  border-bottom:2px solid #202020;
  transform:rotate(45deg) translateY(-2px);
  transition:transform .18s ease;
  flex:0 0 auto;
}
.catalog-page .catalog-sort-menu[open] > summary i { transform:rotate(225deg) translate(-1px,-1px); }
.catalog-page .catalog-sort-options {
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  min-width:220px;
  padding:8px;
  display:grid;
  gap:3px;
  border:1px solid #e4e0de;
  border-radius:16px;
  background:#fff;
  box-shadow:0 18px 45px rgba(0,0,0,.14);
}
.catalog-page .catalog-sort-options a {
  min-height:40px;
  padding:0 12px;
  display:flex;
  align-items:center;
  border-radius:10px;
  color:#2a2725;
  text-decoration:none;
  font-size:13px;
  font-weight:650;
}
.catalog-page .catalog-sort-options a:hover { background:#fff5ef; color:#c94c12; }
.catalog-page .catalog-sort-options a.is-active { background:#fff0e8; color:#c94c12; font-weight:800; }
@media (max-width:560px) {
  .catalog-page .catalog-sort-menu { width:100%; min-width:0; }
  .catalog-page .catalog-sort-menu > summary { width:100%; }
  .catalog-page .catalog-sort-options { left:0; right:0; min-width:0; }
}
