/* Quicksand global (importa e define var) */
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap");

:root{
  --font-sans: "Quicksand", system-ui, -apple-system, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* 1) vence o body do Bootstrap */
html, body{
  font-family: var(--font-sans) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 2) garante herança nos principais componentes do Bootstrap */
button, input, select, textarea,
.nav, .navbar, .dropdown-menu, .modal, .panel, .table,
.label, .badge, .pagination, .breadcrumb, .input-group-addon,
.form-control, .btn {
  font-family: inherit !important;
}

/* 3) NÃO toque nos ícones (só cinto de segurança pros Glyphicons) */
.glyphicon, .glyphicon:before { font-family: "Glyphicons Halflings" !important; }
/* Font Awesome e afins já funcionam por padrão – não force nada neles. */

/* 4) pesos e números (opcional) */
h1,h2,h3,h4,h5,h6,
.navbar-brand, .section-title, label.control-label{ font-weight:700; }
body, .btn, .form-control, .navbar-nav > li > a, .alert, .badge{ font-weight:500; }
.balance, .hl-badge, #charge, .badge, td, th{ font-variant-numeric: tabular-nums; }

/* === Header: força Quicksand (desktop + mobile) === */
.navbar,
.navbar .navbar-brand,
.navbar .navbar-nav > li > a,
.navbar-nav > .active > a,
.navbar-nav > .active > a:focus,
.navbar-nav > .active > a:hover,
.navbar .dropdown-menu > li > a,
.navbar-toggle,
.navbar-right-block,
.navbar-right-block .dropdown-menu > li > a,
.navbar-right-block .badge {
  font-family: var(--font-sans) !important; /* Quicksand */
}

/* opcional: se quiser, remova/commite a linha abaixo lá em cima */
 /* .navbar-nav > li > a { font-family: Inter, sans-serif; } */


/* ====== Base / Tokens ====== */
:root{
  --bg-blush-1: #fff7f8;
  --bg-blush-2: #ffeef2;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --primary-500: #ff4d6d;     /* rosa principal */
  --primary-600: #ff3359;
  --primary-700: #f51f4a;
  --accent-500: #ff8aa3;      /* rosa claro para hovers/realces */
  --success-500: #16a34a;
  --danger-500: #ef4444;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --shadow-sm: 0 4px 12px rgba(17, 24, 39, .06);
  --shadow-md: 0 12px 30px rgba(17, 24, 39, .08);
  --focus: 0 0 0 4px rgba(255, 77, 109, .18);
  --input-bg: #fbfbfc;
  --border: rgba(2, 6, 23, .08);
}

/* ====== Page Background ====== */
body{
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, var(--bg-blush-2), rgba(255,255,255,0)),
    radial-gradient(1000px 520px at 90% 0%, var(--bg-blush-1), rgba(255,255,255,0)),
    #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ====== Container / Grid (Bootstrap compat) ====== */
.container{
  max-width: 1080px;
}

/* ====== Card (well) ====== */
.well{
  background: var(--card);
  border: none !important;
  border-radius: var(--radius-2xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

/* sutil brilho decorativo no topo do card */
.well::before{
  content:"";
  position:absolute; inset: -40% -40% auto -40%;
  height: 120px;
  background: radial-gradient(500px 80px at 20% 100%, rgba(255,138,163,.25), rgba(255,255,255,0));
  pointer-events: none;
}

/* ====== Headings / Text ====== */
label.control-label{
  display:block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.pull-right-middle, .forgot-password{
  color: var(--primary-500);
}

.pull-right-middle a,
.forgot-password{
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease;
}
.pull-right-middle a:hover,
.forgot-password:hover{
  color: var(--primary-600);
  opacity: .9;
}

/* ====== Form Fields ====== */
.form-group{
  margin-bottom: 18px;
}

.form-control{
  height: 48px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 14px;
  color: var(--text);
  transition: box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}

.form-control:focus{
  background: #fff;
  border-color: var(--primary-500);
  box-shadow: var(--focus);
  outline: none;
}

.form-group__password{
  position: relative;
}

/* link "esqueci a senha" como chip */
.form-group__password .forgot-password{
  position: absolute;
  right: 10px;
  top: -4px;
  font-size: 12px;
  background: rgba(255,138,163,.12);
  color: var(--primary-600);
  padding: 6px 10px;
  border-radius: 999px;
}

/* Checkbox */
.checkbox label{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}
.checkbox input[type="checkbox"]{
  appearance: none;
  width: 18px; height: 18px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  display: inline-grid;
  place-items: center;
  background: #fff;
  transition: all .2s ease;
}
.checkbox input[type="checkbox"]:checked{
  border-color: var(--primary-500);
  background:
    radial-gradient(circle at center, #fff 45%, #fff0 46%),
    var(--primary-500);
  box-shadow: var(--focus);
}

/* Inline form wrapper para botão + Google */
.form-inline{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ====== Button ====== */
.btn{
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 700;
  border: none;
  transition: transform .06s ease, box-shadow .2s ease, opacity .2s ease;
}

.btn-primary{
  color: #fff !important;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  box-shadow: 0 10px 20px rgba(255, 77, 109, .25), inset 0 -2px 0 rgba(0,0,0,.06);
}
.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(255, 77, 109, .32), inset 0 -2px 0 rgba(0,0,0,.08);
}
.btn-primary:active{
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(255, 77, 109, .22) inset;
}

/* ====== Alerts ====== */
.alert{
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}

.alert-danger{
  background: #fff1f2;
  border-color: #fecdd3;
  color: #9f1239;
}
.alert-success{
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

/* Close button inside alerts */
.alert .close{
  opacity: .6;
  transition: opacity .2s ease;
}
.alert .close:hover{ opacity: 1; }

/* ====== Google Sign-In block (não quebra estilo do botão do Google) ====== */
#g_id_onload + .g_id_signin{
  margin-left: 2px;
}

/* ====== Layout tweaks ====== */
.text-md-right{
  text-align: right;
}
@media (max-width: 767px){
  .text-md-right{ text-align: left; margin-top: 12px; }
  .well{ padding: 26px 22px; border-radius: var(--radius-xl); }
  .form-control{ height: 46px; }
  .form-group__password .forgot-password{ position: static; margin-top: 8px; display: inline-block; }
}

/* ====== RTL support (respeita seu flag) ====== */
.rtl-form{
  direction: rtl;
  text-align: right;
}
.rtl-form .form-group__password .forgot-password{
  right: auto; left: 10px;
}
.rtl-alert{ direction: rtl; text-align: right; }

/* ====== Small helper for “pull-right-middle” text ====== */
.pull-right-middle{
  font-size: 14px;
  color: var(--muted);
}
.pull-right-middle a{
  font-weight: 700;
}

/* ====== Links padrão ====== */
a{
  color: var(--primary-500);
}
a:hover{ color: var(--primary-600); }

/* ====== Inputs de captcha (se houver) ====== */
.well .captcha, .well .g-recaptcha{
  margin-top: 8px;
  transform: scale(1);
  transform-origin: left;
}

/* ===== HOTFIX 1: Background sem duplicação ===== */
body{
  background: linear-gradient(180deg, #ffffff 0%, #fff7f8 38%, #ffffff 72%) no-repeat fixed;
  background-size: 100% 100%;
}

/* Opcional: se quiser manter o brilho do card, ok; se aparecer faixa,
   comente a linha abaixo */
/* .well::before{ display:none; } */

/* ===== HOTFIX 2: Forgot password menor e alinhado ===== */
.form-group__password { position: relative; }

/* espaço no input para o link */
.form-group__password .form-control{
  padding-right: 110px;  /* evita sobreposição do link */
}

/* link em tamanho normal, sem pill */
.form-group__password .forgot-password{
  position: absolute;
  right: 14px;
  top: 70%;
  transform: translateY(-50%);
  font-size: 12px;
  line-height: 1;
  padding: 0;               /* remove “chip” */
  background: transparent;  /* sem bolha */
  color: var(--primary-600);
  border-radius: 0;
}

/* foco/hover */
.form-group__password .forgot-password:hover{
  color: var(--primary-700);
  text-decoration: underline;
}

/* mobile: coloca o link abaixo do campo para não ficar apertado */
@media (max-width: 767px){
  .form-group__password .form-control{ padding-right: 14px; }
  .form-group__password .forgot-password{
    position: static;
    transform: none;
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    text-decoration: none;
  }
}


/* ===== New Order – Layout base ===== */
.page-new-order .well{
  border: none !important;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 12px 28px rgba(17,24,39,.08);
  background: #fff;
}

.page-new-order .section-title{
  font-weight: 800;
  font-size: 20px;
  margin: 6px 0 14px;
  color: #111827;
}

/* ===== Widgets (topo) ===== */
.no-widgets{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.no-card{
  background:#fff;
  border:1px solid rgba(2,6,23,.06);
  border-radius: 18px;
  padding:16px 18px;
  box-shadow: 0 8px 20px rgba(17,24,39,.06);
  display:flex; align-items:center; justify-content:space-between;
}

.no-card .title{
  font-weight: 700;
  color:#0f172a;
  margin:0 0 6px;
}
.no-card .subtitle{
  color:#6b7280; margin:0;
}
.no-card .balance{
  display:inline-flex; align-items:center; gap:8px;
  background:#ffe4ea; color:#b91c1c;
  padding:6px 10px; border-radius:999px; font-weight:700;
}
.no-card .btn{
  border-radius:12px; padding:10px 14px; font-weight:700; border:none;
}
.no-card .btn-primary{
  color:#fff; background:linear-gradient(135deg,#ff4d6d,#f51f4a);
  box-shadow:0 10px 20px rgba(255,77,109,.25), inset 0 -2px 0 rgba(0,0,0,.06);
}
.no-card .btn-primary:hover{ transform:translateY(-1px); }
.no-card .btn-ghost{
  background:rgba(255,77,109,.08);
  color:#ff4d6d;
}

/* ===== Form ===== */
#order-form .form-group{ margin-bottom:16px; }
#order-form .control-label{ font-weight:700; margin-bottom:6px; color:#111827; }

#order-form .form-control{
  height:48px; border-radius:14px; background:#fbfbfc;
  border:1px solid rgba(2,6,23,.08);
  padding:0 14px; color:#111827;
  transition:box-shadow .2s, border-color .2s, background .2s;
}
#order-form .form-control:focus{
  background:#fff; border-color:#ff4d6d; box-shadow:0 0 0 4px rgba(255,77,109,.15);
  outline:none;
}

/* Search input (quando habilitado) */
#new-order-search .input-wrapper .form-control{
  padding-left:38px;
}
#new-order-search .fas.fa-search{ color:#9ca3af; }

/* Selects (nativos ou com plugin) */
#orderform-category, #orderform-service{
  appearance:none;
  background-image: linear-gradient(45deg, transparent 50%, #9ca3af 50%),
                    linear-gradient(135deg, #9ca3af 50%, transparent 50%),
                    linear-gradient(to right, transparent, transparent);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%, 100% 0;
  background-size: 6px 6px, 6px 6px, 2em 2em;
  background-repeat: no-repeat;
}

/* Descrição do serviço */
.border-solid.border-rounded{
  border:1px solid rgba(2,6,23,.08);
  border-radius:14px;
  background:#fff;
  padding:14px;
  color:#374151;
}

/* Termos */
.terms{
  display:flex; align-items:flex-start; gap:10px; color:#374151;
}
.terms input[type="checkbox"]{
  appearance:none; width:18px; height:18px; border:1.5px solid rgba(2,6,23,.18);
  border-radius:6px; background:#fff; margin-top:3px;
}
.terms input[type="checkbox"]:checked{
  border-color:#ff4d6d; background:
    radial-gradient(circle at center, #fff 46%, transparent 47%), #ff4d6d;
  box-shadow:0 0 0 4px rgba(255,77,109,.15);
}
.terms a{ color:#ff4d6d; font-weight:700; }
.terms a:hover{ color:#f51f4a; }

/* Botão principal */
#order-form .btn.btn-primary{
  border-radius:14px; padding:12px 18px; font-weight:800; border:none;
  color:#fff; background:linear-gradient(135deg,#ff4d6d,#f51f4a);
  box-shadow:0 10px 20px rgba(255,77,109,.25), inset 0 -2px 0 rgba(0,0,0,.06);
}
#order-form .btn.btn-primary:hover{ transform:translateY(-1px); }

/* Alerts */
.alert{
  border-radius:16px; border:1px solid rgba(2,6,23,.08);
  box-shadow:0 6px 16px rgba(17,24,39,.06);
}
.alert-success{ background:#f0fdf4; border-color:#bbf7d0; color:#166534; }
.alert-danger{ background:#fff1f2; border-color:#fecdd3; color:#9f1239; }

/* Responsivo */
@media (max-width: 767px){
  .no-widgets{ grid-template-columns: 1fr; }
  .page-new-order .well{ padding:22px; }
  #orderform-category, #orderform-service{ background-position: calc(100% - 14px) 50%, calc(100% - 8px) 50%, 100% 0; }
}
/* Espaço entre header e conteúdo */
.navbar + .container,
.navbar + .container-fluid {
  margin-top: 32px; /* desktop */
}

@media (max-width: 991px) {
  .navbar + .container,
  .navbar + .container-fluid {
    margin-top: 24px; /* mobile/tablet */
  }
}

/* ===== New Order – visual moderno ===== */
.page-new-order .well{
  border: 0; border-radius: 24px;
  box-shadow: 0 20px 50px rgba(17,24,39,.08);
  background: #fff;
  padding: 24px;
}
#order-form .control-label{ font-weight: 800; color:#111827; margin-bottom: 6px; }
#order-form .form-control{
  height: 48px; border-radius: 14px;
  background: #fbfbfc; border:1px solid rgba(2,6,23,.08);
  padding: 0 14px; color:#111827;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
#order-form .form-control:focus{
  background:#fff; border-color:#ff4d6d; box-shadow:0 0 0 4px rgba(255,77,109,.15);
}

/* helper text (ex.: Min/Max) */
#order-form small, #order-form .help-block{ color:#6b7280 !important; }

/* botão principal */
#order-form .btn.btn-primary{
  border:0; border-radius: 14px; padding: 12px 18px; font-weight: 800;
  background: linear-gradient(135deg,#ff4d6d,#f51f4a); color:#fff;
  box-shadow: 0 10px 20px rgba(255,77,109,.25), inset 0 -2px 0 rgba(0,0,0,.06);
}
#order-form .btn.btn-primary:hover{ transform: translateY(-1px); }

/* ===== Mobile: transformar selects em bottom sheet ===== */
@media (max-width: 991px){
  /* deixa o select com cara de “toca para abrir” */
  #orderform-category, #orderform-service{
    cursor: pointer;
  }
}

/* ===== Bottom sheet dos selects (mobile) ===== */
.hl-bs{ position: fixed; inset: 0; z-index: 1050; display: none; }
.hl-bs.is-open{ display: block; }
.hl-bs__overlay{ position:absolute; inset:0; background:rgba(0,0,0,.35); opacity:0; transition: opacity .2s; }
.hl-bs.is-open .hl-bs__overlay{ opacity:1; }

.hl-bs__panel{
  position: absolute; left:0; right:0; bottom:0;
  transform: translateY(100%);
  background:#fff; border-radius: 20px 20px 0 0;
  box-shadow: 0 -12px 30px rgba(17,24,39,.14);
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
  max-height: 92vh; display:flex; flex-direction:column;
}
.hl-bs.is-open .hl-bs__panel{ transform: translateY(0%); }

.hl-bs__grab{ height:22px; background:linear-gradient(#fff 0 60%,transparent 60%); }
.hl-bs__grab::after{ content:""; display:block; width:40px; height:4px; margin:0 auto; border-radius:999px; background:#e5e7eb; }

.hl-bs__header{ display:flex; align-items:center; justify-content:space-between; padding: 4px 16px 8px; border-bottom:1px solid rgba(0,0,0,.06); }
.hl-bs__title{ margin:0; font-size:16px; font-weight:800; color:#111827; }
.hl-bs__close{ border:none; background:#f3f4f6; border-radius:10px; padding:8px 10px; font-size:16px; cursor:pointer; }

.hl-bs__search{ padding: 10px 16px 0; }
.hl-bs__search input{
  width:100%; height:44px; border-radius:12px; border:1px solid rgba(2,6,23,.08);
  background:#fbfbfc; padding:0 12px;
}

.hl-bs__list{ padding: 8px 8px 16px; overflow-y: auto; -webkit-overflow-scrolling:touch; }
.hl-bs__item{
  width:100%; display:flex; align-items:center; justify-content:space-between;
  gap:10px; padding:12px; border-radius:12px; border:1px solid rgba(2,6,23,.08);
  background:#fff; cursor:pointer; transition: background .15s, border-color .15s, transform .06s;
}
.hl-bs__item + .hl-bs__item{ margin-top:10px; }
.hl-bs__item:hover{ background:#fff7f9; border-color:#ff4d6d; }
.hl-bs__item.is-active{ background:#ff4d6d; color:#fff; border-color:#ff4d6d; }

.hl-bs__label{ font-weight:600; color:inherit; text-align:left; }
.hl-badge{
  display:inline-flex; align-items:center; padding:6px 10px; border-radius:999px;
  background:#ffe4ea; color:#b91c1c; font-weight:700; white-space:nowrap;
}
.hl-bs__item.is-active .hl-badge{ background: rgba(255,255,255,.18); color:#fff; }

/* ===== alinhamento do conteúdo dos selects ===== */

/* nativo */
#orderform-category,
#orderform-service{
  height: 48px;
  line-height: 48px;                 /* centra o texto */
  padding: 0 38px 0 14px;            /* espaço pra setinha */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #9ca3af 50%),
    linear-gradient(135deg, #9ca3af 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

/* iOS ajusta melhor com padding vertical */
@supports (-webkit-touch-callout: none) {
  #orderform-category,
  #orderform-service{
    line-height: normal;
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

/* select2 (se ativo) */
.select2-container .select2-selection--single{
  height: 48px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(2,6,23,.08) !important;
  display: flex !important;
  align-items: center !important;    /* centra vertical */
}
.select2-container .select2-selection__rendered{
  line-height: 48px !important;
  padding-left: 12px !important;
}
.select2-container .select2-selection__arrow{
  height: 48px !important;
  right: 8px !important;
}

/* proxy clicável (mobile) */
.hl-select-host{ position: relative; }
.hl-select-proxy{
  position: absolute; inset: 0;
  background: transparent; border: 0; padding: 0;
  cursor: pointer;
}
@media (min-width: 992px){
  .hl-select-proxy{ display: none; } /* só precisamos do proxy no mobile */
}

.hl-select-host{ position: relative; }
.hl-select-proxy{ position: absolute; inset: 0; z-index: 5; background: transparent; border: 0; }
.select2-container{ position: relative; z-index: 1; }

/* ===== Bottom Navigation – HiperLike ===== */
:root{
  --bnav-primary: #ff4d6d;            /* rosa da marca */
  --bnav-primary-d: #f51f4a;
  --bnav-bg: #ffffff;
  --bnav-pill-bg: rgba(255,77,109,.12);
  --bnav-icon: #6b7280;               /* cinza ícones */
  --bnav-icon-active: #ff4d6d;
  --bnav-text: #111827;
  --bnav-safe: env(safe-area-inset-bottom, 0px);
  --bnav-h: 76px;                     /* altura aproximada */
}

/* visível só em mobile */
@media (min-width: 992px){
  .hl-bnav{ display: none; }
}

.hl-bnav{
  position: fixed; left: 0; right: 0; bottom: 0;
  padding: 8px 12px calc(8px + var(--bnav-safe));
  background: transparent;
  z-index: 1035;
  pointer-events: none;               /* evita bloquear toques fora */
}

.hl-bnav__list{
  list-style: none; margin: 0 auto; padding: 8px;
  max-width: 720px;                   /* acompanha o conteúdo */
  background: var(--bnav-bg);
  border: 1px solid rgba(2,6,23,.06);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(17,24,39,.10);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 6px;
  pointer-events: auto;               /* reabilita clique dentro */
}

/* botão/aba */
.hl-bnav__btn{
  --pill-pad-x: 12px;
  --pill-pad-y: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: var(--bnav-icon);
  padding: var(--pill-pad-y) var(--pill-pad-x);
  border-radius: 999px;
  transition: background .2s, color .2s, transform .06s;
  white-space: nowrap;
}
.hl-bnav__btn svg{
  width: 22px; height: 22px; flex: 0 0 22px;
}
.hl-bnav__btn span{
  display: none;                      /* só mostra no ativo */
  font-weight: 700;
  color: var(--bnav-primary);
}

/* hover */
.hl-bnav__btn:hover{ background: rgba(2,6,23,.04); }

/* ativo (pill com rótulo) */
.hl-bnav__btn.is-active,
.hl-bnav__btn[aria-current="page"]{
  background: var(--bnav-pill-bg);
  box-shadow: 0 6px 16px rgba(255,77,109,.18) inset;
  color: var(--bnav-icon-active);
}
.hl-bnav__btn.is-active span,
.hl-bnav__btn[aria-current="page"] span{
  display: inline;
  color: var(--bnav-primary);
}
.hl-bnav__btn.is-active:hover{ transform: translateY(-1px); }

/* reserva espaço no body quando o bottom nav existe */
body.has-bottom-nav{
  padding-bottom: calc(var(--bnav-h) + var(--bnav-safe));
}

/* suporte a temas/Quicksand */
.hl-bnav, .hl-bnav *{ font-family: var(--font-sans, "Quicksand", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif); }

/* Mobile: esconder o segundo card (Atalhos rápidos) */
@media (max-width: 991px){ /* mesmo breakpoint que usamos no site */
  .no-widgets .no-card:nth-of-type(2){
    display: none !important;
  }
}
/* === Select clean HiperLike (categoria/serviço) === */
#orderform-category,
#orderform-service{
  height: 48px;
  padding: 0 42px 0 14px;                 /* espaço pra seta */
  border-radius: 14px;
  border: 1px solid rgba(2,6,23,.10);
  background-color: #ffffff;
  /* seta svg (cinza 600) */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: calc(100% - 14px) 50%;
  background-size: 16px 16px;

  color:#111827;
  line-height: 48px;                      /* centraliza no desktop */
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  box-shadow: none;                       /* remove a “borda” escura do topo */
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
#orderform-category:hover,
#orderform-service:hover{
  border-color: rgba(2,6,23,.18);
}
#orderform-category:focus,
#orderform-service:focus{
  outline: none;
  border-color: #ff4d6d;
  box-shadow: 0 0 0 4px rgba(255,77,109,.15);
  background-color: #fff;
}

/* iOS/Safari ajusta melhor com padding vertical (sem “bordinha” do sistema) */
@supports (-webkit-touch-callout: none){
  #orderform-category,
  #orderform-service{
    line-height: normal;
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

/* Estado desabilitado */
#orderform-category:disabled,
#orderform-service:disabled{
  cursor: not-allowed;
  color:#9ca3af;
  background-color:#f3f4f6;
  border-color: rgba(2,6,23,.08);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%20%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
}

/* Se você usa select2, mantenha o mesmo visual */
.select2-container .select2-selection--single{
  height: 48px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(2,6,23,.10) !important;
  background:#fff !important;
  display:flex !important; align-items:center !important;
  box-shadow:none !important;
}
.select2-container .select2-selection__rendered{
  line-height: 48px !important;
  padding-left: 0px !important;
}
.select2-container .select2-selection__arrow{
  height: 48px !important; right: 8px !important;
}
.select2-container--default .select2-selection--single:focus{
  border-color:#ff4d6d !important;
  box-shadow: 0 0 0 4px rgba(255,77,109,.15) !important;
}
/* ===== Inputs modernos HiperLike ===== */
#order-form .form-control[type="text"],
#order-form .form-control[type="url"],
#order-form .form-control[type="number"],
#order-form input.form-control,
#charge{
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(2,6,23,.10);
  background: #fbfbfc;
  padding: 0 14px;
  color:#111827;
  transition: border-color .2s, box-shadow .2s, background .2s;
  box-shadow: none;
}
#order-form .form-control:focus,
#charge:focus{
  outline: none;
  background: #fff;
  border-color: #ff4d6d;
  box-shadow: 0 0 0 4px rgba(255,77,109,.15);
}

/* helper text (ex.: Min/Max) */
#order-form .help-block,
#order-form small{
  color:#6b7280 !important;
  margin-top: 6px;
}

/* Charge clean – sem badge, destaque só no input */
#order-form .hl-charge{
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(2,6,23,.10);
  background: #fff;
  padding: 0 14px;
  color:#111827;
  text-align: right;          /* preço alinhado à direita */
  font-weight: 700;           /* dá destaque ao valor */
  letter-spacing: .2px;
  box-shadow: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
#order-form .hl-charge:focus{
  outline: none;
  border-color: #ff4d6d;
  box-shadow: 0 0 0 4px rgba(255,77,109,.15);
}
@media (max-width: 991px){
  #order-form .hl-charge{ height: 52px; font-size: 16px; }
}

/* ===== Orders – refinamentos ===== */

/* Cabeçalho (abas + busca) */
.orders-page .orders-head{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; flex-wrap:wrap; margin-bottom:10px;
}
.orders-page .orders-tabs{
  display:flex; gap:8px; overflow:auto; -webkit-overflow-scrolling:touch;
  padding:0 2px 6px; margin:0;
  scroll-snap-type:x proximity;
}
.orders-page .orders-tabs > li{ scroll-snap-align:start; }
.orders-page .orders-tabs > li > a{
  border-radius:12px; background:#fff; border:1px solid rgba(2,6,23,.06);
  padding:8px 12px; color:#374151; font-weight:700;
  transition:background .2s, box-shadow .2s, color .2s, border-color .2s;
}
.orders-page .orders-tabs > li > a:hover{
  border-color: rgba(2,6,23,.12);
}
.orders-page .orders-tabs > li.active > a{
  background:#ff4d6d; color:#fff;
  box-shadow:0 8px 18px rgba(255,77,109,.22), inset 0 -1px 0 rgba(0,0,0,.06);
  border-color: transparent;
}

.orders-page .orders-search{ margin-left:auto; min-width:260px; }
.orders-page .orders-search .form-control{
  border-radius:12px 0 0 12px; height:38px;
}
.orders-page .orders-search .btn{
  height:38px; border-radius:0 12px 12px 0; padding:0 12px;
}

/* ===== Desktop: tabela mais clean ===== */
.orders-table.well{
  padding:0; overflow:hidden; border-radius:20px;
}
.orders-table .table{margin:0;/* border-collapse:separate; */border-spacing:0;}
.orders-table thead th{
  position:sticky; top:0; z-index:1;
  background:#fff;
  backdrop-filter: saturate(180%) blur(6px);
  box-shadow: 0 1px 0 rgba(2,6,23,.06);
  font-weight:800; color:#0f172a;
}
.orders-table thead th, .orders-table tbody td{ padding:14px 16px; }
.orders-table tbody tr + tr td{ border-top:1px solid rgba(2,6,23,.06); }
.orders-table tbody tr:hover{ background:#fff7f9; }

/* Link: não estoura a coluna */
.orders-table td.width-40{
  max-width:520px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
@media (max-width: 1200px){
  .orders-table td.width-40{ max-width:340px; }
  .orders-table thead th, .orders-table tbody td{ padding:12px; font-size:13px; }
}

/* Badges de status (cores suaves) */
.o-badge{
  display:inline-flex; align-items:center; padding:6px 10px; border-radius:999px;
  font-weight:800; font-size:12px; line-height:1;
}
.o-badge--completed{ background:#dcfce7; color:#166534; }
.o-badge--pending{ background:#ffedd5; color:#9a3412; }
.o-badge--inprogress,
.o-badge--processing{ background:#dbeafe; color:#1d4ed8; }
.o-badge--partial{ background:#ede9fe; color:#6d28d9; }
.o-badge--canceled{ background:#fee2e2; color:#991b1b; }
.o-badge--default{ background:#f3f4f6; color:#374151; }

/* Botões de ação da tabela mais “pill” */
.order-actions .btn{
  border-radius:10px; padding:6px 10px;
}

/* ===== Mobile: cards com contraste e grid alinhada ===== */
.orders-cards{ display:none; gap:12px; }
.o-card{
  background:#fff; border:1px solid rgba(2,6,23,.06);
  border-radius:16px; box-shadow:0 10px 20px rgba(17,24,39,.06);
  padding:14px;
}
.o-card__head{
  display:grid; grid-template-columns:auto 1fr auto; gap:8px; align-items:center;
  margin-bottom:8px;
}
.o-id{ font-weight:800; color:#111827; }
.o-date{ color:#6b7280; font-size:12px; }
.o-row{
  display:flex; justify-content:space-between; align-items:baseline; gap:12px;
  padding:8px 0; border-top:1px dashed rgba(2,6,23,.08);
}
.o-row:first-of-type{ border-top:0; }
.o-label{ color:#6b7280; }
.o-val{ font-weight:700; color:#111827; text-align:right; font-variant-numeric: tabular-nums; }
.o-clip{ max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.o-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:8px; }
.o-actions{ margin-top:10px; display:flex; gap:8px; }

@media (max-width: 991px){
  .orders-table{ display:none; }
  .orders-cards{ display:grid; }
  .orders-page .orders-head{ flex-direction:column; align-items:stretch; gap:10px; }
  .orders-page .orders-search{ width:100%; min-width:0; }
}

/* separador sutil abaixo do cabeçalho das abas (desktop) */
@media (min-width: 992px){
  .orders-page .orders-head{ padding-bottom:6px; border-bottom:1px solid rgba(2,6,23,.04); }
}
/* ===== Orders – correção de alinhamento e overflow ===== */

/* 1) Garante “gutter” e elimina a margem negativa do .row nesta página */
.orders-page.container-fluid{
  padding-left:16px;
  padding-right:16px;
}
.orders-page .row{
  margin-left:0;
  margin-right:0;
}

/* 2) Evita scroll lateral em mobile */
@media (max-width: 991px){
  html, body, .orders-page{ overflow-x:hidden; }
  .orders-cards{ overflow-x:hidden; }
}

/* 3) Abas: apenas a barra rola; pills não “esticam” */
.orders-page .orders-tabs{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.orders-page .orders-tabs > li{ flex:0 0 auto; }

/* 4) Busca: reimplementa o input-group como flex para não somar largura */
.orders-page .orders-search{ width:100%; min-width:0; }
.orders-page .orders-search .input-group{
  display:flex; align-items:stretch; width:100%;
}
.orders-page .orders-search .input-group .form-control{
  flex:1 1 auto;
  width:auto;           /* em vez de width:calc(…) */
  border-radius:12px 0 0 12px;
  height: 38px;
}
.orders-page .orders-search .input-group .input-group-btn{
  display:flex;
  flex:0 0 auto;
}
.orders-page .orders-search .btn{
  height:38px; border-radius:0 12px 12px 0; padding:0 12px;
}

/* 5) Cards: nunca ultrapassam a largura do container */
.o-card{ max-width:100%; overflow-wrap:anywhere; }
.o-card__head > *{ min-width:0; }      /* evita “puxão” de grid */
.o-grid{ min-width:0; }                 /* idem */

/* ===== Orders – busca com ícone e visual polido ===== */
.orders-page .orders-search{ width:100%; min-width:0; }
.orders-page .orders-search .input-group{
  display:flex;
  align-items:stretch;
  width: 10%;
}
.orders-page .orders-search .form-control{
  height:40px;
  border-radius:12px 0 0 12px;
  padding-left:42px;                     /* espaço para o ícone */
  background-color:#fff;
  background-image:url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
  <circle cx='11' cy='11' r='8'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>");
  background-repeat:no-repeat;
  background-position:12px 50%;
  background-size:18px 18px;
  border:1px solid rgba(2,6,23,.08);
}
.orders-page .orders-search .btn{
  /* height:40px; */
  border-radius:0 12px 12px 0;
  padding: 0 16px;
  /* border: 2px solid rgba(2,6,23,.08); */
  /* border-left:0; */
  background: #ff4d6d;
  color:  #fff;
}
.orders-page .orders-search .btn:hover{ background:#fff7f9; }

/* mobile: ocupa a largura toda e evita overflow */
@media (max-width: 991px){
  .orders-page .orders-search{ width:100%; }
  .orders-page .orders-search .form-control{ width:auto; flex:1 1 auto; }
  .orders-page .orders-search .input-group{width: 10%;}
}

/* ===== Cards “1 item por linha” com divisória pontilhada ===== */
.o-card.o-card--list{ padding:14px 14px 10px; }
.o-card__head{
  display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:8px;
  margin-bottom:6px;
}
.o-card .o-row{
  display:flex; justify-content:space-between; align-items:baseline; gap:12px;
  padding:10px 0;
  border-top:1px dashed rgba(2,6,23,.12);
}
.o-card .o-row:first-of-type{ border-top:1px dashed rgba(2,6,23,.12); } /* mantém todas com linha */
.o-card .o-label{ color:#6b7280; }
.o-card .o-val{ font-weight:800; color:#0f172a; text-align:right; font-variant-numeric:tabular-nums; }
.o-card .o-clip{ max-width:64%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } /* link não estoura */

@media (max-width: 420px){
  .o-card .o-clip{ max-width:58%; }
}
/* Busca compacta no header dos pedidos */
.orders-search { float: right; }
.orders-search__form { margin: 0; }

/* largura controlada: nunca maior que o conteúdo */
.orders-search .input-group{
  width: clamp(220px, 32vw, 420px);   /* desktop: até ~420px */
  max-width: 100%;
}

/* ícone alinhado, sem “estourar” */
.orders-search__icon{
  background: #fff;
  border-right: 0;
}
.orders-search .form-control{
  border-left: 0;
  height: 34px;              /* combina com input-group-sm */
}

/* botão opcional bem discreto */
.orders-search__btn{
  height: 34px;
  padding: 6px 10px;
}

/* Mobile: ocupa a largura do conteúdo e desce abaixo das abas */
@media (max-width: 767px){
  .orders-search{
    float: none;
    width: 100%;
    margin-top: 10px;
  }
  .orders-search .input-group{
    width: 100%;
    max-width: none;
  }
}
/* === Header: espaço entre logo e menu (apenas desktop) === */
@media (min-width: 992px){
  /* ul da esquerda encosta na brand no BS3; dá um gap elegante */
  .navbar-nav.navbar-left-block{
    margin-left: 24px;                         /* fallback */
    margin-left: clamp(16px, 2.5vw, 40px);     /* responsivo */
  }

  /* opcional: um pequeno respiro extra depois da marca */
  .navbar-brand{
    margin-right: 8px;
  }
}

/* Mobile/tablet: mantém colado para não quebrar o colapse */
@media (max-width: 991px){
  .navbar-nav.navbar-left-block{ margin-left: 0; }
}
/* Header usa Quicksand (sem afetar ícones) */
.navbar-brand,
.navbar-nav > li > a,
.dropdown-menu > li > a,
.navbar-toggle,
.navbar-right-block .badge,
.auth-header,
.auth-header__brand span{
  font-family: var(--font-sans) !important;
}

/* Espaço entre a logo e os itens do menu (somente desktop) */
@media (min-width: 992px){
  .navbar-nav.navbar-left-block{
    margin-left: clamp(24px, 4vw, 72px);
  }
}

/* ===== Login como página (sem card/well) ===== */
.page-auth .container{
  max-width: 520px;            /* mais enxuto e moderno */
}

.page-auth{
  padding: 32px 0 72px;        /* respiro vertical */
}

.page-auth__head{
  margin: 8px 0 20px;
}
.page-title{
  font-weight: 800;
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 6px;
  color: var(--text);
  font-family: var(--font-sans);
}
.page-subtitle{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.page-auth .well{               /* se algum legado sobrar, neutraliza */
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* Ações do formulário */
.auth-actions{
  margin-top: 14px;
}
.auth-actions__primary .btn{
  width: 100%;
}

.auth-or{
  display: flex; align-items: center; gap: 12px;
  margin: 14px 0;
  color: var(--muted);
  font-size: 12px;
}
.auth-or::before,
.auth-or::after{
  content:""; flex:1; height: 1px; background: rgba(2,6,23,.10);
}

.auth-actions__providers > .g_id_signin{
  margin-top: 2px;
}

/* Rodapé (link de cadastro) alinhado ao centro no mobile */
.auth-footer{
  margin-top: 14px;
}
@media (max-width: 767px){
  .auth-footer{
    text-align: center;
  }
}

/* Compatível com seu hotfix de "esqueci a senha" */
.form-group__password .form-control{
  padding-right: 110px;
}
.form-group__password .forgot-password{
  position: absolute;
  right: 14px;
  top: 70%;
  transform: translateY(-50%);
  font-size: 12px;
  line-height: 1;
  padding: 0;
  background: transparent;
  color: var(--primary-600);
}
.form-group__password .forgot-password:hover{
  color: var(--primary-700);
  text-decoration: underline;
}
@media (max-width: 767px){
  .form-group__password .form-control{ padding-right: 14px; }
  .form-group__password .forgot-password{
    position: static; transform: none; display: inline-block; margin-top: 8px;
  }
}
/* ===== Login: título/subtítulo centralizados ===== */
.page-auth__head{ text-align:center; }
.page-title{ font-size:28px; font-weight:800; margin-bottom:6px; }
.page-subtitle{ font-size:14px; color:var(--muted); }

/* ===== Inputs sem a “borda superior”/sombra de WebKit ===== */
.page-auth .form-control{
  -webkit-appearance: none;
  appearance: none;
  background-color:#fff;             /* ou #fbfbfc se preferir */
  border:1px solid rgba(2,6,23,.10); /* mesma cor em todos os lados */
  border-radius:14px;
  box-shadow:none !important;        /* remove inner-shadow do iOS/Safari */
  background-clip:padding-box;       /* evita “vazamento” na borda arredondada */
}

/* Foco limpo, só com o anel externo */
.page-auth .form-control:focus{
  outline:none;
  border-color:#ff4d6d;
  box-shadow:0 0 0 4px rgba(255,77,109,.15);
  background-color:#fff;
}

/* iOS: garante que o topo não ganhe um tom diferente */
@supports (-webkit-touch-callout: none){
  .page-auth .form-control{
    border-top-color: rgba(2,6,23,.10) !important;
  }
}

/* ===== Filtro BR / Mundo ===== */
.hl-filter{ margin:12px 0 6px; }
.hl-filter__title{
  margin: 0 0 10px;
  font-weight: 800;
  color:#111827;
  font-size: 16px;
  text-align:left;
}
@media (min-width: 992px){
  .hl-filter__title{ text-align:center; }
}

.hl-filter__pills{
  display:flex; gap:10px; align-items:center;
  flex-wrap: nowrap;     /* no mobile ficam lado a lado */
  justify-content:flex-start;
}
@media (min-width: 992px){
  .hl-filter__pills{ justify-content:center; }
}

.hl-pill{
  --ring: rgba(255,77,109,.18);
  display:inline-flex; align-items:center; gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  background:#fff;
  border:1px solid rgba(2,6,23,.08);
  box-shadow: 0 6px 16px rgba(17,24,39,.06);
  color:#0f172a;
  font-weight:700;
  transition: border-color .2s, box-shadow .2s, transform .06s, background .2s;
}
.hl-pill:hover{ transform: translateY(-1px); }
.hl-pill:focus{ outline:none; box-shadow: 0 0 0 4px var(--ring); }

.hl-pill.is-active{
  background: rgba(255,77,109,.08);
  border-color: rgba(255,77,109,.45);
  box-shadow: 0 8px 20px rgba(255,77,109,.18), inset 0 -1px 0 rgba(0,0,0,.04);
  color:#ff4d6d;
}

.hl-pill__flag{ font-size:18px; line-height:1; }
.hl-badge{
  display:inline-flex; align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  color:#6b7280;
  font-size:12px; font-weight:700; line-height:1;
  white-space:nowrap;
}
.hl-pill.is-active .hl-badge{
  background: rgba(255,77,109,.14);
  color:#ff4d6d;
}

/* utilitário pra esconder/mostrar */
.is-hidden{ display:none !important; }

/* ===== CTA vazio (quando nenhum filtro está ativo) ===== */
.hl-cta{
  margin: 8px 0 16px;
  background: #fff;
  border:1px solid rgba(2,6,23,.06);
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(17,24,39,.07);
  padding: 16px;
  display:flex; align-items:center; gap:12px;
}
.hl-cta__icon{
  width: 40px; height: 40px; flex: 0 0 40px;
  display:grid; place-items:center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  color:#fff; font-size:20px;
  box-shadow: 0 8px 18px rgba(255,77,109,.25);
}
.hl-cta__content h3{
  margin:0 0 4px; font-weight:800; color:#111827; font-size:16px;
}
.hl-cta__content p{
  margin:0; color:#6b7280; font-size:14px;
}

/* (mantém o estilo do filtro que você já colou antes) */
.hl-filter__title{ text-align:left; }
@media (min-width: 992px){
  .hl-filter__title{ text-align:center; }
  .hl-filter__pills{ justify-content:center; }
}
/* ——— Título minimalista ——— */
.hl-filter-title{
  margin: 10px 0 8px;
  text-align: center;
  font-weight: 800;
  color: #0f172a;
}

/* ——— Segmento (dois botões lado a lado, sem cortar) ——— */
.hl-segment{
  display: grid;
  grid-template-columns: 1fr 1fr;      /* sempre dois lado a lado */
  gap: 12px;
  max-width: 720px;
  margin: 0 auto 14px;
  width: 100%;
}
.hl-seg__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;             /* centraliza conteúdo */
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: 0 8px 18px rgba(17,24,39,.06);
  color:#374151;
  font-weight: 700;
  min-width: 0;                        /* permite encolher sem “cortar” */
  transition: background .2s, transform .06s, box-shadow .2s, border-color .2s;
}
.hl-seg__btn:hover{ background: #fff7f9; }
.hl-seg__btn.is-active{
  background: #ff4d6d; color: #fff; border-color: transparent;
  box-shadow: 0 10px 22px rgba(255,77,109,.25), inset 0 -1px 0 rgba(0,0,0,.06);
}
.hl-flag{ font-size: 18px; line-height: 1; }
.hl-seg__label{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hl-seg__badge{
  font-weight: 700;
  font-size: 12px; line-height: 1;
  padding: 6px 8px; border-radius: 999px;
  background: #eef2ff; color:#64748b;
  white-space: nowrap;                 /* evita quebra feia */
  flex: 0 0 auto;                      /* não deixa “brigar” com o label */
}

/* telinhas muito pequenas: esconda a badge para não apertar */
@media (max-width: 380px){
  .hl-seg__badge{ display:none; }
}

/* ===== Filtro (fix mobile: não cortar nem quebrar) ===== */
.hl-filter__pills{
  display: grid;
  grid-template-columns: 1fr 1fr;   /* sempre dois lado a lado */
  gap: 12px;
  align-items: stretch;
}

.hl-filter__pills .hl-pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;          /* centraliza o conteúdo */
  gap: 8px;
  padding: 10px 14px;
  min-width: 0;                     /* permite encolher dentro do grid */
  box-sizing: border-box;
  overflow: visible;                 /* garante que nada seja “cortado” */
}

.hl-filter__pills .hl-pill__text{
  white-space: nowrap;               /* não quebra linha */
  min-width: 0;                      /* pode encolher quando faltar espaço */
}

.hl-filter__pills .hl-badge{
  white-space: nowrap;               /* não quebra a badge */
  flex: 0 0 auto;                    /* não “rouba” espaço do texto */
}

/* telas pequenas: some com a badge para priorizar o rótulo */
@media (max-width: 430px){
  .hl-filter__pills .hl-badge{ display: none; }
}

/* telas bem estreitas: compacta padding e fonte */
@media (max-width: 360px){
  .hl-filter__pills .hl-pill{ padding: 10px 8px; }
  .hl-filter__pills .hl-pill__text{ font-size: 14px; }
}
/* ===== Cabeçalho do formulário ===== */
.hl-form-head{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding:14px 16px;
  background:#fff; border:1px solid rgba(2,6,23,.06);
  border-radius:18px; box-shadow: var(--shadow-sm);
}
.hl-form-head__left{ display:flex; align-items:center; gap:12px; min-width:0; }
.hl-cta__icon{
  width:42px; height:42px; border-radius:12px; display:grid; place-items:center;
  background: radial-gradient(80% 80% at 20% 20%, #ff9ab0, #ff4d6d);
  color:#fff; box-shadow: 0 6px 16px rgba(255,77,109,.25);
  font-size:20px; flex:0 0 42px;
}
.hl-form-head__title{ margin:0; font-weight:800; color:#0f172a; }
.hl-form-head__sub{ margin:2px 0 0; color:#6b7280; }

.hl-ghost-btn{
  appearance:none; background:#fff; color:#111827;
  border:1px solid rgba(2,6,23,.10);
  padding:8px 12px; border-radius:999px; font-weight:700; cursor:pointer;
  transition: border-color .2s, box-shadow .2s, transform .06s;
}
.hl-ghost-btn:hover{ border-color:#ff4d6d; box-shadow:0 0 0 4px rgba(255,77,109,.12); transform: translateY(-1px); }

/* divisória entre título e formulário */
.hl-sep{
  height:1px; margin:14px 0 18px;
  background: linear-gradient(to right, rgba(2,6,23,0), rgba(2,6,23,.08), rgba(2,6,23,0));
  border-radius:1px;
}

/* filtro: mantém 2 pills lado a lado no mobile sem cortar */
.hl-filter__pills{
  display:grid; grid-template-columns: 1fr 1fr; gap:12px; align-items:stretch;
}
.hl-filter__title{ font-weight:700; margin:10px 0 8px; color:#111827; }
.hl-pill{ display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:10px 14px; border:1px solid rgba(2,6,23,.08); background:#fff; border-radius:999px;
  cursor:pointer; transition: background .2s, border-color .2s, transform .06s;
  min-width:0; box-sizing:border-box;
}
.hl-pill__text{ white-space:nowrap; min-width:0; }
.hl-pill:hover{ border-color: rgba(2,6,23,.18); }
.hl-pill.is-active{ background: rgba(255,77,109,.10); border-color:#ff4d6d; color:#ff4d6d; }
.hl-badge{ background:#f3f4f6; color:#6b7280; padding:4px 8px; border-radius:999px; font-weight:700; font-size:12px; }
@media (max-width:430px){ .hl-badge{ display:none; } }
@media (max-width:767px){
  .hl-form-head{ flex-direction:column; align-items:stretch; }
  .hl-form-head__actions{ display:flex; }
  .hl-ghost-btn{ width:100%; }
}
.is-hidden{ display:none !important; }

/* ==== Fix: Cabeçalho do formulário como card, sem “faixa cortada” ==== */
.hl-form-head{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:14px 16px;
  background:#fff;
  border:1px solid rgba(2,6,23,.06);
  border-radius:18px;
  box-shadow:0 10px 24px rgba(17,24,39,.06);
}

.hl-form-head__left{ display:flex; align-items:center; gap:12px; min-width:0; }
.hl-form-head__title{ margin:0; font-size:16px; font-weight:900; color:#0f172a; }
.hl-form-head__sub{ margin:2px 0 0; font-size:13px; color:#6b7280; }

/* Ícone “bolha” bonitinho e consistente */
.hl-cta__icon{
  width:36px; height:36px; border-radius:12px;
  display:grid; place-items:center;
  font-size:18px; color:#fff;
  background:linear-gradient(135deg,#ff8aa3,#ff4d6d);
  box-shadow:0 6px 14px rgba(255,77,109,.22);
}

/* Botão fantasma (não “puxa” o layout) */
.hl-ghost-btn{
  border:1px solid rgba(2,6,23,.10);
  background:#fff; color:#374151; font-weight:800;
  border-radius:12px; padding:10px 14px; line-height:1;
  transition:background .2s,color .2s,transform .06s;
}
.hl-ghost-btn:hover{ background:rgba(255,77,109,.06); color:#ff4d6d; transform:translateY(-1px); }

/* A divisória não gruda no card */
.hl-sep{ height:1px; background:rgba(2,6,23,.08); margin:12px 0 16px; border-radius:999px; }

/* Mobile: padding e tipografia um pouco menores */
@media (max-width: 600px){
  .hl-form-head{ padding:12px; }
  .hl-form-head__title{ font-size:15px; }
}
/* ==== HL — Cabeçalho do formulário (card no mesmo padrão dos outros) ==== */
.hl-form-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;

  /* tamanho e respiro iguais aos demais cards */
  padding:20px 22px;
  margin:12px 0 18px;

  background:#fff;
  border:1px solid rgba(2,6,23,.06);
  border-radius:24px;                 /* cantos grandes */
  box-shadow:0 12px 30px rgba(17,24,39,.08);
  transition: box-shadow .2s, transform .06s;
}
.hl-form-head:hover{ box-shadow:0 16px 40px rgba(17,24,39,.10); }

.hl-form-head__left{ display:flex; align-items:center; gap:16px; min-width:0; }

/* ícone “pílula” igual aos outros widgets */
.hl-cta__icon{
  width:48px; height:48px; flex:0 0 48px;
  border-radius:14px;
  display:grid; place-items:center;
  font-size:24px; color:#fff;
  background:linear-gradient(135deg,#ff8aa3,#ff4d6d);
  box-shadow:0 10px 22px rgba(255,77,109,.22);
}

.hl-form-head__title{
  margin:0;
  font-weight:900;
  font-size:19px;
  line-height:1.25;
  color:#0f172a;
}
.hl-form-head__sub{
  margin:6px 0 0;
  font-size:13.5px;
  color:#6b7280;
}

/* botão com conforto e mesma linguagem dos cards */
.hl-ghost-btn{
  border:1px solid rgba(2,6,23,.10);
  background:#fff;
  color:#374151;
  font-weight:800;
  font-size:14px;
  padding:12px 18px;
  min-height:44px;                    /* mais alto */
  border-radius:14px;
  white-space:nowrap;
  box-shadow:0 2px 0 rgba(0,0,0,.02);
  transition:background .2s, color .2s, transform .06s, box-shadow .2s;
}
.hl-ghost-btn:hover{
  background:rgba(255,77,109,.06);
  color:#ff4d6d;
  transform:translateY(-1px);
}
.hl-ghost-btn:focus-visible{
  outline:none;
  box-shadow:0 0 0 4px rgba(255,77,109,.18);
}

/* divisória com respiro consistente */
.hl-sep{
  height:1px;
  background:rgba(2,6,23,.08);
  margin:16px 0 20px;
  border-radius:999px;
}

/* ===== Mobile: card em coluna e CTA grande em toda a largura ===== */
@media (max-width: 768px){
  .hl-form-head{
    flex-direction:column;
    align-items:stretch;
    gap:14px;
    padding:18px;
    border-radius:22px;
  }
  .hl-cta__icon{ width:44px; height:44px; font-size:22px; border-radius:12px; }
  .hl-form-head__title{ font-size:18px; }
  .hl-form-head__actions{ width:100%; }

  /* deixa o botão bem “tocável” e destacado no mobile */
  #hl-see-all{
    width:100%;
    min-height:48px;
    font-size:15px;
    border:none;
    color:#fff;
    background:linear-gradient(135deg,#ff4d6d,#f51f4a);
    box-shadow:0 10px 20px rgba(255,77,109,.25), inset 0 -2px 0 rgba(0,0,0,.06);
  }
  #hl-see-all:hover{ transform:translateY(-1px); }
}
/* ==== HL — Form Head (desktop refinado como o mobile) ==== */
.hl-form-head{
  padding: 24px 26px;
  margin: 16px 0 22px;
  border-radius: 24px;
  gap: 20px;
  box-shadow: 0 12px 30px rgba(17,24,39,.08);
}

.hl-form-head__left{ gap: 18px; }

.hl-cta__icon{
  width: 56px; height: 56px;           /* maior, como mobile */
  border-radius: 16px;
  font-size: 26px;
}

.hl-form-head__title{ font-size: 20px; }

/* botão “Começar” igual ao mobile (preenchido), porém largura auto */
#hl-see-all{
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  color: #fff;
  border: none;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(255,77,109,.25), inset 0 -2px 0 rgba(0,0,0,.06);
  transition: transform .06s ease, box-shadow .2s ease, opacity .2s ease;
}
#hl-see-all:hover{ transform: translateY(-1px); }
#hl-see-all:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(255,77,109,.18);
}

/* já temos o mobile bonito; só garantindo aqui caso algo sobreponha */
@media (max-width: 768px){
  #hl-see-all{ width: 100%; min-height: 48px; font-size: 15px; }
}
/* ==== HL — Form Head: mais espaço lateral no desktop ==== */
@media (min-width: 992px){
  .hl-form-head{
    /* mais padding nos lados, responsivo */
    padding: clamp(20px, 2.2vw, 28px) clamp(24px, 3.2vw, 38px);
    border-radius: 26px;
  }
  .hl-form-head__left{
    gap: 20px;
    min-width: 0;             /* evita “apertar” o texto */
  }
  .hl-form-head__title{
    margin: 2px 0 6px;
    font-size: 20px;
  }
  .hl-form-head__actions{
    padding-inline-start: clamp(10px, 1.6vw, 24px);  /* distância extra do botão pro conteúdo */
    flex: 0 0 auto;
  }
  #hl-see-all{
    padding: 12px 22px;        /* botão confortável, sem colar na borda */
  }
}
/* HL — Corrige padding do cabeçalho do formulário no desktop */
@media (min-width: 992px){
  .page-new-order .hl-form-head{
    padding: 24px 32px !important;   /* aumenta o respiro lateral */
    border-radius: 26px;              /* mantém o visual do card */
    margin-bottom: 16px;
  }
}
/* ===== Start card sticky + chips ===== */
.hl-start-card{
  display:flex; flex-wrap:wrap; align-items:center; gap:16px;
  background:#fff; border:1px solid rgba(2,6,23,.06); border-radius:18px;
  padding:16px; box-shadow:0 12px 26px rgba(17,24,39,.08);
}
.hl-start-card--sticky{
  position: sticky;
  bottom: calc(16px + var(--bnav-safe,0px));
  z-index: 10;
}
@media (min-width: 992px){
  .hl-start-card{ padding:18px 20px; border-radius:20px; }
  .hl-start-card--sticky{ bottom: calc(24px + var(--bnav-h,0px)); }
}
.hl-start-card__left{ display:flex; align-items:center; gap:12px; min-width:0; flex:1 1 auto; }
.hl-start-card__icon{
  width:44px; height:44px; border-radius:14px; display:grid; place-items:center;
  background:linear-gradient(135deg,#ff7a90,#ff4d6d); color:#fff; font-size:22px; flex:0 0 auto;
  box-shadow:0 10px 18px rgba(255,77,109,.25);
}
.hl-start-card__title{ margin:0; font-weight:800; color:#0f172a; font-size:18px; line-height:1.25; }
.hl-start-card__sub{ margin:2px 0 0; color:#64748b; font-size:13px; }
.hl-start-card__chips{ display:flex; gap:10px; flex:0 0 auto; }
.hl-pill{
  display:inline-flex; align-items:center; gap:8px; padding:8px 12px;
  border-radius:999px; border:1px solid rgba(2,6,23,.08); background:#fff; cursor:pointer;
  font-weight:700; color:#374151; transition: transform .06s, background .2s, box-shadow .2s;
}
.hl-pill:hover{ transform: translateY(-1px); background:#fff7f9; }
.hl-pill.is-active{ background:#ff4d6d; color:#fff; border-color:#ff4d6d; }
.hl-start-card__action{ margin-left:auto; }
.hl-start-btn{
  height:42px; padding:0 18px; border-radius:12px; border:0; cursor:pointer;
  font-weight:800; color:#fff; background:linear-gradient(135deg,#ff4d6d,#f51f4a);
  box-shadow:0 10px 20px rgba(255,77,109,.25), inset 0 -2px 0 rgba(0,0,0,.06);
}
@media (max-width: 991px){
  .hl-start-card{ gap:14px; }
  .hl-start-card__chips{ width:100%; order:3; }
  .hl-start-card__action{ width:100%; order:4; }
  .hl-start-btn{ width:100%; height:48px; }
}

/* ===== Separador do form ===== */
.hl-sep{ height:1px; background:rgba(2,6,23,.08); margin:16px 0 10px; }
.hl-sep.is-hidden{ display:none; }

/* ===== Offer card ===== */
.hl-offer-card{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  background:#fff; border:1px solid rgba(2,6,23,.06); border-radius:18px;
  padding:16px; box-shadow:0 14px 30px rgba(17,24,39,.08); margin-bottom:12px;
}
.hl-offer-card__left{ display:flex; align-items:center; gap:12px; }
.hl-offer-card__icon{
  width:46px; height:46px; border-radius:14px; display:grid; place-items:center; font-size:22px;
  background:linear-gradient(135deg,#ffd166,#ff8ab7); color:#8b1c1c;
  box-shadow:0 10px 20px rgba(255,170,0,.18);
}
.hl-offer-card__title{ margin:0; font-weight:800; color:#0f172a; font-size:14px; }
.hl-offer-card__headline{ font-weight:800; color:#0f172a; }
.hl-offer-card__sub{ color:#6b7280; font-size:13px; }
.hl-offer-card__right{ text-align:right; display:flex; flex-direction:column; gap:8px; align-items:flex-end; }
.hl-offer-card__price{ font-weight:900; color:#ff3359; font-size:22px; line-height:1; }
.hl-offer-card__price span{ font-size:14px; opacity:.85; margin-right:2px; }
.hl-offer-card__cta{
  display:inline-block; padding:10px 14px; border-radius:12px; text-decoration:none; border:0; cursor:pointer;
  background:linear-gradient(135deg,#ff4d6d,#f51f4a); color:#fff; font-weight:800; box-shadow:0 12px 22px rgba(255,77,109,.25);
}
@media (max-width: 991px){
  .hl-offer-card{ flex-direction:column; align-items:stretch; }
  .hl-offer-card__right{ align-items:stretch; text-align:left; }
}

/* ===== Sem saldo card ===== */
.hl-nosaldo{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  background:#fff; border:1px solid rgba(2,6,23,.06); border-radius:18px;
  padding:14px 16px; box-shadow:0 10px 24px rgba(17,24,39,.08); margin-bottom:12px;
}
.hl-nosaldo__left{ display:flex; gap:12px; align-items:center; }
.hl-nosaldo__img{
  width:42px; height:42px; border-radius:12px; display:grid; place-items:center; background:#fff1f2;
}
.hl-nosaldo__title{ font-weight:800; color:#0f172a; }
.hl-nosaldo__desc{ color:#6b7280; font-size:13px; }
.hl-nosaldo__btn{
  border:0; border-radius:12px; padding:10px 14px; background:#ff4d6d; color:#fff; font-weight:800;
}
@media (max-width: 991px){
  .hl-nosaldo{ flex-direction:column; align-items:stretch; }
  .hl-nosaldo__btn{ width:100%; }
}
/* ===== Modal genérico HiperLike ===== */
.hl-modal{ position:fixed; inset:0; z-index:3000; display:none; }
.hl-modal.is-open{ display:block; }
.hl-modal__overlay{
  position:absolute; inset:0; background:rgba(2,6,23,.45);
  backdrop-filter:saturate(120%) blur(3px);
  animation:hlFade .18s ease;
}
.hl-modal__panel{
  position:relative; max-width:520px; margin:8vh auto 0; pointer-events:auto;
  background:#fff; border:1px solid rgba(2,6,23,.06); border-radius:22px;
  box-shadow:0 24px 60px rgba(17,24,39,.18);
  padding:22px 20px 18px;
  animation:hlSlideUp .22s cubic-bezier(.2,.8,.2,1);
}
@media (max-width: 560px){
  .hl-modal__panel{ margin:0; border-radius:18px 18px 0 0; position:absolute; left:0; right:0; bottom:0; }
}
.hl-modal__close{
  position:absolute; right:10px; top:10px;
  width:34px; height:34px; border-radius:10px; border:0; cursor:pointer;
  background:#f3f4f6; color:#111827; font-size:20px; line-height:1;
}
.hl-modal__header{ text-align:center; padding:6px 8px 8px; }
.hl-modal__emoji{
  width:56px; height:56px; border-radius:16px; margin:0 auto 10px; display:grid; place-items:center;
  background:linear-gradient(135deg,#ff7a90,#ff4d6d); color:#fff; font-size:28px;
  box-shadow:0 14px 28px rgba(255,77,109,.28);
}
.hl-modal__title{ margin:0 0 6px; font-weight:800; color:#0f172a; font-size:20px; }
.hl-modal__subtitle{ margin:0; color:#6b7280; }
.hl-modal__actions{
  margin-top:16px; display:flex; gap:10px; justify-content:center; flex-wrap:wrap;
}

.hl-btn{
  border:0; border-radius:14px; padding:12px 16px; font-weight:800; cursor:pointer;
}
.hl-btn--primary{
  color:#fff; background:linear-gradient(135deg,#ff4d6d,#f51f4a);
  box-shadow:0 12px 24px rgba(255,77,109,.25);
}
.hl-btn--primary:hover{ transform:translateY(-1px); }
.hl-btn--ghost{
  background:#f3f4f6; color:#111827;
}

/* bloqueio de scroll quando modal aberto */
body.hl-no-scroll{ overflow:hidden; touch-action:none; }

@keyframes hlFade{ from{opacity:0} to{opacity:1} }
@keyframes hlSlideUp{ from{ transform: translateY(10px); opacity:.92 } to{ transform: translateY(0); opacity:1 } }

/* ----- CTA "mutado" (wireframe) após iniciar fluxo ----- */
.hl-form-head.is-muted{
  background:#fff;
  border:1px dashed rgba(2,6,23,.16);
  border-radius:20px;
  padding:16px;            /* o CTA vira um “cartão” neutro */
  box-shadow: 0 6px 16px rgba(17,24,39,.06);
}
.hl-form-head.is-muted .hl-cta__icon{ filter: grayscale(1) opacity(.7); }
.hl-form-head.is-muted .hl-form-head__title{ color:#111827; }
.hl-ghost-btn.is-muted{
  background:#f3f4f6;
  border-color: rgba(2,6,23,.10);
  color:#6b7280;
  pointer-events:none;
  cursor: default;
}

/* ----- Badge "Entenda a diferença" ----- */
.hl-info-badge{
  margin-left:10px;
  display:inline-flex; align-items:center; gap:6px;
  font-weight:700; font-size:12px;
  border-radius:999px; padding:6px 10px;
  background:rgba(255,77,109,.10); color:#ff4d6d;
  border:1px solid rgba(255,77,109,.18);
  transition: transform .06s ease, background .2s ease;
}
.hl-info-badge:hover{ transform: translateY(-1px); background: rgba(255,77,109,.14); }

/* Mobile: badge quebra linha com respiro e CTA vira “cartão mutado” com menos padding */
@media (max-width:767px){
  .hl-info-badge{ margin:8px 0 0 0; }
  .hl-form-head.is-muted{ padding:14px; }
}
/* Muted: tipografia acinzentada e sem botão */
.hl-form-head.is-muted{
  justify-content: flex-start;                 /* encosta conteúdo à esquerda */
  box-shadow: 0 4px 12px rgba(17,24,39,.05);   /* sombra mais leve */
  border-color: rgba(2,6,23,.12);
}
.hl-form-head.is-muted .hl-cta__icon{
  filter: grayscale(1) opacity(.55);
}
.hl-form-head.is-muted .hl-form-head__title{
  color:#6b7280;            /* cinza médio para o título */
  font-weight:800;
}
.hl-form-head.is-muted .hl-form-head__sub{
  color:#9ca3af;            /* cinza claro para o subtítulo */
}
.hl-form-head.is-muted .hl-ghost-btn{
  display:none !important;  /* some com o botão “Selecionado” */
}
/* ===== Select2 – visual HiperLike (apenas na página de pedido) ===== */
.page-new-order .select2-container{ width:100% !important; font-family: var(--font-sans) !important; }
.page-new-order .select2-container--default .select2-selection--single{
  height:48px !important; border-radius:14px !important;
  border:1px solid rgba(2,6,23,.10) !important; background:#fbfbfc !important;
  display:flex !important; align-items:center !important;
  padding-left:12px !important; box-shadow:none !important; outline:none !important;
}
.page-new-order .select2-container--open .select2-selection--single{
  border-color: var(--primary-500) !important;
  box-shadow: 0 0 0 4px rgba(255,77,109,.15) !important;
  background:#fff !important;
}
.page-new-order .select2-container--default .select2-selection__arrow{ height:48px !important; right:10px !important; }

.page-new-order .select2-dropdown{
  border:1px solid rgba(2,6,23,.08) !important;
  border-radius:14px !important;
  box-shadow: 0 16px 36px rgba(17,24,39,.12) !important;
  overflow:hidden !important; z-index:1060 !important;
}
.page-new-order .select2-results{ padding:6px !important; }
.page-new-order .select2-results__options{ max-height:320px !important; }

.page-new-order .select2-results__option{
  padding:10px 12px !important; margin:4px 4px !important;
  border-radius:10px !important; font-weight:600 !important; color:#0f172a !important;
}
.page-new-order .select2-results__option[aria-selected="true"]{
  background: rgba(255,77,109,.10) !important; color:#0f172a !important;
}
.page-new-order .select2-results__option--highlighted[aria-selected]{
  background: linear-gradient(135deg,#ff4d6d,#f51f4a) !important; color:#fff !important;
}
.page-new-order .select2-search--dropdown{ padding:8px !important; }
.page-new-order .select2-search--dropdown .select2-search__field{
  border:1px solid rgba(2,6,23,.10) !important; border-radius:10px !important;
  padding:8px 10px !important; outline:none !important;
}
/* Evita conflito com o .dropdown-menu do Bootstrap */
.page-new-order .select2-container .dropdown-menu{ all: unset; }

/* Badge de preço no bottom sheet (mobile) */
.hl-badge--price{
  background: rgba(255,77,109,.12);
  color: var(--primary-700);
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}


/* iOS (Safari/Chrome/Edge no iPhone): remove o drop-shadow das figurinhas
   para evitar o artefato, e garante composição estável */
@supports (-webkit-touch-callout: none) {
  .sf-stk{
    -webkit-filter: none !important;
    filter: none !important;
    opacity: 1 !important;           /* evita halo por premultiplicação de alfa */
    transform: translateZ(0);        /* força camada própria (estabiliza) */
    will-change: transform;
  }
}

/* Opcional: se quiser manter um “glow” no mobile sem usar filter,
   use um leve box-shadow no contêiner de fundo (quase imperceptível) */
@media (max-width: 767px){
  .sf-blur{ filter: blur(70px); opacity: .6; }   /* compensa o glow removido */
}

/* ===== CATEGORIAS ===== */
.hl-cats{ display:flex; gap:10px; margin:2px 0 10px; flex-wrap:wrap; }
.hl-cat-btn{
  border:1px solid rgba(2,6,23,.1); background:#fff; color:#111827;
  padding:10px 14px; border-radius:12px; font-weight:800;
}
.hl-cat-btn.is-active{
  background: linear-gradient(90deg, var(--primary-400,#ffb37a), var(--primary-600,#f15b9f));
  color:#fff; border-color:transparent; box-shadow:0 10px 24px rgba(241,91,159,.22);
}

/* ===== LISTA DE SERVIÇOS ===== */
.hl-services{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap:12px;
}
.hl-svc{
  background:#fff; border:1px solid rgba(2,6,23,.06);
  border-radius:14px; padding:12px;
  box-shadow:0 10px 24px rgba(17,24,39,.06);
  display:flex; flex-direction:column; gap:10px;
}
.hl-svc__head{ display:flex; align-items:flex-start; gap:10px; }
.hl-svc__name{ margin:0; font-weight:900; color:#0f172a; font-size:16px; line-height:1.25; }
.hl-svc__pill{ margin-left:auto; font-size:12px; padding:4px 8px; border-radius:999px; background:#f3f4f6; color:#374151; }
.hl-svc__meta{ color:#6b7280; font-size:12px; }

.hl-row{ display:grid; grid-template-columns: 1fr; gap:8px; }
@media (min-width: 640px){ .hl-row{ grid-template-columns: 1.5fr .9fr auto; align-items:end; } }

.hl-in{ display:flex; flex-direction:column; gap:6px; }
.hl-in label{ font-size:12px; color:#6b7280; margin:0; }
.hl-in input{
  height:42px; border-radius:10px; border:1px solid rgba(2,6,23,.1); padding:8px 10px;
}
.hl-go{ height:42px; border:0; border-radius:10px; padding:0 14px; font-weight:900; color:#fff;
  background:linear-gradient(90deg, var(--g1,#ffb37a), var(--g2,#f15b9f));
  box-shadow:0 10px 24px rgba(241,91,159,.22);
}

/* Skeleton simples enquanto carrega */
.hl-skeleton{ display:grid; grid-template-columns: repeat(3,1fr); gap:12px; }
.hl-skel-card{ height:124px; border-radius:14px; background:linear-gradient(90deg,#f6f7f8,#ececec,#f6f7f8); background-size:200% 100%; animation:hlShimmer 1.2s infinite; }
@keyframes hlShimmer{ 0%{background-position:0 0} 100%{background-position:200% 0} }
@media (max-width:767px){ .hl-skeleton{ grid-template-columns: 1fr; } }

/* ===== PIX Checkout — estilo moderno com cores da marca ===== */
#pix-modal .pix-modal-content{
  max-width: 520px;
  width: 92%;
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(15,23,42,.28);
  border: 1px solid rgba(2,6,23,.06);
}

/* Header limpo */
#pix-modal .pix-header{
  padding: 18px 22px;
  border-bottom: 1px solid #eef2f7;
}
#pix-modal .pix-icon{
  background: linear-gradient(135deg,#ff4d6d,#ff6b9d);
  box-shadow: 0 10px 18px rgba(255,77,109,.25);
}

/* Reordena: primeiro código, depois QR */
#pix-modal .pix-body{ 
  display: grid;
  gap: 18px;
  padding: 20px 22px 10px;
}
#pix-modal .pix-qr-container{ order: 2; }
#pix-modal .pix-code-section{ order: 1; }

/* Card do conteúdo */
#pix-modal .pix-code-section,
#pix-modal .pix-qr-container{
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 2px 10px rgba(2,6,23,.04);
}

/* Título “Código PIX Copia e Cola” */
#pix-modal .pix-code-title{
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .4px;
  color: #6b7280;
  text-transform: uppercase;
}

/* Área do código (scroll suave) */
#pix-modal .pix-code-container{
  display: block;      /* vira coluna */
}
#pix-modal .pix-code-text{
  background: #f7f8fb;
  border: 1px solid #e5e9f2;
  border-radius: 12px;
  padding: 12px 14px;
  font: 600 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Roboto Mono", monospace;
  color: #111827;
  max-height: 110px;
  overflow: auto;
  word-break: break-all;
}

/* Botão “Copiar código PIX” — largo e com gradiente da marca */
#pix-modal .pix-copy-btn{
  width: 100%;
  height: 46px;
  margin-top: 10px;
  border-radius: 12px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  background: linear-gradient(135deg,#ff4d6d,#ff6b9d);
  box-shadow: 0 12px 22px rgba(255,77,109,.28);
  transition: transform .12s ease, filter .12s ease;
  position: relative;
}
#pix-modal .pix-copy-btn i{ font-size: 16px; }
#pix-modal .pix-copy-btn::after{
  content: "Copiar código PIX";
  font-weight: 800;
  font-size: 15px;
}
#pix-modal .pix-copy-btn:hover{ transform: translateY(-1px); filter: brightness(1.03); }

/* Estado de sucesso (texto muda para “Copiado!”) */
#pix-modal .pix-copy-btn.is-copied{
  background: #10b981;
  box-shadow: 0 12px 22px rgba(16,185,129,.25);
}
#pix-modal .pix-copy-btn.is-copied::after{ content:"Copiado!"; }

/* Separador “Ou” entre código e QR (sem HTML extra) */
#pix-modal .pix-code-section::after{
  content:"Ou";
  display:block;
  margin:14px 0 -4px;
  text-align:center;
  font-size:12px;
  font-weight:700;
  color:#9aa4b2;
  position: relative;
}
#pix-modal .pix-code-section::after{
  /* linhas laterais */
  --g:#e9edf3;
  background:
    linear-gradient(var(--g),var(--g)) left 0.6em/9999px 1px no-repeat,
    linear-gradient(var(--g),var(--g)) right 0.6em/9999px 1px no-repeat;
}

/* QR — moldura e legenda como no exemplo */
#pix-modal .pix-qr-code{
  width: 232px; height: 232px;
  margin: 8px auto 10px;
  border-radius: 14px;
  background: #f8fafc;
  border: 2px solid #e5e9f2;
  display: grid; place-items: center;
}
#pix-modal .pix-qr-text{
  margin: 6px 0 0;
  font-size: 12.5px;
  color: #6b7280;
}

/* Footer “Concluído” discreto */
#pix-modal .pix-footer{ padding: 0 22px 22px; }
#pix-modal .pix-close-btn{
  height: 48px;
  border-radius: 12px;
  background: #eef2f7;
  color: #111827;
  font-weight: 800;
}
#pix-modal .pix-close-btn:hover{ filter: brightness(0.98); }

/* Mobile */
@media (max-width: 420px){
  #pix-modal .pix-modal-content{ width: 95%; }
  #pix-modal .pix-qr-code{ width: 208px; height: 208px; }
}

/* Evita auto-zoom do iOS ao focar campos */
input, select, textarea, button {
  font-size: 16px; /* ≥16px é o gatilho que evita o zoom */
}

/* Se você usa classes utilitárias tipo .form-control */
.form-control { font-size: 16px; }

/* iOS-only safeguard (opcional) */
@supports (-webkit-touch-callout: none) {
  input, select, textarea, .form-control {
    font-size: 16px !important;
  }
}
/* ===== Fix: ring do input sem “vazar” a borda ===== */
.sf-fields input{
  border-radius: 12px;
  -webkit-appearance: none;  /* iOS: evita glow azul estranho */
  appearance: none;
  background-clip: padding-box; /* borda mais nítida */
}

/* remove o ring antigo e usa outline interno */
.sf-fields input:focus{
  box-shadow: none !important;           /* tira o 0 0 0 4px ... */
  border-color: #ff6b9d;                 /* sua cor de foco */
  outline: 3px solid color-mix(in srgb, #ff4d6d 70%, white);
  outline-offset: -3px;                  /* fica dentro do input */
}

/* opção: estado hover suave (não obrigatório) */
.sf-fields input:hover{
  border-color: rgba(255,107,157,.65);
}

/* iOS-only safeguard (garante consistência no Safari) */
@supports (-webkit-touch-callout: none){
  .sf-fields input:focus{
    outline: 3px solid rgba(255,107,157,.55);
    outline-offset: -3px;
  }
}
/* ===== LOGIN: foco sem vazar a borda (override forte) ===== */
.page-auth .form-control{
  -webkit-appearance: none;
  appearance: none;
  border-radius: 14px;
  background-clip: padding-box; /* evita bleed nas bordas */
  box-shadow: none !important;  /* neutraliza sombras legadas */
}

/* Foco: ring interno (inset) + borda transparente */
.page-auth .form-control:focus{
  outline: none !important;
  border-color: transparent !important;
  /* duas “bordas” internas, respeitando o radius */
  box-shadow:
    0 0 0 2px #fff inset,
    0 0 0 4px rgba(255,77,109,.35) inset !important;
  background-color: #fff;
}

/* Hover opcional */
.page-auth .form-control:hover{
  border-color: rgba(255,77,109,.45);
}

/* Autofill (iOS/Chrome) – remove amarelo e mantém ring interno */
.page-auth input.form-control:-webkit-autofill{
  -webkit-text-fill-color: #111827;
  -webkit-box-shadow:
    0 0 0 1000px #fff inset, /* limpa amarelo */
    0 0 0 2px #fff inset,
    0 0 0 4px rgba(255,77,109,.35) inset !important;
  box-shadow:
    inset 0 0 0 1000px #fff,
    inset 0 0 0 2px #fff,
    inset 0 0 0 4px rgba(255,77,109,.35) !important;
  border-color: transparent !important;
}
.page-auth input.form-control:-webkit-autofill:focus{
  -webkit-box-shadow:
    0 0 0 1000px #fff inset,
    0 0 0 2px #fff inset,
    0 0 0 4px rgba(255,77,109,.35) inset !important;
}
/* ===== Login (mobile): fundo não poluir o formulário ===== */

/* ===== Ajustes das chamas ===== */

/* Chama inferior esquerda (antes ficava mais acima) */
.auth-stk--ml {
    position: absolute;
    bottom: 20px; /* Ajuste para ficar logo abaixo da seção de Cadastro */
    left: 10px;
    opacity: 1; /* Garante visibilidade total */
    transform: none; /* Remove qualquer rotação ou deslocamento */
    width: auto;
    height: auto;
    z-index: 1;
}

/* Chama canto superior direito (removendo opacidade e subindo) */
.auth-stk--tr {
    position: absolute;
    top: 0; /* Encosta mais no topo */
    right: 10px;
    opacity: 1; /* Remove transparência */
    transform: none;
    width: auto;
    height: auto;
    z-index: 1;
}

/* Se precisar que as imagens de chama se adaptem melhor no mobile */
@media (max-width: 768px) {
    .auth-stk--ml,
    .auth-stk--tr {
        max-width: 50px;
        max-height: 50px;
    }
}
@media (max-width: 768px) {
    /* Esconde a chama do canto superior esquerdo no mobile */
    .auth-stk--tl {
        display: none !important;
    }
}
@media (max-width: 768px) {
    /* Esconde a chama do canto superior esquerdo */
    .auth-stk--tl {
        display: none !important;
    }

    /* Esconde o último elemento no canto inferior direito (+35) */
    .auth-stk:last-of-type {
        display: none !important;
    }
}
