/* =========================================================================
   AB CLEANING — Design system estilo marketplace (inspirado nos grandes
   e-commerces: AliExpress, Shopee, Amazon). Cores vivas, cartões de produto,
   cabeçalho com pesquisa, barra de categorias e faixa de confiança.
   ========================================================================= */

:root {
  --ab-primary: #FF4747;      /* vermelho/laranja vivo — CTA principal */
  --ab-primary-dark: #E63333;
  --ab-primary-light: #FFF0EF;
  --ab-accent: #FF6A00;       /* laranja — preços e destaques */
  --ab-dark: #1D2129;
  --ab-gray: #767676;
  --ab-gray-light: #F5F6F8;
  --ab-border: #ECECEC;
  --ab-whatsapp: #25D366;
  --ab-whatsapp-dark: #1EBE5D;
  --ab-radius: 12px;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { color: var(--ab-dark); }
a { transition: color .15s ease; }

.container { max-width: 1240px; }

/* =========================== TOPBAR =========================== */
.ab-topbar {
  background: var(--ab-dark);
  color: #cfd3d8;
  font-size: 12.5px;
  padding: 7px 0;
}
.ab-topbar a { color: #cfd3d8; text-decoration: none; margin-left: 18px; cursor: pointer; }
.ab-topbar a:hover { color: #fff; }
.ab-topbar i { color: var(--ab-primary); margin-right: 4px; }
.ab-topbar-left span { margin-right: 20px; }
.ab-topbar-left span:last-child { margin-right: 0; }

/* =========================== HEADER =========================== */
.ab-header {
  background: #fff;
  padding: 16px 0;
  border-bottom: 1px solid var(--ab-border);
}
.ab-header .container { gap: 24px; }
.ab-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.ab-logo img { height: 42px; }
.ab-logo span {
  font-size: 22px;
  font-weight: 700;
  color: var(--ab-dark);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}
.ab-logo span b { color: var(--ab-primary); }
.ab-logo span small {
  font-size: 11px;
  font-weight: 500;
  color: var(--ab-gray);
  letter-spacing: .3px;
}

.ab-search {
  flex: 1;
  display: flex;
  min-width: 220px;
  border: 2px solid var(--ab-primary);
  border-radius: 30px;
  overflow: hidden;
}
.ab-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 11px 20px;
  font-size: 14.5px;
}
.ab-search button {
  background: var(--ab-primary);
  color: #fff;
  border: none;
  padding: 0 26px;
  cursor: pointer;
  font-size: 16px;
  transition: background .2s ease;
}
.ab-search button:hover { background: var(--ab-primary-dark); }

.ab-header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ab-header-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--ab-dark);
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  min-width: 68px;
}
.ab-header-action i { font-size: 19px; margin-bottom: 3px; color: var(--ab-primary); }
button.ab-header-action { border: none; background: none; font-family: inherit; cursor: pointer; }
.ab-header-action:hover { background: var(--ab-gray-light); text-decoration: none; color: var(--ab-dark); }
.ab-header-whatsapp {
  background: var(--ab-whatsapp);
  color: #fff !important;
}
.ab-header-whatsapp i { color: #fff; }
.ab-header-whatsapp:hover { background: var(--ab-whatsapp-dark); }

/* =========================== CATEGORY NAV =========================== */
.ab-catnav {
  background: var(--ab-primary);
  position: relative;
  z-index: 50;
}
.ab-catnav .container { justify-content: space-between; }
.ab-catnav-toggle {
  position: relative;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 20px;
  background: var(--ab-primary-dark);
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ab-catnav-dropdown {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  min-width: 240px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  z-index: 60;
}
.ab-catnav-toggle:hover .ab-catnav-dropdown,
.ab-catnav-toggle.open .ab-catnav-dropdown { display: block; }
.ab-catnav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  color: var(--ab-dark);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid var(--ab-border);
}
.ab-catnav-dropdown a i { color: var(--ab-primary); width: 16px; }
.ab-catnav-dropdown a:hover { background: var(--ab-primary-light); color: var(--ab-primary-dark); }

.ab-catnav-links { list-style: none; display: flex; margin: 0; padding: 0; flex: 1; flex-wrap: wrap; }
.ab-catnav-links li a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 13px 18px;
  opacity: .92;
}
.ab-catnav-links li a:hover, .ab-catnav-links li.active a { opacity: 1; background: rgba(0,0,0,0.12); }
.ab-catnav-tag { color: #fff; font-size: 12.5px; font-weight: 600; opacity: .95; white-space: nowrap; padding-left: 14px; }
.ab-catnav-tag i { margin-right: 5px; }

@media (max-width: 991px) {
  .ab-search { order: 3; flex-basis: 100%; margin-top: 12px; }
  .ab-catnav-tag, .ab-catnav-links { display: none; }
  .ab-catnav-toggle { width: 100%; justify-content: center; }
}

/* =========================== BOTÕES GERAIS =========================== */
.btn-ab-primary, a.btn-ab-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ab-primary); color: #fff !important;
  border: none; border-radius: 30px; padding: 12px 28px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.btn-ab-primary:hover { background: var(--ab-primary-dark); transform: translateY(-2px); }

.btn-whatsapp, a.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ab-whatsapp); color: #fff !important;
  border: none; border-radius: 30px; padding: 12px 26px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  transition: background .2s ease;
}
.btn-whatsapp:hover { background: var(--ab-whatsapp-dark); }

/* =========================== HERO / CAROUSEL =========================== */
.ab-hero { position: relative; background: var(--ab-dark); overflow: hidden; }
.ab-hero .owl-carousel .item {
  height: 420px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}
.ab-hero .owl-carousel .item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(29,33,41,0.82) 0%, rgba(29,33,41,0.45) 55%, rgba(29,33,41,0.1) 100%);
}
.ab-hero .hero-caption { position: relative; z-index: 2; color: #fff; max-width: 560px; }
.ab-hero .hero-caption .tag {
  display: inline-block; background: var(--ab-primary); color: #fff;
  font-size: 12.5px; font-weight: 700; padding: 5px 14px; border-radius: 20px; margin-bottom: 14px;
  text-transform: uppercase; letter-spacing: .5px;
}
.ab-hero .hero-caption h1 { font-size: 38px; font-weight: 800; margin-bottom: 14px; line-height: 1.2; }
.ab-hero .hero-caption p { font-size: 16px; color: #e5e5e5; margin-bottom: 26px; }
.ab-hero .owl-dots { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; z-index: 3; }
.ab-hero .owl-dots .owl-dot span { background: rgba(255,255,255,0.5); }
.ab-hero .owl-dots .owl-dot.active span { background: var(--ab-primary); }
@media (max-width: 767px) {
  .ab-hero .owl-carousel .item { height: 340px; }
  .ab-hero .hero-caption h1 { font-size: 27px; }
}

/* =========================== CATEGORIAS EM DESTAQUE =========================== */
.ab-cats-strip { padding: 34px 0 8px; background: #fff; }
.ab-cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
}
.ab-cat-card {
  text-align: center;
  text-decoration: none;
  color: var(--ab-dark);
  padding: 20px 10px;
  border-radius: var(--ab-radius);
  background: var(--ab-gray-light);
  transition: all .2s ease;
  border: 1px solid transparent;
}
.ab-cat-card:hover {
  background: var(--ab-primary-light);
  border-color: var(--ab-primary);
  color: var(--ab-primary-dark);
  transform: translateY(-4px);
}
.ab-cat-card i {
  font-size: 26px; color: var(--ab-primary); margin-bottom: 10px; display: block;
}
.ab-cat-card span { font-size: 13px; font-weight: 600; }

/* =========================== SECÇÕES / TÍTULOS =========================== */
.ab-section { padding: 46px 0; }
.ab-section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.ab-section-head h2 {
  font-size: 25px; font-weight: 800; color: var(--ab-dark); margin: 0;
  border-left: 5px solid var(--ab-primary); padding-left: 12px;
}
.ab-section-head p { color: var(--ab-gray); margin: 4px 0 0 17px; font-size: 14px; }
.ab-section-head a.ver-tudo {
  color: var(--ab-primary); font-weight: 700; text-decoration: none; font-size: 14px;
}
.ab-section-head a.ver-tudo:hover { color: var(--ab-primary-dark); }

/* =========================== BANNER PROMO (faixa vermelha) =========================== */
.ab-promo-banner {
  background: linear-gradient(120deg, var(--ab-primary) 0%, var(--ab-accent) 100%);
  color: #fff; border-radius: var(--ab-radius); padding: 40px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.ab-promo-banner h3 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.ab-promo-banner p { opacity: .95; margin: 0; max-width: 480px; }
.ab-promo-banner .btn-ab-primary { background: #fff; color: var(--ab-primary) !important; }
.ab-promo-banner .btn-ab-primary:hover { background: #f2f2f2; }

/* =========================== PRODUTOS: GRID E CARD =========================== */
.produtos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 18px;
}
.produto-card {
  background: #fff;
  border-radius: var(--ab-radius);
  overflow: hidden;
  border: 1px solid var(--ab-border);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.produto-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(29,33,41,0.12);
  border-color: transparent;
}
.produto-card .img-wrap {
  width: 100%; aspect-ratio: 1/1; background-size: cover; background-position: center;
  background-color: var(--ab-gray-light); position: relative; overflow: hidden;
}
.img-wrap img, .img-principal img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.produto-card .categoria-tag {
  position: absolute; top: 10px; left: 10px;
  background: rgba(29,33,41,0.75); color: #fff; font-size: 10.5px; font-weight: 600;
  padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: .4px;
}
.produto-card .desconto-tag {
  position: absolute; top: 10px; right: 10px;
  background: var(--ab-primary); color: #fff; font-size: 11.5px; font-weight: 800;
  padding: 3px 9px; border-radius: 6px;
}
.produto-card .info { padding: 13px 15px; display: flex; flex-direction: column; flex: 1; }
.produto-card .titulo {
  font-size: 14px; font-weight: 500; line-height: 1.35; height: 2.7em; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  margin-bottom: 8px; color: var(--ab-dark);
}
.produto-card .preco-linha { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; flex-wrap: wrap; }
.produto-card .preco { font-size: 20px; font-weight: 800; color: var(--ab-primary); }
.produto-card .preco-antigo { font-size: 12.5px; color: #aaa; text-decoration: line-through; }
.produto-card .fornecedor-linha { font-size: 11.5px; color: var(--ab-gray); margin-bottom: 10px; }
.produto-card .fornecedor-linha i { color: #2fbe5b; margin-right: 3px; }
.btn-whatsapp-produto {
  margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--ab-whatsapp); color: #fff !important; border: none; border-radius: 30px;
  padding: 9px 12px; font-weight: 700; font-size: 13px; text-decoration: none; transition: background .2s ease;
}
.btn-whatsapp-produto:hover { background: var(--ab-whatsapp-dark); }

.empty-state { text-align: center; padding: 90px 20px; color: var(--ab-gray); }
.empty-state i { font-size: 52px; color: #ddd; margin-bottom: 18px; display: block; }

/* =========================== LOJA: SIDEBAR + TOOLBAR =========================== */
.loja-hero {
  background: linear-gradient(120deg, var(--ab-dark) 0%, #33394a 100%);
  color: #fff; padding: 44px 0;
}
.loja-hero h1 { font-weight: 800; margin-bottom: 6px; }
.loja-hero p { color: #cfd3d8; max-width: 620px; margin: 0; }

.ab-shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 26px; align-items: start; }
@media (max-width: 860px) { .ab-shop-layout { grid-template-columns: 1fr; } }

.ab-shop-sidebar { background: #fff; border: 1px solid var(--ab-border); border-radius: var(--ab-radius); padding: 20px; }
.ab-shop-sidebar h4 { font-size: 15px; font-weight: 800; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.ab-shop-sidebar h4 i { color: var(--ab-primary); }
.ab-cat-filter { list-style: none; margin: 0 0 22px; padding: 0; }
.ab-cat-filter li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 10px; border-radius: 7px; color: var(--ab-dark); text-decoration: none; font-size: 14px;
}
.ab-cat-filter li a:hover { background: var(--ab-gray-light); }
.ab-cat-filter li.active a { background: var(--ab-primary-light); color: var(--ab-primary-dark); font-weight: 700; }
.ab-cat-filter li a span.count { color: var(--ab-gray); font-size: 12px; }

.ab-shop-toolbar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  background: #fff; border: 1px solid var(--ab-border); border-radius: var(--ab-radius);
  padding: 14px 18px; margin-bottom: 18px;
}
.ab-shop-toolbar .count { font-size: 14px; color: var(--ab-gray); }
.ab-shop-toolbar .count strong { color: var(--ab-dark); }
.ab-shop-toolbar select {
  border: 1px solid var(--ab-border); border-radius: 7px; padding: 8px 12px; font-size: 13.5px; color: var(--ab-dark);
}

/* =========================== PÁGINA DE PRODUTO =========================== */
.produto-single { padding: 40px 0 60px; }
.breadcrumb-loja { font-size: 13px; color: var(--ab-gray); margin-bottom: 22px; }
.breadcrumb-loja a { color: var(--ab-gray); text-decoration: none; }
.breadcrumb-loja a:hover { color: var(--ab-primary); }
.breadcrumb-loja .current { color: var(--ab-dark); font-weight: 600; }

.produto-single-card {
  background: #fff; border: 1px solid var(--ab-border); border-radius: var(--ab-radius);
  padding: 30px; display: grid; grid-template-columns: 400px 1fr; gap: 40px;
}
@media (max-width: 860px) { .produto-single-card { grid-template-columns: 1fr; padding: 20px; } }

.produto-single .img-principal {
  width: 100%; border-radius: 10px; background-size: cover; background-position: center;
  background-color: var(--ab-gray-light); aspect-ratio: 1/1; border: 1px solid var(--ab-border);
}
.produto-single .categoria-tag-single {
  display: inline-block; background: var(--ab-primary-light); color: var(--ab-primary-dark);
  font-size: 12px; font-weight: 700; padding: 5px 13px; border-radius: 20px; margin-bottom: 14px;
  text-transform: uppercase;
}
.produto-single h1 { font-size: 25px; font-weight: 800; margin-bottom: 10px; color: var(--ab-dark); line-height:1.3; }
.produto-single .preco-box {
  background: var(--ab-gray-light); border-radius: 10px; padding: 18px 20px; margin: 16px 0 22px;
}
.produto-single .preco-linha-single { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.produto-single .preco-single { font-size: 32px; font-weight: 800; color: var(--ab-primary); }
.produto-single .preco-antigo-single { font-size: 16px; color: #aaa; text-decoration: line-through; }
.produto-single .desconto-badge-single {
  background: var(--ab-primary); color: #fff; font-size: 12.5px; font-weight: 800; padding: 3px 10px; border-radius: 6px;
}
.produto-single .descricao { color: #444; line-height: 1.75; margin-bottom: 26px; white-space: pre-line; font-size: 14.5px; }
.produto-single .descricao h3, .produto-single .specs-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--ab-dark); }

.btn-whatsapp-grande {
  display: inline-flex; align-items: center; gap: 12px; background: var(--ab-whatsapp); color: #fff !important;
  border: none; border-radius: 50px; padding: 16px 32px; font-weight: 700; font-size: 16.5px; text-decoration: none;
  box-shadow: 0 10px 24px rgba(37,211,102,0.35); animation: pulse-wa 2s infinite;
}
.btn-whatsapp-grande:hover { background: var(--ab-whatsapp-dark); color: #fff; }
@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.produto-single .aviso-fornecedor { margin-top: 16px; font-size: 13px; color: var(--ab-gray); }
.produto-single .trust-row { display: flex; gap: 20px; margin-top: 24px; flex-wrap: wrap; }
.produto-single .trust-row div { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ab-gray); }
.produto-single .trust-row i { color: var(--ab-primary); font-size: 16px; }

.relacionados-titulo { margin: 46px 0 18px; font-weight: 800; font-size: 19px; color: var(--ab-dark); }

/* =========================== FAIXA DE CONFIANÇA =========================== */
.ab-trustbar {
  background: #fff; border-top: 1px solid var(--ab-border); border-bottom: 1px solid var(--ab-border);
  padding: 26px 0;
}
.ab-trustbar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.ab-trustbar-item { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 200px; }
.ab-trustbar-item i { font-size: 26px; color: var(--ab-primary); }
.ab-trustbar-item strong { display: block; font-size: 14px; color: var(--ab-dark); }
.ab-trustbar-item span { font-size: 12.5px; color: var(--ab-gray); }

/* =========================== FOOTER =========================== */
.ab-footer { background: var(--ab-dark); color: #b7bcc4; padding: 50px 0 0; }
.ab-footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 30px; padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 767px) { .ab-footer-grid { grid-template-columns: 1fr 1fr; } }
.ab-footer .footer-heading { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.ab-footer .footer-heading span { color: var(--ab-primary); }
.ab-footer p { font-size: 13.5px; line-height: 1.7; }
.ab-footer ul.list-unstyled { list-style: none; padding: 0; margin: 0; }
.ab-footer ul.list-unstyled li { margin-bottom: 10px; font-size: 13.5px; }
.ab-footer ul.list-unstyled a { color: #b7bcc4; text-decoration: none; }
.ab-footer ul.list-unstyled a:hover { color: var(--ab-primary); }
.ab-footer-contact li i { color: var(--ab-primary); width: 16px; margin-right: 4px; }
.ab-footer-social { display: flex; gap: 10px; margin-top: 16px; }
.ab-footer-social a {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none;
}
.ab-footer-social a:hover { background: var(--ab-primary); }
.ab-footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 18px 0; font-size: 12.5px; color: #7c828d;
}

/* =========================== BOTÃO FLUTUANTE =========================== */
#floating-contact-buttons {
  position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 15px; z-index: 9999;
  transition: opacity .15s ease;
}
body.ab-chat-open #floating-contact-buttons { opacity: 0; pointer-events: none; }
.floating-btn {
  display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%;
  color: #fff; font-size: 26px; box-shadow: 0 6px 18px rgba(0,0,0,0.3); animation: pulse-float 2s infinite;
  text-decoration: none;
}
.floating-btn.whatsapp-btn { background: var(--ab-whatsapp); }
.floating-btn.call-btn { background: var(--ab-primary); }
.floating-btn:hover { transform: scale(1.08); }
@keyframes pulse-float {
  0% { box-shadow: 0 0 0 0 rgba(0,0,0,0.2); }
  70% { box-shadow: 0 0 0 12px rgba(0,0,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}

/* =========================== REBRANDING DE ELEMENTOS DO TEMPLATE =========================== */
/* Recolore componentes existentes do template (bootstrap/ftco) para a paleta vermelha vibrante. */
.slider-text .subheading,
.heading-section .subheading,
.subheading { color: var(--ab-primary) !important; font-weight: 700 !important; }

.btn-primary, .btn.btn-primary {
  background: var(--ab-primary) !important; border-color: var(--ab-primary) !important;
}
.btn-primary:hover, .btn.btn-primary:hover {
  background: var(--ab-primary-dark) !important; border-color: var(--ab-primary-dark) !important;
}
.text-primary { color: var(--ab-primary) !important; }
.text-warning { color: var(--ab-accent) !important; }
.bg-secondary, .testimony-wrap .icon, .dbox .icon, .info-card .icon {
  background: linear-gradient(45deg, var(--ab-primary), var(--ab-accent)) !important;
}
.ftco-appointment .btn-primary, .appointment .btn-primary { background: var(--ab-primary) !important; }
.number, .block-18 .text strong.number { color: var(--ab-primary); }

.footer, footer.footer { background: var(--ab-dark) !important; }
.footer .footer-heading { color: #fff; }

.ftco-intro { position: relative; }
.ftco-intro .overlay { background: rgba(29,33,41,0.72) !important; }

.hero-wrap .overlay { background: rgba(29,33,41,0.55); }

.work .icon { background: var(--ab-primary) !important; }
.time-open-wrap { background: linear-gradient(120deg, var(--ab-dark), #33394a) !important; }
.time-open-wrap .desc h2 { color: #fff !important; }
.time-open-wrap .opening-hours h4 { color: var(--ab-primary) !important; }
.dbox .icon { background: linear-gradient(45deg, var(--ab-primary), var(--ab-accent)); }

::selection { background: var(--ab-primary); color: #fff; }

/* =========================== CHAT COM A EQUIPA =========================== */
.btn-chat, a.btn-chat, button.btn-chat {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ab-primary); color: #fff !important;
  border: none; border-radius: 30px; padding: 12px 26px;
  font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
  font-family: inherit;
}
.btn-chat:hover { background: var(--ab-primary-dark); }

.ab-chat-overlay {
  position: fixed; inset: 0; background: rgba(29,33,41,0.35); z-index: 9997;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.ab-chat-overlay.open { opacity: 1; pointer-events: auto; }

.ab-chat-panel {
  position: fixed; bottom: 20px; right: 20px; width: 350px; max-width: calc(100vw - 30px);
  height: 480px; max-height: calc(100vh - 40px);
  background: #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  display: flex; flex-direction: column; overflow: hidden;
  z-index: 9998; transform: translateY(30px) scale(.97); opacity: 0; pointer-events: none;
  transition: all .25s ease;
}
.ab-chat-panel.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }

.ab-chat-header {
  background: linear-gradient(120deg, var(--ab-primary), var(--ab-accent));
  color: #fff; padding: 16px 18px; display: flex; justify-content: space-between; align-items: flex-start;
}
.ab-chat-header strong { display: block; font-size: 15px; }
.ab-chat-header span { display: block; font-size: 11.5px; opacity: .9; margin-top: 2px; }
.ab-chat-header button {
  background: rgba(255,255,255,0.2); border: none; color: #fff; width: 28px; height: 28px;
  border-radius: 50%; cursor: pointer; flex-shrink: 0;
}
.ab-chat-header button:hover { background: rgba(255,255,255,0.35); }

.ab-chat-name-row { padding: 10px 14px; border-bottom: 1px solid var(--ab-border); }
.ab-chat-name-row input {
  width: 100%; border: 1px solid var(--ab-border); border-radius: 20px; padding: 7px 14px; font-size: 12.5px;
}

.ab-chat-messages {
  flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px;
  background: var(--ab-gray-light);
}
.ab-chat-msg { max-width: 82%; }
.ab-chat-msg span {
  display: inline-block; padding: 9px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.4;
}
.ab-chat-msg.admin { align-self: flex-start; }
.ab-chat-msg.admin span { background: #fff; border: 1px solid var(--ab-border); color: var(--ab-dark); border-bottom-left-radius: 3px; }
.ab-chat-msg.visitor { align-self: flex-end; }
.ab-chat-msg.visitor span { background: var(--ab-primary); color: #fff; border-bottom-right-radius: 3px; }

.ab-chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--ab-border); background: #fff; }
.ab-chat-form textarea {
  flex: 1; resize: none; border: 1px solid var(--ab-border); border-radius: 20px; padding: 9px 15px;
  font-size: 13.5px; font-family: inherit; height: 42px;
}
.ab-chat-form textarea:focus { outline: none; border-color: var(--ab-primary); }
.ab-chat-form button {
  width: 42px; height: 42px; border-radius: 50%; border: none; background: var(--ab-primary); color: #fff;
  cursor: pointer; flex-shrink: 0;
}
.ab-chat-form button:hover { background: var(--ab-primary-dark); }

@media (max-width: 480px) {
  .ab-chat-panel { right: 15px; left: 15px; width: auto; bottom: 15px; }
}

/* =========================== LINK DISCRETO DE ADMINISTRAÇÃO =========================== */
.ab-admin-tiny-link {
  color: #7c828d; opacity: .25; font-size: 10px; text-decoration: none; margin-left: 10px;
  transition: opacity .2s ease;
}
.ab-admin-tiny-link:hover { opacity: .7; color: #7c828d; }
