/*
  Catálogo Premium v8
  Direção visual: branco predominante + azul escuro (estrutura) + laranja (CTA)
  Inspiração: varejo (cabeçalho simples, categorias com ícones, flyer, promoções, marcas)
*/

:root{
  --ct-blue:#0B2B5C;
  --ct-blue-2:#123B76;
  --ct-orange:#FF7A1A;

  --ct-bg:#F6F8FB;
  --ct-surface:#ffffff;
  --ct-border:rgba(11,43,92,.12);
  --ct-border-2:rgba(11,43,92,.08);

  --ct-text:#0A0E12;
  --ct-muted:rgba(10,14,18,.70);

  --ct-shadow: 0 12px 30px rgba(11,43,92,.08);
  --ct-shadow-2: 0 10px 20px rgba(11,43,92,.10);

  --r:18px;
  --r2:14px;
}

*{ box-sizing:border-box; min-width:0; }
html, body{ height:100%; }
body{ margin:0; background:var(--ct-bg); color:var(--ct-text); overflow-x:hidden; }

/* IMPORTANTE: o style.css do sistema define body{display:flex} por causa da sidebar */
body.ct-shell{ display:block !important; min-height:100vh; }
body.ct-shell > header,
body.ct-shell > main,
body.ct-shell > footer,
body.ct-shell > aside,
body.ct-shell > div{ flex:none !important; width:100%; }

.ct-wrap{ max-width: 1320px; margin:0 auto; padding: 0 18px; }

/* ===== Header (simples) ===== */
.bt-header{
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ct-border-2);
}

.bt-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 10px 0;
}

.bt-center{
  flex: 1 1 auto;
  display:flex;
  align-items:center;
  gap: 14px;
  min-width:0;
}

.bt-rep{
  display:flex;
  align-items:center;
  gap: 12px;
  flex: 0 0 auto;
}

.bt-rep__logo{
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}

.bt-rep__title{ font-weight: 1000; color: var(--ct-blue); letter-spacing:-.2px; font-size: 13px; line-height: 1.1; }
.bt-rep__sub{ margin-top: 2px; font-weight: 800; color: var(--ct-muted); font-size: 11px; }

.bt-search__bar{ flex: 1 1 auto; max-width: 760px; }

.bt-top__item--icon{ padding: 10px; width: 44px; height: 44px; justify-content:center; }
.bt-top__item--icon .bt-top__label{ display:none; }



.bt-top__item{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--ct-border);
  background: #fff;
  text-decoration:none;
  color: var(--ct-blue);
  font-weight: 900;
}
.bt-top__item:hover{ box-shadow: var(--ct-shadow-2); }

.bt-ico{ width: 18px; height: 18px; display:inline-grid; place-items:center; color: rgba(11,43,92,.85); }
.bt-top__label{ font-size: 12px; }

.bt-brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
  color: inherit;
}
.bt-brand__logo{
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 12px;
  background:#fff;
}
.bt-brand__text strong{ display:block; font-size: 16px; font-weight: 950; letter-spacing:-.2px; color: var(--ct-blue); }
.bt-brand__text span{ display:block; font-size: 12px; font-weight: 750; color: var(--ct-muted); }

.bt-bag{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(11,43,92,.14);
  background: var(--ct-blue);
  color:#fff;
  cursor:pointer;
  font-weight: 950;
}
.bt-bag__count{
  width: 26px;
  height: 26px;
  display:grid;
  place-items:center;
  border-radius: 999px;
  background: var(--ct-orange);
  color: #1b1209;
  font-weight: 950;
  font-size: 12px;
}

.bt-search__bar{
  width:auto;
  flex: 1 1 auto;
  display:flex;
  align-items:center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--ct-border);
  border-radius: 999px;
  padding: 12px 14px;
  box-shadow: 0 10px 24px rgba(11,43,92,.06);
}
.bt-search__ico{ color: rgba(11,43,92,.70); display:flex; }
#ctSearch{ border:0; outline:0; width:100%; font-size: 14px; background: transparent; color: var(--ct-text); }
#ctSearch::placeholder{ color: rgba(10,14,18,.45); }

.bt-clear{ border:0; background: transparent; width: 34px; height: 34px; border-radius: 999px; cursor:pointer; color: rgba(10,14,18,.55); display:grid; place-items:center; }
.bt-clear:hover{ background: rgba(11,43,92,.06); }

/* ===== Categories row ===== */
.bt-nav{ border-top: 1px solid var(--ct-border-2); background: rgba(255,255,255,.92); }
.bt-nav__inner{ display:flex; align-items:center; justify-content:space-between; gap: 12px; padding: 10px 0 12px; }

/* Wrapper com setas discretas (categorias) */
.bt-catsWrap{ position:relative; flex: 1 1 auto; min-width:0; }
.bt-catsWrap::before,
.bt-catsWrap::after{
  content:"";
  position:absolute;
  top: 0;
  bottom: 0;
  width: 28px;
  pointer-events:none;
  z-index: 2;
}
.bt-catsWrap::before{ left: 0; background: linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,0)); }
.bt-catsWrap::after{ right: 0; background: linear-gradient(270deg, rgba(255,255,255,.96), rgba(255,255,255,0)); }

.bt-cats{
  display:flex;
  gap: 10px;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
  min-width:0;
  padding-left: 38px; /* espaço para setas */
  padding-right: 38px;
}
.bt-cats::-webkit-scrollbar{ display:none; }

.bt-scrollArrow{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--ct-border);
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 24px rgba(11,43,92,.10);
  color: rgba(11,43,92,.82);
  display:grid;
  place-items:center;
  cursor:pointer;
  z-index: 3;
}
.bt-scrollArrow:hover{ background:#fff; }
.bt-scrollArrow:disabled{ opacity:.32; cursor:default; box-shadow:none; }
.bt-scrollArrow--left{ left: 0; }
.bt-scrollArrow--right{ right: 0; }

.bt-cat{
  flex: 0 0 auto;
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--ct-border);
  background: #fff;
  cursor:pointer;
  color: var(--ct-blue);
  font-weight: 950;
  font-size: 12px;
  white-space: nowrap;
}
.bt-cat:hover{ box-shadow: 0 10px 18px rgba(11,43,92,.08); }
.bt-cat.is-active{ background: rgba(255,122,26,.14); border-color: rgba(255,122,26,.40); color: #7a2f00; }
.bt-cat__ico{ width: 18px; height: 18px; display:inline-grid; place-items:center; color: rgba(11,43,92,.85); }
.bt-cat.is-active .bt-cat__ico{ color: #7a2f00; }

.bt-tools{ display:flex; align-items:center; gap: 10px; flex: 0 0 auto; }

.bt-toggle{ display:flex; align-items:center; gap: 10px; color: var(--ct-blue); font-weight: 900; font-size: 12px; cursor:pointer; }
.bt-toggle input{ position:absolute; opacity:0; pointer-events:none; }
.bt-toggle__ui{
  width: 42px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid var(--ct-border);
  background: #fff;
  position:relative;
  box-shadow: 0 8px 18px rgba(11,43,92,.06);
}
.bt-toggle__ui::after{
  content:"";
  position:absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(11,43,92,.75);
  transition: transform .14s ease, background .14s ease;
}
.bt-toggle input:checked + .bt-toggle__ui{ border-color: rgba(255,122,26,.40); background: rgba(255,122,26,.12); }
.bt-toggle input:checked + .bt-toggle__ui::after{ transform: translateX(18px); background: #7a2f00; }

.bt-select{
  border: 1px solid var(--ct-border);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--ct-blue);
  font-weight: 900;
  font-size: 12px;
  outline:none;
}

/* ===== Main ===== */
.bt-main{ padding: 16px 0 56px; }

.bt-section{ margin-top: 18px; }

.bt-head{ display:flex; align-items:flex-end; justify-content:space-between; gap: 12px; margin: 10px 0 12px; }
.bt-title{ margin:0; font-size: 18px; font-weight: 1000; color: var(--ct-blue); letter-spacing: -.2px; }
.bt-meta{ color: var(--ct-muted); font-size: 12px; font-weight: 800; }

/* Flyer */
.bt-flyer{ margin-top: 10px; }
.bt-flyer__frame{
  background: #fff;
  border: 1px solid var(--ct-border-2);
  border-radius: var(--r);
  box-shadow: var(--ct-shadow);
  overflow:hidden;
}
.bt-flyer__slide{
  aspect-ratio: 16 / 5;
  background: linear-gradient(135deg, rgba(11,43,92,.10), rgba(255,122,26,.10));
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 18px 20px;
  gap: 16px;
}
.bt-flyer__txt strong{ display:block; font-size: 18px; font-weight: 1000; color: var(--ct-blue); }
.bt-flyer__txt span{ display:block; margin-top: 6px; font-size: 12px; font-weight: 800; color: var(--ct-muted); max-width: 520px; }
.bt-flyer__pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px dashed rgba(11,43,92,.25);
  color: rgba(11,43,92,.85);
  font-weight: 950;
  background: rgba(255,255,255,.75);
  white-space: nowrap;
}



/* Flyer slider (quando tiver mais de 1 flyer) */
.bt-flyerSlider{ position: relative; }
.bt-flyerViewport{ overflow:hidden; }
.bt-flyerTrack{ display:flex; width:100%; transition: transform .32s ease; }
.bt-flyerSlide{ flex: 0 0 100%; display:block; }
.bt-flyerSlide img{ width:100%; height:100%; display:block; object-fit:cover; aspect-ratio: 16/5; }
.bt-flyerArrow{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(11,43,92,.18);
  background: rgba(255,255,255,.88);
  color: rgba(11,43,92,.92);
  display:grid;
  place-items:center;
  cursor:pointer;
  box-shadow: 0 14px 22px rgba(11,43,92,.10);
}
.bt-flyerArrow:hover{ background:#fff; }
.bt-flyerArrow#ctFlyerPrev{ left: 14px; }
.bt-flyerArrow#ctFlyerNext{ right: 14px; }

.bt-flyerDots{
  position:absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display:flex;
  justify-content:center;
  gap: 8px;
  pointer-events:auto;
}
.bt-flyerDot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(11,43,92,.25);
  background: rgba(255,255,255,.85);
  cursor:pointer;
}
.bt-flyerDot.is-on{
  width: 26px;
  background: rgba(250,124,22,.95);
  border-color: rgba(250,124,22,.35);
}

@media (max-width: 820px){
  .bt-flyerArrow{ width: 40px; height: 38px; border-radius: 12px; }
  .bt-flyerArrow#ctFlyerPrev{ left: 10px; }
  .bt-flyerArrow#ctFlyerNext{ right: 10px; }
}
/* Promo row */
.bt-row{
  display:flex;
  gap: 12px;
  overflow-x:auto;
  overflow-y:hidden;
  padding: 2px 2px 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.bt-row::-webkit-scrollbar{ display:none; }

/* Controles de setas (abaixo de cada vitrine) */
.bt-scroller{ margin-top: 2px; }
.bt-scroller__ctrl{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  margin-top: 10px;
}
.bt-sArrow{
  width: 40px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid var(--ct-border);
  background: #fff;
  color: rgba(11,43,92,.85);
  display:grid;
  place-items:center;
  cursor:pointer;
}
.bt-sArrow:hover{ box-shadow: 0 12px 20px rgba(11,43,92,.10); }
.bt-sArrow:disabled{ opacity:.32; cursor:default; box-shadow:none; }
.bt-sTrack{
  width: 104px;
  height: 6px;
  border-radius: 999px;
  background: rgba(11,43,92,.12);
  overflow:hidden;
}
.bt-sBar{
  display:block;
  width: 34px;
  height: 100%;
  border-radius: 999px;
  background: rgba(11,43,92,.60);
  transform: translateX(0);
  transition: transform .18s ease;
}

/* Brands */
.bt-brands{
  display:flex;
  gap: 12px;
  overflow-x:auto;
  overflow-y:hidden;
  padding: 2px 2px 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.bt-brands::-webkit-scrollbar{ display:none; }

.bt-brandCard{
  flex: 0 0 150px;
  border: 1px solid var(--ct-border-2);
  border-radius: var(--r2);
  background:#fff;
  box-shadow: 0 10px 22px rgba(11,43,92,.06);
  overflow:hidden;
  cursor:pointer;
}
.bt-brandCard:hover{ box-shadow: 0 18px 44px rgba(11,43,92,.12); transform: translateY(-1px); }
.bt-brandCard__img{
  height: 92px;
  background: linear-gradient(135deg, rgba(11,43,92,.06), rgba(255,122,26,.08));
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 1000;
  color: rgba(11,43,92,.80);
}
.bt-brandCard__name{ padding: 10px 12px; font-weight: 950; color: var(--ct-blue); font-size: 13px; white-space: nowrap; overflow:hidden; text-overflow: ellipsis; }

/* ===== Product grid (cards consistentes) ===== */
.bt-grid{
  display:grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.bt-card{
  border: 1px solid var(--ct-border-2);
  background: #fff;
  border-radius: var(--r2);
  overflow:hidden;
  box-shadow: 0 10px 22px rgba(11,43,92,.06);
  transition: transform .12s ease, box-shadow .12s ease;
  display:flex;
  flex-direction:column;
}
.bt-card:hover{ transform: translateY(-2px); box-shadow: 0 18px 44px rgba(11,43,92,.12); }

/* Imagem: MESMO TAMANHO e APARECE INTEIRA */
.bt-card__media{
  position:relative;
  height: 220px; /* altura fixa para padronizar */
  background: #fff;
  border-bottom: 1px solid var(--ct-border-2);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 14px;
}
.bt-card__media img{
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display:block;
}

.bt-status{
  position:absolute;
  left: 12px;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 1000;
  font-size: 11px;
  border: 1px solid rgba(11,43,92,.16);
  background: rgba(255,255,255,.92);
  color: var(--ct-blue);
  box-shadow: 0 8px 18px rgba(11,43,92,.10);
}
.bt-status.is-order{ border-color: rgba(255,122,26,.40); background: rgba(255,122,26,.12); color: #7a2f00; }

.bt-card__body{ padding: 12px 12px 14px; display:flex; flex-direction:column; gap: 8px; }

.bt-name{
  font-weight: 950;
  color: var(--ct-blue);
  font-size: 13px;
  line-height: 1.25;
  display:-webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;
  min-height: 34px; /* reserva espaço (2 linhas) */
}

.bt-price{ font-weight: 1000; color: var(--ct-text); letter-spacing: -.2px; font-size: 14px; min-height: 18px; }

.bt-actions{ margin-top:auto; display:flex; gap: 10px; }

.bt-btn{
  border: 1px solid var(--ct-border);
  background: #fff;
  color: var(--ct-blue);
  font-weight: 950;
  font-size: 12px;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
}
.bt-btn:hover{ box-shadow: var(--ct-shadow-2); }

.bt-btn--primary{
  background: var(--ct-orange);
  border-color: rgba(255,122,26,.40);
  color: #2b1506;
}

.bt-btn--ghost{
  background: #fff;
  border-color: rgba(11,43,92,.18);
}

.bt-btn--order{
  background: rgba(11,43,92,.06);
  border-color: rgba(11,43,92,.18);
  color: rgba(11,43,92,.95);
}

.bt-load{ display:flex; justify-content:center; margin-top: 14px; }

/* ===== Footer ===== */
.bt-footer{ margin-top: 22px; }
.bt-footer__grid{
  border-top: 1px solid var(--ct-border-2);
  padding-top: 16px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.bt-footer__title{ font-weight: 1000; color: var(--ct-blue); }
.bt-footer__text{ margin-top: 6px; color: var(--ct-muted); font-weight: 750; font-size: 12px; line-height: 1.5; }

/* ===== Drawer / Modal / Overlay / Toast ===== */
.bt-overlay{
  position: fixed;
  inset: 0;
  background: rgba(10,14,18,.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity .14s ease;
  z-index: 70;
}
.bt-overlay.is-open{ opacity: 1; pointer-events: auto; }

.bt-drawer{
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  width: min(420px, 92vw);
  background: #fff;
  border-left: 1px solid var(--ct-border-2);
  transform: translateX(102%);
  transition: transform .16s ease;
  z-index: 74;
  display:flex;
  flex-direction:column;
  box-shadow: -20px 0 60px rgba(11,43,92,.18);
}
.bt-drawer.is-open{ transform: translateX(0); }

.bt-drawer__head{ padding: 14px 16px; border-bottom: 1px solid var(--ct-border-2); display:flex; align-items:flex-start; justify-content:space-between; gap: 12px; }
.bt-drawer__title{ font-weight: 1000; color: var(--ct-blue); }
.bt-drawer__hint{ font-weight: 750; color: var(--ct-muted); font-size: 12px; margin-top: 2px; }

.bt-drawer__actions{ display:flex; gap: 8px; }
.bt-mini{ border: 1px solid var(--ct-border); background:#fff; border-radius: 999px; padding: 8px 10px; font-weight: 950; cursor:pointer; color: var(--ct-blue); }
.bt-mini:hover{ box-shadow: var(--ct-shadow-2); }

.bt-drawer__body{ padding: 12px 16px; overflow:auto; flex: 1; }
.bt-drawer__foot{ padding: 12px 16px 16px; border-top: 1px solid var(--ct-border-2); }

.bt-total{ display:flex; align-items:center; justify-content:space-between; margin-bottom: 10px; }
.bt-total span{ color: var(--ct-muted); font-weight: 800; font-size: 12px; }
.bt-total strong{ color: var(--ct-text); font-weight: 1000; }

.bt-form{ display:flex; flex-direction:column; gap: 10px; margin-bottom: 10px; }
.bt-field span{ display:block; margin-bottom: 6px; font-weight: 900; color: var(--ct-blue); font-size: 12px; }
.bt-input{ width:100%; border: 1px solid var(--ct-border); border-radius: 12px; padding: 10px 12px; font-weight: 750; outline:none; }
.bt-note{ margin-top: 10px; font-size: 12px; color: var(--ct-muted); font-weight: 750; }

/* ===== Carrinho (itens com imagem • premium) ===== */
.ct-cart-empty{ padding: 18px 8px; text-align:center; }
.ct-cart-empty__icon{ font-size: 28px; }
.ct-cart-empty__title{ margin-top: 6px; font-weight: 1000; color: var(--ct-blue); }
.ct-cart-empty__text{ margin-top: 4px; color: var(--ct-muted); font-weight: 750; font-size: 12px; line-height: 1.45; }

.ct-cartitem{ display:flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(11,43,92,.08); }
.ct-cartitem__img{
  width: 64px; height: 64px;
  border-radius: 16px;
  border: 1px solid var(--ct-border-2);
  background: #fff;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
  cursor:pointer;
  padding: 0;
}
.ct-cartitem__img:hover{ box-shadow: var(--ct-shadow-2); }
.ct-cartitem__img img{ width:100%; height:100%; object-fit:contain; padding: 6px; }

.ct-cartitem__main{ flex: 1; min-width: 0; }
.ct-cartitem__name{
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-weight: 1000;
  color: var(--ct-blue);
  font-size: 13px;
  line-height: 1.2;
}
.ct-cartitem__name:hover{ text-decoration: underline; }

.ct-cartitem__meta{ display:flex; align-items:center; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.ct-cartitem__price{ font-weight: 950; color: var(--ct-text); font-size: 12px; }

.ct-cartitem__actions{ margin-top: 10px; display:flex; align-items:center; justify-content:space-between; gap: 10px; }

.ct-stepper{ display:flex; align-items:center; height: 36px; border-radius: 999px; border: 1px solid var(--ct-border); overflow:hidden; background:#fff; }
.ct-stepper__btn{ width: 38px; height: 36px; border: none; background: transparent; font-weight: 1100; color: var(--ct-blue); cursor:pointer; }
.ct-stepper__btn:hover{ background: rgba(11,43,92,.04); }
.ct-stepper__val{ min-width: 34px; text-align:center; font-weight: 1000; color: var(--ct-text); }

.ct-cartitem__right{ display:flex; flex-direction:column; align-items:flex-end; gap: 4px; }
.ct-cartitem__subtotal{ font-weight: 1000; color: var(--ct-text); font-size: 12px; }
.ct-remove{ border:none; background:none; padding:0; cursor:pointer; color: rgba(10,14,18,.62); font-weight: 900; font-size: 12px; }
.ct-remove:hover{ color: var(--ct-orange); text-decoration: underline; }


/* ===== Modal do produto (estilo premium • galeria) ===== */
.bt-pmodal{ position: fixed; inset: 0; display:none; align-items:center; justify-content:center; padding: 18px; z-index: 78; }
.bt-pmodal__card{
  width: min(1180px, 96vw);
  background:#fff;
  border: 1px solid var(--ct-border-2);
  border-radius: 22px;
  box-shadow: 0 26px 78px rgba(11,43,92,.22);
  overflow:hidden;
  position: relative;
}
.bt-pmodal__close{
  position: absolute; right: 14px; top: 14px;
  width: 38px; height: 38px;
  border-radius: 12px;
  border: 1px solid var(--ct-border);
  background:#fff;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  color: var(--ct-blue);
}
.bt-pmodal__close:hover{ background: rgba(11,43,92,.04); }
.bt-pmodal__close:focus{ outline: none; box-shadow: 0 0 0 4px rgba(255,122,26,.18); border-color: rgba(255,122,26,.45); }

.bt-pmodal__grid{
  display:grid;
  grid-template-columns: 96px 1fr 400px;
  gap: 18px;
  padding: 18px;
}

.bt-pmodal__thumbs{
  display:flex;
  flex-direction:column;
  gap: 10px;
  padding-top: 44px; /* espaço do X */
  max-height: 640px;
  overflow:auto;
}
.bt-pmodal__thumb{
  width: 86px; height: 86px;
  border-radius: 14px;
  border: 1px solid var(--ct-border-2);
  background:#fff;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  position:relative;
}
.bt-pmodal__thumb img{ width:100%; height:100%; object-fit:contain; padding: 10px; display:block; }
.bt-pmodal__thumb.is-active{
  border-color: rgba(255,122,26,.65);
  box-shadow: 0 0 0 4px rgba(255,122,26,.14);
}
.bt-pmodal__thumb:focus{ outline:none; box-shadow: 0 0 0 4px rgba(255,122,26,.14); border-color: rgba(255,122,26,.65); }

.bt-pmodal__stage{ position:relative; padding-top: 44px; }
.bt-pmodal__frame{
  height: 560px;
  border: 1px solid var(--ct-border-2);
  border-radius: 18px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 18px;
}
.bt-pmodal__frame img{ max-width:100%; max-height:100%; object-fit:contain; display:block; }

.bt-pmodal__arrow{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--ct-border);
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  color: var(--ct-blue);
  box-shadow: 0 14px 34px rgba(11,43,92,.14);
}
.bt-pmodal__arrow--left{ left: -6px; }
.bt-pmodal__arrow--right{ right: -6px; }
.bt-pmodal__arrow:hover{ background: rgba(11,43,92,.04); }
.bt-pmodal__arrow:focus{ outline:none; box-shadow: 0 0 0 4px rgba(255,122,26,.18); border-color: rgba(255,122,26,.45); }
.bt-pmodal__arrow:disabled{ opacity:.35; cursor: default; box-shadow:none; }

.bt-pmodal__dots{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  margin-top: 12px;
}
.bt-dot{
  width: 7px; height: 7px;
  border-radius: 999px;
  background: rgba(11,43,92,.20);
}
.bt-dot.is-active{
  width: 22px; height: 6px;
  border-radius: 999px;
  background: var(--ct-blue);
}

.bt-pmodal__info{
  padding-top: 44px;
  padding-left: 16px;
  border-left: 1px solid var(--ct-border-2);
  display:flex;
  flex-direction:column;
  gap: 12px;
}
.bt-pmodal__code{ color: rgba(10,14,18,.55); font-weight: 850; font-size: 12px; }
.bt-pmodal__name{ color: var(--ct-text); font-weight: 1150; font-size: 32px; line-height: 1.12; letter-spacing: -.5px; }
.bt-pmodal__price{ color: var(--ct-text); font-weight: 1100; font-size: 28px; letter-spacing: -.3px; }

.bt-pmodal__badges{ display:flex; gap: 10px; align-items:center; flex-wrap:wrap; }
.bt-pmodal__brand{
  border: 1px solid var(--ct-border);
  border-radius: 999px;
  padding: 7px 10px;
  font-weight: 1000;
  color: var(--ct-blue);
  background: #fff;
}

.bt-pmodal__desc{
  color: rgba(10,14,18,.72);
  font-weight: 750;
  line-height: 1.55;
}

.bt-pmodal__actions{ display:flex; flex-direction:column; gap: 10px; margin-top: 6px; }
.bt-pmodal__cta{ width:100%; justify-content:center; height: 46px; font-weight: 1100; }
.bt-pmodal__ghost{ width:100%; justify-content:center; height: 46px; }

.bt-pmodal__fineprint{ color: rgba(10,14,18,.55); font-weight: 750; font-size: 12px; line-height: 1.45; margin-top: auto; }

/* Responsivo */
@media (max-width: 980px){
  .bt-pmodal__grid{ grid-template-columns: 1fr; padding: 14px; }
  .bt-pmodal__thumbs{ flex-direction:row; padding-top: 0; max-height: none; order: 2; }
  .bt-pmodal__stage{ padding-top: 40px; order: 1; }
  .bt-pmodal__frame{ height: 380px; }
  .bt-pmodal__info{ border-left: 0; padding-left: 0; padding-top: 0; order: 3; }
  .bt-pmodal__name{ font-size: 24px; }
  .bt-pmodal__price{ font-size: 22px; }
  .bt-pmodal__arrow--left{ left: 8px; }
  .bt-pmodal__arrow--right{ right: 8px; }
}

.bt-toast{ position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 80; pointer-events:none; }
.bt-toast__msg{ background: rgba(11,43,92,.92); color:#fff; padding: 10px 14px; border-radius: 999px; font-weight: 900; box-shadow: 0 16px 40px rgba(11,43,92,.18); }

/* ===== Responsivo ===== */
@media (max-width: 980px){
  .bt-rep__text{ display:none; }
  .bt-nav__inner{ flex-direction:column; align-items:flex-start; }
  .bt-tools{ width:100%; justify-content:space-between; }
}

@media (max-width: 560px){
  .bt-top{ gap: 10px; }
  .bt-top__label{ display:none; }
  .bt-top__item{ padding: 10px; }
  .bt-bag{ padding: 10px; }
  .bt-flyer__slide{ aspect-ratio: 16/7; }
  .bt-footer__grid{ grid-template-columns: 1fr; }
  .bt-card__media{ height: 200px; }
}
