/* ============================================================
   Will Eletro - Paleta da marca (sobrescreve o tema padrao)
   Vermelho #CF0C0F | Laranja #FFA120 | Escuro #201F1F
   ============================================================ */
:root {
  --will-red: #cf0c0f;
  --will-red-dark: #a90a0c;
  --will-orange: #ffa120;
  --will-dark: #201f1f;

  /* Cor primaria do Bootstrap -> vermelho da marca */
  --bs-primary: #cf0c0f;
  --bs-primary-rgb: 207, 12, 15;

  /* Links em vermelho */
  --bs-link-color-rgb: 207, 12, 15;
  --bs-link-hover-color-rgb: 169, 10, 12;
}

/* Botao primario (adicionar ao carrinho, enviar, etc.) */
.btn-primary {
  --bs-btn-bg: #cf0c0f;
  --bs-btn-border-color: #cf0c0f;
  --bs-btn-hover-bg: #a90a0c;
  --bs-btn-hover-border-color: #a90a0c;
  --bs-btn-active-bg: #a90a0c;
  --bs-btn-active-border-color: #920809;
  --bs-btn-disabled-bg: #cf0c0f;
  --bs-btn-disabled-border-color: #cf0c0f;
  --bs-btn-focus-shadow-rgb: 207, 12, 15;
}

/* Utilitarios de cor */
.text-primary { color: #cf0c0f !important; }
.bg-primary { background-color: #cf0c0f !important; }
.link-primary { color: #cf0c0f !important; }

/* Barra de navegacao (menu) em vermelho */
#menu {
  background-color: #cf0c0f;
  background-image: linear-gradient(to bottom, #e01013, #b30a0d);
  border-color: #b30a0d #b30a0d #7d0709;
}

/* Laranja como cor de destaque */
.btn-warning {
  --bs-btn-color: #fff;
  --bs-btn-bg: #ffa120;
  --bs-btn-border-color: #ffa120;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #f08f0a;
  --bs-btn-hover-border-color: #f08f0a;
  --bs-btn-active-bg: #e68609;
}

/* Preco em destaque na cor da marca */
.price-new { color: #cf0c0f; }

/* ===== Checkout enxuto ===== */
.will-checkout nav#top,
.will-checkout #menu,
.will-checkout footer { display: none !important; }
.will-checkout header { border-bottom: 1px solid #e6e6e6; padding-bottom: .5rem; margin-bottom: 1.5rem; }
.will-checkout .is-invalid { border-color: #dc3545; }

/* ===== Card de produto (thumb) ===== */
.product-thumb { border: 1px solid #e8e8e8; border-radius: 10px; overflow: hidden; background: #fff; margin-bottom: 1.25rem; }
.product-thumb .image { padding: 15px 15px 5px; }
.product-thumb .image img { max-height: 190px; width: auto; margin: 0 auto; }
.product-thumb .content { padding: 0 15px 15px; }
.product-thumb .description { padding: 0; margin-bottom: .5rem; }
.product-thumb .description h4 { font-size: 1rem; line-height: 1.35; }
.product-thumb .price-new { color: #cf0c0f; font-weight: 700; font-size: 1.15rem; }
.product-thumb .qty-input { max-width: 48px; }

/* ===== Mobile: header vermelho (estilo Will Eletro) ===== */
@media (max-width: 991.98px) {
  header { background: var(--will-red); }
  header .will-hamburger { color: #fff; }
  header #cart, header #cart .btn, header #cart a, header #cart i, header #cart span { color: #fff !important; }
  header #cart .btn { background: transparent; border-color: transparent; }
  header #logo img { max-height: 42px; }
  header #search { margin-top: .25rem; }
  /* iOS: fonte 16px evita o zoom automatico ao focar campos */
  input, select, textarea, .form-control, .form-select { font-size: 16px !important; }
}
/* Gaveta lateral de categorias */
#will-offmenu { max-width: 85vw; width: 320px; }
#will-offmenu .list-group-item { border-color: #f1f1f1; padding: .8rem 1rem; }
#will-offmenu .list-group-item a { line-height: 1.6; }

@media (max-width: 991.98px) {
  header .will-account-toggle { color: #fff !important; }
}

/* ===== Header vermelho em todas as telas ===== */
#top { background: var(--will-red); }
#top a:not(.dropdown-item) { color: #fff !important; }
header { background: var(--will-red); }
header #cart .btn, header #cart .btn *, header .will-account-toggle { color: #fff !important; }
header #cart .btn { background: transparent; border-color: transparent; }
header #logo img { max-height: 65px; }
.will-header-cart { display: inline-flex; align-items: center; justify-content: flex-end; gap: .65rem; }
.will-customer-hello {
  align-items: center;
  gap: .35rem;
  color: #fff !important;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}
.will-customer-hello:hover { opacity: .88; }
.will-mobile-hello {
  display: block;
  padding: .95rem 1rem;
  border-bottom: 1px solid #f1f1f1;
  background: #fff7f7;
  color: #201f1f;
}
.will-mobile-hello span {
  display: block;
  color: var(--will-red);
  font-weight: 800;
  line-height: 1.2;
}
.will-mobile-hello small {
  display: block;
  margin-top: .12rem;
  color: #6a6a6a;
  font-size: .82rem;
}
@media (max-width: 991.98px) {
  .will-header-cart { display: block; }
}

/* Barra de categorias full-width */
#menu { border-radius: 0; border: none; margin-bottom: 0; }
@media (min-width: 992px) {
  #menu .container { max-width: 1140px; }
  #navbar-menu, #menu .navbar-nav { width: 100%; }
  #menu .navbar-nav { display: flex; align-items: stretch; justify-content: space-between; }
  #menu .navbar-nav > .nav-item { flex: 1 1 0; min-width: 0; text-align: center; }
  #menu .navbar-nav > .nav-item > a { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 42px; padding: .65rem .45rem; line-height: 1.15; white-space: normal; color: #fff; }
  #menu .navbar-nav > .nav-item > a:hover,
  #menu .navbar-nav > .nav-item > a:focus { background: rgba(255,255,255,.12); color: #fff; }
  #menu .dropdown-menu { text-align: left; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  #menu .navbar-nav > .nav-item > a { font-size: .86rem; padding-left: .3rem; padding-right: .3rem; }
}

/* Tap targets dos icones no mobile */
@media (max-width: 991.98px) {
  header .will-hamburger {
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.6rem; padding: .25rem .4rem; line-height: 1;
  }
}

/* ===== Gaveta: categorias em acordeao ===== */
#will-offmenu .offcanvas-title { color: #fff; }
#will-offmenu .will-cat { border-bottom: 1px solid #f1f1f1; }
#will-offmenu .will-cat-head { font-size: .98rem; }
#will-offmenu .will-chevron { transition: transform .2s; font-size: .8rem; color: #999; }
#will-offmenu .will-cat-head[aria-expanded="true"] .will-chevron { transform: rotate(180deg); }
#will-offmenu .will-cat a:active { background: #faf0f0; }

/* ===== Rodape Will Eletro ===== */
#container { position: static !important; margin-bottom: 0 !important; min-height: 0 !important; }
#content, #column-left, #column-right { padding-bottom: 1rem !important; }
.will-footer { position: static !important; bottom: auto; border: none; border-top: 4px solid var(--will-red); background: #fff; margin-top: 2rem; color: #444; }
.will-foot-title { color: var(--will-red); font-weight: 700; margin-bottom: 1rem; font-size: 1.05rem; }
.will-footer a { color: #444; text-decoration: none; }
.will-footer a:hover { color: var(--will-red); }
.will-social a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: #f0f0f0; color: #888 !important; }
.will-social a:hover { background: var(--will-red); color: #fff !important; }
.will-footer-band { background: #f6f6f6; }
.will-footer-bottom { background: var(--will-red); }
.will-footer-bottom, .will-footer-bottom * { color: #fff !important; }

/* Categoria ativa (barra lateral) em vermelho */
.list-group { --bs-list-group-active-bg: var(--will-red); --bs-list-group-active-border-color: var(--will-red); }
.list-group-item.active { background-color: var(--will-red); border-color: var(--will-red); }

/* Campos travados (preenchidos pelo CEP) */
.will-locked { background-color: #f3f3f3 !important; cursor: not-allowed; opacity: .9; }

/* Botao flutuante de contato */
.will-contact-float { position: fixed; bottom: 20px; right: 20px; z-index: 1050; display: grid; justify-items: end; gap: 10px; }
.will-contact-float-toggle {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: #25D366;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 14px rgba(0,0,0,.28);
  transition: transform .18s, background-color .18s;
}
.will-contact-float-toggle:hover,
.will-contact-float.is-open .will-contact-float-toggle { transform: scale(1.06); background: #1fb85a; }
.will-contact-float-menu {
  display: grid;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}
.will-contact-float.is-open .will-contact-float-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.will-contact-float-option {
  min-width: 148px;
  min-height: 44px;
  padding: 0 .9rem;
  border-radius: 999px;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: .55rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,.20);
}
.will-contact-float-option:hover { color: #fff !important; transform: translateY(-1px); }
.will-contact-call { background: #cf0c0f; }
.will-contact-whats { background: #25D366; }
@media (max-width: 991.98px) {
  .will-contact-float { bottom: 16px; right: 16px; }
  .will-contact-float-toggle { width: 52px; height: 52px; font-size: 27px; }
  .will-contact-float-option { min-height: 42px; min-width: 138px; }
}

/* ============================================================
   Ajustes mobile - carrinho (popup + pagina em cards)
   ============================================================ */

/* ===== Popup do carrinho (mini-cart) - visual moderno ===== */
header #cart .dropdown-menu {
  min-width: 360px;
  background: #fff !important;
  border: 1px solid #ededed;
  border-radius: 16px;
  box-shadow: 0 14px 44px rgba(0,0,0,.16);
  padding: .5rem !important;
  position: absolute; top: 100%; right: 0; left: auto; margin-top: .35rem; z-index: 1060;
}
#cart .dropdown { position: relative; }
header #cart .dropdown-menu,
header #cart .dropdown-menu a,
header #cart .dropdown-menu span,
header #cart .dropdown-menu small,
header #cart .dropdown-menu strong,
header #cart .dropdown-menu li { color: #201f1f !important; }
header #cart .dropdown-menu a { text-decoration: none; }

/* Item */
.will-mini-item { display: flex; align-items: center; gap: .8rem; padding: .7rem .4rem; border-bottom: 1px solid #f2f2f2; }
.will-mini-item:first-child { padding-top: .35rem; }
.will-mini-item > form { align-self: flex-start; }
.will-mini-thumb {
  flex: 0 0 60px; width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  background: #f6f7f9; border-radius: 12px; overflow: hidden; padding: 6px;
}
.will-mini-thumb img {
  width: 100% !important; height: 100% !important; max-width: 100% !important;
  object-fit: contain !important; border: 0 !important; background: transparent !important; padding: 0 !important;
}
.will-mini-body { flex: 1 1 auto; min-width: 0; }
.will-mini-name {
  font-weight: 600; color: #201f1f !important; line-height: 1.25; font-size: .9rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.will-mini-name:hover { color: var(--will-red) !important; }
.will-mini-meta { font-size: .72rem; color: #9a9a9a !important; margin-top: .12rem; }
.will-mini-meta > div { line-height: 1.3; }
.will-mini-line { margin-top: .4rem; display: flex; align-items: center; gap: .45rem; }
.will-mini-line .q { background: #f1f1f1; border-radius: 6px; padding: .08rem .45rem; font-weight: 600; font-size: .78rem; color: #333 !important; }
.will-mini-line strong { color: var(--will-red) !important; font-size: .98rem; }

/* Botao remover: circulo discreto que fica vermelho ao tocar */
header #cart .dropdown-menu .will-mini-item .btn-danger {
  width: 30px; height: 30px; padding: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; box-shadow: none;
  background-color: #f4f4f5 !important; border-color: #f4f4f5 !important;
}
header #cart .dropdown-menu .will-mini-item .btn-danger,
header #cart .dropdown-menu .will-mini-item .btn-danger * { color: var(--will-red) !important; }
header #cart .dropdown-menu .will-mini-item .btn-danger:hover { background-color: var(--will-red) !important; border-color: var(--will-red) !important; }
header #cart .dropdown-menu .will-mini-item .btn-danger:hover * { color: #fff !important; }

/* Totais */
.will-mini-totals { margin: .55rem .4rem 0; padding-top: .65rem; border-top: 1px solid #f0f0f0; font-size: .9rem; }
.will-mini-totals > div { display: flex; justify-content: space-between; padding: .18rem 0; color: #6a6a6a !important; }
.will-mini-grand > span { color: #201f1f !important; }
.will-mini-grand > span:last-child { color: var(--will-red) !important; font-weight: 700; font-size: 1.12rem; }

/* Botoes de acao */
header #cart .dropdown-menu .d-grid { padding: .3rem .4rem .35rem; }
header #cart .dropdown-menu .btn-primary,
header #cart .dropdown-menu .btn-primary * { color: #fff !important; }
header #cart .dropdown-menu .btn-primary {
  background: linear-gradient(135deg, #e6100f, #b30a0d) !important;
  border: 0 !important; border-radius: 12px !important; padding: .62rem !important; font-weight: 600;
  box-shadow: 0 6px 16px rgba(207,12,15,.30);
}
header #cart .dropdown-menu .btn-light {
  background: #fff !important; border: 1px solid #e3e3e3 !important; color: #201f1f !important;
  border-radius: 12px !important; padding: .55rem !important; font-weight: 600;
}
@media (max-width: 575.98px) {
  header #cart .dropdown-menu { width: 94vw; max-width: 94vw; min-width: 0; }
}

/* ===== Carrinho (pagina): cards no mesmo estilo do popup ===== */
.will-cart-item { border: 1px solid #ededed; border-radius: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.05); }
.will-cart-item .card-body { padding: .85rem; }
.will-cart-thumb {
  flex: 0 0 84px; width: 84px; height: 84px;
  display: flex; align-items: center; justify-content: center;
  background: #f6f7f9; border-radius: 12px; overflow: hidden; padding: 8px;
}
.will-cart-thumb img {
  width: 100% !important; height: 100% !important; max-width: 100% !important;
  object-fit: contain !important; border: 0 !important; background: transparent !important; padding: 0 !important;
}
.will-cart-name { color: #201f1f; font-weight: 600; text-decoration: none; line-height: 1.3; }
.will-cart-name:hover { color: var(--will-red); }
.will-cart-meta { font-size: .8rem; color: #9a9a9a; margin-top: .12rem; }
.will-cart-meta > div { line-height: 1.4; }
.will-cart-qty { width: 138px; }
.will-cart-total { color: var(--will-red); font-weight: 700; font-size: 1.1rem; line-height: 1.1; }
.will-cart-unit { font-size: .78rem; color: #9a9a9a; }
.will-cart-totals { border: 1px solid #ededed; border-radius: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.05); }
.will-cart-totals .card-body > div { padding: .2rem 0; color: #6a6a6a; }
.will-cart-totals .will-cart-grand { font-size: 1.18rem; font-weight: 700; color: #201f1f; border-top: 1px solid #eee; margin-top: .4rem; padding-top: .55rem; }
.will-cart-totals .will-cart-grand span:last-child { color: var(--will-red); }
@media (min-width: 768px) {
  .will-cart-item, .will-cart-totals { max-width: 760px; }
}

/* ===== Carrinho mobile: botoes de qtd maiores (tap target) ===== */
@media (max-width: 767.98px) {
  .will-cart-qty { width: auto; }
  .will-cart-qty.input-group-sm > .form-control { min-height: 46px; font-size: 16px; width: 56px; flex: 0 0 56px; text-align: center; }
  .will-cart-qty.input-group-sm > .btn { min-height: 46px; min-width: 52px; padding: .5rem .6rem; }
  .will-cart-qty.input-group-sm > .btn i { font-size: 1.2rem; }
}

/* ===== Rodape: chips de pagamento/envio + selo SSL ===== */
.will-pay-grid { display: flex; flex-wrap: wrap; gap: .45rem; }
.will-pay-grid .pm {
  display: inline-flex; align-items: center; gap: .3rem;
  height: 38px; padding: 0 .6rem; min-width: 46px; justify-content: center;
  background: #fff; border: 1px solid #e6e6e6; border-radius: 8px;
  font-weight: 700; font-size: .76rem; color: #444; line-height: 1; white-space: nowrap;
}
.will-pay-grid .pm i { font-size: 1.55rem; }
.pm-visa i { color: #1a1f71; }
.pm-mc i { color: #eb001b; }
.pm-amex i { color: #2e77bc; }
.pm-diners i { color: #0079be; }
.pm-elo { color: #111; font-style: italic; }
.pm-pix { color: #32bcad; }
.pm-boleto i { color: #333; font-size: 1.1rem; }
.pm-mp { color: #009ee3; }
.pm-sedex { color: #f58220; }
.pm-total { color: #e2001a; }
.pm-jadlog { color: #e30613; }
.will-seal { display: inline-flex; align-items: center; gap: .55rem; border: 1px solid #dfe7df; background: #f4faf4; border-radius: 8px; padding: .45rem .7rem; }
.will-seal i { color: #29a745; font-size: 1.7rem; }
.will-seal strong { display: block; font-size: .82rem; color: #222; line-height: 1.15; }
.will-seal span { font-size: .72rem; color: #888; }
@media (max-width: 767.98px) {
  .will-footer .will-foot-title, .will-footer .will-foot-h { font-size: 1rem; }
  .will-footer-bottom .container { flex-direction: column; text-align: center; }
}

/* Titulo dos produtos nos cards */
.product-thumb .description h4,
.product-thumb .description h4 a {
  color: #201f1f !important;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
}
.product-thumb .description h4 a:hover {
  color: var(--will-red) !important;
}
/* Painel de filtro da categoria */
.will-filter-panel { border: 1px solid #e3e7eb; border-radius: 8px; padding: 16px; margin: 10px 0 22px; background: #fff; }
.will-filter-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.will-filter-head h3 { margin: 0; font-size: 1.25rem; color: #201f1f; }
.will-filter-head span { color: #6b7280; font-size: .92rem; }
.will-filter-clear { color: var(--will-red); font-weight: 600; text-decoration: none; white-space: nowrap; }
.will-filter-section { min-width: 0; }
.will-filter-label { display: block; font-weight: 700; color: #201f1f; margin-bottom: 8px; }
.will-filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.will-filter-chips a { border: 1px solid #e0e4e8; border-radius: 6px; color: #201f1f; padding: 7px 10px; text-decoration: none; background: #fafafa; }
.will-filter-chips a:hover { border-color: var(--will-red); color: var(--will-red); }
.will-filter-grid { display: grid; grid-template-columns: minmax(210px,1.2fr) minmax(220px,1.4fr) minmax(180px,1fr) minmax(120px,.7fr); gap: 14px; align-items: end; }
.will-price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.will-color-options { display: flex; flex-wrap: wrap; gap: 8px 12px; max-height: 92px; overflow: auto; padding-right: 4px; }
.will-color-options label { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: #374151; font-size: .92rem; }
.will-filter-actions { margin-top: 14px; display: flex; justify-content: flex-end; }
@media (max-width: 991.98px) {
  .will-filter-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
  .will-filter-panel { padding: 14px; }
  .will-filter-head { display: block; }
  .will-filter-clear { display: inline-block; margin-top: 8px; }
  .will-filter-grid, .will-price-range { grid-template-columns: 1fr; }
  .will-filter-actions .btn { width: 100%; }
}

/* ===== Carrinho: item com estoque insuficiente (destaque claro) ===== */
.will-cart-unavailable { border-color: #f19aa0 !important; background: #fff5f6; box-shadow: 0 4px 14px rgba(207,12,15,.08); }
.will-cart-unavailable .will-cart-name { color: var(--will-red) !important; }
.will-cart-badge { display: inline-block; background: var(--will-red); color: #fff !important; font-size: .7rem; font-weight: 700; padding: .18rem .5rem; border-radius: 6px; vertical-align: middle; white-space: nowrap; margin-left: .25rem; }
.will-cart-badge i { margin-right: .2rem; }

/* ===== Filtro da categoria: painel recolhivel (abre ao clicar) ===== */
.will-filter-panel { padding: 0 !important; overflow: hidden; }
.will-filter-summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.will-filter-summary::-webkit-details-marker { display: none; }
.will-filter-summary h3 { margin: 0; font-size: 1.15rem; color: #201f1f; }
.will-filter-summary span { color: #6b7280; font-size: .88rem; }
.will-filter-summary:hover h3 { color: var(--will-red); }
.will-filter-caret { color: #9aa0a6; transition: transform .2s; font-size: .9rem; }
.will-filter-panel[open] .will-filter-caret { transform: rotate(180deg); }
.will-filter-body { padding: 2px 16px 16px; border-top: 1px solid #eef0f2; }
.will-filter-actions { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.will-filter-actions .will-filter-clear { color: #888; font-weight: 500; }
.will-filter-actions .will-filter-clear:hover { color: var(--will-red); }
@media (max-width: 767.98px) {
  .will-filter-summary { padding: 12px 14px; }
  .will-filter-actions .btn { width: auto; }
}

/* ===== Breadcrumb no mobile: uma linha so + trunca o ultimo item (sem sobrepor as setas) ===== */
@media (max-width: 767.98px) {
  .breadcrumb { flex-wrap: nowrap; overflow: hidden; }
  .breadcrumb > li.breadcrumb-item { max-width: 100%; }
  .breadcrumb > li.breadcrumb-item:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .breadcrumb > li.breadcrumb-item:last-child:after { display: none; }
}

/* ===== Pagina do produto: layout mais limpo ===== */
#product-info h1 { font-weight: 700; line-height: 1.2; font-size: 1.6rem; margin-bottom: .6rem; color: #201f1f; }
#product-info .image .img-thumbnail { border-radius: 12px; }
#product-info .will-product-gallery > a:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}
#product-info .will-product-gallery > a:first-child .img-thumbnail {
  transition: filter .18s ease, transform .18s ease;
}
#product-info .will-product-gallery > a:first-child:hover .img-thumbnail {
  filter: drop-shadow(0 14px 18px rgba(20,20,20,.16));
  transform: translateY(-1px);
}
#product-info .will-product-gallery > div {
  margin-top: .75rem;
}
.will-prod-meta { font-size: .92rem; color: #6b7280; margin-bottom: .5rem; }
.will-prod-meta li { padding: .12rem 0; }
.will-prod-meta a { color: var(--will-red); font-weight: 600; text-decoration: none; }
#product-info .rating { margin-bottom: .6rem; }
#product-info .rating .fa-solid.fa-star { color: #ffa120; }
.will-prod-price { margin: .4rem 0 1rem; }
.will-prod-price h2 { margin: 0; }
.will-prod-price .price-new { color: var(--will-red); font-weight: 800; font-size: 2rem; }
.will-prod-price .price-old { color: #9aa0a6; text-decoration: line-through; }
#product-info form .btn-group .btn-light { border: 1px solid #e2e2e2; border-radius: 10px; }
#product-info form .btn-group .btn-light + .btn-light { margin-left: .4rem; }
#product-buy-area { margin-top: .5rem; }
#product-buy-area .input-group-text { font-weight: 600; background: #f6f7f9; }
#product-buy-area #button-cart { font-weight: 700; }
#product-info .nav-tabs .nav-link { font-weight: 600; }
@media (min-width: 768px) { #product-info h1 { font-size: 1.9rem; } }
@media (max-width: 767.98px) {
  #product-info .will-product-gallery > a:first-child { min-height: 260px; }
}

/* ===== Produto: area de compra estilo willeletro ===== */
.will-buy-row { display: flex; gap: .6rem; align-items: stretch; }
.will-qty { display: flex; flex-wrap: nowrap; align-items: stretch; border: 1px solid #dcdcdc; border-radius: 10px; overflow: hidden; background: #fff; flex: 0 0 auto; }
.will-qty .qty-minus, .will-qty .qty-plus { width: 36px; border: 0; background: #f4f4f5; color: #333; font-size: 1.25rem; line-height: 1; cursor: pointer; }
.will-qty .qty-minus:hover, .will-qty .qty-plus:hover { background: #e9e9ea; }
.will-qty .qty-input { width: 42px; border: 0; text-align: center; border-radius: 0 !important; box-shadow: none !important; font-weight: 600; }
.will-buy-btn { flex: 1 1 auto; font-weight: 700; border-radius: 10px; }
.will-wa-btn { display: block; width: 100%; margin-top: .6rem; font-weight: 600; border-radius: 10px; --bs-btn-color: #25a244; --bs-btn-border-color: #cfe8d6; --bs-btn-hover-bg: #25a244; --bs-btn-hover-border-color: #25a244; }

/* ===== Produto: disponibilidade / urgencia ===== */
.will-avail-in { color: #1f9d55; font-weight: 700; }
.will-avail-out { color: var(--will-red); font-weight: 700; }
.will-avail-low { display: inline-block; color: var(--will-red); font-weight: 600; font-size: .85rem; margin-top: .15rem; }
.will-avail-low i { margin-right: .25rem; }

/* ===== Produto: visualizador de fotos ===== */
body.will-lightbox-open{overflow:hidden}
.will-lightbox{position:fixed;inset:0;z-index:1085;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(9,9,10,.94)}
.will-lightbox.is-open{display:flex}
.will-lightbox-stage{display:flex;align-items:center;justify-content:center;width:100%;max-width:1040px;height:calc(100vh - 122px);max-height:760px}
.will-lightbox-img{display:block;max-width:100%;max-height:100%;object-fit:contain;background:#fff;border-radius:8px;box-shadow:0 18px 50px rgba(0,0,0,.45)}
.will-lightbox-close,.will-lightbox-arrow{position:fixed;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.26);background:rgba(0,0,0,.58);color:#fff;z-index:1086;transition:background .15s ease,transform .15s ease}
.will-lightbox-close{top:16px;right:16px;width:46px;height:46px;border-radius:50%;font-size:32px;line-height:1}
.will-lightbox-arrow{top:50%;width:50px;height:50px;margin-top:-25px;border-radius:50%;font-size:20px}
.will-lightbox-prev{left:18px}
.will-lightbox-next{right:18px}
.will-lightbox-close:hover,.will-lightbox-arrow:hover,.will-lightbox-close:focus,.will-lightbox-arrow:focus{background:var(--will-red);color:#fff;transform:scale(1.04)}
.will-lightbox-footer{position:fixed;left:24px;right:24px;bottom:18px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:#f4f4f4;font-size:.95rem}
.will-lightbox-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.will-lightbox-count{flex:0 0 auto;color:#d8d8d8}
@media(max-width:575.98px){
  .will-lightbox{padding:68px 10px 70px}
  .will-lightbox-stage{height:calc(100vh - 150px);height:calc(100dvh - 150px)}
  .will-lightbox-img{border-radius:4px}
  .will-lightbox-close{top:12px;right:12px;width:42px;height:42px;font-size:30px}
  .will-lightbox-arrow{width:42px;height:42px;margin-top:-21px;font-size:17px}
  .will-lightbox-prev{left:10px}
  .will-lightbox-next{right:10px}
  .will-lightbox-footer{left:10px;right:10px;bottom:14px;font-size:.86rem}
}

/* ===== HOME: cards de categoria + beneficios ===== */
.will-home-title{font-size:1.35rem;font-weight:800;color:var(--will-dark,#201f1f);margin:1.6rem 0 1rem;padding-left:.6rem;border-left:5px solid var(--will-red)}
.will-cat-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
@media(max-width:991px){.will-cat-cards{grid-template-columns:repeat(3,1fr)}}
@media(max-width:575px){.will-cat-cards{grid-template-columns:repeat(2,1fr)}}
.will-cat-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:22px 10px;background:#fff;border:1px solid #eee;border-radius:12px;text-decoration:none;color:var(--will-dark,#201f1f);transition:all .18s;text-align:center}
.will-cat-card:hover{border-color:var(--will-red);box-shadow:0 6px 18px rgba(0,0,0,.1);transform:translateY(-3px);color:var(--will-red)}
.will-cat-card i{font-size:2rem;color:var(--will-red)}
.will-cat-card .nome{font-weight:700;font-size:.95rem;line-height:1.15}
.will-cat-card .qtd{font-size:.78rem;color:#888}
.will-benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:2rem 0}
@media(max-width:767px){.will-benefits{grid-template-columns:repeat(2,1fr)}}
.will-benefit{display:flex;align-items:center;gap:12px;padding:16px;background:#f8f8f8;border-radius:12px}
.will-benefit i{font-size:1.7rem;color:var(--will-red);flex:0 0 auto}
.will-benefit b{display:block;font-size:.9rem;line-height:1.1}
.will-benefit span{font-size:.8rem;color:#777}
/* carrossel de produtos (modulos nativos) na marca */
#content .swiper-viewport,.product-thumb{border-radius:12px}
h3.title,.module-title{font-size:1.35rem;font-weight:800;color:var(--will-dark,#201f1f);border-left:5px solid var(--will-red);padding-left:.6rem;margin:1.6rem 0 1rem}

/* ===== Carrossel horizontal dos modulos de produto ===== */
.will-carousel{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x proximity;padding:2px 2px 14px;-webkit-overflow-scrolling:touch}
.will-carousel-item{flex:0 0 auto;width:185px;scroll-snap-align:start}
.will-carousel-item .product-thumb{height:100%}
@media(max-width:575px){
.will-carousel-item{width:44vw;min-width:0}
.will-carousel-item .product-thumb .content{padding:.5rem}
.will-carousel-item .product-thumb h4{font-size:.85rem;line-height:1.15}
.will-carousel-item .product-thumb .d-flex.gap-2{flex-direction:column}
.will-carousel-item .will-qty{max-width:100%!important}
.will-carousel-item .btn-warning{font-size:.85rem}
.will-carousel-item .btn-outline-success{display:none}
}
.will-carousel::-webkit-scrollbar{height:8px}
.will-carousel::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}
.will-carousel::-webkit-scrollbar-thumb{background:#ccc;border-radius:4px}

/* alinhar botoes: card do carrossel com altura cheia e botao no rodape */
.will-carousel-item .product-thumb{display:flex;flex-direction:column;height:100%}
.will-carousel-item .product-thumb .content{flex:1 1 auto}

/* ===== Faixa "Nossas marcas" ===== */
.will-brands-wrap{margin:2rem 0}
.will-brands{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.will-brand{display:inline-flex;align-items:center;padding:12px 22px;background:#fff;border:1px solid #eee;border-radius:10px;font-weight:800;font-size:1.05rem;color:var(--will-dark,#201f1f);text-decoration:none;transition:all .18s;letter-spacing:.3px}
.will-brand:hover{border-color:var(--will-red);color:var(--will-red);box-shadow:0 4px 12px rgba(0,0,0,.08);transform:translateY(-2px)}

/* "Navegue por categoria": so no mobile (no desktop ja tem a barra de categorias no menu) */
@media(min-width:992px){ .container:has(> .will-cat-cards){display:none} }

/* empilha qtd+Adicionar em todo carrossel (cards estreitos, senao o botao corta no desktop) */
.will-carousel-item .product-thumb .d-flex.gap-2{flex-direction:column}
.will-carousel-item .will-qty{max-width:100%!important}

/* Home: carrossel de produtos mais alinhado */
.will-carousel{gap:16px;align-items:stretch;padding:4px 2px 18px}
.will-carousel-item{display:flex;width:196px}
.will-carousel-item .product-thumb{width:100%;min-height:500px;margin-bottom:0;border-radius:10px;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.will-carousel-item .product-thumb:hover{border-color:#d8d8d8;box-shadow:0 10px 24px rgba(0,0,0,.08);transform:translateY(-2px)}
.will-carousel-item .product-thumb .image{height:172px;display:flex;align-items:center;justify-content:center;padding:16px 14px 8px}
.will-carousel-item .product-thumb .image a{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.will-carousel-item .product-thumb .image img{max-width:100%;max-height:150px;object-fit:contain}
.will-carousel-item .product-thumb .content{display:flex;flex:1 1 auto;flex-direction:column;padding:0 14px 14px}
.will-carousel-item .product-thumb .description{min-height:88px;margin-bottom:.5rem}
.will-carousel-item .product-thumb .description h4{margin:0;font-size:.95rem;line-height:1.35;text-align:center}
.will-carousel-item .product-thumb .price{min-height:34px;margin-bottom:12px!important}
.will-carousel-item .product-thumb .price-new{font-size:1.1rem}
.will-carousel-item .product-thumb .mt-auto{margin-top:auto!important}
.will-carousel-item .product-thumb form .d-flex.gap-2{gap:8px!important}
.will-carousel-item .product-thumb .btn{min-height:38px}
@media(max-width:575px){
  .will-carousel{gap:12px}
  .will-carousel-item{width:44vw;max-width:none;min-width:0}
  .will-carousel-item .product-thumb{min-height:0}
  .will-carousel-item .product-thumb .content{padding:.5rem}
  .will-carousel-item .product-thumb .image{height:132px;padding:12px 10px 6px}
  .will-carousel-item .product-thumb .image img{max-height:118px}
  .will-carousel-item .product-thumb .description{min-height:72px}
  .will-carousel-item .product-thumb .description h4{font-size:.85rem;line-height:1.15}
  .will-carousel-item .product-thumb .price{min-height:30px}
  .will-carousel-item .product-thumb .btn{min-height:36px}
}

/* carrinho: resumo fixo (sticky) no desktop */
@media(min-width:992px){ .will-cart-summary{position:sticky;top:1rem} }

/* ===== Carrinho estilo Loja Integrada (linhas horizontais + resumo) ===== */
.wc-box{border:1px solid #eee;border-radius:14px;overflow:hidden;background:#fff}
.wc-row{display:flex;align-items:center;gap:16px;padding:16px;border-bottom:1px solid #f1f1f1}
.wc-row:last-child{border-bottom:0}
.wc-thumb{flex:0 0 auto;display:block}
.wc-thumb img{width:74px;height:74px;object-fit:contain;border:1px solid #eee;border-radius:8px;background:#fff;padding:4px}
.wc-info{flex:1 1 auto;min-width:0}
.wc-name{font-weight:700;color:var(--will-dark,#201f1f);text-decoration:none;display:block;line-height:1.2}
.wc-name:hover{color:var(--will-red)}
.wc-meta{font-size:.82rem;color:#777;margin-top:3px}
.wc-qty{display:inline-flex;align-items:center;border:1px solid #ddd;border-radius:8px;overflow:hidden}
.wc-qty button{width:34px;height:38px;border:0;background:#f5f5f5;font-size:1.1rem;line-height:1;color:#333;cursor:pointer;transition:all .15s}
.wc-qty button:hover{background:var(--will-red);color:#fff}
.wc-qty .wc-input{width:46px;height:38px;border:0;border-left:1px solid #eee;border-right:1px solid #eee;text-align:center;font-weight:700;outline:none}
.wc-price{flex:0 0 auto;min-width:110px;text-align:right;font-weight:800;color:var(--will-red);font-size:1.05rem}
.wc-price .wc-unit{display:block;font-weight:400;font-size:.72rem;color:#999}
.wc-remove{flex:0 0 auto;color:#c00;font-size:1.15rem;padding:8px;background:transparent;border:0;line-height:1;text-decoration:none}
.wc-remove:hover{color:#900}
.wc-unavailable{opacity:.65}
.wc-summary{background:#f7f7f7;border:1px solid #eee;border-radius:14px;padding:18px 20px}
.wc-totline{display:flex;justify-content:space-between;align-items:center;padding:5px 0;font-size:.95rem}
.wc-grand{font-size:1.35rem;font-weight:800;color:var(--will-red);border-top:2px solid #e5e5e5;margin-top:8px;padding-top:12px}
.wc-modules{margin-top:14px;border-top:1px dashed #ddd;padding-top:8px}
.wc-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px}
@media(max-width:575px){
  .wc-row{flex-wrap:wrap}
  .wc-info{flex:1 1 calc(100% - 90px)}
  .wc-qtyform,.wc-price{margin-top:8px}
  .wc-price{flex:1 1 auto;text-align:right}
}

/* carrinho: cupom e frete SEM aba (abertos direto, so os forms) */
.wc-modules .accordion,.wc-modules .accordion-item{border:0!important;background:transparent!important}
.wc-modules .accordion-button{display:none!important}
.wc-modules .accordion-collapse{display:block!important;height:auto!important;visibility:visible!important}
.wc-modules .accordion-body{padding:.5rem 0 1rem}
.wc-modules .accordion-item + .accordion-item .accordion-body{border-top:1px dashed #e2e2e2;padding-top:1rem}
.wc-modules .col-form-label{font-weight:600}

/* carrinho: campos de CEP/cupom menores e label compacta */
.wc-modules .col-md-4{flex:0 0 auto;width:auto;padding-right:12px}
.wc-modules .col-md-8{flex:0 1 auto;width:auto}
.wc-modules #input-postcode{width:200px;max-width:100%}
.wc-modules #input-coupon{width:320px;max-width:100%}

/* ===== Rodape Will Eletro - refresh visual 2026 ===== */
.will-footer {
  position: static !important;
  bottom: auto;
  margin-top: 2.5rem;
  color: #2f343a;
  background: #fff;
  border-top: 4px solid var(--will-red);
  box-shadow: 0 -10px 30px rgba(20, 20, 20, .04);
}
.will-footer-main { padding: 38px 0 34px; background: linear-gradient(180deg, #fff 0%, #fafafa 100%); }
.will-foot-title, .will-foot-h {
  margin: 0 0 16px;
  color: #d90404;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0;
}
.will-foot-h { color: #24272b; font-size: .9rem; }
.will-footer a { color: #30343a; text-decoration: none; transition: color .16s ease; }
.will-footer a:hover { color: var(--will-red); }
.will-contact-list { display: grid; gap: 13px; }
.will-contact-list li { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.will-contact-icon {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--will-red);
  background: #fff2f2;
  border: 1px solid #ffd7d7;
  border-radius: 8px;
}
.will-contact-list strong { display: block; margin-bottom: 1px; color: #23262b; font-size: .86rem; }
.will-contact-list a, .will-contact-list small { display: block; color: #4f5863; font-size: .86rem; line-height: 1.55; word-break: break-word; }
.will-footer-links { display: grid; gap: 9px; }
.will-footer-links a { color: #4c5560; font-size: .9rem; }
.will-footer-links a::before { content: ''; display: inline-block; width: 5px; height: 5px; margin-right: 8px; border-radius: 50%; background: #d8dde3; vertical-align: middle; transition: background .16s ease; }
.will-footer-links a:hover::before { background: var(--will-red); }
.will-social a {
  display: inline-flex; width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: #f1f3f5;
  color: #737b85 !important;
  border: 1px solid #e5e8eb;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.will-social a:hover { background: var(--will-red); border-color: var(--will-red); color: #fff !important; transform: translateY(-1px); }
.will-footer-mini-seal {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 11px;
  color: #2d6a3f;
  background: #f3fbf5;
  border: 1px solid #dbeee0;
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 700;
}
.will-footer-band { padding: 30px 0; background: #f5f6f8; border-top: 1px solid #eceff2; }
.will-footer-brand { margin: 0 0 9px; color: var(--will-red); font-size: 1.4rem; font-weight: 900; }
.will-footer-about { max-width: 470px; color: #59636f; font-size: .86rem; line-height: 1.75; }
.will-pay-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.will-pay-grid .pm {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  min-width: 48px; height: 38px; padding: 0 .72rem;
  background: #fff;
  border: 1px solid #dde2e7;
  border-radius: 9px;
  color: #333941;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.035);
}
.will-pay-grid .pm i { font-size: 1.55rem; }
.pm-visa i { color: #1a1f71; }
.pm-mc i { color: #eb001b; }
.pm-amex i { color: #2e77bc; }
.pm-diners i { color: #0079be; }
.pm-elo { color: #111; font-style: italic; }
.pm-pix { color: #16a085; }
.pm-boleto i { color: #252525; font-size: 1.1rem; }
.pm-mp { color: #009ee3; }
.pm-sedex { color: #f58220; }
.pm-total { color: #e2001a; }
.pm-jadlog { color: #e30613; }
.will-seal {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 13px;
  border: 1px solid #cfe9d6;
  background: #f3fbf5;
  border-radius: 10px;
}
.will-seal i { color: #22a447; font-size: 1.75rem; }
.will-seal strong { display: block; color: #1f252b; font-size: .84rem; line-height: 1.15; }
.will-seal span { display: block; margin-top: 2px; color: #6e7883; font-size: .74rem; }
.will-footer-bottom { padding: 17px 0; background: #d90404; border-top: 1px solid rgba(255,255,255,.15); }
.will-footer-bottom, .will-footer-bottom * { color: #fff !important; }
.will-footer-legal, .will-footer-powered { font-size: .78rem; line-height: 1.65; }
.will-footer-powered { text-align: right; opacity: .92; }
@media (max-width: 991.98px) {
  .will-footer-main { padding: 30px 0 26px; }
  .will-footer-band { padding: 24px 0; }
}
@media (max-width: 767.98px) {
  .will-footer { margin-top: 1.5rem; }
  .will-foot-title, .will-foot-h { font-size: 1rem; }
  .will-social a { width: 38px; height: 38px; }
  .will-footer-bottom .container { flex-direction: column; text-align: center; }
  .will-footer-powered { text-align: center; }
  .will-pay-grid .pm { height: 36px; }
}

/* ===== Parcelas ===== */
.will-parcela-card{font-size:.75rem;color:#2a7d2a;margin-top:3px;line-height:1.2}
.will-pix-card{font-size:.76rem;color:#12823a;margin-top:4px;line-height:1.22;font-weight:700}
.will-pix-card::before{content:'Pix ';color:#0b9f4d;font-weight:800}
.will-parcela-card b{color:#1e5f1e}
.will-parcelas-full{margin:.4rem 0 1rem}
.will-parcela-linha{font-size:1rem;color:var(--will-dark,#201f1f)}
.will-parcela-linha i{color:var(--will-red);margin-right:6px}
.will-parcela-avista{font-size:1rem;color:#1e7d34;margin-bottom:2px}
.will-parcela-avista span{color:#888;font-size:.85rem}
.will-parcela-toggle{display:inline-block;font-size:.85rem;margin-top:4px;color:var(--will-red);cursor:pointer}
.will-parcela-tabela{width:100%;max-width:340px;border-collapse:collapse;font-size:.85rem;margin-top:6px}
.will-parcela-tabela th,.will-parcela-tabela td{border:1px solid #eee;padding:5px 10px;text-align:left}
.will-parcela-tabela thead th{background:#f5f5f5}

/* ===== Vitrine de produtos - carrossel v2 ===== */
.will-carousel-shell { position: relative; margin: 0 -6px 2rem; padding: 0 6px; }
.will-carousel {
  gap: 18px;
  padding: 8px 4px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #c9c9c9 #f1f1f1;
}
.will-carousel::-webkit-scrollbar { height: 7px; }
.will-carousel::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 999px; }
.will-carousel::-webkit-scrollbar-thumb { background: #c9c9c9; border-radius: 999px; }
.will-carousel-item { width: 214px; display: flex; scroll-snap-align: start; }
.will-carousel-item .product-thumb {
  width: 100%;
  min-height: 492px;
  margin: 0;
  border: 1px solid #e7eaee;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(20,20,20,.055);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.will-carousel-item .product-thumb:hover { transform: translateY(-4px); border-color: #d2d7de; box-shadow: 0 14px 30px rgba(20,20,20,.12); }
.will-carousel-item .product-thumb .image {
  height: 178px;
  padding: 20px 16px 12px;
  background: linear-gradient(180deg,#f8f9fb 0%,#fff 82%);
  border-bottom: 1px solid #f1f2f4;
}
.will-carousel-item .product-thumb .image a { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.will-carousel-item .product-thumb .image img { max-height: 142px; object-fit: contain; transition: transform .2s ease; }
.will-carousel-item .product-thumb:hover .image img { transform: scale(1.04); }
.will-carousel-item .product-thumb .content { padding: 14px 14px 16px; display: flex; flex-direction: column; flex: 1 1 auto; }
.will-carousel-item .product-thumb .description { min-height: 82px; margin: 0 0 10px; display: flex; align-items: flex-start; justify-content: center; }
.will-carousel-item .product-thumb .description h4 { margin: 0; font-size: .94rem; line-height: 1.32; font-weight: 700; text-align: center; }
.will-carousel-item .product-thumb .description h4 a { color: #181b20 !important; }
.will-carousel-item .product-thumb .description h4 a:hover { color: var(--will-red) !important; }
.will-carousel-item .product-thumb .price {
  min-height: 55px;
  margin: 0 0 12px !important;
  padding: 9px 10px;
  background: #fff7f7;
  border: 1px solid #ffe1e1;
  border-radius: 10px;
}
.will-carousel-item .product-thumb .price-new { display: block; color: var(--will-red); font-size: 1.18rem; font-weight: 900; line-height: 1.05; }
.will-carousel-item .will-parcela-card { margin-top: 5px; color: #26743a; font-size: .75rem; }
.will-carousel-item .product-thumb .mt-auto { margin-top: auto !important; }
.will-carousel-item .product-thumb form .d-flex.gap-2 { flex-direction: column; gap: 8px !important; }
.will-carousel-item .will-qty {
  width: 100%; max-width: none !important;
  border-color: #e0e3e7;
  border-radius: 10px;
  background: #f5f6f8;
}
.will-carousel-item .will-qty .btn { width: 42px; min-height: 38px; border: 0; color: #2f343a; background: #eceef1; }
.will-carousel-item .will-qty .qty-input { min-height: 38px; background: #fff; font-weight: 800; }
.will-carousel-item .btn-warning {
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  background: #ff9f1c;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 5px 12px rgba(255,159,28,.24);
}
.will-carousel-item .btn-warning:hover { background: #ee8d05; color: #fff; }
.will-carousel-item .btn-outline-success {
  min-height: 38px;
  border-radius: 10px;
  border-color: #d8eadf;
  background: #fbfffc;
  color: #168044;
  font-size: .82rem;
  font-weight: 700;
}
.will-carousel-nav {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  z-index: 3;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e4e8;
  border-radius: 50%;
  background: #fff;
  color: #2f343a;
  box-shadow: 0 8px 22px rgba(0,0,0,.14);
}
.will-carousel-nav:hover { background: var(--will-red); border-color: var(--will-red); color: #fff; }
.will-carousel-nav.prev { left: -8px; }
.will-carousel-nav.next { right: -8px; }
.will-carousel-nav[disabled] { opacity: .35; pointer-events: none; }
@media (max-width: 767.98px) {
  .will-carousel-shell { margin: 0 -2px 1.5rem; padding: 0 2px; }
  .will-carousel { gap: 12px; padding-bottom: 14px; }
  .will-carousel-item { width: 58vw; max-width: 226px; }
  .will-carousel-item .product-thumb { min-height: 468px; border-radius: 12px; }
  .will-carousel-item .product-thumb .image { height: 148px; padding: 14px 12px 8px; }
  .will-carousel-item .product-thumb .image img { max-height: 122px; }
  .will-carousel-item .product-thumb .content { padding: 12px; }
  .will-carousel-item .product-thumb .description { min-height: 72px; }
  .will-carousel-item .product-thumb .description h4 { font-size: .86rem; line-height: 1.22; }
  .will-carousel-nav { display: none; }
}

/* ===== Rodape v2: mais compacto e com identidade ===== */
.will-footer { margin-top: 3rem; border-top: 0; background: #1f2227; box-shadow: none; }
.will-footer-main { padding: 34px 0; background: #1f2227; color: #f5f5f5; }
.will-footer-main .row { align-items: stretch; }
.will-foot-title { color: #fff; margin-bottom: 14px; font-size: .95rem; text-transform: uppercase; letter-spacing: .02em; }
.will-footer-main .will-foot-title::after { content: ''; display: block; width: 34px; height: 3px; margin-top: 8px; background: var(--will-red); border-radius: 999px; }
.will-footer-main a { color: #d6dbe1; }
.will-footer-main a:hover { color: #fff; }
.will-contact-icon { background: rgba(217,4,4,.16); border-color: rgba(255,255,255,.1); color: #ff5a5a; }
.will-contact-list strong { color: #fff; }
.will-contact-list a, .will-contact-list small { color: #d6dbe1; }
.will-footer-links a { color: #d6dbe1; }
.will-footer-links a::before { background: rgba(255,255,255,.22); }
.will-social a { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff !important; box-shadow: none; }
.will-footer-mini-seal { color: #d9ffe2; background: rgba(34,164,71,.14); border-color: rgba(34,164,71,.35); }
.will-footer-band { padding: 26px 0; background: #f4f5f7; border-top: 0; }
.will-footer-brand { color: #d90404; font-size: 1.28rem; }
.will-footer-about { color: #4d5661; }
.will-footer-bottom { background: #d90404; padding: 14px 0; }
@media (max-width: 767.98px) {
  .will-footer-main { padding: 28px 0; }
  .will-footer-main .col-6 { width: 100%; }
}

/* ===== Carrossel sem barra horizontal aparente ===== */
.will-carousel {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.will-carousel::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.will-carousel-shell::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: transparent;
}
/* ===== Home: banner carrossel full desktop ===== */
.will-hero-carousel {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 28px;
  background: #111418;
  overflow: hidden;
}
.will-hero-track {
  position: relative;
  height: clamp(230px, 25vw, 430px);
}
.will-hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s ease;
}
.will-hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.will-hero-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.will-hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  background: rgba(0,0,0,.32);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
.will-hero-nav:hover { background: var(--will-red); border-color: var(--will-red); color: #fff; }
.will-hero-nav.prev { left: max(18px, calc((100vw - 1180px) / 2 + 12px)); }
.will-hero-nav.next { right: max(18px, calc((100vw - 1180px) / 2 + 12px)); }
.will-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 2;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}
.will-hero-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.58);
  padding: 0;
}
.will-hero-dot.is-active { width: 24px; border-radius: 999px; background: #fff; }
@media (max-width: 767.98px) {
  .will-hero-carousel {
    width: auto;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 18px;
    border-radius: 12px;
  }
  .will-hero-track { height: 155px; }
  .will-hero-nav { display: none; }
  .will-hero-dots { bottom: 9px; }
}
/* Banner principal somente no desktop */
@media (max-width: 767.98px) {
  .will-hero-carousel { display: none !important; }
}
/* Mobile: centraliza quantidade e botao nos cards do carrossel */
@media (max-width: 767.98px) {
  .will-carousel-item .product-thumb form { width: 100%; }
  .will-carousel-item .product-thumb form .d-flex.gap-2 {
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  .will-carousel-item .will-qty {
    width: min(100%, 292px);
    margin-left: auto;
    margin-right: auto;
  }
  .will-carousel-item .btn-warning {
    width: min(100%, 292px);
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }
}
/* Mobile: centraliza a coluna de compra inteira nos cards do carrossel */
@media (max-width: 767.98px) {
  .will-carousel-item .product-thumb .content {
    align-items: center;
    text-align: center;
  }
  .will-carousel-item .product-thumb .description,
  .will-carousel-item .product-thumb .price,
  .will-carousel-item .product-thumb .mt-auto,
  .will-carousel-item .product-thumb form {
    width: 100%;
  }
  .will-carousel-item .product-thumb .price {
    width: min(100%, 292px);
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
  }
  .will-carousel-item .will-parcela-card {
    text-align: center;
  }
  .will-carousel-item .product-thumb form .d-flex.gap-2 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .will-carousel-item .will-qty {
    display: flex;
    width: min(100%, 292px) !important;
    max-width: 292px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .will-carousel-item .will-qty .qty-minus,
  .will-carousel-item .will-qty .qty-plus {
    flex: 0 0 42px;
  }
  .will-carousel-item .will-qty .qty-input {
    flex: 1 1 auto;
    min-width: 0;
  }
  .will-carousel-item .btn-warning {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 292px) !important;
    max-width: 292px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
/* Mobile: seletor de quantidade em 3 partes iguais */
@media (max-width: 767.98px) {
  .will-carousel-item .will-qty {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: stretch;
    overflow: hidden;
  }
  .will-carousel-item .will-qty .qty-minus,
  .will-carousel-item .will-qty .qty-plus,
  .will-carousel-item .will-qty .qty-input {
    width: 100% !important;
    min-width: 0 !important;
    height: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .will-carousel-item .will-qty .qty-minus,
  .will-carousel-item .will-qty .qty-plus {
    flex-basis: auto !important;
  }
  .will-carousel-item .will-qty .qty-input {
    padding-left: 0;
    padding-right: 0;
  }
}
/* Desktop: centraliza preco/parcela e distribui o seletor de quantidade nos cards do carrossel */
@media (min-width: 768px) {
  .will-carousel-item .product-thumb .content {
    align-items: center;
    text-align: center;
  }
  .will-carousel-item .product-thumb .description,
  .will-carousel-item .product-thumb .price,
  .will-carousel-item .product-thumb .mt-auto,
  .will-carousel-item .product-thumb form {
    width: 100%;
  }
  .will-carousel-item .product-thumb .price {
    text-align: center;
  }
  .will-carousel-item .product-thumb .price-new,
  .will-carousel-item .will-parcela-card {
    text-align: center;
  }
  .will-carousel-item .product-thumb form .d-flex.gap-2 {
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  .will-carousel-item .will-qty {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
    max-width: none !important;
    align-items: stretch;
    overflow: hidden;
  }
  .will-carousel-item .will-qty .qty-minus,
  .will-carousel-item .will-qty .qty-plus,
  .will-carousel-item .will-qty .qty-input {
    width: 100% !important;
    min-width: 0 !important;
    height: 38px;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .will-carousel-item .btn-warning {
    width: 100%;
    justify-content: center;
  }
}
