/* IDEPAL B2B — Header fijo real Astra Child */

html,
body{
  overflow-x:clip !important;
}

@supports not (overflow-x:clip){
  html,
  body{
    overflow-x:hidden !important;
  }
}

body.ip-header-fixed-ready{
  padding-top:var(--ip-header-height, 96px) !important;
}

body.ip-header-fixed-ready #masthead,
body.ip-header-fixed-ready .site-header,
body.ip-header-fixed-ready header.site-header,
body.ip-header-fixed-ready .ast-primary-header-bar{
  position:fixed !important;
  top:var(--ip-adminbar-height, 0px) !important;
  left:0 !important;
  right:0 !important;
  width:100% !important;
  z-index:999999 !important;
  background:#fff !important;
  transform:none !important;
}

body.ip-header-scrolled #masthead,
body.ip-header-scrolled .site-header,
body.ip-header-scrolled .ast-primary-header-bar{
  box-shadow:0 4px 22px rgba(0,0,0,.10) !important;
}

body.ip-header-fixed-ready #masthead::before,
body.ip-header-fixed-ready .site-header::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:3px;
  background:#8b0d31;
  z-index:5;
}

.ast-mobile-popup-drawer,
.ast-mobile-popup-overlay{
  z-index:1000001 !important;
}

/* ==========================================================
   IDEPAL B2B — Precios privados / bloqueo B2B
   ========================================================== */

.idepal-b2b-lock{
  width:100%;
  background:#f5f3f0;
  border:1px solid #e8e3dc;
  border-radius:14px;
  padding:18px;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:14px;
  margin:14px 0 18px;
}

.idepal-b2b-lock__icon{
  width:42px;
  height:42px;
  border-radius:10px;
  background:#fbeef2;
  color:#8b0d31;
  display:flex;
  align-items:center;
  justify-content:center;
}

.idepal-b2b-lock__icon svg{
  width:22px;
  height:22px;
}

.idepal-b2b-lock__content strong{
  display:block;
  font-family:'Barlow Condensed','Arial Narrow',sans-serif;
  font-size:20px;
  font-weight:800;
  line-height:1;
  color:#8b0d31;
  text-transform:uppercase;
  letter-spacing:.8px;
}

.idepal-b2b-lock__content span{
  display:block;
  margin-top:6px;
  font-size:13px;
  color:#777;
  line-height:1.4;
}

.idepal-b2b-lock__actions{
  grid-column:1 / -1;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:4px;
}

.idepal-b2b-lock__btn,
.idepal-single-b2b-message__actions a:first-child{
  min-height:44px;
  padding:0 22px;
  border-radius:9px;
  background:#8b0d31;
  color:#fff !important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-family:'Barlow Condensed','Arial Narrow',sans-serif;
  font-weight:800;
  font-size:16px;
  letter-spacing:1.2px;
  text-transform:uppercase;
  text-decoration:none !important;
}

.idepal-b2b-lock__btn:hover,
.idepal-single-b2b-message__actions a:first-child:hover{
  background:#6b0926;
  color:#fff !important;
}

.idepal-b2b-lock__link,
.idepal-single-b2b-message__actions a:last-child{
  min-height:44px;
  padding:0 18px;
  border-radius:9px;
  border:1px solid #d8d0c6;
  color:#8b0d31 !important;
  background:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-family:'Barlow Condensed','Arial Narrow',sans-serif;
  font-weight:800;
  font-size:16px;
  letter-spacing:1px;
  text-transform:uppercase;
  text-decoration:none !important;
}

.idepal-b2b-lock__link:hover,
.idepal-single-b2b-message__actions a:last-child:hover{
  border-color:#8b0d31;
  color:#8b0d31 !important;
}

/* Mensaje en ficha producto donde iría el botón comprar */
.idepal-single-b2b-message{
  margin-top:20px;
  background:#fff;
  border:1px solid #e8e3dc;
  border-radius:14px;
  padding:20px;
}

.idepal-single-b2b-message strong{
  display:block;
  font-family:'Barlow Condensed','Arial Narrow',sans-serif;
  font-size:22px;
  font-weight:800;
  text-transform:uppercase;
  color:#1a1a1a;
  line-height:1;
}

.idepal-single-b2b-message p{
  margin:8px 0 16px;
  color:#777;
  font-size:14px;
}

.idepal-single-b2b-message__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

/* Categoría: que el bloque no rompa la tarjeta */
.woocommerce ul.products li.product .idepal-b2b-lock{
  margin:0 0 18px;
  padding:14px;
  border-radius:10px;
}

.woocommerce ul.products li.product .idepal-b2b-lock__icon{
  width:34px;
  height:34px;
}

.woocommerce ul.products li.product .idepal-b2b-lock__content strong{
  font-size:17px;
}

.woocommerce ul.products li.product .idepal-b2b-lock__content span{
  font-size:12px;
}

.woocommerce ul.products li.product .idepal-b2b-lock__actions{
  display:none;
}

/* ==========================================================
   IDEPAL B2B — Solicitar acceso
   ========================================================== */

.ip-b2b-request-page{
  width:100%;
  background:#f5f3f0;
  font-family:'Barlow','Segoe UI',system-ui,sans-serif;
}

.ip-b2b-request-hero{
  background:#8b0d31;
  color:#fff;
  padding:76px 24px;
  position:relative;
  overflow:hidden;
}

.ip-b2b-request-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:repeating-linear-gradient(
    45deg,
    rgba(255,255,255,.035) 0,
    rgba(255,255,255,.035) 1px,
    transparent 0,
    transparent 50%
  );
  background-size:22px 22px;
}

.ip-b2b-request-hero::after{
  content:"";
  position:absolute;
  right:-90px;
  bottom:-120px;
  width:420px;
  height:420px;
  border:80px solid rgba(255,255,255,.055);
  border-radius:50%;
}

.ip-b2b-request-hero__content{
  position:relative;
  z-index:2;
  max-width:1180px;
  margin:0 auto;
}

.ip-b2b-request-kicker{
  font-family:'Barlow Condensed','Arial Narrow',sans-serif;
  font-size:13px;
  font-weight:800;
  letter-spacing:2.4px;
  text-transform:uppercase;
  color:rgba(255,255,255,.7);
  margin-bottom:16px;
}

.ip-b2b-request-hero h1{
  font-family:'Barlow Condensed','Arial Narrow',sans-serif;
  font-size:clamp(44px,5vw,72px);
  line-height:.95;
  text-transform:uppercase;
  font-weight:800;
  color:#fff;
  margin:0 0 18px;
}

.ip-b2b-request-hero p{
  max-width:620px;
  color:rgba(255,255,255,.72);
  font-size:16px;
  line-height:1.7;
  margin:0;
}

.ip-b2b-request-benefits{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:28px;
}

.ip-b2b-request-benefits span{
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.08);
  border-radius:999px;
  padding:8px 14px;
  font-size:13px;
  font-weight:700;
  color:#fff;
}

.ip-b2b-request-form-wrap{
  max-width:980px;
  margin:-42px auto 80px;
  padding:0 24px;
  position:relative;
  z-index:5;
}

.ip-b2b-request-form{
  background:#fff;
  border:1px solid #e8e3dc;
  border-radius:18px;
  box-shadow:0 18px 50px rgba(0,0,0,.08);
  padding:34px;
}

.ip-b2b-form-head{
  margin-bottom:28px;
}

.ip-b2b-back{
  display:inline-block;
  color:#8b0d31;
  font-size:13px;
  font-weight:700;
  text-decoration:none;
  margin-bottom:18px;
}

.ip-b2b-form-head h2{
  font-family:'Barlow Condensed','Arial Narrow',sans-serif;
  font-size:34px;
  line-height:1;
  text-transform:uppercase;
  font-weight:800;
  color:#1a1a1a;
  margin:0 0 8px;
}

.ip-b2b-form-head p{
  color:#888;
  margin:0;
  font-size:14px;
}

.ip-b2b-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.ip-b2b-field.wide{
  grid-column:1 / -1;
}

.ip-b2b-field label{
  display:block;
  font-family:'Barlow Condensed','Arial Narrow',sans-serif;
  font-size:14px;
  font-weight:800;
  letter-spacing:1px;
  text-transform:uppercase;
  color:#333;
  margin-bottom:7px;
}

.ip-b2b-field input,
.ip-b2b-field select,
.ip-b2b-field textarea{
  width:100%;
  border:1.5px solid #e8e3dc;
  border-radius:9px;
  background:#fff;
  min-height:50px;
  padding:0 15px;
  font-size:15px;
  color:#1a1a1a;
  outline:none;
}

.ip-b2b-field textarea{
  min-height:120px;
  padding:14px 15px;
  resize:vertical;
}

.ip-b2b-field input:focus,
.ip-b2b-field select:focus,
.ip-b2b-field textarea:focus{
  border-color:#8b0d31;
  box-shadow:0 0 0 3px rgba(139,13,49,.10);
}

.ip-b2b-submit{
  margin-top:28px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.ip-b2b-submit button{
  width:100%;
  min-height:56px;
  border:0;
  border-radius:10px;
  background:#8b0d31;
  color:#fff;
  font-family:'Barlow Condensed','Arial Narrow',sans-serif;
  font-size:20px;
  font-weight:800;
  letter-spacing:1.6px;
  text-transform:uppercase;
  cursor:pointer;
}

.ip-b2b-submit button:hover{
  background:#6b0926;
}

.ip-b2b-submit p{
  margin:0;
  color:#888;
  font-size:13px;
  text-align:center;
}

.ip-b2b-request-alert{
  background:#fff;
  border:1px solid #e8e3dc;
  border-radius:14px;
  padding:18px 20px;
  margin-bottom:18px;
  box-shadow:0 10px 28px rgba(0,0,0,.05);
}

.ip-b2b-request-alert strong{
  display:block;
  font-family:'Barlow Condensed','Arial Narrow',sans-serif;
  font-size:22px;
  font-weight:800;
  text-transform:uppercase;
  color:#1a1a1a;
}

.ip-b2b-request-alert span{
  display:block;
  margin-top:5px;
  color:#777;
  font-size:14px;
}

.ip-b2b-request-alert.success{
  border-color:#bfe3cc;
  background:#f1fbf5;
}

.ip-b2b-request-alert.error{
  border-color:#f2b8b8;
  background:#fff4f4;
}

@media(max-width:700px){
  .ip-b2b-request-form{
    padding:24px;
  }

  .ip-b2b-grid{
    grid-template-columns:1fr;
  }

  .ip-b2b-request-hero{
    padding:56px 20px;
  }

  .ip-b2b-request-form-wrap{
    margin:-28px auto 60px;
    padding:0 18px;
  }
}

/* ==========================================================
   IDEPAL B2B — Combobox Región / Comuna
   ========================================================== */

.ip-b2b-combo{
  position:relative;
  width:100%;
}

.ip-b2b-combo-toggle{
  width:100%;
  min-height:50px;
  border:1.5px solid #e8e3dc;
  border-radius:9px;
  background:#fff;
  padding:0 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  cursor:pointer;
  color:#1a1a1a;
  font-size:15px;
  text-align:left;
}

.ip-b2b-combo-toggle:hover{
  border-color:#8b0d31;
}

.ip-b2b-combo.is-disabled .ip-b2b-combo-toggle{
  background:#f4f1ed;
  color:#999;
  cursor:not-allowed;
}

.ip-b2b-combo-arrow{
  color:#8b0d31;
  font-weight:800;
  font-size:18px;
}

.ip-b2b-combo-panel{
  position:absolute;
  z-index:9999;
  top:calc(100% + 8px);
  left:0;
  right:0;
  background:#fff;
  border:1px solid #e8e3dc;
  border-radius:12px;
  box-shadow:0 16px 38px rgba(0,0,0,.12);
  padding:10px;
  display:none;
}

.ip-b2b-combo.is-open .ip-b2b-combo-panel{
  display:block;
}

.ip-b2b-combo-search{
  width:100%;
  height:42px;
  border:1.5px solid #e8e3dc;
  border-radius:9px;
  padding:0 12px;
  margin-bottom:8px;
  outline:none;
  font-size:14px;
}

.ip-b2b-combo-search:focus{
  border-color:#8b0d31;
  box-shadow:0 0 0 3px rgba(139,13,49,.10);
}

.ip-b2b-combo-options{
  max-height:230px;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:4px;
}

.ip-b2b-combo-option{
  width:100%;
  border:0;
  background:#fff;
  text-align:left;
  padding:10px 11px;
  border-radius:8px;
  cursor:pointer;
  color:#1a1a1a;
  font-size:14px;
}

.ip-b2b-combo-option:hover{
  background:#f5f3f0;
  color:#8b0d31;
}
/* ==========================================================
   IDEPAL B2B — Fix definitivo combo Región / Comuna
   ========================================================== */

.ip-b2b-request-form .ip-b2b-combo{
  position:relative !important;
  width:100% !important;
}

.ip-b2b-request-form .ip-b2b-combo-toggle{
  width:100% !important;
  min-height:50px !important;
  border:1.5px solid #e8e3dc !important;
  border-radius:9px !important;
  background:#fff !important;
  color:#1a1a1a !important;
  padding:0 14px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  cursor:pointer !important;
  text-align:left !important;
  font-family:'Barlow','Segoe UI',system-ui,sans-serif !important;
  font-size:15px !important;
  font-weight:400 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
  box-shadow:none !important;
}

.ip-b2b-request-form .ip-b2b-combo-toggle:hover,
.ip-b2b-request-form .ip-b2b-combo.is-open .ip-b2b-combo-toggle{
  border-color:#8b0d31 !important;
  box-shadow:0 0 0 3px rgba(139,13,49,.10) !important;
}

.ip-b2b-request-form .ip-b2b-combo.is-disabled .ip-b2b-combo-toggle{
  background:#f4f1ed !important;
  color:#999 !important;
  cursor:not-allowed !important;
  box-shadow:none !important;
  border-color:#e8e3dc !important;
}

.ip-b2b-request-form .ip-b2b-combo-arrow{
  color:#8b0d31 !important;
  font-weight:800 !important;
  font-size:18px !important;
  line-height:1 !important;
}

.ip-b2b-request-form .ip-b2b-combo-panel{
  position:absolute !important;
  z-index:999999 !important;
  top:calc(100% + 8px) !important;
  left:0 !important;
  right:0 !important;
  background:#fff !important;
  border:1px solid #e8e3dc !important;
  border-radius:12px !important;
  box-shadow:0 16px 38px rgba(0,0,0,.14) !important;
  padding:10px !important;
  display:none !important;
}

.ip-b2b-request-form .ip-b2b-combo.is-open .ip-b2b-combo-panel{
  display:block !important;
}

.ip-b2b-request-form .ip-b2b-combo-search{
  width:100% !important;
  height:42px !important;
  border:1.5px solid #e8e3dc !important;
  border-radius:9px !important;
  padding:0 12px !important;
  margin:0 0 8px !important;
  outline:none !important;
  font-size:14px !important;
  background:#fff !important;
  color:#1a1a1a !important;
}

.ip-b2b-request-form .ip-b2b-combo-search:focus{
  border-color:#8b0d31 !important;
  box-shadow:0 0 0 3px rgba(139,13,49,.10) !important;
}

.ip-b2b-request-form .ip-b2b-combo-options{
  max-height:240px !important;
  overflow:auto !important;
  display:flex !important;
  flex-direction:column !important;
  gap:4px !important;
}

.ip-b2b-request-form .ip-b2b-combo-option{
  width:100% !important;
  border:0 !important;
  background:#fff !important;
  color:#1a1a1a !important;
  text-align:left !important;
  padding:10px 11px !important;
  border-radius:8px !important;
  cursor:pointer !important;
  font-size:14px !important;
  font-family:'Barlow','Segoe UI',system-ui,sans-serif !important;
  font-weight:500 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
}

.ip-b2b-request-form .ip-b2b-combo-option:hover{
  background:#f5f3f0 !important;
  color:#8b0d31 !important;
}
/* ==========================================================
   IDEPAL B2B — Simetría final formulario Solicitar acceso
   ========================================================== */

/* Ancho general más limpio */
.ip-b2b-request-page{
  background:#f5f3f0 !important;
}

/* Hero y formulario alineados al mismo ancho */
.ip-b2b-request-hero__content,
.ip-b2b-request-form-wrap{
  max-width:1120px !important;
}

/* Hero más compacto y simétrico */
.ip-b2b-request-hero{
  padding-top:74px !important;
  padding-bottom:118px !important;
}

.ip-b2b-request-hero__content{
  padding-left:0 !important;
  padding-right:0 !important;
}

.ip-b2b-request-hero h1{
  max-width:880px !important;
  letter-spacing:.5px !important;
}

.ip-b2b-request-hero p{
  max-width:640px !important;
}

/* Tarjeta del formulario más centrada y elegante */
.ip-b2b-request-form-wrap{
  margin-top:-74px !important;
  margin-bottom:90px !important;
  padding-left:24px !important;
  padding-right:24px !important;
}

.ip-b2b-request-form{
  max-width:960px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding:38px 42px 40px !important;
  border-radius:20px !important;
}

/* Encabezado interno del formulario */
.ip-b2b-form-head{
  margin-bottom:30px !important;
  text-align:left !important;
}

.ip-b2b-form-head h2{
  font-size:38px !important;
  letter-spacing:.5px !important;
}

/* Grid perfectamente simétrico */
.ip-b2b-grid{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:20px 22px !important;
  align-items:start !important;
}

/* Ya no necesitamos wide en esta versión */
.ip-b2b-field.wide{
  grid-column:auto !important;
}

/* Altura uniforme en inputs/selects/combos */
.ip-b2b-field input,
.ip-b2b-field select,
.ip-b2b-combo-toggle{
  height:54px !important;
  min-height:54px !important;
}

/* Labels más finos */
.ip-b2b-field label{
  margin-bottom:8px !important;
  color:#161616 !important;
}

/* Botón final más profesional */
.ip-b2b-submit{
  margin-top:32px !important;
}

.ip-b2b-submit button{
  max-width:100% !important;
  min-height:60px !important;
  border-radius:11px !important;
  font-size:22px !important;
}

/* Mensaje bajo botón */
.ip-b2b-submit p{
  max-width:560px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  line-height:1.45 !important;
}

/* Responsive */
@media(max-width:780px){
  .ip-b2b-request-hero{
    padding-top:54px !important;
    padding-bottom:82px !important;
  }

  .ip-b2b-request-form-wrap{
    margin-top:-46px !important;
    padding-left:18px !important;
    padding-right:18px !important;
  }

  .ip-b2b-request-form{
    padding:26px 22px 30px !important;
  }

  .ip-b2b-grid{
    grid-template-columns:1fr !important;
    gap:18px !important;
  }

  .ip-b2b-form-head h2{
    font-size:32px !important;
  }
}

/* ==========================================================
   IDEPAL B2B — Solicitar acceso PREMIUM FINAL
   Full width + formulario ancho + diseño fino
   ========================================================== */

/* Página full width real */
.ip-b2b-request-page{
  width:100vw !important;
  max-width:100vw !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  background:#f5f3f0 !important;
  overflow:hidden !important;
  font-family:'Barlow','Segoe UI',system-ui,sans-serif !important;
}

/* HERO full width premium */
.ip-b2b-request-hero{
  width:100% !important;
  min-height:430px !important;
  padding:86px 0 150px !important;
  background:
    radial-gradient(circle at 82% 78%, rgba(255,255,255,.10) 0 0, transparent 33%),
    linear-gradient(135deg, #a30c37 0%, #8b0d31 48%, #65071f 100%) !important;
  position:relative !important;
  overflow:hidden !important;
}

.ip-b2b-request-hero::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  background-image:repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,.045) 0,
    rgba(255,255,255,.045) 1px,
    transparent 1px,
    transparent 14px
  ) !important;
  pointer-events:none !important;
}

.ip-b2b-request-hero::after{
  content:"" !important;
  position:absolute !important;
  right:-120px !important;
  bottom:-145px !important;
  width:560px !important;
  height:560px !important;
  border:74px solid rgba(255,255,255,.095) !important;
  border-radius:50% !important;
  pointer-events:none !important;
}

/* Contenido hero ancho */
.ip-b2b-request-hero__content{
  width:min(100% - 96px, 1480px) !important;
  max-width:none !important;
  margin:0 auto !important;
  padding:0 !important;
  position:relative !important;
  z-index:2 !important;
}

.ip-b2b-request-kicker{
  margin:0 0 18px !important;
  color:rgba(255,255,255,.84) !important;
  font-family:'Barlow Condensed','Arial Narrow',sans-serif !important;
  font-size:15px !important;
  font-weight:800 !important;
  letter-spacing:3px !important;
  text-transform:uppercase !important;
}

.ip-b2b-request-hero h1{
  max-width:1050px !important;
  margin:0 0 22px !important;
  color:#fff !important;
  font-family:'Barlow Condensed','Arial Narrow',sans-serif !important;
  font-size:clamp(62px,6.4vw,112px) !important;
  line-height:.88 !important;
  font-weight:800 !important;
  letter-spacing:-1px !important;
  text-transform:uppercase !important;
}

.ip-b2b-request-hero p{
  max-width:780px !important;
  margin:0 !important;
  color:rgba(255,255,255,.88) !important;
  font-size:clamp(17px,1.28vw,22px) !important;
  line-height:1.65 !important;
}

/* Beneficios */
.ip-b2b-request-benefits{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:12px !important;
  margin-top:34px !important;
}

.ip-b2b-request-benefits span{
  min-height:42px !important;
  padding:0 18px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border:1px solid rgba(255,255,255,.24) !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.09) !important;
  color:#fff !important;
  font-size:14px !important;
  font-weight:800 !important;
  backdrop-filter:blur(8px) !important;
}

/* Contenedor del formulario */
.ip-b2b-request-form-wrap{
  width:min(100% - 96px, 1480px) !important;
  max-width:none !important;
  margin:-96px auto 96px !important;
  padding:0 !important;
  position:relative !important;
  z-index:5 !important;
}

/* Alertas mismo ancho que formulario */
.ip-b2b-request-alert{
  width:min(100%, 1240px) !important;
  margin:0 auto 22px !important;
  padding:18px 22px !important;
  border-radius:16px !important;
  box-shadow:0 14px 34px rgba(0,0,0,.06) !important;
}

/* TARJETA FORMULARIO MÁS ANCHA Y PREMIUM */
.ip-b2b-request-form{
  width:min(100%, 1240px) !important;
  max-width:1240px !important;
  margin:0 auto !important;
  padding:48px 56px 46px !important;
  background:rgba(255,255,255,.98) !important;
  border:1px solid #ebe7e0 !important;
  border-radius:26px !important;
  box-shadow:
    0 28px 70px rgba(0,0,0,.095),
    0 1px 0 rgba(255,255,255,.75) inset !important;
  backdrop-filter:blur(10px) !important;
}

/* Header interno formulario */
.ip-b2b-form-head{
  margin:0 0 34px !important;
  padding-bottom:24px !important;
  border-bottom:1px solid #eee8df !important;
}

.ip-b2b-back{
  display:inline-flex !important;
  align-items:center !important;
  margin:0 0 18px !important;
  color:#8b0d31 !important;
  font-size:14px !important;
  font-weight:800 !important;
  text-decoration:none !important;
}

.ip-b2b-back:hover{
  color:#6e0a27 !important;
}

.ip-b2b-form-head h2{
  margin:0 0 8px !important;
  color:#101010 !important;
  font-family:'Barlow Condensed','Arial Narrow',sans-serif !important;
  font-size:clamp(38px,3.4vw,58px) !important;
  line-height:.95 !important;
  font-weight:800 !important;
  letter-spacing:.3px !important;
  text-transform:uppercase !important;
}

.ip-b2b-form-head p{
  margin:0 !important;
  color:#777 !important;
  font-size:16px !important;
}

/* Grid más ancho, fino y simétrico */
.ip-b2b-grid{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:24px 28px !important;
  align-items:start !important;
}

.ip-b2b-field{
  width:100% !important;
  min-width:0 !important;
}

.ip-b2b-field.wide{
  grid-column:auto !important;
}

.ip-b2b-field label{
  display:block !important;
  margin:0 0 9px !important;
  color:#171717 !important;
  font-family:'Barlow Condensed','Arial Narrow',sans-serif !important;
  font-size:15px !important;
  line-height:1 !important;
  font-weight:800 !important;
  letter-spacing:1.35px !important;
  text-transform:uppercase !important;
}

/* Inputs premium */
.ip-b2b-field input,
.ip-b2b-field select,
.ip-b2b-request-form .ip-b2b-combo-toggle{
  width:100% !important;
  height:58px !important;
  min-height:58px !important;
  border:1.5px solid #e5ded5 !important;
  border-radius:12px !important;
  background:#fff !important;
  color:#151515 !important;
  padding:0 18px !important;
  font-size:16px !important;
  font-weight:500 !important;
  box-shadow:0 7px 18px rgba(0,0,0,.025) !important;
  outline:none !important;
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

.ip-b2b-field input::placeholder{
  color:#a7a2a0 !important;
}

.ip-b2b-field input:focus,
.ip-b2b-field select:focus,
.ip-b2b-request-form .ip-b2b-combo.is-open .ip-b2b-combo-toggle,
.ip-b2b-request-form .ip-b2b-combo-toggle:hover{
  border-color:#8b0d31 !important;
  box-shadow:
    0 0 0 4px rgba(139,13,49,.095),
    0 10px 24px rgba(0,0,0,.045) !important;
}

/* Select normal tipo cliente */
.ip-b2b-field select{
  appearance:none !important;
  background-image:
    linear-gradient(45deg, transparent 50%, #8b0d31 50%),
    linear-gradient(135deg, #8b0d31 50%, transparent 50%) !important;
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50% !important;
  background-size:6px 6px, 6px 6px !important;
  background-repeat:no-repeat !important;
}

/* Combo región / comuna premium */
.ip-b2b-request-form .ip-b2b-combo{
  position:relative !important;
  width:100% !important;
}

.ip-b2b-request-form .ip-b2b-combo-toggle{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:14px !important;
  text-align:left !important;
  cursor:pointer !important;
  font-family:'Barlow','Segoe UI',system-ui,sans-serif !important;
  letter-spacing:0 !important;
  text-transform:none !important;
}

.ip-b2b-request-form .ip-b2b-combo.is-disabled .ip-b2b-combo-toggle{
  background:#f3f0ec !important;
  color:#9b9692 !important;
  cursor:not-allowed !important;
  box-shadow:none !important;
}

.ip-b2b-request-form .ip-b2b-combo-arrow{
  color:#8b0d31 !important;
  font-weight:900 !important;
  font-size:18px !important;
  line-height:1 !important;
}

.ip-b2b-request-form .ip-b2b-combo-panel{
  position:absolute !important;
  z-index:999999 !important;
  top:calc(100% + 10px) !important;
  left:0 !important;
  right:0 !important;
  display:none !important;
  padding:12px !important;
  background:#fff !important;
  border:1px solid #e5ded5 !important;
  border-radius:16px !important;
  box-shadow:0 22px 48px rgba(0,0,0,.16) !important;
}

.ip-b2b-request-form .ip-b2b-combo.is-open .ip-b2b-combo-panel{
  display:block !important;
}

.ip-b2b-request-form .ip-b2b-combo-search{
  width:100% !important;
  height:46px !important;
  margin:0 0 10px !important;
  padding:0 14px !important;
  border:1.5px solid #e5ded5 !important;
  border-radius:11px !important;
  background:#fff !important;
  color:#151515 !important;
  font-size:15px !important;
  outline:none !important;
}

.ip-b2b-request-form .ip-b2b-combo-search:focus{
  border-color:#8b0d31 !important;
  box-shadow:0 0 0 4px rgba(139,13,49,.095) !important;
}

.ip-b2b-request-form .ip-b2b-combo-options{
  max-height:260px !important;
  overflow:auto !important;
  display:flex !important;
  flex-direction:column !important;
  gap:5px !important;
}

.ip-b2b-request-form .ip-b2b-combo-option{
  width:100% !important;
  min-height:42px !important;
  padding:0 13px !important;
  border:0 !important;
  border-radius:10px !important;
  background:#fff !important;
  color:#151515 !important;
  display:flex !important;
  align-items:center !important;
  text-align:left !important;
  font-size:15px !important;
  font-weight:600 !important;
  cursor:pointer !important;
}

.ip-b2b-request-form .ip-b2b-combo-option:hover{
  background:#f5f3f0 !important;
  color:#8b0d31 !important;
}

/* Botón submit premium */
.ip-b2b-submit{
  margin-top:36px !important;
  padding-top:28px !important;
  border-top:1px solid #eee8df !important;
  text-align:center !important;
}

.ip-b2b-submit button{
  width:100% !important;
  min-height:64px !important;
  border:0 !important;
  border-radius:14px !important;
  background:linear-gradient(135deg, #9d0f3b 0%, #8b0d31 55%, #6e0a27 100%) !important;
  color:#fff !important;
  font-family:'Barlow Condensed','Arial Narrow',sans-serif !important;
  font-size:24px !important;
  line-height:1 !important;
  font-weight:800 !important;
  letter-spacing:1.7px !important;
  text-transform:uppercase !important;
  cursor:pointer !important;
  box-shadow:0 14px 30px rgba(139,13,49,.24) !important;
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
}

.ip-b2b-submit button:hover{
  transform:translateY(-2px) !important;
  box-shadow:0 18px 38px rgba(139,13,49,.30) !important;
  filter:saturate(1.08) !important;
}

.ip-b2b-submit p{
  max-width:620px !important;
  margin:15px auto 0 !important;
  color:#777 !important;
  font-size:14px !important;
  line-height:1.55 !important;
}

/* Tablet */
@media(max-width:1080px){
  .ip-b2b-request-hero__content,
  .ip-b2b-request-form-wrap{
    width:min(100% - 48px, 100%) !important;
  }

  .ip-b2b-request-form{
    width:100% !important;
    max-width:100% !important;
    padding:40px 34px 38px !important;
  }

  .ip-b2b-grid{
    gap:22px !important;
  }
}

/* Móvil */
@media(max-width:760px){
  .ip-b2b-request-page{
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }

  .ip-b2b-request-hero{
    min-height:auto !important;
    padding:48px 0 92px !important;
  }

  .ip-b2b-request-hero__content,
  .ip-b2b-request-form-wrap{
    width:100% !important;
    padding-left:18px !important;
    padding-right:18px !important;
  }

  .ip-b2b-request-hero h1{
    font-size:clamp(42px,13vw,58px) !important;
    line-height:.95 !important;
  }

  .ip-b2b-request-hero p{
    font-size:16px !important;
    line-height:1.55 !important;
  }

  .ip-b2b-request-benefits{
    gap:9px !important;
  }

  .ip-b2b-request-benefits span{
    width:100% !important;
    min-height:42px !important;
  }

  .ip-b2b-request-form-wrap{
    margin:-54px auto 64px !important;
  }

  .ip-b2b-request-form{
    padding:26px 18px 26px !important;
    border-radius:18px !important;
  }

  .ip-b2b-form-head{
    padding-bottom:20px !important;
    margin-bottom:24px !important;
  }

  .ip-b2b-form-head h2{
    font-size:34px !important;
  }

  .ip-b2b-grid{
    grid-template-columns:1fr !important;
    gap:18px !important;
  }

  .ip-b2b-field input,
  .ip-b2b-field select,
  .ip-b2b-request-form .ip-b2b-combo-toggle{
    height:54px !important;
    min-height:54px !important;
  }

  .ip-b2b-submit button{
    min-height:58px !important;
    font-size:20px !important;
  }
}
/* ==========================================================
   IDEPAL B2B — Tarjeta de éxito "Solicitud enviada" (centrada)
   ========================================================== */
.ip-b2b-request-success-card{
  background:#fff;
  border:1px solid #bfe3cc;
  border-radius:18px;
  box-shadow:0 18px 50px rgba(0,0,0,.08);
  padding:48px 34px;
  text-align:center;
  max-width:560px;
  margin:0 auto;
}
.ip-b2b-success-check{
  width:64px;
  height:64px;
  border-radius:50%;
  background:#1f8a4c;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:34px;
  line-height:1;
  margin:0 auto 20px;
}
.ip-b2b-request-success-card h2{
  font-family:'Barlow Condensed','Arial Narrow',sans-serif;
  font-size:30px;
  font-weight:800;
  text-transform:uppercase;
  color:#1a1a1a;
  margin:0 0 10px;
}
.ip-b2b-request-success-card p{
  color:#777;
  font-size:15px;
  line-height:1.5;
  margin:0 auto 26px;
  max-width:44ch;
}
.ip-b2b-back-home{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#8b0d31;
  color:#fff;
  text-decoration:none;
  font-family:'Barlow Condensed','Arial Narrow',sans-serif;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:1.2px;
  font-size:16px;
  padding:14px 30px;
  border-radius:10px;
  transition:.2s ease;
}
.ip-b2b-back-home:hover{
  background:#6b0926;
  color:#fff;
}
