:root {
  --byco-orange: #ea580c;
  --byco-orange-dark: #c94b0a;
  --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-body-font-family: var(--font-sans);
}

/* Identidade visual */
.text-byco { color: var(--byco-orange) !important; }

.btn-primary {
  background-color: var(--byco-orange);
  border-color: var(--byco-orange);
}
.btn-primary:hover { background-color: var(--byco-orange-dark); border-color: var(--byco-orange-dark); }

.btn-outline-primary {
  color: var(--byco-orange);
  border-color: var(--byco-orange);
}
.btn-outline-primary:hover {
  background-color: var(--byco-orange);
  color: #fff;
}

/* Links */
a { color: var(--byco-orange); }
a:hover { color: var(--byco-orange-dark); }

/* Sidebar responsivo */
.sidebar {
  width: 260px;
  min-height: calc(100vh - 56px);
  transition: width .2s ease-in-out;
  background-color: #fff;
}
.sidebar.collapsed { width: 0; overflow: hidden; }
.sidebar .sidebar-link {
  display: block;
  padding: .55rem .75rem;
  border-radius: .25rem;
  color: #333;
  text-decoration: none;
}
.sidebar .sidebar-link:hover { background-color: #f7f7f7; }
@media (max-width: 992px) {
  /* Sidebar fixa e scroll independente */
  .sidebar {
      position: fixed;
      top: 56px;          /* altura aproximada da navbar; ajuste se necessário */
      left: 0;
      bottom: 0;
      width: 260px;
      overflow-y: auto;
      background: #fff;
      border-right: 1px solid #e9ecef;
      z-index: 1000;
  }
}

/* Área principal com margem quando sidebar está visível */
#main {  transition: margin-left .2s ease-in-out; }
/* Paleta e helpers */
:root {
    --byco-orange: #ff6a00;
    --byco-orange-2: #f25d1a;
    --byco-dark: #0f172a;
    --soft-bg: #f9fafb;
    --bs-font-sans-serif: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
}

body,
.font-sans {
    font-family: var(--bs-font-sans-serif);
}
.text-byco { color: var(--byco-orange); }
.badge-byco { background: var(--byco-orange); color: #fff; }

/* Hero */
.hero-home { background: linear-gradient(135deg, var(--byco-orange-2), var(--byco-orange)); }
.search-bar .form-control, .search-bar .form-select, .search-bar .input-group-text { border: none; }

/* KPIs */
.kpi-card { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); border-radius: .75rem; padding: 1rem; color: #fff; }
.kpi-value { font-size: 2rem; font-weight: 700; }
.kpi-label { opacity: .85; }

/* Destaque grande */
.featured-hero { border: 1px solid #eee; }
.featured-photo { width: 100%; height: 360px; object-fit: cover; }
.badge-pill { position: absolute; top: 12px; left: 12px; padding: .35rem .6rem; border-radius: 999px; font-weight: 600; font-size: .8rem; }
.badge-verified { background: #22c55e; color: #fff; }
.badge-sponsored { background: #f59e0b; color: #fff; left: auto; right: 12px; }

/* Chips */
.chip-category { display: inline-block; background: #f1f5f9; color: #0f172a; border-radius: 999px; padding: .25rem .6rem; font-weight: 600; }

/* Por que escolher */
.bg-soft { background: var(--soft-bg); }
.why-card { background: #fff; border: 1px solid #eee; border-radius: 1rem; padding: 1.25rem; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.why-icon { width: 48px; height: 48px; border-radius: .75rem; display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; color: #111827; }
.bg-amber { background: #fff7ed; }
.bg-blue { background: #eff6ff; }
.bg-green { background: #ecfdf5; }

/* Grid de profissionais */
.pro-card .pro-card-inner { background: #fff; border: 1px solid #eee; border-radius: 1rem; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.pro-photo { width: 100%; height: 180px; object-fit: cover; }
.pro-card:hover .pro-card-inner { transform: translateY(-2px); transition: .2s ease; }

/* CTA Prestador */
.cta-pro { background: linear-gradient(135deg, var(--byco-orange-2), var(--byco-orange)); }
.search-bar .form-control, .search-bar .form-select { border: none; }
.search-bar .input-group-text { border: none; }

/* Thumbs (já usados no marketplace) */
.card-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
}

/* Galeria (detalhe do anúncio) */
.gallery-main { width: 100%; height: 360px; object-fit: cover; border-radius: 8px; }
.gallery-thumb { width: 88px; height: 88px; object-fit: cover; border-radius: 6px; border: 1px solid #e9ecef; }
.card-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
}
.filter-chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.filter-chips .chip {
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: .25rem .6rem;
    font-size: .85rem;
    font-weight: 600;
}
.pagination .page-link { border-radius: .5rem; }

/* Hero do Prestador */
.hero-pro { background: linear-gradient(135deg, #ff7a00 0%, #ff3d00 100%); color: #fff; }
.hero-pro .pro-header { text-align: center; padding: 2.5rem 0 4.5rem; position: relative; }
.hero-pro .avatar-wrap { position: relative; display: inline-block; }
.hero-pro .pro-avatar { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.hero-pro .avatar-verified { position: absolute; right: -6px; bottom: -6px; width: 36px; height: 36px; border-radius: 50%; background: #16a34a; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px rgba(22,163,74,.35); }
.hero-pro .pro-title { font-weight: 800; }
.hero-pro .pro-location { color: rgba(255,255,255,.85); }
.hero-pro .rating-stars i { color: #ffd166; }

/* Preço em destaque */
.price-pill { display: inline-flex; align-items: center; gap: .75rem; background: #fff; color: #1f2937; border-radius: 16px; padding: .75rem 1rem; box-shadow: 0 10px 24px rgba(0,0,0,.12); font-weight: 700; }
.price-pill .currency { background: #fff7ed; color: #c2410c; border-radius: 12px; padding: .25rem .5rem; font-weight: 600; }
.price-pill .value { font-size: 1.5rem; }
.price-pill .unit { color: #6b7280; font-weight: 600; }

/* Dock de ações flutuante */
.actions-dock { position: relative; margin-top: -2rem; }
.actions-dock .dock-inner { background: #fff; border-radius: 20px; box-shadow: 0 12px 30px rgba(0,0,0,.15); padding: .75rem; display: flex; gap: .75rem; justify-content: center; }
.actions-dock .actions-btn { flex: 1; background: #fff7ed; border: 1px solid #fed7aa; color: #c2410c; border-radius: 16px; padding: .75rem 1rem; text-align: center; font-weight: 600; text-decoration: none; }
.actions-dock .actions-btn:hover { background: #ffedd5; }

/* Seções */
.section-title { font-weight: 700; }
.specialties .chip { display: inline-block; background: #f1f5f9; color: #0f172a; border-radius: 999px; padding: .35rem .75rem; font-weight: 600; margin-right: .5rem; margin-bottom: .5rem; }

/* Depoimentos */
.testimonial-card { background: #fff; border-radius: 16px; box-shadow: 0 6px 16px rgba(0,0,0,.08); padding: 1rem; }
.testimonial-card .avatar-initial { width: 48px; height: 48px; border-radius: 50%; background: #e5e7eb; color: #111827; display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* Informações */
.info-card { background: #fff; border-radius: 16px; box-shadow: 0 6px 16px rgba(0,0,0,.08); padding: 1rem; }
.info-row { display: flex; justify-content: space-between; align-items: center; padding: .75rem 0; border-top: 1px solid #f3f4f6; }

/* Container estreito para centralizar conteúdo em telas largas */
.container-narrow {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
.chat-wrap { min-height: 50vh; }
.chat-bubble { max-width: 68%; border-radius: 16px; padding: .5rem .75rem; box-shadow: 0 4px 10px rgba(0,0,0,.06); }
.chat-bubble.me { margin-left: auto; background: #ffedd5; border: 1px solid #fed7aa; color: #7c2d12; }
.chat-bubble.other { background: #fff; border: 1px solid #e5e7eb; color: #111827; }
.chat-meta { font-size: .8rem; color: #6b7280; margin-top: .25rem; }
.chat-input { position: sticky; bottom: 0; background: #fff; border-top: 1px solid #e5e7eb; padding: .75rem 0; }

/* Hero do Prestador: centraliza e controla largura */
.hero-pro .pro-header {
    max-width: 980px;
    margin: 0 auto;
    padding: 2.5rem 1rem 4.5rem; /* aumenta respiro lateral */
}

/* Dock de ações: centralizada e com largura controlada */
.actions-dock .dock-inner {
    max-width: 980px;
    margin: 0 auto;
    width: 100%;
}

/* Lista de conversas */
.chat-list .list-group-item {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-bottom: 8px;
}
.service-item .badge {
    border: 1px solid #ddd;
}
.chat-list .fw-semibold {
    font-size: 0.95rem;
}
.chat-list .small {
    color: #6c757d;
}

.social-counters .fs-5 { line-height: 1; }
.social-counters .small { color: rgba(255,255,255,.85); }
.horario{color:#fff!important;font-size: 16px;}
.user-menu .dropdown-toggle {
  background: #fff;
  border: 1px solid #e9ecef;
}
.user-menu .dropdown-toggle:hover {
  background: #f8fafc;
}
.user-menu .dropdown-menu {
  min-width: 240px;
  border-radius: .5rem;
}

/* Hover sutil (sem borda) */
a.menu-card:hover {
    background: rgba(249, 115, 22, 0.06); /* laranja bem leve */
    color: #111827; /* slate-900 */
}
/* Neutraliza qualquer destaque antigo de 'ativo' em outros itens */
a.menu-card[aria-expanded="true"],
a.menu-card.active {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: inherit !important;
}
/* Badge padrão */
a.menu-card .badge {
    background-color: red; /* gray-200 */
    color: #ffffff;            /* gray-700 */
    border: none;
}

/* Byco Ads: sempre marcado com borda fina */
a.menu-card.byco-ads {  
    border: 1px solid #f97316;
    color: #c2410c;            /* laranja escuro */
    background: #fff;
}
a.menu-card.byco-ads:hover {
    background: rgba(249, 115, 22, 0.06);
}
a.menu-card.byco-ads .badge {
    background: #f97316;
    color: #fff;
}
a.menu-card .title { font-weight: 600; }
a.menu-card .bi { color: inherit; font-size: 1.1rem; }
/* Respiro para submenus (se houver) */
.menu-card-submenu { margin-top: 6px; }
/* Notificações: ícones devem ser vermelhos */
.bi-bell,
.bi-chat-dots {
    color: #dc3545 !important;
}
/* Cards da Minha Agenda */
.service-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(0,0,0,.06);
}
.service-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
}
.service-meta .bi { color: #6b7280; }
.service-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,.08); transform: translateY(-1px); transition: .2s ease; }

/* Mapa (Página Maps) */
.map-wrap { height: 60vh; border: 1px solid #eee; border-radius: 12px; position: relative; }
.map-badge { display: inline-block; background:#fff; border:1px solid #eee; border-radius:999px; padding:.35rem .7rem; box-shadow:0 6px 14px rgba(0,0,0,.08); font-weight:600; }

/* Card de detalhe no mapa */
.map-detail-card {
    position: absolute;
    left: 16px;
    top: 140px;
    z-index: 500;
    max-width: 340px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0,0,0,.12);
    border: 1px solid #eee;
    overflow: hidden;
}
.map-detail-card .md-inner { position: relative; }
.map-detail-card .md-close { position: absolute; right: 10px; top: 10px; }
.map-detail-card .md-photo-wrap { position: relative; background: #f8f8f8; }
.map-detail-card .md-photo { width: 100%; height: 180px; object-fit: cover; }
.map-detail-card .chip-category {
    position: absolute; left: 10px; top: 10px;
    background: #0ea5e9; color: #fff; padding: 6px 10px;
    border-radius: 999px; font-size: 12px; text-transform: lowercase;
}
.map-detail-card .md-content { padding: 14px; }
.map-detail-card .md-title { margin: 0 0 6px; }
.map-detail-card .md-meta { color: #666; font-size: 13px; }
.map-detail-card .md-desc { color: #555; font-size: 14px; margin: 8px 0 12px; }
.map-detail-card .md-bottom { display: flex; align-items: center; justify-content: space-between; }
.map-detail-card .md-price { font-size: 13px; color: #666; }
a.menu-card .title { font-weight: 600; }
a.menu-card .bi { color: inherit; font-size: 1.1rem; }
/* Respiro para submenus (se houver) */
.menu-card-submenu { margin-top: 6px; }
/* Notificações: ícones devem ser vermelhos */
.bi-bell,
.bi-chat-dots {
    color: #dc3545 !important;
}
/* Fullscreen e overlay de filtros */
.map-wrap.fullscreen { height: calc(100vh - 72px); border-radius: 0; border: none; }
.map-overlay {
  position: absolute; left: 50%; top: 16px; transform: translateX(-50%);
  z-index: 600; background: #fff; border: 1px solid #eee; border-radius: 999px;
  padding: .5rem .75rem; display: flex; gap: .5rem; align-items: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}
.map-overlay .input-group { width: 420px; }
.map-overlay .form-select, .map-overlay .form-control, .map-overlay .input-group-text { border: none; box-shadow: none; }
.map-overlay .search-btn {
  width: 40px; height: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--byco-orange); color: #fff; border: none;
}
.map-badge { position: absolute; top: 80px; left: 50%; transform: translateX(-50%); z-index: 590; }

/* Marcadores com chip */
.leaflet-div-icon { background: transparent; border: none; }
.marker-chip {
  display: inline-block; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: .45rem .6rem; box-shadow: 0 10px 22px rgba(0,0,0,.12);
}
.marker-chip .title { font-weight: 700; font-size: .9rem; margin-bottom: .1rem; }
.marker-chip .cat { font-size: .75rem; color: #6b7280; text-transform: lowercase; }
.marker-chip .price { font-size: .85rem; font-weight: 700; color: var(--byco-orange); }
.marker-chip .dist { font-size: .75rem; color: #6b7280; }

/* Card de detalhe no mapa (já existia, ajustei posicionamento) */
.map-detail-card { position: absolute; left: 16px; top: 140px; z-index: 600; max-width: 340px; }
.map-detail-card .md-inner { position: relative; }
.map-detail-card .md-close { position: absolute; right: 10px; top: 10px; }
.map-detail-card .md-photo-wrap { position: relative; background: #f8f8f8; }
.map-detail-card .md-photo { width: 100%; height: 180px; object-fit: cover; }
.map-detail-card .chip-category {
    position: absolute; left: 10px; top: 10px;
    background: #0ea5e9; color: #fff; padding: 6px 10px;
    border-radius: 999px; font-size: 12px; text-transform: lowercase;
}
.map-detail-card .md-content { padding: 14px; }
.map-detail-card .md-title { margin: 0 0 6px; }
.map-detail-card .md-meta { color: #666; font-size: 13px; }
.map-detail-card .md-desc { color: #555; font-size: 14px; margin: 8px 0 12px; }
.map-detail-card .md-bottom { display: flex; align-items: center; justify-content: space-between; }
.map-detail-card .md-price { font-size: 13px; color: #666; }
a.menu-card .title { font-weight: 600; }
a.menu-card .bi { color: inherit; font-size: 1.1rem; }
/* Respiro para submenus (se houver) */
.menu-card-submenu { margin-top: 6px; }
/* Notificações: ícones devem ser vermelhos */
.bi-bell,
.bi-chat-dots {
    color: #dc3545 !important;
}

/* Central de Pagamentos e Finanças */
.payment-empty { border: 1px solid #eee; border-radius: 16px; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.payment-total { font-size: 1.8rem; font-weight: 800; color: var(--byco-orange); }
.checkout-summary { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: .75rem 1rem; box-shadow: 0 6px 16px rgba(0,0,0,.06); }
.pay-method-tabs .btn { border-radius: 999px; }
.stripe-element { background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 10px; min-height: 44px; padding: .5rem; }
.pix-area { display: flex; align-items: center; gap: 1rem; }
.pix-qr-placeholder { width: 84px; height: 84px; background: #f1f5f9; border: 1px solid #e5e7eb; border-radius: 8px; }

/* Finanças */
.wallet-card { background:#fff; border:1px solid #eee; border-radius:12px; padding:1rem; box-shadow:0 6px 16px rgba(0,0,0,.06); }
.saved-cards .card-item { display:flex; align-items:center; justify-content:space-between; padding:.5rem .75rem; border:1px solid #eee; border-radius:10px; margin-bottom:.5rem; }
.saved-cards .card-item .mask { font-weight:600; }
.saved-cards .card-item .brand { color:#6b7280; font-size:.85rem; }

.checkout-modal { border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.kpi-box { background:#fff; border:1px solid #eee; border-radius:12px; padding:1rem; box-shadow:0 6px 16px rgba(0,0,0,.06); }
.kpi-value { font-size:1.6rem; font-weight:800; color:#111827; }
.kpi-label { color:#6b7280; font-weight:600; }
.clamp-4-lines {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

/* Botão laranja reutilizável */
.btn-orange {
    background-color: #ff7a00;
    border-color: #ff7a00;
    color: #fff;
}
.btn-orange:hover,
.btn-orange:focus {
    background-color: #e56e00;
    border-color: #e56e00;
    color: #fff;
}

/* Clamp 4 linhas (já criado antes) */
.clamp-4-lines {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Setas nativas do carrossel mais visíveis */
.depo-carousel .carousel-control-prev,
.depo-carousel .carousel-control-next {
    opacity: 1; /* sempre visível */
}
