/*
Theme Name: Envios Editor
Theme URI: https://www.envios.com.pe
Author: envios.com.pe
Description: Tema de envios.com.pe con EDITOR VISUAL EN EL FRONT (panel lateral por pagina). Incluye las vistas de diseno-html/ (home, nosotros, beneficios, preguntas frecuentes, libro de reclamaciones y paginas de destino) con sus textos editables sin plugins.
Version: 2.2.4
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: editor-base
*/

/* Los estilos reales del sitio viven en assets/css/ (main.css, envios-extra.css,
   header-nav.css y sections.css). Aqui solo quedan ajustes minimos del contenedor. */
.eb-main{display:block}
.eb-main > section:first-child{margin-top:0}
html,body,.eb-main{background-color:#f4f7fb}

/* Banner de fondo configurable desde el editor frontal. */
.eb-hero-banner{position:relative;isolation:isolate;overflow:hidden}
.eb-hero-banner>.eb-hero-banner-bg{position:absolute;inset:0;z-index:-1;background-position:center;background-size:cover;background-repeat:no-repeat;pointer-events:none}

/* Paleta oscura corporativa: azul marino en lugar de negro puro. Se mantiene
   el color de cada imagen/gradiente y se sustituye su base oscura. */
:root{--eb-corporate-dark:#071a36;--eb-corporate-dark-2:#0b2348;--eb-corporate-panel:#102b52}
.ax-hero,.bh,.arh,.arg,.arq,.cah,.cap,.cac2,.uy-hero,.qz-quote,.br-hero,
.op-sec,.sp-sec,.gr-sec,.cz-sec,.pf-search,.eb-blog-hero,.eb-blog-single-head,
.qf-hero,.lr-hero{background-color:var(--eb-corporate-dark)!important}
.arr-mapwrap,.arh-card,.arg-card,.arq-card,.qz-panel,.qz-contact,.qz-badges,
.op-card,.op-axis .knob,.op-card .md-shot,.sp-visual,.cz-link,.cz-link>i,
.uy-chips span,.uy-btn.dark,.uy-strip,.qf-card,.qf-panel{background-color:var(--eb-corporate-dark-2)!important}

/* Vista previa de guía en Reservas. */
.eb-waybill{background:#fff;border:2px solid #0f2452;color:#111;font-family:Arial,sans-serif;font-size:11px;box-shadow:0 18px 42px rgba(15,36,82,.14);overflow:hidden}
.eb-waybill-head{display:grid;grid-template-columns:92px 1fr;align-items:center;border-bottom:1px solid #aeb5c0;text-align:center}
.eb-waybill-head img{width:78px;max-height:64px;object-fit:contain;margin:auto}
.eb-waybill-head div{display:flex;flex-direction:column;border-left:1px solid #aeb5c0;padding:7px 5px;line-height:1.25}
.eb-waybill-head strong{font-size:14px}.eb-waybill-head b{font-size:12px}.eb-waybill-head small{font-size:11px}
.eb-waybill-track{display:grid;grid-template-columns:1fr auto 92px;align-items:center;min-height:32px;border-bottom:2px solid #d31220}
.eb-waybill-track>*{padding:7px;border-right:1px solid #b8bec8}.eb-waybill-track strong{text-align:center;font-size:12px}
.eb-waybill-block h3{margin:0;padding:5px 7px;background:#0f2452;color:#fff;font-size:12px}
.eb-waybill-block p{display:grid;grid-template-columns:112px 1fr;margin:0;border-bottom:1px solid #aeb5c0;min-height:27px}
.eb-waybill-block p>*{padding:6px}.eb-waybill-block p b{border-right:1px solid #aeb5c0}
.eb-waybill-block p span{background:#fff7a8;overflow-wrap:anywhere}
.eb-waybill-meta{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid #aeb5c0}
.eb-waybill-meta div{display:flex;flex-direction:column;text-align:center;border-right:1px solid #aeb5c0;padding:6px}.eb-waybill-meta span{margin-top:3px;font-weight:700}
.eb-waybill-desc{display:grid;grid-template-columns:1fr 1fr;padding:0;border-bottom:2px solid #0f2452}
.eb-waybill-desc>*{padding:7px;border-right:1px solid #aeb5c0}.eb-waybill-desc span{grid-column:1/-1;min-height:42px;background:#fff7a8}
.eb-waybill-terms{padding:10px 12px;background:#f8fafc}.eb-waybill-terms h3{margin:0 0 7px;text-align:center;font-size:12px;color:#0f2452}
.eb-waybill-terms ol{margin:0;padding-left:18px}.eb-waybill-terms li{margin:0 0 4px;line-height:1.3}
.eb-waybill footer{padding:9px 11px;background:#0f2452;color:#fff;text-align:center;font-size:10px}.eb-waybill footer i{color:#ef233c;margin-right:5px}
@media(max-width:900px){.eb-waybill{max-width:620px;width:100%;margin:0 auto}}

/* En Reservas, la guía es el formulario real y los términos ocupan la hoja derecha. */
.eb-reservas .rg-grid{grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);gap:0;align-items:stretch;border:1px solid #9aa4b2;background:#fff}
.eb-reservas .eb-waybill-form{border:0;border-right:2px solid #0f2452;border-radius:0;box-shadow:none;padding:0;font-size:12px}
.eb-sheet-section{min-width:0;margin:0;padding:0;border:0}.eb-sheet-section legend{display:block;width:100%;margin:0;padding:6px 8px;background:#0f2452;color:#fff;font-size:13px;font-weight:800}
.eb-sheet-section label,.eb-sheet-meta label,.eb-sheet-selects label{display:grid;grid-template-columns:145px 1fr;align-items:stretch;margin:0;border-bottom:1px solid #9ea7b3}
.eb-sheet-section label>span,.eb-sheet-meta label>span,.eb-sheet-selects label>span{display:flex;align-items:center;padding:6px 7px;border-right:1px solid #9ea7b3;font-weight:700}
.eb-waybill-form :is(input:not([type=checkbox]),select,textarea){width:100%;min-width:0;border:0!important;border-radius:0!important;background:#fff86a!important;color:#111!important;padding:7px 8px!important;outline:0;box-shadow:none!important;font:inherit}
.eb-waybill-form :is(input,select,textarea):focus{background:#fff3a3!important;box-shadow:inset 0 0 0 2px #d31220!important}
.eb-sheet-meta{display:grid;grid-template-columns:1fr 1.4fr .65fr}.eb-sheet-meta label{grid-template-columns:62px 1fr;border-right:1px solid #9ea7b3}
.eb-sheet-selects{display:grid;grid-template-columns:1fr 1fr;border-top:3px solid #0f2452}.eb-sheet-selects label{grid-template-columns:1fr}.eb-sheet-selects label>span{justify-content:center;border-right:0;border-bottom:1px solid #9ea7b3;background:#e5e7eb}
.eb-sheet-details{display:block;margin:0;border-bottom:1px solid #9ea7b3}.eb-sheet-details>span{display:block;padding:7px;background:#e5e7eb;font-weight:800;text-align:center}.eb-sheet-details textarea{display:block;resize:vertical}
.eb-sheet-accept{display:flex;align-items:flex-start;gap:8px;margin:0;padding:10px 12px;background:#f8fafc;font-size:11px;line-height:1.35}.eb-sheet-accept input{margin-top:2px}
.eb-waybill-form .rg-send{width:calc(100% - 24px);margin:4px 12px 0}.eb-waybill-form .rg-note{margin:10px 12px 13px}
.eb-reservas .rg-side{gap:0}.eb-transport-terms{height:100%;padding:14px 16px;color:#111;background:#fff;font-family:Arial,sans-serif;font-size:11px}
.eb-transport-terms h2{margin:0 0 10px;text-align:center;font-size:16px;line-height:1.25}.eb-transport-terms h3{margin:0;padding:7px 4px;border-top:1px solid #9ea7b3;border-bottom:1px solid #9ea7b3;text-align:center;font-size:10px}
.eb-transport-terms p{margin:7px 0;line-height:1.35}.eb-transport-terms ol{margin:0;padding-left:19px}.eb-transport-terms li{margin-bottom:8px}.eb-transport-terms li b,.eb-transport-terms li span{display:block}.eb-transport-terms li b{font-size:12px}.eb-transport-terms li span{line-height:1.35}
@media(max-width:900px){.eb-reservas .rg-grid{grid-template-columns:1fr}.eb-reservas .eb-waybill-form{border-right:0;border-bottom:2px solid #0f2452}.eb-transport-terms{padding:18px}}
@media(max-width:560px){.eb-sheet-section label{grid-template-columns:118px 1fr}.eb-sheet-meta,.eb-sheet-selects{grid-template-columns:1fr}.eb-sheet-meta label{grid-template-columns:118px 1fr}}

/* Composición final de la página Reservas inspirada en la guía impresa. */
.eb-reservas .rg{padding:20px 0 0;background:#f4f7fb}
.eb-reservas .rg>.container{max-width:1440px;padding:0 18px}
.eb-reservas .rg-eb,.eb-reservas .rg-h2,.eb-reservas .rg-lead{display:none}
.eb-reservas .rg-grid{grid-template-columns:54% 46%;border:0;border-radius:18px 18px 0 0;overflow:hidden;box-shadow:0 18px 55px rgba(7,26,54,.16)}
.eb-reservas .eb-waybill-form{border:2px solid #0f3a70;border-radius:16px 0 0 0;background:#fff}
.eb-reservas .eb-waybill-head{min-height:140px;grid-template-columns:235px 1fr;border:0;background:linear-gradient(120deg,#fff,#f7f9fc)}
.eb-reservas .eb-waybill-head img{width:205px;max-height:110px}.eb-reservas .eb-waybill-head div{border:0;text-align:left;padding:14px 12px;color:#092a55}
.eb-reservas .eb-waybill-head strong{font-size:27px}.eb-reservas .eb-waybill-head span{font-size:16px;margin-top:8px}.eb-reservas .eb-waybill-head b{font-size:17px;color:#d31220}.eb-reservas .eb-waybill-head small{font-size:17px}
.eb-reservas .eb-waybill-track{grid-template-columns:230px 1fr 280px;min-height:62px;border:0;border-top:1px solid #9eabbc;border-bottom:1px solid #9eabbc;color:#0b2d5b}
.eb-reservas .eb-waybill-track>b{height:100%;display:flex;align-items:center;padding-left:24px;background:#07366b;color:#fff;font-size:18px;clip-path:polygon(0 0,100% 0,88% 100%,0 100%)}
.eb-reservas .eb-waybill-track span{text-align:center;font-size:16px;font-weight:800}.eb-reservas .eb-waybill-track strong{font-size:28px}
.eb-reservas .eb-sheet-section{padding:12px 16px;border-bottom:1px solid #8c9caf}.eb-reservas .eb-sheet-section legend{background:#fff;color:#d31220;font-size:17px;padding:6px 2px 10px}
.eb-reservas .eb-sheet-section label{grid-template-columns:195px 1fr}.eb-reservas .eb-sheet-section label:first-of-type{border-radius:8px 8px 0 0;overflow:hidden}
.eb-reservas .eb-sheet-section label>span{background:#fff;color:#111;font-weight:500}
.eb-reservas .eb-waybill-form :is(input:not([type=checkbox]),select,textarea){background:#ffe46b!important}
.eb-reservas .eb-sheet-meta{margin:12px 16px 8px;border:1px solid #91a0b2;border-radius:6px;overflow:hidden}.eb-reservas .eb-sheet-meta label>span{justify-content:center;background:#fff}
.eb-reservas .eb-sheet-selects{margin:10px 16px;border:0;gap:8px}.eb-reservas .eb-sheet-selects label{border:1px solid #91a0b2;border-radius:7px;overflow:hidden}
.eb-reservas .eb-sheet-details{margin:10px 16px;border:1px solid #91a0b2;border-radius:7px;overflow:hidden}
.eb-sheet-items{margin:10px 16px;border:1px solid #0f3a70}.eb-sheet-items-head,.eb-sheet-item-row{display:grid;grid-template-columns:20% 52% 28%}.eb-sheet-items-head{background:#07366b;color:#fff;text-align:center}.eb-sheet-items-head b{padding:7px;border-right:1px solid #fff}
.eb-sheet-item-row{background:#8292a5;column-gap:1px}.eb-sheet-item-row:not(:last-of-type){border-bottom:1px solid #8292a5}.eb-sheet-item-row input{border:0!important}.eb-sheet-total{display:grid;grid-template-columns:72% 28%;text-align:center}.eb-sheet-total b{margin-left:auto;width:195px;padding:10px;background:#07366b;color:#fff;font-size:16px}.eb-sheet-total span{padding:10px;font-size:16px;font-weight:800}
.eb-sheet-add-item{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;padding:8px 12px;border:0;border-top:1px solid #0f3a70;background:#eef3f8;color:#07366b;font:inherit;font-weight:800;cursor:pointer}.eb-sheet-add-item:hover{background:#dfe9f3}.eb-sheet-add-item:focus-visible{outline:2px solid #d31220;outline-offset:-2px}.eb-sheet-add-item:disabled{cursor:not-allowed;opacity:.55}
.eb-reservas .eb-sheet-accept{margin:8px 16px}.eb-reservas .eb-waybill-form .rg-send{width:calc(100% - 32px);margin:8px 16px}
.eb-reservas .eb-transport-terms{border-top:14px solid #d31220;padding:0 20px 20px}.eb-reservas .eb-transport-terms h2{margin:0 -20px 16px;padding:24px 20px;background:linear-gradient(120deg,#07366b,#002b5c);color:#fff;font-size:25px;border-radius:0 0 18px 0}
.eb-reservas .eb-transport-terms h3{font-size:14px;color:#0b2d5b}.eb-reservas .eb-transport-terms{font-size:13px}.eb-reservas .eb-transport-terms ol{counter-reset:term;list-style:none;padding:0}.eb-reservas .eb-transport-terms li{counter-increment:term;position:relative;padding-left:38px;margin:0 0 14px}.eb-reservas .eb-transport-terms li:before{content:counter(term);position:absolute;left:0;top:0;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#d31220;color:#fff;font-weight:900}.eb-reservas .eb-transport-terms li b{font-size:15px;color:#0b2d5b;margin-bottom:4px}
.eb-guide-footer{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);background:linear-gradient(110deg,#07366b 0 28%,#d31220 28% 100%);color:#fff;min-height:76px}.eb-guide-footer span{display:flex;align-items:center;justify-content:center;gap:13px;padding:12px 20px}.eb-guide-footer i{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#fff;color:#0f3a70;font-size:17px}.eb-guide-footer b{font-size:14px;line-height:1.25}
@media(max-width:900px){.eb-reservas .rg-grid{grid-template-columns:1fr}.eb-reservas .eb-waybill-form{max-width:none;border-radius:16px 16px 0 0}.eb-guide-footer{grid-template-columns:1fr}.eb-reservas .eb-waybill-head{grid-template-columns:150px 1fr;min-height:110px}.eb-reservas .eb-waybill-head img{width:130px}.eb-reservas .eb-waybill-head strong{font-size:19px}.eb-reservas .eb-waybill-track{grid-template-columns:1fr 1fr 100px}}
@media(max-width:560px){.eb-reservas .eb-waybill-head{grid-template-columns:105px 1fr}.eb-reservas .eb-waybill-head img{width:92px}.eb-reservas .eb-waybill-head strong{font-size:15px}.eb-reservas .eb-waybill-head :is(span,b,small){font-size:11px}.eb-reservas .eb-sheet-section label{grid-template-columns:118px 1fr}.eb-reservas .eb-waybill-track{grid-template-columns:1fr 90px}.eb-reservas .eb-waybill-track span{display:none}.eb-sheet-items-head,.eb-sheet-item-row{grid-template-columns:20% 52% 28%}.eb-guide-footer{background:#07366b}}

/* Ajustes de precisión para que la guía conserve la cuadrícula y ambas hojas
   terminen alineadas, incluso con textos largos. */
.eb-reservas .rg-grid,.eb-reservas .rg-grid *{box-sizing:border-box}
.eb-reservas .rg-grid{width:100%;isolation:isolate}
.eb-reservas .eb-waybill-form,.eb-reservas .rg-side{min-width:0;height:100%}
.eb-reservas .eb-waybill-form{display:flex;flex-direction:column;overflow:hidden}
.eb-reservas .eb-waybill-form :is(input,select,textarea){display:block;max-width:100%;min-height:29px;line-height:1.2}
.eb-reservas .eb-sheet-section label,.eb-reservas .eb-sheet-meta label,.eb-reservas .eb-sheet-selects label{min-width:0}
.eb-reservas .eb-sheet-section label>span,.eb-reservas .eb-sheet-meta label>span,.eb-reservas .eb-sheet-selects label>span{min-width:0;line-height:1.15;overflow-wrap:anywhere}
.eb-reservas .eb-sheet-section label{min-height:31px;border-left:1px solid #8999ad;border-right:1px solid #8999ad}
.eb-reservas .eb-sheet-section label:last-child{border-bottom:1px solid #8999ad;border-radius:0 0 7px 7px;overflow:hidden}
.eb-reservas .eb-sheet-section label+label{border-top:0}
.eb-reservas .eb-sheet-meta label{min-height:48px;border-bottom:0}
.eb-reservas .eb-sheet-selects label{min-height:68px}
.eb-reservas .eb-sheet-selects select,.eb-reservas .eb-sheet-selects input{text-align:center;font-weight:700}
.eb-reservas .eb-sheet-items{border-radius:5px;overflow:hidden}
.eb-reservas .eb-sheet-items-head b:last-child,.eb-reservas .eb-sheet-item-row input:last-child{border-right:0!important}
.eb-reservas .eb-sheet-item-row{min-height:29px}
.eb-reservas .eb-sheet-total{border-top:1px solid #0f3a70}
.eb-reservas .rg-side{display:flex;background:#fff;border-top:14px solid #d31220;border-right:2px solid #0f3a70;border-radius:0 16px 0 0;overflow:hidden}
.eb-reservas .eb-transport-terms{display:flex;flex:1 1 auto;flex-direction:column;width:100%;min-width:0;height:auto;border-top:0!important;padding:0 16px 14px!important;overflow:hidden}
.eb-reservas .eb-transport-terms h2{flex:0 0 auto;margin:0 -16px 12px!important;padding:22px 18px!important;font-size:clamp(18px,1.7vw,25px)!important;line-height:1.12!important}
.eb-reservas .eb-transport-terms h3{flex:0 0 auto;margin:0 0 5px;padding:7px 4px;font-size:12px;line-height:1.2}
.eb-reservas .eb-transport-terms>p{flex:0 0 auto;margin:5px 4px 8px;font-size:11.5px;line-height:1.28}
.eb-reservas .eb-transport-terms ol{flex:1 1 auto;margin:0;padding:10px 10px 8px 45px;border:1px solid #ccd5e0;border-radius:12px;display:flex;flex-direction:column;justify-content:flex-start;min-height:0}
.eb-reservas .eb-transport-terms li{padding-left:5px;margin:0 0 8px;font-size:clamp(10.5px,.82vw,12.5px);line-height:1.27;overflow-wrap:anywhere}
.eb-reservas .eb-transport-terms li:last-child{margin-bottom:0}
.eb-reservas .eb-transport-terms li:before{left:-32px;top:0;width:21px;height:21px;font-size:12px}
.eb-reservas .eb-transport-terms li b{font-size:clamp(11.5px,.95vw,14px);line-height:1.2;margin-bottom:3px}
.eb-reservas .eb-transport-terms li span{line-height:1.27}
.eb-reservas .eb-guide-footer{border-top:2px solid #d31220}
@media(min-width:901px){
  .eb-reservas .rg-grid{overflow:visible}
  .eb-reservas .rg-side{
    position:relative;
    align-self:stretch;
    height:100%;
    overflow:visible;
  }
  .eb-reservas .eb-transport-terms{
    position:sticky;
    top:calc(var(--wp-admin--admin-bar--height,0px) + 8px);
    flex:none;
    height:auto;
    max-height:calc(100vh - var(--wp-admin--admin-bar--height,0px) - 16px);
    overflow-y:auto;
    z-index:5;
  }
  .eb-reservas .rg-side.eb-sticky-fixed .eb-transport-terms{
    position:fixed;
    top:var(--eb-sticky-top);
    left:var(--eb-sticky-left);
    width:var(--eb-sticky-width);
    max-height:var(--eb-sticky-height);
  }
  .eb-reservas .rg-side.eb-sticky-bottom .eb-transport-terms{
    position:absolute;
    inset:auto 0 0;
    width:auto;
    max-height:var(--eb-sticky-height);
  }
}
@media(max-width:1100px) and (min-width:901px){.eb-reservas .rg-grid{grid-template-columns:55% 45%}.eb-reservas .eb-waybill-head{grid-template-columns:180px 1fr;min-height:120px}.eb-reservas .eb-waybill-head img{width:155px}.eb-reservas .eb-waybill-head strong{font-size:21px}.eb-reservas .eb-waybill-head :is(span,b,small){font-size:13px}.eb-reservas .eb-waybill-track{grid-template-columns:190px 1fr 150px}.eb-reservas .eb-transport-terms li{font-size:10.5px}}
@media(max-width:900px){.eb-reservas .rg-side{height:auto;border-top:12px solid #d31220;border-left:2px solid #0f3a70;border-radius:0}.eb-reservas .eb-transport-terms ol{display:block}.eb-reservas .eb-transport-terms li{margin-bottom:14px;font-size:12px}}

/* =========================================================================
   RESERVAS · ajustes de responsive
   La guía de envío es una tabla de papel llevada a pantalla: cuando la
   columna de etiquetas es fija y estrecha, las palabras se parten por la
   mitad ("Peso volume/n") y en móvil las filas se funden en un solo bloque
   amarillo. Aquí se corrige eso sin tocar el diseño de la guía.
   ========================================================================= */

/* 1 · Las etiquetas no se parten dentro de la palabra. El corte por sílabas
   solo tiene sentido cuando de verdad no cabe. */
.eb-reservas :is(.eb-sheet-section, .eb-sheet-meta, .eb-sheet-selects) label > span {
  overflow-wrap: break-word;
  hyphens: auto;
}

/* 2 · Peso volumen / Peso / Piezas: la etiqueta se ajusta a su texto en vez
   de vivir en una columna de 62 px. */
.eb-reservas .eb-sheet-meta { grid-template-columns: 1.15fr 1.25fr .8fr; }
.eb-reservas .eb-sheet-meta label { grid-template-columns: minmax(0, auto) minmax(72px, 1fr); }
.eb-reservas .eb-sheet-meta label > span { padding: 6px 10px; white-space: nowrap; }

/* 3 · Los tres desplegables caben en una fila: antes «Modalidad» se quedaba
   sola en una segunda fila con un hueco al lado. */
.eb-reservas .eb-sheet-selects { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1100px) and (min-width: 901px) {
  .eb-reservas .eb-sheet-selects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eb-reservas .eb-sheet-selects label:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  /* El formulario ya ocupa todo el ancho: se puede respirar. */
  .eb-reservas .eb-sheet-selects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eb-reservas .eb-sheet-selects label:last-child { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .eb-reservas .eb-sheet-selects { grid-template-columns: 1fr; }
  .eb-reservas .eb-sheet-selects label:last-child { grid-column: auto; }

  /* Cada medida vuelve a ser su propia fila, con su línea. Sin esto las tres
     casillas amarillas se veían como un único bloque sin separar. */
  .eb-reservas .eb-sheet-meta { grid-template-columns: 1fr; }
  .eb-reservas .eb-sheet-meta label { grid-template-columns: 118px 1fr; min-height: 40px; }
  .eb-reservas .eb-sheet-meta label + label { border-top: 1px solid #91a0b2; }
  .eb-reservas .eb-sheet-meta label > span { justify-content: flex-start; white-space: normal; }

  /* Objetivo táctil: 29 px es incómodo con el dedo. */
  .eb-reservas .eb-waybill-form :is(input:not([type=checkbox]), select) { min-height: 40px; }
  .eb-reservas .eb-sheet-section label { min-height: 40px; }

  /* Detalles del envío: tres columnas muy justas. Se le da aire a la del
     medio y el encabezado deja de partirse en dos líneas. */
  .eb-reservas .eb-sheet-items-head,
  .eb-reservas .eb-sheet-item-row { grid-template-columns: 20% 48% 32%; }
  .eb-reservas .eb-sheet-items-head b { padding: 7px 4px; font-size: 11px; line-height: 1.2; }
  .eb-reservas .eb-sheet-total { grid-template-columns: 1fr 40%; }
  .eb-reservas .eb-sheet-total b { width: auto; }
}

@media (max-width: 480px) {
  /* La etiqueta se queda arriba y el campo debajo: a este ancho una columna
     de 118 px deja el campo en una rendija. */
  .eb-reservas .eb-sheet-section label,
  .eb-reservas .eb-sheet-meta label { grid-template-columns: 1fr; min-height: 0; }
  .eb-reservas :is(.eb-sheet-section, .eb-sheet-meta) label > span {
    border-right: 0;
    border-bottom: 1px solid #cfd7e2;
    padding: 5px 8px;
    font-size: 11.5px;
    color: #3c4657;
  }
  .eb-reservas .eb-waybill-head { grid-template-columns: 1fr; text-align: center; }
  .eb-reservas .eb-waybill-head div { text-align: center; padding: 6px 10px 12px; }
  .eb-reservas .eb-waybill-head img { margin: 10px auto 0; }
}

/* =========================================================================
   RESEÑAS DE LA PORTADA · el texto arriba, las reseñas abajo
   La columna de la izquierda era mucho más alta que las tarjetas y dejaba un
   hueco blanco enorme a su derecha. Puesta como banda superior, el carrusel
   ocupa todo el ancho y caben tres reseñas.
   ========================================================================= */
.ax-rev-grid { grid-template-columns: 1fr; gap: 18px; }

/* La ficha de «Clientes satisfechos» pasa a ser una banda horizontal. */
.ax-rev-side {
  display: grid;
  grid-template-columns: auto minmax(190px, .9fr) minmax(320px, 1.3fr) auto;
  grid-template-areas:
    "icono titulo cifras boton"
    "icono texto  cifras boton";
  align-items: center;
  column-gap: 26px;
  row-gap: 6px;
  padding: 22px 26px;
}
.ax-rev-side .ax-rev-sic { grid-area: icono; margin: 0; }
.ax-rev-side h3 { grid-area: titulo; align-self: end; margin: 0; font-size: 21px; }
.ax-rev-side > p {
  grid-area: texto; align-self: start;
  margin: 0; padding: 0; border-bottom: 0; font-size: 14.5px; line-height: 1.55;
}
.ax-rev-side .ax-rev-stats {
  grid-area: cifras;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px; margin: 0;
  padding-left: 26px; border-left: 1px solid #f0eeee;
}
.ax-rev-side .ax-rev-stats li {
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-areas: "ic dato" "ic nota";
  gap: 1px 10px;
}
.ax-rev-side .ax-rev-stats .ic { grid-area: ic; width: 34px; height: 34px; font-size: 13px; }
.ax-rev-side .ax-rev-stats b { grid-area: dato; font-size: 19px; }
.ax-rev-side .ax-rev-stats small { grid-area: nota; font-size: 11.5px; line-height: 1.3; }
.ax-rev-side .ax-rev-sbtn { grid-area: boton; margin: 0; white-space: nowrap; }

/* El carrusel ya ocupa el ancho completo: se le quita el tope de la columna. */
.ax-rev-track { align-self: auto; }

@media (max-width: 1279px) {
  .ax-rev-side {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "icono titulo"
      "icono texto"
      "cifras cifras"
      "boton  boton";
    row-gap: 16px;
  }
  .ax-rev-side .ax-rev-stats { padding-left: 0; border-left: 0; border-top: 1px solid #f0eeee; padding-top: 16px; }
  .ax-rev-side .ax-rev-sbtn { justify-self: start; }
}

@media (max-width: 640px) {
  .ax-rev-side {
    grid-template-columns: 1fr;
    grid-template-areas: "icono" "titulo" "texto" "cifras" "boton";
    justify-items: start;
    row-gap: 12px;
    padding: 22px 20px;
  }
  .ax-rev-side .ax-rev-stats { grid-template-columns: 1fr; gap: 14px; width: 100%; }
  .ax-rev-side .ax-rev-sbtn { width: 100%; }
}

/* =========================================================================
   CABECERA · logo más grande y barra fija
   ========================================================================= */
.hd-in { height: 74px; }
.hd-logo img { height: 46px; max-width: min(240px, 26vw); }

/* Al desplazarse se compacta, pero el logo sigue siendo legible. */
header.hd.is-compact .hd-in { height: 62px; }
header.hd.is-compact .hd-logo img { height: 38px; }

@media (max-width: 991px) {
  .hd-in { height: 66px; }
  .hd-logo img { height: 40px; }
  header.hd.is-compact .hd-in { height: 58px; }
  header.hd.is-compact .hd-logo img { height: 34px; }
}

/* =========================================================================
   PIE · corrección de la fila superior y del reparto de columnas

   El título llevaba `margin-left:-30px` y se montaba encima del logo. Además
   la columna de contacto ocupaba media rejilla y las otras dos quedaban
   apretadas contra el borde derecho.
   ========================================================================= */
.footer-top-items {
  gap: clamp(16px, 2vw, 28px);
  padding: 26px 0;
  flex-wrap: wrap;
}
.footer-top-items h3 {
  margin-left: 0;
  margin-bottom: 0;
  font-size: clamp(19px, 1.6vw, 26px);
  line-height: 1.2;
}
.footer-logo img { max-height: 74px; }
/* El formulario se va a la derecha en vez de pegarse al título. */
.footer-top-items form { margin-left: auto; max-width: 560px; }
.footer-top-items form input { padding: 17px 150px 17px 22px; }
.footer-top-items form button { padding: 10px 34px; font-weight: 700; }

@media (max-width: 1199px) {
  .footer-top-items { padding: 24px 0; }
  .footer-top-items form { margin-left: 0; max-width: 100%; }
}

/* Tres columnas parejas en vez de 6/3/2 con hueco al final. */
@media (min-width: 992px) {
  .footer-widget-wrapper .row > [class*="col-lg-"] { width: auto; flex: 0 0 auto; }
  .footer-widget-wrapper .row {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 3.5vw, 64px);
  }
  .footer-widget-wrapper .row > [class*="col-lg-"] { max-width: none; padding: 0; }
  /* La línea separadora acompaña a toda la columna, no a media. */
  .footer-widget-wrapper .single-footer-widget.single-border {
    border-right: 0;
    padding-right: clamp(28px, 3.5vw, 64px);
    box-shadow: 1px 0 0 rgba(191, 191, 191, .16);
  }
}

.footer-widget-wrapper .single-footer-widget .footer-contact.cont { max-width: none; }
.footer-widget-wrapper .single-footer-widget .widget-head h3 { font-size: 21px; letter-spacing: .01em; }

/* Contacto: los datos se leen como una lista, no como texto suelto. */
.footer-widget-wrapper .single-footer-widget .footer-contact li a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, .78);
  transition: color .2s;
}
.footer-widget-wrapper .single-footer-widget .footer-contact li a:hover { color: var(--theme); }
.footer-widget-wrapper .single-footer-widget .footer-contact li:not(:last-child) { margin-bottom: 12px; }

/* Los enlaces avisan de que lo son al pasar por encima. */
.footer-widget-wrapper .single-footer-widget .list-area li a {
  display: inline-block;
  transition: color .2s, transform .2s;
}
.footer-widget-wrapper .single-footer-widget .list-area li a:hover { transform: translateX(3px); }

/* =========================================================================
   SECCIÓN DE MAPA · dos columnas

   Estaba en una sola columna: el titular arriba a la izquierda y debajo un
   panel enorme con el mapa pequeño en medio. Con el texto a un lado y el mapa
   al otro se aprovecha el ancho y desaparece el hueco.
   ========================================================================= */
@media (min-width: 992px) {
  .eb-mapa-sec .container {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: clamp(34px, 4vw, 66px);
    align-items: center;
  }
  .eb-mapa-sec .eb-mapa-cab { margin: 0; max-width: none; }
  .eb-mapa-sec .eb-mapa-fig { margin: 0; max-width: none; width: 100%; }
}

/* El mapa llena su panel en vez de quedarse pequeño en el centro. */
.eb-mapa-sec .eb-map { max-height: none; }

/* El pie deja de ser una línea suelta y pasa a leerse como la ruta. */
.eb-mapa-sec .eb-mapa-fig figcaption {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 16px auto 0;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .01em;
}
.eb-mapa-sec .eb-mapa-fig { display: flex; flex-direction: column; align-items: center; }

/* El texto de apoyo no se estira a todo lo ancho de la columna. */
.eb-mapa-sec .eb-mapa-texto { max-width: 46ch; }

@media (max-width: 991px) {
  .eb-mapa-sec .eb-mapa-cab { margin-bottom: 26px; }
  .eb-mapa-sec .eb-mapa-fig { max-width: 620px; }
}

/* =========================================================================
   FONDO POR SECCIÓN
   La capa va con z-index negativo: queda por encima del color de fondo que la
   sección ya tuviera y por debajo de todo su contenido.
   ========================================================================= */
.eb-sec-bg-host { position: relative; isolation: isolate; }
.eb-sec-bg-host > .eb-sec-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* Reservas: la tabla de contenido pasa a dos columnas — se reserva el envío,
   no se cotiza, así que ya no hay costo unitario ni total. */
.eb-reservas .eb-sheet-items-head,
.eb-reservas .eb-sheet-item-row { grid-template-columns: 22% 78%; }

@media (max-width: 700px) {
  .eb-reservas .eb-sheet-items-head,
  .eb-reservas .eb-sheet-item-row { grid-template-columns: 26% 74%; }
}

/* =========================================================================
   PÁGINA DE CONTACTO
   ========================================================================= */
.eb-cto { padding: clamp(48px, 6vw, 84px) 0 clamp(56px, 7vw, 96px); background: #f7f9fc; }
.eb-cto .container { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); }

.eb-cto-cab { max-width: 720px; margin: 0 0 clamp(28px, 3.5vw, 44px); }
.eb-cto-eyebrow {
  margin: 0 0 10px; color: #d31220; font-size: 13px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
}
.eb-cto-cab h1 { margin: 0; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; color: #0f2452; }
.eb-cto-texto { margin: 14px 0 0; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.7; color: #5b6069; }

.eb-cto-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(20px, 2.6vw, 34px); align-items: start; }
@media (max-width: 900px) { .eb-cto-grid { grid-template-columns: 1fr; } }

/* Formulario ------------------------------------------------------------- */
.eb-cto-form {
  background: #fff; border: 1px solid #e6eaf1; border-radius: 18px;
  padding: clamp(22px, 2.6vw, 34px); box-shadow: 0 18px 46px -34px rgba(15, 36, 82, .5);
}
.eb-cto-fila { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 560px) { .eb-cto-fila { grid-template-columns: 1fr; } }
.eb-cto-form label { display: block; }
.eb-cto-form label > span {
  display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: #0f2452;
}
.eb-cto-form :is(input, select, textarea) {
  width: 100%; box-sizing: border-box; min-height: 48px;
  border: 1.5px solid #dbe2ea; border-radius: 10px; padding: 12px 14px;
  font: inherit; font-size: 15px; color: #141821; background: #fbfcfe; transition: .18s;
}
.eb-cto-form textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.eb-cto-form :is(input, select, textarea):focus {
  outline: none; border-color: #d31220; background: #fff; box-shadow: 0 0 0 4px rgba(211, 18, 32, .12);
}
.eb-cto-msg { display: block; margin-bottom: 18px; }
.eb-cto-send {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 52px; border: none; border-radius: 10px;
  background: #d31220; color: #fff; font: inherit; font-size: 15px; font-weight: 800;
  cursor: pointer; transition: background .2s;
}
.eb-cto-send:hover { background: #a90e1a; }
.eb-cto-nota { margin: 14px 0 0; text-align: center; font-size: 13.5px; color: #6b7079; }
.eb-cto-nota i { color: #d31220; margin-right: 6px; }

/* Datos ------------------------------------------------------------------ */
.eb-cto-info {
  background: #0f2452; color: #fff; border-radius: 18px;
  padding: clamp(22px, 2.6vw, 32px);
}
.eb-cto-info h2 { margin: 0 0 20px; font-size: 21px; color: #fff; }
.eb-cto-datos { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 18px; }
.eb-cto-datos li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; align-items: start; }
.eb-cto-datos .ic {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .1); color: #ff8a93; font-size: 16px;
}
.eb-cto-datos b { display: block; font-size: 14.5px; margin-bottom: 3px; }
.eb-cto-datos :is(span, a) { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .78); }
.eb-cto-datos a:hover { color: #fff; text-decoration: underline; }
.eb-cto-wa {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; border-radius: 10px; background: #1e8639; color: #fff;
  font-size: 15px; font-weight: 700; text-decoration: none; transition: background .2s;
}
.eb-cto-wa:hover { background: #17692d; color: #fff; }
.eb-cto-aviso { margin: 18px 0 0; font-size: 12.5px; line-height: 1.55; color: rgba(255, 255, 255, .6); }

/* ==========================================================================
   Línea de tiempo del rastreo (.eb-tl)

   El rastreo enseñaba un único estado suelto. Ahora enseña el recorrido
   entero del envío —registro, almacén, tránsito, aduana, reparto y entrega—
   con la fecha de cada paso, cuál está hecho, cuál está en curso y cuál falta.
   ========================================================================== */

.eb-tl-wrap {
  margin: 0 0 26px;
  padding: 22px;
  border: 1px solid #e7eaf0;
  border-radius: 16px;
  background: #fff;
}

/* Resumen: estado, avance y las dos fechas que enmarcan todo el envío. */
.eb-tl-progress { margin: 0 0 22px; }
.eb-tl-ptop {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 8px; margin-bottom: 10px;
}
.eb-tl-ptop b { font-size: 17px; font-weight: 800; color: #0c1b33; }
.eb-tl-ptop span { font-size: 13px; font-weight: 700; color: #6a707a; }
.eb-tl-bar {
  height: 8px; border-radius: 99px; background: #eceff4; overflow: hidden;
}
.eb-tl-bar > span {
  display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, #1e8639, #43b55f);
  transition: width .5s ease;
}
.eb-tl-pnote {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin: 10px 0 0; font-size: 13px; color: #6a707a;
}
.eb-tl-pnote i { color: #9aa0a8; margin-right: 5px; }

/* Los pasos. El riel vertical se dibuja con el borde del marcador. */
.eb-tl { list-style: none; margin: 0; padding: 0; }
.eb-tl-step {
  position: relative;
  display: grid; grid-template-columns: 44px 1fr; gap: 16px;
  padding: 0 0 22px;
}
.eb-tl-step::before {
  content: ""; position: absolute; top: 46px; bottom: 2px; left: 21px;
  width: 2px; background: #e3e7ee;
}
.eb-tl-step:last-child::before { display: none; }
.eb-tl-step.is-done::before { background: #1e8639; }

.eb-tl-mark {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; background: #f1f3f7; color: #9aa0a8;
  border: 2px solid #e3e7ee; box-shadow: 0 0 0 4px #fff;
}
.eb-tl-step.is-done .eb-tl-mark { background: #1e8639; border-color: #1e8639; color: #fff; }
.eb-tl-step.is-current .eb-tl-mark {
  background: var(--theme, #c8102e); border-color: var(--theme, #c8102e); color: #fff;
  box-shadow: 0 0 0 4px #fff, 0 0 0 8px rgba(200, 16, 46, .18);
}
.eb-tl-step.is-alert .eb-tl-mark { background: #b45309; border-color: #b45309; color: #fff; }

.eb-tl-body { padding-top: 2px; }
.eb-tl-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 4px;
}
.eb-tl-head b { font-size: 16px; font-weight: 800; color: #141821; }
.eb-tl-step.is-pending .eb-tl-head b { color: #8b929c; }
.eb-tl-badge {
  font-size: 11.5px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase;
  padding: 3px 9px; border-radius: 99px; background: #f1f3f7; color: #6a707a;
}
.eb-tl-step.is-done .eb-tl-badge { background: #e6f4ea; color: #1e6b31; }
.eb-tl-step.is-current .eb-tl-badge { background: #fbe9ec; color: #a30d26; }
.eb-tl-step.is-alert .eb-tl-badge { background: #fdf0dc; color: #8a4a05; }

.eb-tl-desc { margin: 0 0 8px; font-size: 13.5px; line-height: 1.55; color: #6a707a; }
.eb-tl-step.is-pending .eb-tl-desc { color: #9aa0a8; }
.eb-tl-meta {
  display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0;
  font-size: 13px; font-weight: 600; color: #414855;
}
.eb-tl-meta i { color: #9aa0a8; margin-right: 5px; }
.eb-tl-none { font-weight: 500; font-style: italic; color: #9aa0a8; }

/* Anotaciones del historial que no encajan en ningún paso del recorrido. */
.eb-tl-extra {
  margin-top: 6px; padding: 16px 18px; border-radius: 12px; background: #f7f9fc;
}
.eb-tl-extra h4 { margin: 0 0 10px; font-size: 14px; font-weight: 800; color: #141821; }
.eb-tl-extra h4 i { color: #9aa0a8; margin-right: 6px; }
.eb-tl-extra ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.eb-tl-extra li {
  display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: #6a707a;
}
.eb-tl-extra li b { color: #141821; }
.eb-tl-extra i { color: #9aa0a8; margin-right: 5px; }

@media (max-width: 575px) {
  .eb-tl-wrap { padding: 16px; }
  .eb-tl-step { grid-template-columns: 36px 1fr; gap: 12px; }
  .eb-tl-step::before { top: 38px; left: 17px; }
  .eb-tl-mark { width: 36px; height: 36px; font-size: 14px; }
  .eb-tl-head b { font-size: 15px; }
}

/* La ficha del rastreo escribe los rótulos tal cual, sin capitalizar palabra
   a palabra: "Código de rastreo", no "Código De Rastreo". */
.ax-trk-info .ax-trk-icard h4 { text-transform: none; }

/* Al consultar una orden se salta a su recorrido: que no quede tapado por la
   cabecera fija. */
.ax-trk-order { scroll-margin-top: calc(var(--eb-header-h, 92px) + 16px); }

/* ==========================================================================
   Recorrido en horizontal (.eb-tl--track)

   El rastreo mostraba el recorrido como una lista vertical: siete bloques
   largos que empujaban la ficha del envio fuera de la pantalla. Ahora los
   pasos van en una sola fila, como una barra de progreso con paradas, y el
   estado del envio se resume arriba en una tarjeta. En pantallas estrechas
   la fila se desplaza en horizontal en vez de romperse.
   ========================================================================== */

/* Tarjeta de resumen: estado, guia, avance y datos del envio. */
.eb-tl-card { margin: 0 0 24px; }
.eb-tl-chead {
  display: flex; align-items: flex-start; gap: 18px; flex-wrap: wrap;
  padding-bottom: 20px; border-bottom: 1px solid #eceff4;
}
.eb-tl-cmark {
  flex: none; width: 66px; height: 66px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 27px; color: #fff; background: #1e8639;
}
.eb-tl-card.is-curso .eb-tl-cmark { background: var(--theme, #c8102e); }
.eb-tl-card.is-alerta .eb-tl-cmark { background: #b45309; }
.eb-tl-ctx { flex: 1 1 260px; min-width: 0; }
.eb-tl-cchip {
  display: inline-block; margin-bottom: 7px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 99px; background: #e6f4ea; color: #1e6b31;
}
.eb-tl-card.is-curso .eb-tl-cchip { background: #fbe9ec; color: #a30d26; }
.eb-tl-card.is-alerta .eb-tl-cchip { background: #fdf0dc; color: #8a4a05; }
.eb-tl-ctx h3 { margin: 0 0 6px; font-size: 30px; font-weight: 800; color: #141821; line-height: 1.1; }
.eb-tl-cguia { margin: 0; font-size: 13.5px; color: #6a707a; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.eb-tl-cguia b { color: #141821; font-weight: 700; }
.eb-tl-cguia i { color: #9aa0a8; margin-right: 5px; }
.eb-tl-cpct { flex: none; text-align: right; }
.eb-tl-cpct b { display: block; font-size: 34px; font-weight: 800; color: #1e8639; line-height: 1; }
.eb-tl-card.is-curso .eb-tl-cpct b { color: var(--theme, #c8102e); }
.eb-tl-cpct span { font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: #9aa0a8; }

/* Datos del envio: cliente, servicio y tipo, en una fila de tres. */
.eb-tl-cmeta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  padding: 18px 0;
}
.eb-tl-cmeta > div { display: flex; align-items: center; gap: 12px; min-width: 0; }
.eb-tl-cmeta .ic {
  flex: none; width: 38px; height: 38px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: #f1f3f7; color: #6a707a; font-size: 15px;
}
.eb-tl-cmeta small {
  display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .5px;
  text-transform: uppercase; color: #9aa0a8; margin-bottom: 2px;
}
.eb-tl-cmeta b { font-size: 14.5px; font-weight: 700; color: #141821; line-height: 1.35; }

/* Descripcion del envio. */
.eb-tl-cdesc {
  display: flex; gap: 12px; padding: 15px 17px; border-radius: 12px; background: #f7f9fc;
}
.eb-tl-cdesc > i { color: #9aa0a8; font-size: 15px; margin-top: 2px; }
.eb-tl-cdesc small {
  display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .5px;
  text-transform: uppercase; color: #9aa0a8; margin-bottom: 4px;
}
.eb-tl-cdesc p { margin: 0; font-size: 13.5px; line-height: 1.6; color: #414855; }

/* La fila de pasos. El riel se dibuja detras de los marcadores. */
.eb-tl--track {
  list-style: none; margin: 26px 0 0; padding: 4px 0 0;
  display: flex; align-items: flex-start; gap: 0;
  overflow-x: auto; scrollbar-width: thin;
}
.eb-tl--track .eb-tl-step {
  position: relative; display: block; flex: 1 1 0; min-width: 92px;
  padding: 0 4px; text-align: center;
}
/* riel: mitad izquierda y mitad derecha de cada paso, para que el color
   marque hasta donde ha llegado el envio */
.eb-tl--track .eb-tl-step::before,
.eb-tl--track .eb-tl-step::after {
  /* width/bottom se reinician: el riel vertical de la vista en lista los fija
     y aqui el tramo se define con left/right. */
  content: ""; position: absolute; top: 21px; bottom: auto; width: auto; height: 3px;
  background: #e3e7ee;
}
.eb-tl--track .eb-tl-step::before { left: 0; right: 50%; margin-right: 22px; }
.eb-tl--track .eb-tl-step::after { left: 50%; right: 0; margin-left: 22px; }
.eb-tl--track .eb-tl-step:first-child::before,
.eb-tl--track .eb-tl-step:last-child::after { display: none; }
/* en la vista en lista el ultimo paso no lleva riel; aqui si, por la izquierda */
.eb-tl--track .eb-tl-step:last-child::before { display: block; }
.eb-tl--track .eb-tl-step.is-done::before,
.eb-tl--track .eb-tl-step.is-done::after,
.eb-tl--track .eb-tl-step.is-current::before { background: #1e8639; }

.eb-tl--track .eb-tl-mark {
  width: 44px; height: 44px; margin: 0 auto 10px;
  box-shadow: none; position: relative; z-index: 1;
}
.eb-tl--track .eb-tl-step.is-current .eb-tl-mark {
  box-shadow: 0 0 0 5px rgba(200, 16, 46, .16);
}
.eb-tl--track .eb-tl-step.is-done.is-last .eb-tl-mark {
  box-shadow: 0 0 0 5px rgba(30, 134, 57, .16);
}
.eb-tl--track .eb-tl-step b {
  display: block; font-size: 12.5px; font-weight: 700; line-height: 1.35; color: #141821;
}
.eb-tl--track .eb-tl-step.is-pending b { color: #9aa0a8; font-weight: 600; }
.eb-tl--track .eb-tl-step.is-done.is-last b { color: #1e8639; }
.eb-tl--track .eb-tl-step small {
  display: block; margin-top: 4px; font-size: 11.5px; color: #8b929c;
}

/* En movil la fila se desplaza: la barra se deja visible para que se note. */
.eb-tl--track::-webkit-scrollbar { height: 6px; }
.eb-tl--track::-webkit-scrollbar-track { background: #f1f3f7; border-radius: 99px; }
.eb-tl--track::-webkit-scrollbar-thumb { background: #d5dae2; border-radius: 99px; }

@media (max-width: 767px) {
  .eb-tl-ctx h3 { font-size: 24px; }
  .eb-tl-cpct { text-align: left; }
  .eb-tl-cmeta { grid-template-columns: 1fr; gap: 12px; padding: 16px 0; }
  .eb-tl--track { padding-bottom: 8px; }
  .eb-tl--track .eb-tl-step { min-width: 104px; }
}
