/* =====================================================================
   INFLARY · Tema clientes — Blanco + Negro + Morado neón
   Se carga AL FINAL del <head> de header.twig y header1.twig.
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --w:#ffffff; --w2:#f6f6f9; --w3:#eeeef3;
  --k:#0b0b10; --k2:#16161d; --k3:#2a2a33;
  --soft:#5b5b68; --muted:#9a9aa8; --line:#e6e6ee;
  --neon:#a020f0; --neon2:#c13bff; --neon3:#7a12d4;
  --glow:0 0 0 1px rgba(160,32,240,.35),0 8px 26px rgba(160,32,240,.38);
  --r:16px;
}

/* ---------- Base ---------- */
html body,html body.dashboard,html body #body{
  background:var(--w2) !important; color:var(--k) !important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif !important;
  -webkit-font-smoothing:antialiased;
}
html body h1,html body h2,html body h3,html body h4,html body h5,html body .website-title{
  font-family:'Sora','Inter',sans-serif !important; letter-spacing:-.02em; color:var(--k) !important;
}
html body a{ color:var(--neon3); }
html body ::selection{ background:var(--neon); color:#fff; }
html body .content_area{ background:var(--w2) !important; }

/* sin música */
html body audio,html body #waveform{ display:none !important; }

/* ---------- Barra lateral ---------- */
html body .sidebar{
  background:var(--w) !important; background-image:none !important;
  border-right:1px solid var(--line) !important; box-shadow:4px 0 30px rgba(11,11,16,.04) !important;
}
html body .sidebar .logo a,html body .sidebar .logo a *{
  font-family:'Sora',sans-serif !important; font-weight:800 !important; color:var(--k) !important; letter-spacing:-.03em;
}
html body .sidebar .user_data{
  background:var(--k) !important; border-radius:20px !important; border:1px solid var(--k3) !important;
  box-shadow:0 18px 40px rgba(11,11,16,.18), inset 0 0 0 1px rgba(160,32,240,.25) !important; overflow:hidden; position:relative;
}
html body .sidebar .user_data::after{
  content:""; position:absolute; inset:auto -40% -60% auto; width:180px; height:180px; border-radius:50%;
  background:radial-gradient(circle,rgba(160,32,240,.45),transparent 70%); pointer-events:none;
}
html body .sidebar .user_data h4,html body .sidebar .user_data h5,html body .sidebar .v2_user_info h5{ color:#fff !important; font-weight:700 !important; }
html body .sidebar .user_badges h4{ background:var(--neon) !important; color:#fff !important; box-shadow:var(--glow); }
html body .sidebar .user_balance{
  background:rgba(255,255,255,.06) !important; border:1px solid rgba(160,32,240,.45) !important; border-radius:14px !important; color:#fff !important;
}
html body .sidebar .user_balance,html body .sidebar .user_balance *{ color:#fff !important; }
html body .sidebar .user_balance .balance{ color:var(--neon2) !important; font-weight:800 !important; text-shadow:0 0 12px rgba(193,59,255,.6); }

html body .sidebar .menu_item{
  color:var(--k2) !important; background:transparent !important; border:1px solid transparent !important;
  border-radius:12px !important; font-weight:600 !important; transition:all .2s ease !important;
}
html body .sidebar .menu_item .menu_icon,html body .sidebar .menu_item .menu_icon *{ color:var(--k2) !important; }
html body .sidebar .menu_item:hover{ background:var(--w2) !important; color:var(--k) !important; transform:translateX(3px); }
html body .sidebar .menu_item.active{
  background:var(--k) !important; color:#fff !important; border-color:var(--k) !important;
  box-shadow:inset 3px 0 0 var(--neon),0 10px 24px rgba(11,11,16,.18) !important;
}
html body .sidebar .menu_item.active .menu_icon,html body .sidebar .menu_item.active .menu_icon *{ color:var(--neon2) !important; }
html body .sidebar .logout_btn{ background:var(--k) !important; color:#fff !important; border-radius:12px !important; }

/* ---------- Barra superior ---------- */
html body .top_header{
  background:var(--w) !important; border:1px solid var(--line) !important; border-radius:18px !important;
  box-shadow:0 10px 30px rgba(11,11,16,.05) !important;
}
html body .top_header .logo_off_nav a,html body .top_header .logo_off_nav a *{ color:var(--k) !important; font-family:'Sora',sans-serif !important; font-weight:800 !important; }
html body .top_header .user_settings{ display:flex !important; align-items:center; gap:10px; flex-wrap:nowrap; }
html body .top_header .user_settings > a,
html body .top_header .user_settings .telegram,
html body .top_header .day_night_btn{
  width:42px !important; height:42px !important; min-width:42px; border-radius:13px !important; margin:0 !important;
  display:inline-flex !important; align-items:center; justify-content:center;
  background:var(--k) !important; color:#fff !important; border:1px solid var(--k) !important; box-shadow:none !important;
  transition:box-shadow .25s ease, transform .2s ease !important;
}
html body .top_header .user_settings > a *,html body .top_header .user_settings .telegram *{ color:#fff !important; }
html body .top_header .user_settings > a:hover,html body .top_header .user_settings .telegram:hover{ box-shadow:var(--glow) !important; transform:translateY(-2px); }
html body .top_header .user_settings > a:hover i{ color:var(--neon2) !important; }
html body .top_header .btn_profiles{
  background:var(--w) !important; color:var(--k) !important; border:1px solid var(--line) !important; border-radius:13px !important;
  min-height:42px; display:inline-flex !important; align-items:center; gap:8px; font-weight:600 !important; box-shadow:none !important;
}
html body .top_header .btn_profiles img{ width:30px; height:30px; border-radius:50%; object-fit:cover; border:2px solid var(--neon); }
html body .settings_drop{ border:1px solid var(--line) !important; border-radius:16px !important; box-shadow:0 20px 50px rgba(11,11,16,.12) !important; padding:8px !important; }
html body .settings_drop .user_menu__item{ border-radius:11px !important; color:var(--k) !important; }
html body .settings_drop .user_menu__item:hover{ background:var(--w2) !important; color:var(--neon3) !important; }

/* ---------- Datos de arriba (pedidos, puntos, saldo) ---------- */
html body #page_info{
  display:grid !important; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:12px; margin:16px 0 18px !important; padding:0 !important;
}
html body #page_info .item{
  background:var(--w) !important; border:1px solid var(--line) !important; border-radius:16px !important;
  padding:14px 16px !important; margin:0 !important; position:relative; overflow:hidden; min-width:0;
}
html body #page_info .item::before{ content:""; position:absolute; left:0; top:14px; bottom:14px; width:3px; border-radius:3px; background:var(--neon); box-shadow:0 0 10px var(--neon); }
html body #page_info .item h4{
  font-family:'Inter',sans-serif !important; font-size:11.5px !important; font-weight:700 !important; letter-spacing:.08em; text-transform:uppercase;
  color:var(--muted) !important; margin:0 !important; line-height:1.5 !important; text-align:left !important;
}
html body #page_info .item h4 .sp_text_primary{
  display:block; margin-top:4px; font-family:'Sora',sans-serif !important; font-size:19px !important; letter-spacing:-.02em; text-transform:none;
  color:var(--k) !important; font-weight:800 !important; word-break:break-word;
}
html body .sp_text_primary{ color:var(--neon3) !important; }

/* ---------- Botones de redes (filtros) ---------- */
html body #categoryFIlterWraper,
html body .filter_btn_wrap{
  display:grid !important; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:10px !important;
}
html body .btn_cat_filter,html body .btn_filter{
  width:100% !important; margin:0 !important; min-height:46px; padding:10px 12px !important;
  display:flex !important; align-items:center; justify-content:center; gap:9px;
  background:var(--w) !important; color:var(--k) !important; border:1.5px solid var(--k) !important; border-radius:13px !important;
  font-weight:700 !important; font-size:14px !important; box-shadow:none !important; transition:all .22s ease !important;
}
html body .btn_cat_filter i,html body .btn_filter i{ color:var(--k) !important; font-size:16px; transition:color .2s; }
html body .btn_cat_filter:hover,html body .btn_filter:hover,
html body .btn_cat_filter.active,html body .btn_filter.active{
  background:var(--k) !important; color:#fff !important; box-shadow:var(--glow) !important; transform:translateY(-2px);
}
html body .btn_cat_filter:hover i,html body .btn_filter:hover i,
html body .btn_cat_filter.active i,html body .btn_filter.active i{ color:var(--neon2) !important; }

/* ---------- Tarjetas ---------- */
html body .card,html body .card_v2{
  background:var(--w) !important; border:1px solid var(--line) !important; border-radius:20px !important;
  box-shadow:0 12px 36px rgba(11,11,16,.05) !important; overflow:hidden;
}
html body #category_filter .card{ background:transparent !important; border:0 !important; box-shadow:none !important; }
html body #category_filter .card-body{ padding:0 !important; }
html body .card-header,html body .v2_header{
  background:var(--k) !important; background-image:none !important; border:0 !important; padding:14px 16px !important;
}
html body .nav-pills{ display:flex !important; flex-wrap:wrap; gap:8px; }
html body .nav-pills .nav-link{
  background:rgba(255,255,255,.06) !important; color:#fff !important; border:1px solid rgba(255,255,255,.14) !important;
  border-radius:12px !important; font-weight:600 !important; padding:9px 14px !important; display:inline-flex; align-items:center; gap:8px; margin:0 !important;
}
html body .nav-pills .nav-link *{ color:#fff !important; }
html body .nav-pills .nav-link:hover{ border-color:var(--neon2) !important; }
html body .nav-pills .nav-link.active{
  background:linear-gradient(120deg,var(--neon2),var(--neon3)) !important; border-color:transparent !important; box-shadow:var(--glow) !important;
}
html body .card-body{ padding:20px !important; }

/* ---------- Formularios ---------- */
html body label,html body .control-label,html body .form-label{
  font-weight:700 !important; color:var(--k) !important; font-size:13px !important; letter-spacing:.02em; margin-bottom:7px !important;
}
html body .form-control,html body .form-select,html body select,html body textarea,
html body input[type=text],html body input[type=number],html body input[type=email],html body input[type=password],html body input[type=url]{
  background:var(--w2) !important; border:1.5px solid var(--line) !important; border-radius:13px !important;
  color:var(--k) !important; min-height:48px; padding:11px 14px !important; font-size:14.5px !important; box-shadow:none !important;
  transition:border-color .2s, box-shadow .2s, background .2s !important;
}
html body textarea{ min-height:110px; }
html body .form-control:focus,html body .form-select:focus,html body select:focus,html body textarea:focus,html body input:focus{
  background:var(--w) !important; border-color:var(--neon) !important; box-shadow:0 0 0 4px rgba(160,32,240,.14) !important; outline:none !important;
}
html body .form-control[readonly],html body .form-control:disabled{ background:var(--w3) !important; color:var(--soft) !important; }
html body .bootstrap-select .dropdown-toggle{ background:var(--w2) !important; border:1.5px solid var(--line) !important; border-radius:13px !important; min-height:48px; color:var(--k) !important; }
html body .bootstrap-select .dropdown-menu{ border-radius:14px !important; border:1px solid var(--line) !important; box-shadow:0 20px 50px rgba(11,11,16,.12) !important; }
html body .bootstrap-select .dropdown-menu li a:hover,html body .bootstrap-select .dropdown-menu li.selected a{ background:var(--k) !important; color:#fff !important; }

/* ---------- Botones principales (Entregar, Buscar, etc.) ---------- */
html body .btn-primary,html body button[type=submit].btn,html body .btn_submit,html body .btn-actions,html body .login_btn,html body .btn_login,
html body .btn-warning,html body .btn-success{
  background:linear-gradient(120deg,var(--neon2),var(--neon) 55%,var(--neon3)) !important; color:#fff !important;
  border:0 !important; border-radius:14px !important; min-height:50px; font-weight:800 !important; font-size:15.5px !important; letter-spacing:.01em;
  box-shadow:0 12px 28px rgba(160,32,240,.38) !important; transition:transform .2s ease, box-shadow .3s ease, filter .2s !important;
  display:inline-flex !important; align-items:center; justify-content:center; gap:8px;
}
html body .btn-primary:hover,html body button[type=submit].btn:hover,html body .btn-actions:hover{
  transform:translateY(-2px); box-shadow:0 16px 36px rgba(160,32,240,.5), 0 0 0 1px rgba(193,59,255,.5) !important; filter:saturate(1.15);
}
html body .btn-secondary,html body .btn-dark,html body .btn-outline-primary{
  background:var(--k) !important; color:#fff !important; border:0 !important; border-radius:13px !important;
}
html body .btn-outline-primary:hover,html body .btn-secondary:hover{ box-shadow:var(--glow) !important; }
html body .btn.search{ min-height:48px; min-width:52px; }

/* ---------- Detalles del servicio ---------- */
html body .def_wraper .card-body h3{ font-size:15px !important; font-weight:700 !important; color:var(--k) !important; }
html body .def_wraper [class*="info"] .icon,html body .def_wraper .icon_wrap{
  background:var(--k) !important; color:var(--neon2) !important; border-radius:14px !important;
}

/* ---------- Tablas (pedidos, servicios) ---------- */
html body table{ color:var(--k) !important; }
html body .table thead th{ background:var(--k) !important; color:#fff !important; border:0 !important; font-size:12px; letter-spacing:.06em; text-transform:uppercase; }
html body .table tbody tr{ border-bottom:1px solid var(--line) !important; }
html body .table tbody tr:hover{ background:rgba(160,32,240,.04) !important; }
html body .badge,html body .label{ border-radius:999px !important; font-weight:700 !important; }
html body .bg-primary,html body .badge.bg-primary{ background:var(--neon) !important; }

/* ---------- Ventanas ---------- */
html body .modal-content{ border:0 !important; border-radius:22px !important; overflow:hidden; box-shadow:0 40px 90px rgba(11,11,16,.25) !important; }
html body .modal-header{ background:var(--k) !important; color:#fff !important; }
html body .modal-header *,html body .modal-header h5{ color:#fff !important; }
html body .modal-header .close,html body .modal-header .btn-close{ filter:invert(1); opacity:.8; }

/* ---------- Página de inicio (sin sesión) ---------- */
html body #notLogin,html body #hero_v3{ background:var(--w) !important; }
html body #hero_v3{ position:relative; overflow:hidden; padding-top:90px !important; }
html body #hero_v3::before{
  content:""; position:absolute; width:620px; height:620px; right:-160px; top:-180px; border-radius:50%;
  background:radial-gradient(circle,rgba(160,32,240,.22),transparent 65%); pointer-events:none;
}
html body #hero_v3 .hero__dott__1,html body #hero_v3 .hero_nion{ opacity:.25; filter:grayscale(1); }
html body .hero_content_v3 h4{
  display:inline-flex !important; align-items:center; gap:8px; position:static !important;
  font-family:'Inter',sans-serif !important; font-size:12.5px !important; font-weight:800 !important; letter-spacing:.14em; text-transform:uppercase;
  color:var(--neon3) !important; background:rgba(160,32,240,.08); border:1px solid rgba(160,32,240,.25); padding:8px 14px; border-radius:999px; margin:0 0 18px !important;
}
html body .hero_content_v3 h1{
  position:static !important; font-size:clamp(30px,4.6vw,58px) !important; line-height:1.04 !important; font-weight:800 !important;
  color:var(--k) !important; text-transform:none !important; margin:0 0 18px !important; letter-spacing:-.035em;
}
html body .hero_content_v3 h1 .if-neon{ color:var(--neon) !important; text-shadow:0 0 24px rgba(160,32,240,.35); }
html body .hero_content_v3 p{ color:var(--soft) !important; font-size:16.5px !important; line-height:1.65 !important; max-width:560px; }
html body .login_wraper,html body .login_inner{
  background:var(--w) !important; border:1px solid var(--line) !important; border-radius:22px !important; box-shadow:0 24px 60px rgba(11,11,16,.10) !important;
}
html body .website-title{ font-size:clamp(26px,3.2vw,40px) !important; font-weight:800 !important; }
html body .website-title span,html body .why-item-title span{ color:var(--neon) !important; }
html body section{ background-color:transparent; }
html body footer,html body .footer{ background:var(--k) !important; color:#d9d9e3 !important; }
html body footer a,html body .footer a{ color:#fff !important; }
html body footer h1,html body footer h2,html body footer h3,html body footer h4,html body footer h5{ color:#fff !important; }

/* Encabezado de la página de inicio */
html body header,html body .header,html body .navbar{
  background:rgba(255,255,255,.88) !important; backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line) !important; box-shadow:none !important;
}
html body header .nav-link,html body .navbar .nav-link,html body header a.nav-link{ color:var(--k) !important; font-weight:600 !important; }
html body header .nav-link:hover,html body .navbar .nav-link:hover,html body .navbar .nav-link.active{ color:var(--neon) !important; }

/* ---------- Celular ---------- */
@media (max-width:767px){
  html body #page_info{ grid-template-columns:1fr 1fr; gap:10px; }
  html body #page_info .item:first-child{ grid-column:1 / -1; }
  html body #page_info .item h4 .sp_text_primary{ font-size:16px !important; }
  html body #categoryFIlterWraper,html body .filter_btn_wrap{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px !important; }
  html body .btn_cat_filter,html body .btn_filter{ min-height:44px; font-size:13px !important; padding:9px 8px !important; }
  html body .top_header .user_settings{ gap:7px; }
  html body .top_header .user_settings > a,html body .top_header .user_settings .telegram,html body .top_header .day_night_btn{ width:38px !important; height:38px !important; min-width:38px; border-radius:12px !important; }
  html body .card-body{ padding:16px !important; }
  html body .nav-pills .nav-link{ padding:8px 11px !important; font-size:13px; }
  html body .hero_content_v3 h1{ font-size:32px !important; }
  html body .table-responsive,html body .table{ display:block; overflow-x:auto; -webkit-overflow-scrolling:touch; }
}

/* ---------- Ajustes finales ---------- */
/* Solo tema claro: se oculta el botón de modo noche */
html body .top_header .user_settings > a.day_night_btn,html body .top_header a.day_night_btn{ display:none !important; }
html body #currency_changer5 > li > a,html body #currency_changer5 > a{
  width:42px; height:42px; border-radius:13px !important; display:inline-flex !important; align-items:center; justify-content:center;
  background:var(--k) !important; color:#fff !important; box-shadow:none !important; border:0 !important;
}
html body #currency_changer5 *{ color:#fff; }
html body #currency_changer5 .dropdown-menu *,html body #currency_changer5 ul *{ color:var(--k) !important; }
html body #currency_changer5{ margin:0 !important; padding:0 !important; list-style:none; }
html body #categoryFIlterWraper{ padding:2px; }

/* Cuadros de detalles del servicio */
html body .details_data .item{
  background:var(--w) !important; border:1px solid var(--line) !important; border-radius:16px !important; box-shadow:none !important;
  display:flex !important; align-items:center; gap:12px; padding:12px 14px !important;
}
html body .details_data .item .icon{
  width:46px !important; height:46px !important; min-width:46px; border-radius:13px !important; display:grid !important; place-items:center;
  background:var(--k) !important; position:relative !important; inset:auto !important; margin:0 !important;
}
html body .details_data .item .icon *{ color:var(--neon2) !important; font-size:18px !important; position:static !important; }
html body .details_data .item h3{ font-size:14.5px !important; margin:0 !important; }
html body .details_data .item p,html body .details_data .item span{ color:var(--soft) !important; font-size:13px; }

/* Datos de arriba con etiqueta + valor ordenados */
html body #page_info .if-stat-label{ display:block; font:700 11px 'Inter',sans-serif; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
html body #page_info .if-stat-value{ display:block; margin-top:5px; font:800 19px 'Sora',sans-serif; letter-spacing:-.02em; color:var(--k); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
html body #page_info .if-stat-value.neon{ color:var(--neon3); }
html body #page_info .if-stat-sub{ display:block; margin-top:2px; font-size:12px; color:var(--soft); }
html body #page_info{ align-items:stretch; }
html body #page_info .item:has(.if-stat-value:empty){ display:none !important; }
@media (max-width:767px){
  html body #page_info .item:first-child{ grid-column:auto; }
  html body #categoryFIlterWraper,html body .filter_btn_wrap{ max-height:none !important; height:auto !important; overflow:visible !important; }
  html body .btn_cat_filter .filter_txt,html body .btn_filter .filter_txt{ display:inline !important; }
}

/* ---- Listas de Categoría y Servicio: sin espacio en blanco ---- */
html body #category-drop,html body #orders-drop{
  height:auto !important; min-height:0 !important; max-height:min(60vh,420px) !important; overflow-y:auto !important;
  padding:6px !important; border-radius:14px !important; border:1px solid #e6e3ef !important; box-shadow:0 20px 50px rgba(11,11,16,.14) !important;
  width:100% !important; transform:none !important; top:calc(100% + 6px) !important; left:0 !important; inset:auto !important; position:absolute !important;
}
html body .dropdown{ position:relative; }
html body #category-drop > *,html body #orders-drop > *{ display:block; border-radius:10px !important; padding:11px 12px !important; margin:0 0 2px !important; border:0 !important; white-space:normal !important; line-height:1.35; font-size:14px; }
html body #category-drop > *:hover,html body #orders-drop > *:hover,html body #category-drop > .active,html body #orders-drop > .active{ background:#0b0b10 !important; color:#fff !important; }
html body #category-drop > *:hover i,html body #orders-drop > *:hover i{ color:#fff !important; }
/* Botones de redes: solo las que tienen servicios, bien repartidos */
html body #categoryFIlterWraper.if-redes-ok{ display:flex !important; flex-wrap:wrap; gap:10px; }
html body #categoryFIlterWraper.if-redes-ok .btn_cat_filter{ flex:1 1 140px; max-width:220px; }
@media (max-width:767px){ html body #categoryFIlterWraper.if-redes-ok .btn_cat_filter{ flex:1 1 calc(50% - 10px); max-width:none; } }
/* Punto "en vivo" */
.if-live-dot{ display:inline-block; width:7px; height:7px; border-radius:50%; background:#16a34a; margin-right:6px; box-shadow:0 0 0 3px rgba(22,163,74,.18); animation:ifpulse 1.6s infinite; vertical-align:middle; }
@keyframes ifpulse{ 50%{ box-shadow:0 0 0 6px rgba(22,163,74,0); } }
/* Sin selector de idiomas */
.gtranslate_wrapper,.gt_float_switcher,#gt_float_wrapper,.langs-btn,.langs-btn-content{ display:none !important; }

/* ===== Niveles Inflary ===== */
.if-nivel-card{background:#0b0b10;color:#fff;border-radius:22px;padding:18px;margin:0 0 16px;position:relative;overflow:hidden;box-shadow:0 18px 40px rgba(11,11,16,.22)}
.if-nivel-card:before{content:"";position:absolute;width:260px;height:260px;right:-90px;top:-100px;background:radial-gradient(circle,rgba(193,59,255,.55),transparent 65%);pointer-events:none}
.if-nc-head{display:flex;align-items:center;gap:12px;position:relative}
.if-nc-tit small{display:block;color:#bdb6d6;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.if-nc-tit strong{font-size:22px;letter-spacing:-.4px;color:#fff}
.if-nc-ver{margin-left:auto;background:transparent;color:#fff;font-size:12.5px;font-weight:800;border:1px solid rgba(255,255,255,.3);padding:9px 12px;border-radius:12px;white-space:nowrap;cursor:pointer}
.if-nc-ver:hover{background:#fff;color:#0b0b10}
.if-nc-bar{height:12px;border-radius:99px;background:rgba(255,255,255,.12);overflow:hidden;margin-top:16px;position:relative}
.if-nc-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#a020f0,#c13bff,#e7a6ff);box-shadow:0 0 14px #c13bff;transition:width 1s ease}
.if-nc-t{display:flex;justify-content:space-between;gap:10px;font-size:12.5px;color:#d9d3ef;margin-top:8px;position:relative}
.if-nc-t b{color:#fff}
.if-nc-gift{margin-top:12px;background:rgba(160,32,240,.18);border:1px solid rgba(193,59,255,.45);border-radius:14px;padding:11px 12px;font-size:13px;position:relative;color:#fff}
.if-nc-gift b{color:#e7a6ff}
.if-nc-cta{display:block;text-align:center;margin-top:12px;background:linear-gradient(135deg,#c13bff,#7a12d4);color:#fff !important;font-weight:900;border-radius:14px;padding:13px;text-decoration:none !important;box-shadow:0 10px 24px rgba(160,32,240,.45);position:relative}
.if-gem{width:42px;height:42px;border-radius:13px;background:var(--c);display:inline-grid;place-items:center;color:#fff;flex:none;box-shadow:inset 0 -6px 12px rgba(0,0,0,.2),0 6px 14px rgba(0,0,0,.14)}
.if-gem b{font-size:15px;font-weight:900;text-shadow:0 1px 2px rgba(0,0,0,.45)}
.if-gem.big{width:58px;height:58px;border-radius:18px;box-shadow:0 0 0 3px rgba(255,255,255,.12),0 10px 24px rgba(0,0,0,.4)}
.if-gem.big b{font-size:22px}
.if-gem.huge{width:110px;height:110px;border-radius:32px;margin:18px auto 14px;display:grid;transform:rotate(-6deg);box-shadow:0 0 0 6px rgba(255,255,255,.08),0 0 50px rgba(193,59,255,.8);animation:ifgem 1s cubic-bezier(.2,1.4,.4,1)}
.if-gem.huge b{font-size:44px}
@keyframes ifgem{0%{transform:scale(.2) rotate(-40deg);opacity:0}100%{transform:scale(1) rotate(-6deg);opacity:1}}
.if-up-ov{position:fixed;inset:0;z-index:99999;background:radial-gradient(circle at 50% 35%,rgba(160,32,240,.55),rgba(11,11,16,.94) 60%);display:grid;place-items:center;padding:20px;opacity:0;transition:opacity .3s;overflow:hidden}
.if-up-ov.on{opacity:1}
.if-up-md{background:#0b0b10;border:1px solid rgba(193,59,255,.5);border-radius:28px;padding:30px 22px 22px;text-align:center;color:#fff;width:100%;max-width:370px;position:relative;box-shadow:0 0 60px rgba(160,32,240,.6);z-index:2}
.if-up-k{font-size:12px;font-weight:900;letter-spacing:.2em;color:#e7a6ff}
.if-up-md h2{font-size:30px;letter-spacing:-.6px;color:#fff;margin:0}
.if-up-md p{color:#cfc8e6;margin:6px 0 0}
.if-up-reg{margin:18px 0;background:linear-gradient(135deg,#a020f0,#7a12d4);border-radius:18px;padding:14px}
.if-up-reg small{display:block;color:#f1dcff;font-weight:700}.if-up-reg b{font-size:30px;color:#fff}
.if-up-nx{font-size:13px;color:#bdb6d6;margin-bottom:14px}.if-up-nx b{color:#fff}.if-up-nx b.n{color:#e7a6ff}
.if-up-ok{display:block;width:100%;background:#fff;color:#0b0b10;font-weight:900;border-radius:14px;padding:14px;border:0;cursor:pointer;font-size:15px}
.if-conf{position:absolute;top:-20px;width:9px;height:14px;border-radius:2px;animation:ifcaer linear infinite;z-index:1}
@keyframes ifcaer{0%{transform:translateY(0) rotate(0)}100%{transform:translateY(110vh) rotate(540deg)}}
.if-sheet-ov{position:fixed;inset:0;z-index:99998;background:rgba(11,11,16,.55);opacity:0;transition:opacity .25s}
.if-sheet-ov.on{opacity:1}
.if-sheet{position:absolute;left:0;right:0;bottom:0;max-height:92vh;background:#f4f4f8;border-radius:24px 24px 0 0;display:flex;flex-direction:column;transform:translateY(30px);transition:transform .25s;max-width:640px;margin:0 auto}
.if-sheet-ov.on .if-sheet{transform:none}
.if-sheet-h{display:flex;gap:12px;align-items:flex-start;padding:20px 18px 10px}
.if-sheet-h h3{font-size:22px;font-weight:900;margin:0;color:#0b0b10}.if-sheet-h p{color:#6b6b7b;margin:4px 0 0;font-size:13px}
.if-sheet-x{margin-left:auto;width:38px;height:38px;border-radius:12px;border:0;background:#0b0b10;color:#fff;font-size:16px;flex:none;cursor:pointer}
.if-sheet-b{overflow-y:auto;padding:4px 14px 24px}
.if-lv{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #ececf3;border-radius:16px;padding:12px;margin-bottom:8px;color:#0b0b10}
.if-lv-n{flex:1;min-width:0}.if-lv-n b{display:block;font-size:14.5px}.if-lv-n small{color:#6b6b7b;font-size:12px;line-height:1.3;display:block}
.if-lv-g{font-weight:800;color:#7a12d4;font-size:13px;text-align:right;white-space:nowrap}.if-lv-g small{display:block;color:#8a84a3;font-weight:600;font-size:11px}
.if-pill{font-size:11px;font-weight:800;padding:4px 8px;border-radius:99px;white-space:nowrap}
.if-pill.ok{background:#dcfce7;color:#15803d}.if-pill.cur{background:#0b0b10;color:#fff}.if-pill.nx{background:#f3e8ff;color:#7e22ce}
.if-lock{opacity:.5}
.if-lv.cur{border:2px solid #0b0b10;box-shadow:0 10px 24px rgba(11,11,16,.12)}
.if-lv.lock{opacity:.72}
.if-rules{background:#fff;border:1px solid #ececf3;border-radius:16px;padding:14px;margin-top:10px;color:#3d3d4a;font-size:13px}
.if-rules ul{margin:8px 0 0 18px;padding:0}.if-rules li{margin:5px 0}
html body .if-up-md h2,html body .if-nc-tit strong,html body .if-up-reg b{color:#fff !important}
html body .if-up-md p{color:#cfc8e6 !important}
html body .if-sheet-h h3,html body .if-lv-n b{color:#0b0b10 !important}

/* ===== Banner de anuncios (1600 x 600) ===== */
.if-banner{position:relative;overflow:hidden;border-radius:22px;margin:0 0 16px;background:#0b0b10;box-shadow:0 18px 40px rgba(11,11,16,.18);aspect-ratio:8/3}
.if-bn-track{display:flex;height:100%;transition:transform .55s cubic-bezier(.4,0,.2,1)}
.if-bn-slide{flex:0 0 100%;height:100%}
.if-bn-slide a,.if-bn-slide img{display:block;width:100%;height:100%}
.if-bn-slide img{object-fit:cover}
.if-bn-nav{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:0;background:rgba(11,11,16,.55);color:#fff;font-size:24px;line-height:1;cursor:pointer;backdrop-filter:blur(6px);display:grid;place-items:center}
.if-bn-nav.prev{left:12px}.if-bn-nav.next{right:12px}
.if-bn-nav:hover{background:#a020f0}
.if-bn-dots{position:absolute;left:0;right:0;bottom:10px;display:flex;justify-content:center;gap:6px}
.if-bn-dots button{width:8px;height:8px;border-radius:99px;border:0;padding:0;background:rgba(255,255,255,.55);cursor:pointer;transition:width .3s}
.if-bn-dots button.on{width:22px;background:#fff;box-shadow:0 0 10px #c13bff}
@media(max-width:767px){.if-banner{border-radius:16px;margin-bottom:12px}.if-bn-nav{display:none}.if-bn-dots{bottom:6px}}
/* ===== Nivel en cuadrito ===== */
html body #page_info .if-nivel-mini{cursor:pointer;background:#0b0b10 !important;border-color:#0b0b10 !important;position:relative;overflow:hidden}
html body #page_info .if-nivel-mini:before{content:"";position:absolute;width:140px;height:140px;right:-50px;top:-60px;background:radial-gradient(circle,rgba(193,59,255,.6),transparent 65%);pointer-events:none}
html body #page_info .if-nivel-mini .if-stat-label{color:#bdb6d6 !important}
html body #page_info .if-nivel-mini .if-stat-value{color:#fff !important;font-size:18px !important}
html body #page_info .if-nivel-mini .if-stat-sub{color:#d9d3ef !important;font-size:11.5px !important}
.if-nm-row{display:flex !important;align-items:center;gap:8px;margin:6px 0 2px}
.if-nm-row .if-gem{width:30px;height:30px;border-radius:9px}.if-nm-row .if-gem b{font-size:13px}
.if-nm-bar{display:block !important;height:6px;border-radius:99px;background:rgba(255,255,255,.14);overflow:hidden;margin:6px 0 4px}
.if-nm-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#a020f0,#e7a6ff);box-shadow:0 0 8px #c13bff;transition:width 1s}
html body #page_info .if-nivel-mini h4{background:transparent !important;box-shadow:none !important;border:0 !important;position:relative;z-index:1}
html body #page_info .if-nivel-mini h4:before,html body #page_info .if-nivel-mini h4:after{display:none !important}
html body #page_info .if-nivel-mini .if-stat-value{text-transform:none !important}
html body #page_info .item.if-nivel-mini::before{left:auto !important;bottom:auto !important;top:-60px !important;right:-50px !important;width:140px !important;height:140px !important;border-radius:50% !important;box-shadow:none !important;background:radial-gradient(circle,rgba(193,59,255,.6),transparent 65%) !important}

/* Banner y cuadros alineados con el resto (sin salirse de los bordes) */
html body #if-banner,html body #page_info{margin-left:10px !important;margin-right:10px !important;width:auto !important;max-width:calc(100% - 20px) !important;box-sizing:border-box !important}
@media(max-width:767px){html body #if-banner,html body #page_info{margin-left:15px !important;margin-right:15px !important;max-width:calc(100% - 30px) !important}}

/* v7: barra de arriba, menú en celular, botón Acelerar */
html body .top_header .user_settings{display:flex !important;align-items:center !important;gap:8px !important;flex-wrap:nowrap !important;margin:0 !important}
html body .top_header .user_settings > a.telegram,html body #currencyToggler2,html body .top_header .btn_profiles{height:42px !important;min-height:42px !important;width:42px !important;min-width:42px !important;padding:0 !important;margin:0 !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;border-radius:13px !important;flex:0 0 auto !important;line-height:1 !important;box-sizing:border-box !important;vertical-align:middle}
html body #currencyToggler2{background:linear-gradient(135deg,#a020f0,#6d28d9) !important;border:0 !important;box-shadow:0 6px 16px rgba(160,32,240,.35) !important}
html body #currencyToggler2 span{display:inline-flex;align-items:center;justify-content:center;margin:0 !important}
html body #currencyToggler2 .caret,html body #currencyToggler2::after,html body .top_header .btn_profiles::after{display:none !important}
html body #currency_changer5{margin:0 !important;padding:0 !important;list-style:none !important;display:flex !important;align-items:center !important;height:42px}
html body #currency_changer5 > li,html body #currency_changer5 .dropdown{margin:0 !important;padding:0 !important;display:flex !important;align-items:center !important;position:relative}
html body .top_header .btn_profiles{overflow:hidden;background:#fff !important;border:1px solid #e7e3f5 !important}
html body .top_header .btn_profiles .user_top_avatar,html body .top_header .btn_profiles img{width:34px !important;height:34px !important;border-radius:50% !important;margin:0 !important}
html body .top_header .btn_profiles .menu_text{display:none !important}
html body .top_header .dropdown-menu{z-index:2000 !important}
#if-menu-btn{display:none}
@media (max-width:1250px){
 #if-menu-btn{display:inline-flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:42px;height:42px;min-width:42px;border-radius:13px;border:0;background:#0b0b10;margin:0 10px 0 0;padding:0;flex:0 0 auto;cursor:pointer;box-shadow:0 6px 16px rgba(11,11,16,.2)}
 #if-menu-btn span{display:block;width:18px;height:2px;border-radius:2px;background:#fff}
 html body .top_header{display:flex !important;align-items:center !important}
 html body #main_container .sidebar{z-index:1001 !important}
 body.if-side-open #if-side-ov{display:block;position:fixed;inset:0;background:rgba(10,8,20,.45);z-index:1000}
}
#if-side-ov{display:none}
.if-acel-wrap{margin-top:6px}
.if-acel{border:0;border-radius:10px;padding:7px 12px;font-weight:800;font-size:12.5px;color:#fff;background:linear-gradient(135deg,#a020f0,#6d28d9);box-shadow:0 6px 14px rgba(160,32,240,.3);cursor:pointer;white-space:nowrap}
.if-acel:disabled{cursor:default;opacity:.85}
.if-acel.done{background:#ecfdf3 !important;color:#15803d !important;box-shadow:none !important;border:1px solid #bbf7d0}
.if-toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,30px);opacity:0;background:#0b0b10;color:#fff;padding:12px 18px;border-radius:14px;font-weight:700;font-size:14px;z-index:5000;transition:.35s;box-shadow:0 12px 30px rgba(0,0,0,.25);max-width:90vw;text-align:center}
.if-toast.on{opacity:1;transform:translate(-50%,0)}

/* v8: barra de arriba sin salirse */
@media (max-width:1250px){
 html body .top_header .top_head_wrap{flex:1 1 auto !important;min-width:0 !important;width:auto !important;display:flex !important;align-items:center !important}
 html body .top_header .top_head_wrap > .item:not(.user_settings){min-width:0 !important;flex:0 1 auto !important;overflow:hidden}
 html body .top_header .user_settings{margin-left:auto !important;flex:0 0 auto !important}
}
@media (max-width:480px){
 html body .top_header .top_head_wrap > .item:not(.user_settings) *{font-size:17px !important;line-height:1.2 !important;white-space:nowrap}
 html body .top_header .user_settings{gap:6px !important}
 html body .top_header .user_settings > a.telegram,html body #currencyToggler2,html body .top_header .btn_profiles,#if-menu-btn{width:38px !important;min-width:38px !important;height:38px !important;min-height:38px !important;border-radius:12px !important}
 html body #currency_changer5{height:38px}
 html body .top_header .btn_profiles .user_top_avatar,html body .top_header .btn_profiles img{width:30px !important;height:30px !important}
 #if-menu-btn{margin-right:8px !important}
}

/* v9: sin foto arriba, menú lateral con opciones de cuenta, buscador de servicios */
html body .top_header .user_settings > .dropdown{display:none !important}
@media (max-width:1250px){ #if-menu-btn{margin-left:10px !important;margin-right:12px !important} }
#if-extra-menu .if-menu-sep{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#8b84a3;margin:14px 12px 6px}
#if-extra-menu .if-logout{background:#0b0b10 !important;color:#fff !important;margin-top:6px}
#if-extra-menu .if-logout .menu_icon,#if-extra-menu .if-logout .menu_icon *,#if-extra-menu .if-logout .menu_name{color:#fff !important}
.if-svc-search{position:relative}
.if-ss-box{position:relative}
.if-ss-box i{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#8b7fb0;pointer-events:none;z-index:2}
.if-ss-box input{padding-left:40px !important}
.if-ss-list{position:absolute;left:0;right:0;top:100%;margin-top:6px;background:#fff;border:1px solid #e7e3f5;border-radius:14px;box-shadow:0 16px 40px rgba(40,20,90,.18);padding:6px;max-height:320px;overflow:auto;z-index:50}
.if-ss-list[hidden]{display:none}
.if-ss-list button{display:flex;gap:10px;align-items:flex-start;width:100%;border:0;background:none;text-align:left;padding:9px 10px;border-radius:10px;cursor:pointer}
.if-ss-list button:hover{background:#f4efff}
.if-ss-list button b{flex:0 0 auto;background:#0b0b10;color:#fff;border-radius:8px;padding:2px 7px;font-size:12px}
.if-ss-list button span{display:flex;flex-direction:column;min-width:0}
.if-ss-list button em{font-style:normal;color:#1d1530;font-size:13.5px;line-height:1.3}
.if-ss-list button small{color:#7a7392;font-size:11.5px}
.if-ss-empty{padding:12px;color:#7a7392;font-size:13.5px}

/* v10 */
html body #if-svc-search .if-ss-box input.form-control,html body #if-svc-search .if-ss-box input{padding-left:44px !important;text-indent:0 !important}
html body #if-svc-search .if-ss-box i{left:16px !important}

/* v11: menú lateral desplazable en celular */
@media (max-width:1250px){
 html body #main_container .sidebar{height:100vh !important;height:100dvh !important;max-height:100dvh !important;overflow-y:auto !important;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding-bottom:24px !important}
 html body #main_container .sidebar .sidebar_bottom,html body #main_container .sidebar .sidebar_menu{height:auto !important;max-height:none !important;overflow:visible !important}
}

/* v12: buscador de servicios con la lupa al lado (sin montarse) */
html body #if-svc-search .if-ss-box{display:flex !important;align-items:center !important;gap:10px !important;background:#f4f3f8;border:1px solid #e6e3ef;border-radius:14px;padding:0 14px;min-height:50px}
html body #if-svc-search .if-ss-box:focus-within{border-color:#a020f0;box-shadow:0 0 0 4px rgba(160,32,240,.12)}
html body #if-svc-search .if-ss-box i{position:static !important;transform:none !important;left:auto !important;top:auto !important;flex:0 0 auto;color:#8b7fb0;font-size:15px}
html body #if-svc-search .if-ss-box input,html body #if-svc-search .if-ss-box input.form-control{flex:1 1 auto !important;min-width:0 !important;border:0 !important;background:transparent !important;box-shadow:none !important;padding:0 !important;height:48px !important;outline:0 !important}
html body .if-dd .dropdown-menu.show{display:block !important}
html body .if-dd .dropdown-menu:not(.show){display:none !important}
html body #orderform-service{display:block;margin-top:6px}

/* v13: botones de arriba con margen, niveles desplazables, botón cargando */
@media (max-width:1250px){ html body .top_header .user_settings{margin-right:12px !important} html body .top_header{box-sizing:border-box !important} }
.if-sheet{max-height:calc(100vh - 24px) !important;max-height:calc(100dvh - 24px) !important}
.if-sheet-b{flex:1 1 auto !important;min-height:0 !important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.if-sheet-h{flex:0 0 auto}
@keyframes ifSpin{to{transform:rotate(360deg)}}
.if-spin{display:inline-block;width:16px;height:16px;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;animation:ifSpin .7s linear infinite;vertical-align:-3px;margin-right:6px}
#order-form button.if-busy{opacity:.85;cursor:wait}

/* v14: filtros de Pedidos visibles y en una fila deslizable; barra de arriba siempre encima */
html body #orders_menu{display:flex !important;flex-direction:row !important;flex-wrap:nowrap !important;gap:8px !important;overflow-x:auto !important;-webkit-overflow-scrolling:touch;padding-bottom:4px !important;scrollbar-width:none}
html body #orders_menu::-webkit-scrollbar{display:none}
html body #orders_menu > .nav-link{flex:0 0 auto !important;width:auto !important;white-space:nowrap !important;opacity:1 !important;visibility:visible !important}
html body #orders_menu > .nav-link:not(.active){background:#f4f3f8 !important;color:#2b2540 !important;border:1px solid #e9e5f3 !important;box-shadow:none !important}
html body #orders_menu > .nav-link:not(.active) *{color:#6d28d9 !important}
html body #orders_menu > .nav-link:not(.active) span,html body #orders_menu > .nav-link:not(.active){color:#2b2540 !important}
html body .top_header{z-index:120 !important}

/* v15: tabla de pedidos legible; en celular cada pedido es una tarjeta */
html body table.order_page tbody td{color:#1d1530 !important;vertical-align:middle !important}
html body table.order_page .order_date{color:#5b5670 !important;font-size:13px;white-space:nowrap}
html body table.order_page .order_link_wrap{max-width:230px}
html body table.order_page .order_link{display:inline-flex !important;align-items:center;gap:6px;max-width:230px;padding:6px 10px !important;border-radius:10px !important;background:#f4efff !important;border:1px solid #e6dcfb !important;color:#6d28d9 !important;font-size:13px !important;text-decoration:none !important;box-shadow:none !important}
html body table.order_page .order_link span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:200px;color:#6d28d9 !important}
html body table.order_page .order_link i{margin-right:6px;color:#a020f0 !important}
@media (max-width:767px){
 html body table.order_page thead{display:none !important}
 html body table.order_page,html body table.order_page tbody,html body table.order_page tr,html body table.order_page td{display:block !important;width:100% !important;min-width:0 !important}
 html body .table-responsive:has(> table.order_page){overflow:visible !important;border:0 !important}
 html body table.order_page tr{background:#fff !important;border:1px solid #ece9f5 !important;border-radius:16px !important;padding:10px 14px !important;margin:0 0 12px !important;box-shadow:0 8px 22px rgba(40,20,90,.06) !important}
 html body table.order_page td{display:flex !important;justify-content:space-between !important;align-items:center !important;gap:14px !important;padding:8px 0 !important;border:0 !important;border-bottom:1px dashed #ece9f5 !important;text-align:right !important;font-size:14px !important;background:transparent !important;white-space:normal !important}
 html body table.order_page td:last-child{border-bottom:0 !important}
 html body table.order_page td::before{content:attr(data-l);flex:0 0 auto;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#8b84a3;text-align:left}
 html body table.order_page td > *{margin-left:auto}
 html body table.order_page .order_link span{max-width:170px}
 html body table.order_page td .col-lg-8:empty{display:none}
 html body table.order_page .if-acel-wrap{margin:0 !important}
}

/* v16 */
@media (max-width:767px){
 html body table.order_page .order_date{white-space:normal !important;text-align:right}
 html body .if-orders-wrap{overflow:visible !important;border:0 !important;padding:0 !important}
 html body table.order_page{margin:0 !important}
}

/* v17: pedidos en tarjetas compactas (celular) */
@media (max-width:767px){
 html body table.order_page tbody tr{display:grid !important;grid-template-columns:auto 1fr auto !important;grid-template-areas:"id est tot" "svc svc svc" "meta meta meta" "lnk lnk acc" !important;gap:6px 10px !important;align-items:center !important;padding:12px 14px !important;margin:0 0 10px !important;border-radius:14px !important;background:#fff !important}
 html body table.order_page tbody td{display:block !important;width:auto !important;padding:0 !important;border:0 !important;text-align:left !important;font-size:13px !important;min-width:0 !important}
 html body table.order_page tbody td::before{content:none !important}
 html body table.order_page tbody td > *{margin-left:0 !important}
 html body table.order_page tbody td:nth-child(1){grid-area:id}
 html body table.order_page tbody td:nth-child(9){grid-area:est;justify-self:start}
 html body table.order_page tbody td:nth-child(4){grid-area:tot;font-weight:800 !important;font-size:14px !important;color:#0b0b10 !important}
 html body table.order_page tbody td:nth-child(7){grid-area:svc;font-weight:600 !important;color:#1d1530 !important;line-height:1.35 !important;display:-webkit-box !important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 html body table.order_page tbody td:nth-child(2){grid-area:meta}
 html body table.order_page tbody td:nth-child(5),html body table.order_page tbody td:nth-child(6),html body table.order_page tbody td:nth-child(8){display:none !important}
 html body table.order_page tbody td:nth-child(3){grid-area:lnk;min-width:0 !important}
 html body table.order_page tbody td:nth-child(10){grid-area:acc;justify-self:end}
 html body table.order_page tbody td:nth-child(10):empty{display:none !important}
 html body table.order_page .order_id{font-size:12.5px !important;padding:3px 9px !important}
 html body table.order_page .order_link{max-width:100% !important;padding:5px 9px !important;font-size:12px !important}
 html body table.order_page .order_link span{max-width:200px !important}
 html body table.order_page .order_link_wrap{max-width:100% !important}
 html body table.order_page td:nth-child(9) *{font-size:11.5px !important;padding:3px 10px !important}
 html body table.order_page .if-acel{padding:6px 10px !important;font-size:12px !important}
 .if-oc-meta{display:flex;flex-wrap:wrap;gap:4px 12px;color:#6b6585;font-size:12px}
 .if-oc-meta b{color:#1d1530;font-weight:700}
}
@media (min-width:768px){ .if-oc-meta{display:none} }

/* v18 */
@media (max-width:767px){ html body table.order_page tbody td:nth-child(9) > *{display:inline-block !important;width:auto !important;min-width:0 !important} }

/* v19: avisos del cliente con los colores del panel */
html body .alert.alert-success,html body .alert.alert-danger,html body .alert.alert-warning,html body .alert.alert-info{background:#fff !important;color:#1d1530 !important;border:1px solid #ece5fd !important;border-left:5px solid #a020f0 !important;border-radius:16px !important;box-shadow:0 12px 30px rgba(40,20,90,.10) !important;padding:16px 18px !important;font-weight:500}
html body .alert.alert-danger{border-left-color:#ef4444 !important}
html body .alert.alert-warning{border-left-color:#f59e0b !important}
html body .alert *{color:inherit}
.if-ok-h{display:flex;align-items:center;gap:10px;margin:0 0 12px;font-weight:800;font-size:16px;color:#0b0b10}
.if-ok-h i{width:32px;height:32px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#a020f0,#6d28d9);color:#fff !important;font-style:normal;font-size:16px;box-shadow:0 6px 14px rgba(160,32,240,.35)}
.if-ok-r{display:flex;justify-content:space-between;gap:14px;padding:7px 0;border-top:1px dashed #ece9f5;font-size:13.5px}
.if-ok-r span{color:#8b84a3;font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.05em;flex:0 0 auto}
.if-ok-r b{color:#1d1530;font-weight:700;text-align:right;min-width:0;overflow-wrap:anywhere}
.if-ok-r a{color:#6d28d9 !important;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:210px;display:inline-block;vertical-align:bottom}
.if-ok-r.tot b{color:#a020f0;font-size:15px}

/* v20: barra de progreso de los pedidos */
.if-prog{margin-top:8px;min-width:170px;text-align:left}
.if-prog-top{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;font-weight:700;color:#3b0764;margin-bottom:5px}
.if-prog-pct{color:#6d28d9}
.if-prog-bar{position:relative;height:8px;border-radius:99px;background:#ede9fe;overflow:hidden}
.if-prog-bar i{position:absolute;left:0;top:0;bottom:0;border-radius:99px;background:linear-gradient(90deg,#7c3aed,#a855f7);transition:width .8s ease}
.if-prog.is-on .if-prog-bar i{background-image:linear-gradient(90deg,#7c3aed,#a855f7),linear-gradient(110deg,transparent 30%,rgba(255,255,255,.55) 50%,transparent 70%);background-size:100% 100%,200% 100%;background-blend-mode:screen;animation:ifProgBrillo 1.4s linear infinite}
@keyframes ifProgBrillo{0%{background-position:0 0,200% 0}100%{background-position:0 0,-200% 0}}
.if-prog.is-ok .if-prog-bar i{background:#7c3aed}
.if-prog.is-part .if-prog-bar i{background:#a78bfa}
.if-prog-sub{margin-top:5px;font-size:11.5px;color:#6b6585}
.if-prog-sub b{color:#1e1b2e}
.if-prog-spin{display:inline-block;width:10px;height:10px;margin-right:6px;vertical-align:-1px;border:2px solid #ddd6fe;border-top-color:#7c3aed;border-radius:50%;animation:ifProgGira .8s linear infinite}
@keyframes ifProgGira{to{transform:rotate(360deg)}}
@media (max-width:767px){.if-prog{min-width:0;width:100%;margin-top:4px;padding:10px 12px;background:#faf8ff;border:1px solid #efe9ff;border-radius:12px}}

/* v21: caja de progreso completa en celular */
@media (max-width:767px){html body table.order_page tbody td.if-has-prog:nth-child(7), html body table.order_page tbody td.if-has-prog{display:block!important;overflow:visible!important;height:auto!important;max-height:none!important;min-height:0!important;white-space:normal!important;text-overflow:clip!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;-webkit-box-orient:initial!important}
table.order_page td.if-has-prog .if-prog,table.order_page td.if-has-prog .if-prog *{white-space:normal!important;overflow:visible;text-overflow:clip!important;max-height:none!important}
.if-prog-top{flex-wrap:nowrap}.if-prog-pct{flex:0 0 auto}}

/* v22: sin línea negra encima de los pedidos */
@media (max-width:767px){html body table.order_page tbody{border-top:0!important}html body table.order_page thead tr{border:0!important}}

/* v23: botón y ventana de "Reportar caída" */
.if-caida{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin-top:10px;padding:9px 12px;border-radius:10px;border:1px solid #e4dafc;background:#fff;color:#5b21b6;font-weight:700;font-size:13px;cursor:pointer}
.if-caida:active{transform:scale(.98)}
.if-caida.is-hecho{background:#f4efff;color:#7c6aa8;border-color:#efe9ff;cursor:default}
.if-cd-ov{position:fixed;inset:0;z-index:2147483000;background:rgba(11,11,16,.55);display:flex;align-items:flex-end;justify-content:center;padding:12px}
@media (min-width:768px){.if-cd-ov{align-items:center}}
.if-cd{position:relative;background:#fff;border-radius:22px;width:100%;max-width:420px;padding:22px 18px 18px;box-shadow:0 30px 70px rgba(0,0,0,.3)}
.if-cd h3{margin:0 0 6px;font-weight:800;font-size:19px;color:#0b0b10}
.if-cd-p{margin:0 0 14px;color:#5b5670;font-size:14px;line-height:1.45}
.if-cd label{display:block;font-size:13px;font-weight:700;color:#1e1b2e;margin:10px 0 6px}
.if-cd-in,.if-cd-ta{width:100%;border:1px solid #e4e0f0;border-radius:12px;padding:11px 12px;font-size:16px;background:#faf9ff;outline:none}
.if-cd-in:focus,.if-cd-ta:focus{border-color:#a78bfa;background:#fff}
.if-cd-go{width:100%;margin-top:16px;padding:13px;border:0;border-radius:14px;background:linear-gradient(135deg,#8b5cf6,#6d28d9);color:#fff;font-weight:800;font-size:15px;display:flex;align-items:center;justify-content:center}
.if-cd-go:disabled{opacity:.8}
.if-cd-go .if-prog-spin{border-color:rgba(255,255,255,.4);border-top-color:#fff}
.if-cd-x{position:absolute;top:12px;right:12px;width:34px;height:34px;border-radius:10px;border:0;background:#0b0b10;color:#fff;font-size:20px;line-height:1}
.if-cd-msg{margin:10px 0 0;font-size:13px;text-align:center}
.if-cd-msg.ok{color:#15803d}.if-cd-msg.err{color:#b91c1c}

body:has(.if-cd-ov) [id^="gb-widget"]{display:none!important}
body.if-cd-open [id^="gb-widget"]{display:none!important}

/* v24: logo subido por el admin, siempre del tamaño correcto */
.if-logo-img{display:block;height:auto!important;width:auto!important;max-height:44px!important;max-width:170px!important;object-fit:contain}
@media (max-width:767px){.if-logo-img{max-height:42px!important;max-width:150px!important}}

/* v25: logo centrado con los botones de la barra de arriba */
.top_head_wrap>.item:first-child,.top_head_wrap .item:has(.logo_off_nav){display:flex!important;align-items:center!important}
.logo_off_nav{display:flex!important;align-items:center!important;margin:0!important;padding:0!important;top:auto!important;transform:none!important;line-height:0}
.logo_off_nav a{display:flex!important;align-items:center}
.if-logo-img{mix-blend-mode:multiply}

/* v26: espacio entre la barra de arriba y el contenido (banner) */
@media (max-width:767px){html body main .content{padding-top:88px!important}}

/* v27: sin 'Link de ejemplo' en detalles del servicio */
.details_data:not(.details_2):has([data-id="serviceLink"]){display:none!important}
.details_2 .item_content p small{display:block;margin-top:2px;color:#5b5670;font-size:13.5px;font-weight:500}
