/* ═══════════════════════════════════════════════════════════════════════════
   DarkPro — Package Page Override  (v3 — DEFINITIVO)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Reset legado ─────────────────────────────────────────────────────────── */
body { font-family: 'Inter', -apple-system, sans-serif !important; background: #0a0a0f !important; }

/* ── Banner hero ──────────────────────────────────────────────────────────── */
#search-banner {
  position: relative; padding: 60px 24px 48px; text-align: center;
  background: #0a0a0f !important; overflow: hidden;
}
#search-banner::before {
  content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(99,102,241,.2), transparent 65%);
  pointer-events: none;
}
.search-banner-text { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.search-banner-text > span {
  display: block; font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 900;
  color: #fff; line-height: 1.2; margin-bottom: 16px;
}
.search-banner-text .rotate {
  background: linear-gradient(135deg, #6366f1, #ec4899);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.search-banner-text p { color: #94a3b8; font-size: 1.05rem; margin-bottom: 28px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* pills de plataforma */
.btns-options { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 28px; }
.search-box { display: inline-block; }
.search-btn {
  display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; font-weight: 600;
  background: rgba(99,102,241,.1) !important; background-image: none !important;
  border: 1px solid rgba(99,102,241,.3) !important;
  color: #a5b4fc !important; padding: 9px 20px; border-radius: 50px; text-decoration: none; transition: all .25s;
}
.search-btn:hover,
.search-btn:focus,
.search-btn.active {
  background: rgba(99,102,241,.22) !important;
  background-image: none !important;
  border-color: #6366f1 !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(99,102,241,.25) !important;
}
.search-btn i { font-size: 1rem; }

/* Trust badges */
.items-2 { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 8px; }
.item-2 { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); padding: 8px 16px; border-radius: 50px; }
.item-2 p { font-size: .83rem; color: #94a3b8; margin: 0; }

/* ── Category section ─────────────────────────────────────────────────────── */
.category {
  padding: 48px 24px !important; max-width: 1200px; margin: 0 auto;
  background: transparent !important;
}
.category-heading {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-bottom: 16px; padding-bottom: 18px; border-bottom: 1px solid rgba(99,102,241,.18);
}
.category-heading h2 { font-size: 1.5rem; font-weight: 800; color: #fff; margin: 0; }
.category-heading p  { color: #94a3b8; font-size: .9rem; margin: 4px 0 0; }
.temp { display: flex; align-items: center; gap: 8px; }
.time-promo {
  font-size: 1rem; font-weight: 700; color: #ec4899;
  background: rgba(236,72,153,.1); border: 1px solid rgba(236,72,153,.25);
  padding: 4px 14px; border-radius: 50px;
}

/* ── Grid de cards ────────────────────────────────────────────────────────── */
.category-container {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
  padding-top: 20px !important;
  /* anula flex do original */
  flex-wrap: unset !important;
  justify-content: unset !important;
  align-items: unset !important;
  margin-top: 0 !important;
}

/* ── Card individual ──────────────────────────────────────────────────────── */
.category-box {
  position: relative !important;
  overflow: visible !important;
  background: #13131a !important;
  border: 1px solid rgba(99,102,241,.2) !important;
  border-radius: 16px !important;
  transition: transform .25s, border-color .25s, box-shadow .25s !important;
  cursor: pointer !important;
  margin-top: 18px !important;
  /* ANULA o width/height fixo do CSS original */
  height: auto !important;
  width: auto !important;
  min-height: 0 !important;
  display: block !important;
  flex-direction: unset !important;
  align-items: unset !important;
  justify-content: unset !important;
}
.category-box:hover {
  transform: translateY(-5px) !important;
  border-color: #6366f1 !important;
  box-shadow: 0 8px 32px rgba(99,102,241,.25) !important;
}
.category-box > button {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  padding: 20px 18px 18px !important;
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0 !important;
}
/* Quantidade grande */
.category-box h1 {
  display: block !important;
  font-size: 1.7rem !important;
  font-weight: 900 !important;
  color: #fff !important;
  margin: 0 0 4px 0 !important;
  padding: 0 !important;
  /* ANULA height fixo do original */
  height: auto !important;
  line-height: 1.2 !important;
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  letter-spacing: -.01em !important;
  word-spacing: 0 !important;
}
/* Nome do serviço */
.category-box p {
  display: block !important;
  font-size: .82rem !important;
  color: #94a3b8 !important;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
  text-align: left !important;
  font-weight: 400 !important;
}
/* Preço — sem background-clip para não cortar */
.category-box span {
  display: block !important;
  font-size: .92rem !important;
  font-weight: 700 !important;
  color: #a5b4fc !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #a5b4fc !important;
  background-clip: unset !important;
  margin: 0 !important;
  padding: 8px 0 0 0 !important;
  line-height: 1.2 !important;
  border-top: 1px solid rgba(99,102,241,.15) !important;
  width: 100% !important;
}

/* ── Badge de desconto/mais vendido ───────────────────────────────────────── */
/* O user.css usa ::before — precisamos sobrescrever com !important */
.category-box.card-toast::before,
.card-toast::before {
  content: attr(data-card-toast-text) !important;
  position: absolute !important;
  top: -13px !important;
  left: 14px !important;
  right: auto !important;
  transform: none !important;
  font-size: .68rem !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  padding: 4px 12px !important;
  border-radius: 50px !important;
  background: linear-gradient(135deg, #6366f1, #ec4899) !important;
  color: #fff !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 10px rgba(99,102,241,.4) !important;
  z-index: 10 !important;
  /* anula o gradiente instagram do user.css */
  --toast-background-color: unset !important;
}
.card-toast.toast-light-purple::before {
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
}

/* ── FAQ na página de pacotes ─────────────────────────────────────────────── */
.client-heading { text-align: center; width: 100%; margin-bottom: 8px; }
.client-heading h3 { font-size: 1.8rem; font-weight: 800; color: #fff; margin-bottom: 28px; }

.tabs { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.tab { background: #13131a; border: 1px solid rgba(99,102,241,.18); border-radius: 12px; overflow: hidden; }
.tab-label {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; cursor: pointer;
  font-size: .97rem; font-weight: 600; color: #fff; transition: color .25s;
}
.tab-label::after {
  content: '❯'; font-size: .8rem; color: #6366f1;
  transform: rotate(90deg); transition: transform .3s;
  flex-shrink: 0; margin-left: 12px;
}
.tab input[type="checkbox"] { display: none; }
.tab input[type="checkbox"]:checked ~ .tab-label::after { transform: rotate(-90deg); }
.tab input[type="checkbox"]:checked ~ .tab-label { color: #6366f1; }
.tab-content {
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .3s;
  padding: 0 22px; font-size: .92rem; color: #94a3b8; line-height: 1.75;
}
.tab input[type="checkbox"]:checked ~ .tab-content { max-height: 400px; padding: 0 22px 18px; }

/* ── Mobile ───────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .category-container { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 768px) {
  #search-banner { padding: 40px 16px 32px; }
  .search-banner-text > span { font-size: clamp(1.4rem, 7vw, 2rem); }
  .search-banner-text p { font-size: .88rem; }
  .category { padding: 32px 16px !important; }
  .category-heading h2 { font-size: 1.2rem; }
  .category-container { gap: 10px !important; padding-top: 18px !important; }
  .category-box { margin-top: 16px !important; }
  .category-box > button { padding: 20px 14px; }
  .category-box h1 { font-size: 1.4rem !important; }
  .tab-label { font-size: .9rem; padding: 14px 16px; }
}
@media (max-width: 580px) {
  .category-container { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 420px) {
  .category-container { grid-template-columns: 1fr !important; }
  .category-box h1 { font-size: 1.3rem !important; }
}

/* ── Toast notifications — tema escuro (package) ─────────────────────────── */
.jq-toast-wrap { z-index: 9999 !important; }
.jq-toast-wrap .jq-toast-single {
  background: #13131a !important; color: #fff !important;
  border: 1px solid rgba(99,102,241,.3) !important; border-radius: 12px !important;
  font-family: 'Inter', sans-serif !important; font-size: .9rem !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.5) !important; padding: 14px 18px !important;
}
.jq-toast-wrap .jq-toast-single .jq-toast-loader { background: #6366f1 !important; }
.jq-toast-wrap .close-jq-toast-single { color: #94a3b8 !important; }
.jq-toast-wrap .jq-toast-single.jq-has-icon.jq-icon-success { border-left: 4px solid #10b981 !important; }
.jq-toast-wrap .jq-toast-single.jq-has-icon.jq-icon-error   { border-left: 4px solid #ef4444 !important; }
.jq-toast-wrap .jq-toast-single.jq-has-icon.jq-icon-warning { border-left: 4px solid #f59e0b !important; }
.jq-toast-wrap .jq-toast-single.jq-has-icon.jq-icon-info    { border-left: 4px solid #6366f1 !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   CORREÇÕES v5
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Notificação social proof — tema escuro ────────────────────────────── */
.ios-notification_item {
  background: #1a1a26 !important;
  color: #fff !important;
  border: 1px solid rgba(99,102,241,.25) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.6) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
}
.ios-notification_item .text-name { color: #fff !important; }
.ios-notification_item .text-msg  { color: #94a3b8 !important; }
.ios-notification_item .text-more { color: #64748b !important; }
.ios-notification_item .socials   { color: #64748b !important; }
#notification-time                { color: #64748b !important; }

/* ── 2. Cards — preço não torto + layout correto ──────────────────────────── */
/* Já resolvido acima no bloco principal — sem duplicação */

/* ── 3. FAQ — fundo branco do tab-content ─────────────────────────────────── */
.tab-content {
  background: #13131a !important;
  color: #94a3b8 !important;
  padding: 0 22px !important;
}
.tab input[type="checkbox"]:checked ~ .tab-content {
  padding: 12px 22px 18px !important;
  background: #13131a !important;
}
/* Bootstrap .tab-content override */
.tabs .tab-content,
.tabs .tab-pane { background: #13131a !important; color: #94a3b8 !important; }

/* ── 4. Footer menor ──────────────────────────────────────────────────────── */
.dp-footer-top { padding: 36px 0 28px !important; }
.dp-footer-grid { gap: 32px !important; }
.dp-footer-brand p { margin-bottom: 12px !important; font-size: .85rem !important; }
.dp-footer-col ul { gap: 7px !important; }
.dp-footer-col h4 { margin-bottom: 12px !important; font-size: .88rem !important; }
.dp-footer-logo   { height: 38px !important; margin-bottom: 10px !important; }
.dp-footer-bottom { padding: 14px 0 !important; }
.dp-footer-bottom p { font-size: .8rem !important; }
.dp-footer-social a { width: 34px !important; height: 34px !important; }
.dp-footer-contact-list { gap: 10px !important; }
.dp-footer-contact-list li i, .dp-footer-contact-list span { font-size: .82rem !important; }

/* ── Botões de categoria — bloqueia gradiente laranja do original ─────────── */
a.search-btn,
a.search-btn:hover,
a.search-btn:focus,
a.search-btn:active,
.search-btn[style],
.btns-options a,
.btns-options .search-btn {
  background-color: rgba(99,102,241,.1) !important;
  background-image: none !important;
  border-color: rgba(99,102,241,.3) !important;
  color: #a5b4fc !important;
  -webkit-text-fill-color: #a5b4fc !important;
  box-shadow: none !important;
}
.btns-options a:hover,
.btns-options .search-btn:hover {
  background-color: rgba(99,102,241,.22) !important;
  border-color: #6366f1 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
