
.hbwp-catalog{--green:#123f37;--gold:#c39a5b;--cream:#f6efe2;--line:#e4d6bd;--text:#28322f;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--text)}
.hbwp-hero{display:flex;justify-content:space-between;gap:28px;align-items:center;margin-bottom:18px;padding:28px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(135deg,#fff,#f4ead8)}
.hbwp-eyebrow{color:#a77a3c;font-size:11px;font-weight:800;letter-spacing:.14em}.hbwp-hero h1{margin:7px 0;color:var(--green);font-size:36px}.hbwp-hero p{margin:0;color:#66706c}.hbwp-rules{display:grid;gap:8px;max-width:430px;padding:16px 18px;border:1px solid #dbc59c;border-radius:14px;background:rgba(255,255,255,.72);font-size:13px}.hbwp-rules b{color:var(--green);font-size:18px}
.hbwp-toolbar{display:grid;grid-template-columns:2fr 1fr;gap:12px;margin-bottom:14px;padding:14px;border:1px solid var(--line);border-radius:15px;background:#fff}.hbwp-toolbar label{display:flex;flex-direction:column;gap:6px}.hbwp-toolbar span{font-size:10px;font-weight:800;text-transform:uppercase;color:#757b78}.hbwp-toolbar input,.hbwp-toolbar select{min-height:42px;padding:0 12px;border:1px solid #ddd4c5;border-radius:10px;background:#fff}
.hbwp-price-list{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff}
.hbwp-row{display:grid;grid-template-columns:2.6fr 1fr .95fr 1.15fr .95fr .85fr;gap:14px;align-items:center;padding:14px 16px;border-bottom:1px solid #eee8de}
.hbwp-row:last-child{border-bottom:0}
.hbwp-row--head{background:var(--green);color:#fff;font-size:11px;font-weight:800}
.hbwp-product-main{display:grid;grid-template-columns:58px 1fr;gap:12px;align-items:center}
.hbwp-image{width:58px;height:68px;display:grid;place-items:center;border-radius:10px;background:#f5f1ea;overflow:hidden}.hbwp-image img{max-width:100%;max-height:100%;object-fit:contain}
.hbwp-product-copy strong{display:block;font-size:14px;line-height:1.35}.hbwp-product-copy small{display:block;margin-top:4px;color:#8a8f8c}
.hbwp-brand{font-size:14px;color:#4a5450}
.hbwp-stock{display:inline-flex;width:max-content;padding:6px 10px;border-radius:20px;background:#edf8f1;color:#24734f;font-size:11px;font-weight:800}.hbwp-stock.is-soldout{background:#f8eeee;color:#9c4141}
.hbwp-prices{display:grid;gap:10px;justify-items:end;text-align:right}
.hbwp-price-stack{display:grid;gap:2px;justify-items:end;text-align:right}
.hbwp-price-stack small{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#8d9c95}
.hbwp-price-stack--public small{color:#a77a3c}
.hbwp-price{color:var(--green);font-size:16px;line-height:1.1}.hbwp-public{color:#9b6f34;font-weight:700;font-size:15px;line-height:1.1}
.hbwp-qty{display:grid;grid-template-columns:30px 52px 30px;border:1px solid #ddd4c5;border-radius:9px;overflow:hidden;background:#fff}.hbwp-qty button,.hbwp-qty input{height:38px;border:0;background:#fff;text-align:center}.hbwp-qty input{width:52px;font-size:16px;font-weight:700}
.hbwp-add{min-height:42px;padding:0 16px;border:0;border-radius:10px;background:var(--green);color:#fff;font-weight:700}.hbwp-add:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:900px){
  .hbwp-hero{align-items:flex-start;flex-direction:column}
  .hbwp-row--head{display:none}
  .hbwp-row{grid-template-columns:minmax(0,1fr) 120px 136px;gap:12px 12px;padding:16px;border-radius:0}
  .hbwp-product-main{grid-column:1/3;grid-template-columns:80px 1fr;gap:14px;align-items:start}
  .hbwp-image{width:80px;height:96px;border-radius:12px}
  .hbwp-brand{display:none}
  .hbwp-product-copy strong{font-size:15px;line-height:1.38}
  .hbwp-product-copy small{font-size:12px;margin-top:6px}
  .hbwp-stock{grid-column:1;grid-row:2;align-self:center;justify-self:start;padding:7px 14px;font-size:12px}
  .hbwp-prices{grid-column:3;grid-row:1 / span 2;align-self:center;justify-self:end;gap:14px}
  .hbwp-price{font-size:18px}.hbwp-public{font-size:17px}
  .hbwp-qty{grid-column:2;grid-row:2;justify-self:start;width:100%;max-width:120px}
  .hbwp-add{grid-column:3;grid-row:3;justify-self:end;width:100%;max-width:136px;min-height:48px;border-radius:14px;font-size:16px}
}
@media(max-width:600px){
  .hbwp-hero{padding:20px 16px}.hbwp-hero h1{font-size:29px}
  .hbwp-toolbar{grid-template-columns:1fr}
  .hbwp-row{grid-template-columns:minmax(0,1fr) 112px 128px;gap:10px 10px;padding:14px}
  .hbwp-product-main{grid-column:1/3;grid-template-columns:74px 1fr;gap:12px}
  .hbwp-image{width:74px;height:88px}
  .hbwp-product-copy strong{font-size:14px}
  .hbwp-product-copy small{font-size:11px}
  .hbwp-stock{padding:7px 12px;font-size:11px}
  .hbwp-prices{gap:10px}
  .hbwp-price-stack small{font-size:10px}
  .hbwp-price{font-size:17px}.hbwp-public{font-size:16px}
  .hbwp-qty{max-width:112px;grid-template-columns:28px 52px 28px}.hbwp-qty button,.hbwp-qty input{height:36px}
  .hbwp-add{max-width:128px;min-height:44px;font-size:15px;padding:0 12px}
}


/* ==========================================================
   v0.1.6 — Full-width product title & compact mobile card
   ========================================================== */
@media(max-width:900px){
  .hbwp-price-list{
    overflow:visible;
    border:0;
    background:transparent;
  }
  .hbwp-product.hbwp-row{
    display:grid;
    grid-template-columns:94px minmax(0,1fr) 136px;
    grid-template-rows:auto auto auto;
    gap:9px 12px;
    margin-bottom:12px;
    padding:14px;
    border:1px solid var(--line);
    border-radius:18px;
    background:#fff;
    box-shadow:0 7px 20px rgba(31,41,37,.04);
  }
  .hbwp-product-main{
    grid-column:1 / -1!important;
    grid-row:1!important;
    display:grid!important;
    grid-template-columns:78px minmax(0,1fr)!important;
    gap:12px!important;
    align-items:start!important;
    width:100%!important;
    min-width:0!important;
  }
  .hbwp-image{
    width:78px!important;
    height:90px!important;
    border-radius:12px!important;
  }
  .hbwp-product-copy{
    min-width:0!important;
    padding-right:0!important;
  }
  .hbwp-product-copy strong{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    font-size:15px!important;
    line-height:1.34!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:normal!important;
  }
  .hbwp-product-copy small{
    margin-top:5px!important;
    font-size:12px!important;
  }
  .hbwp-brand{display:none!important}
  .hbwp-stock{
    grid-column:1!important;
    grid-row:2 / 4!important;
    align-self:center!important;
    justify-self:center!important;
    padding:7px 12px!important;
    font-size:11px!important;
  }
  .hbwp-prices{
    grid-column:3!important;
    grid-row:2!important;
    align-self:center!important;
    justify-self:end!important;
    display:grid!important;
    gap:7px!important;
    width:100%!important;
    text-align:right!important;
  }
  .hbwp-price-stack{
    justify-items:end!important;
    text-align:right!important;
  }
  .hbwp-price-stack small{
    font-size:9px!important;
  }
  .hbwp-price{
    font-size:17px!important;
  }
  .hbwp-public{
    font-size:16px!important;
  }
  .hbwp-qty{
    grid-column:2!important;
    grid-row:3!important;
    align-self:end!important;
    justify-self:start!important;
    grid-template-columns:28px 48px 28px!important;
    width:104px!important;
    max-width:104px!important;
  }
  .hbwp-qty button,.hbwp-qty input{
    height:36px!important;
  }
  .hbwp-qty input{
    width:48px!important;
  }
  .hbwp-add{
    grid-column:3!important;
    grid-row:3!important;
    align-self:end!important;
    justify-self:end!important;
    width:100%!important;
    max-width:136px!important;
    min-height:40px!important;
    padding:0 12px!important;
    border-radius:12px!important;
    font-size:14px!important;
  }
}

@media(max-width:600px){
  .hbwp-product.hbwp-row{
    grid-template-columns:82px minmax(0,1fr) 124px;
    gap:8px 10px;
    padding:12px;
    border-radius:16px;
  }
  .hbwp-product-main{
    grid-template-columns:68px minmax(0,1fr)!important;
    gap:10px!important;
  }
  .hbwp-image{
    width:68px!important;
    height:80px!important;
  }
  .hbwp-product-copy strong{
    font-size:14px!important;
    line-height:1.3!important;
  }
  .hbwp-product-copy small{
    font-size:11px!important;
  }
  .hbwp-stock{
    padding:6px 10px!important;
    font-size:10px!important;
  }
  .hbwp-prices{
    gap:5px!important;
  }
  .hbwp-price{
    font-size:16px!important;
  }
  .hbwp-public{
    font-size:15px!important;
  }
  .hbwp-qty{
    grid-template-columns:26px 44px 26px!important;
    width:96px!important;
    max-width:96px!important;
  }
  .hbwp-qty button,.hbwp-qty input{
    height:34px!important;
  }
  .hbwp-qty input{
    width:44px!important;
  }
  .hbwp-add{
    max-width:124px!important;
    min-height:38px!important;
    font-size:13px!important;
  }
}


/* ==========================================================
   v0.1.7 — True two-row mobile product card
   Fila 1: imagen + nombre/ref + precios
   Fila 2: disponibilidad + cantidad + CTA
   ========================================================== */
@media(max-width:900px){
  .hbwp-product.hbwp-row{
    grid-template-columns:94px minmax(0,1fr) 138px!important;
    grid-template-rows:auto 40px!important;
    column-gap:12px!important;
    row-gap:10px!important;
    padding:12px 14px!important;
    min-height:0!important;
  }
  .hbwp-product-main{
    grid-column:1 / 3!important;
    grid-row:1!important;
    grid-template-columns:78px minmax(0,1fr)!important;
    gap:12px!important;
    align-items:start!important;
    align-self:start!important;
  }
  .hbwp-image{
    width:78px!important;
    height:82px!important;
  }
  .hbwp-product-copy strong{
    font-size:15px!important;
    line-height:1.28!important;
  }
  .hbwp-product-copy small{
    margin-top:4px!important;
    font-size:12px!important;
    line-height:1.2!important;
  }
  .hbwp-prices{
    grid-column:3!important;
    grid-row:1!important;
    align-self:start!important;
    justify-self:end!important;
    gap:8px!important;
    padding-top:1px!important;
  }
  .hbwp-price-stack{
    gap:1px!important;
  }
  .hbwp-price-stack small{
    font-size:9px!important;
    line-height:1.1!important;
  }
  .hbwp-price{
    font-size:17px!important;
    line-height:1.05!important;
  }
  .hbwp-public{
    font-size:16px!important;
    line-height:1.05!important;
  }
  .hbwp-stock{
    grid-column:1!important;
    grid-row:2!important;
    align-self:center!important;
    justify-self:start!important;
    padding:6px 10px!important;
    font-size:10px!important;
  }
  .hbwp-qty{
    grid-column:2!important;
    grid-row:2!important;
    align-self:center!important;
    justify-self:center!important;
    grid-template-columns:28px 46px 28px!important;
    width:102px!important;
    max-width:102px!important;
  }
  .hbwp-qty button,.hbwp-qty input{
    height:36px!important;
  }
  .hbwp-qty input{
    width:46px!important;
  }
  .hbwp-add{
    grid-column:3!important;
    grid-row:2!important;
    align-self:center!important;
    justify-self:end!important;
    width:100%!important;
    max-width:138px!important;
    min-height:38px!important;
    height:38px!important;
    padding:0 12px!important;
    font-size:13px!important;
  }
}

@media(max-width:600px){
  .hbwp-product.hbwp-row{
    grid-template-columns:76px minmax(0,1fr) 122px!important;
    grid-template-rows:auto 38px!important;
    column-gap:9px!important;
    row-gap:8px!important;
    padding:10px!important;
  }
  .hbwp-product-main{
    grid-template-columns:66px minmax(0,1fr)!important;
    gap:9px!important;
  }
  .hbwp-image{
    width:66px!important;
    height:72px!important;
  }
  .hbwp-product-copy strong{
    font-size:13.5px!important;
    line-height:1.24!important;
  }
  .hbwp-product-copy small{
    margin-top:3px!important;
    font-size:10.5px!important;
  }
  .hbwp-prices{
    gap:6px!important;
  }
  .hbwp-price-stack small{
    font-size:8.5px!important;
  }
  .hbwp-price{
    font-size:16px!important;
  }
  .hbwp-public{
    font-size:15px!important;
  }
  .hbwp-stock{
    padding:5px 9px!important;
    font-size:9.5px!important;
  }
  .hbwp-qty{
    grid-template-columns:25px 42px 25px!important;
    width:92px!important;
    max-width:92px!important;
  }
  .hbwp-qty button,.hbwp-qty input{
    height:34px!important;
  }
  .hbwp-qty input{
    width:42px!important;
  }
  .hbwp-add{
    max-width:122px!important;
    min-height:36px!important;
    height:36px!important;
    font-size:12.5px!important;
  }
}


/* ==========================================================
   v0.1.8 — Catalog Pagination
   ========================================================== */
.hbwp-pagination{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:18px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
}
.hbwp-pagination__summary{font-size:12px;color:#6f7773}
.hbwp-pagination__controls{display:flex;align-items:center;gap:10px}
.hbwp-page-btn{
  display:inline-flex;
  min-height:38px;
  align-items:center;
  justify-content:center;
  padding:0 14px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  color:var(--green)!important;
  font-size:12px;
  font-weight:750;
  text-decoration:none!important;
}
.hbwp-page-btn:hover{border-color:var(--green);background:#f7fbf9}
.hbwp-page-btn.is-disabled{opacity:.38;cursor:not-allowed}
.hbwp-page-current{font-size:12px;font-weight:750;color:#47514d;white-space:nowrap}
@media(max-width:600px){
  .hbwp-pagination{flex-direction:column;align-items:stretch;padding:12px;gap:10px}
  .hbwp-pagination__summary{text-align:center}
  .hbwp-pagination__controls{display:grid;grid-template-columns:1fr auto 1fr;gap:8px}
  .hbwp-page-btn{min-height:42px;padding:0 10px}
  .hbwp-page-current{text-align:center;font-size:11px}
}


/* ==========================================================
   v0.1.9 — Portal Page Focus & Compact Header
   ========================================================== */
body.hbwp-portal-page .page-header,
body.hbwp-portal-page .page-title,
body.hbwp-portal-page h1.page-title{display:none!important}

/* Oculta el buscador general del tema solo en la página del portal. */
body.hbwp-portal-page #search_widget,
body.hbwp-portal-page .search-widget,
body.hbwp-portal-page .header-search,
body.hbwp-portal-page .ansearch,
body.hbwp-portal-page .an_search,
body.hbwp-portal-page .search-bar,
body.hbwp-portal-page .header-top .search-box,
body.hbwp-portal-page header form[action*="search"]{display:none!important}

/* Evita integrar el bloque comercial del Explorador dentro del Portal de Mayoreo. */
body.hbwp-portal-page [class*="hbse-entry--home"],
body.hbwp-portal-page .hbse-entry--home-cards,
body.hbwp-portal-page .hbse-entry--home-editorial,
body.hbwp-portal-page .hbse-entry--home-signature{display:none!important}

body.hbwp-portal-page .hbwp-catalog{margin-top:4px!important}
body.hbwp-portal-page .hbwp-hero{padding:18px 22px!important;margin-bottom:12px!important;gap:18px!important}
body.hbwp-portal-page .hbwp-hero h1{font-size:31px!important;margin:4px 0!important}
body.hbwp-portal-page .hbwp-hero p{font-size:13px!important;line-height:1.35!important}
body.hbwp-portal-page .hbwp-rules{padding:10px 14px!important;gap:3px!important;font-size:12px!important}
body.hbwp-portal-page .hbwp-rules b{font-size:16px!important}

@media(max-width:900px){
  body.hbwp-portal-page .hbwp-hero{padding:12px!important;gap:9px!important;border-radius:15px!important}
  body.hbwp-portal-page .hbwp-eyebrow{font-size:9px!important}
  body.hbwp-portal-page .hbwp-hero h1{font-size:25px!important;line-height:1.08!important}
  body.hbwp-portal-page .hbwp-hero p{font-size:12px!important;line-height:1.3!important}
  body.hbwp-portal-page .hbwp-rules{padding:8px 10px!important;font-size:11px!important;line-height:1.35!important}
  body.hbwp-portal-page .hbwp-toolbar{padding:10px!important;gap:8px!important;margin-bottom:10px!important}
}

/* ==========================================================
   v0.1.10 — Compact & organized search/filter toolbar
   ========================================================== */
body.hbwp-portal-page .hbwp-toolbar{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 240px!important;
  align-items:end!important;
  gap:10px 12px!important;
  margin-bottom:12px!important;
  padding:10px 12px!important;
  border:1px solid var(--line)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 4px 14px rgba(31,41,37,.035)!important;
}
body.hbwp-portal-page .hbwp-toolbar .hbwp-field{
  gap:4px!important;
  min-width:0!important;
}
body.hbwp-portal-page .hbwp-toolbar .hbwp-field span{
  font-size:10px!important;
  font-weight:800!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  color:#818984!important;
  line-height:1.1!important;
  margin:0 2px!important;
}
body.hbwp-portal-page .hbwp-toolbar input,
body.hbwp-portal-page .hbwp-toolbar select{
  width:100%!important;
  min-height:40px!important;
  height:40px!important;
  padding:0 14px!important;
  border:1px solid #ddd4c5!important;
  border-radius:12px!important;
  background:#fff!important;
  font-size:15px!important;
  color:#2f3935!important;
  box-shadow:none!important;
}
body.hbwp-portal-page .hbwp-toolbar input::placeholder{
  color:#adb2af!important;
}
body.hbwp-portal-page .hbwp-field--search{
  position:relative;
}
body.hbwp-portal-page .hbwp-field--search::after{
  content:'⌕';
  position:absolute;
  right:14px;
  bottom:10px;
  font-size:20px;
  line-height:1;
  color:#c6cbc8;
  pointer-events:none;
}
body.hbwp-portal-page .hbwp-field--search input{
  padding-right:42px!important;
}
body.hbwp-portal-page .hbwp-field--availability select{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  padding-right:38px!important;
  background-image:linear-gradient(45deg, transparent 50%, #7c847f 50%),linear-gradient(135deg, #7c847f 50%, transparent 50%);
  background-position:calc(100% - 18px) calc(50% - 3px),calc(100% - 12px) calc(50% - 3px);
  background-size:6px 6px,6px 6px;
  background-repeat:no-repeat;
}

@media(max-width:900px){
  body.hbwp-portal-page .hbwp-toolbar{
    grid-template-columns:minmax(0,1fr) 220px!important;
    padding:10px!important;
    gap:8px 10px!important;
    border-radius:16px!important;
  }
  body.hbwp-portal-page .hbwp-toolbar input,
  body.hbwp-portal-page .hbwp-toolbar select{
    min-height:38px!important;
    height:38px!important;
    font-size:14px!important;
  }
}

@media(max-width:600px){
  body.hbwp-portal-page .hbwp-toolbar{
    grid-template-columns:minmax(0,1fr)!important;
    padding:10px 10px 9px!important;
    gap:8px!important;
    margin-bottom:10px!important;
  }
  body.hbwp-portal-page .hbwp-toolbar .hbwp-field{
    gap:3px!important;
  }
  body.hbwp-portal-page .hbwp-toolbar .hbwp-field span{
    font-size:9px!important;
    letter-spacing:.07em!important;
    margin-left:2px!important;
  }
  body.hbwp-portal-page .hbwp-toolbar input,
  body.hbwp-portal-page .hbwp-toolbar select{
    min-height:38px!important;
    height:38px!important;
    font-size:13px!important;
    border-radius:11px!important;
  }
  body.hbwp-portal-page .hbwp-field--search::after{
    bottom:9px;
    right:13px;
    font-size:18px;
  }
}


/* ==========================================================
   v0.1.11 — Ultra-compact mobile search/filter rows
   ========================================================== */
@media(max-width:600px){
  body.hbwp-portal-page .hbwp-toolbar{
    padding:8px 9px!important;
    gap:7px!important;
    border-radius:15px!important;
  }
  body.hbwp-portal-page .hbwp-toolbar .hbwp-field{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:7px!important;
  }
  body.hbwp-portal-page .hbwp-toolbar .hbwp-field span{
    grid-column:2!important;
    margin:0!important;
    white-space:nowrap!important;
    font-size:10px!important;
    line-height:1!important;
    text-align:right!important;
  }
  body.hbwp-portal-page .hbwp-toolbar input,
  body.hbwp-portal-page .hbwp-toolbar select{
    grid-column:1!important;
    min-width:0!important;
    min-height:36px!important;
    height:36px!important;
    font-size:13px!important;
    padding:0 12px!important;
  }
  body.hbwp-portal-page .hbwp-field--search input{
    padding-right:36px!important;
  }
  body.hbwp-portal-page .hbwp-field--search::after{
    right:12px!important;
    bottom:9px!important;
    font-size:17px!important;
  }
  body.hbwp-portal-page .hbwp-field--availability select{
    padding-right:34px!important;
    background-position:calc(100% - 16px) calc(50% - 3px),calc(100% - 10px) calc(50% - 3px)!important;
  }
}

/* ==========================================================
   v0.1.12 — Designed compact 75/25 search & filter rows
   Campo 75% + etiqueta lateral 25%
   ========================================================== */
@media(max-width:600px){
  body.hbwp-portal-page .hbwp-toolbar{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    padding:9px!important;
    margin-bottom:10px!important;
    border-radius:16px!important;
    background:#fff!important;
  }

  body.hbwp-portal-page .hbwp-toolbar .hbwp-field{
    display:grid!important;
    grid-template-columns:minmax(0,3fr) minmax(88px,1fr)!important;
    align-items:stretch!important;
    gap:0!important;
    min-width:0!important;
    border:1px solid #ddd4c5!important;
    border-radius:12px!important;
    overflow:hidden!important;
    background:#fff!important;
  }

  body.hbwp-portal-page .hbwp-toolbar .hbwp-field input,
  body.hbwp-portal-page .hbwp-toolbar .hbwp-field select{
    grid-column:1!important;
    grid-row:1!important;
    width:100%!important;
    min-width:0!important;
    height:40px!important;
    min-height:40px!important;
    margin:0!important;
    padding:0 13px!important;
    border:0!important;
    border-radius:0!important;
    background:#fff!important;
    box-shadow:none!important;
    font-size:13px!important;
    color:#2f3935!important;
  }

  body.hbwp-portal-page .hbwp-toolbar .hbwp-field span{
    grid-column:2!important;
    grid-row:1!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:88px!important;
    margin:0!important;
    padding:0 9px!important;
    border-left:1px solid #e3d8c5!important;
    background:linear-gradient(135deg,#fbf7ef,#f5ecd9)!important;
    color:#6f7773!important;
    font-size:9px!important;
    font-weight:850!important;
    letter-spacing:.08em!important;
    line-height:1!important;
    text-align:center!important;
    text-transform:uppercase!important;
    white-space:nowrap!important;
  }

  body.hbwp-portal-page .hbwp-field--search::after{
    content:none!important;
    display:none!important;
  }

  body.hbwp-portal-page .hbwp-field--search input{
    padding-right:13px!important;
  }

  body.hbwp-portal-page .hbwp-field--availability select{
    appearance:none!important;
    -webkit-appearance:none!important;
    -moz-appearance:none!important;
    padding-right:34px!important;
    background-color:#fff!important;
    background-image:linear-gradient(45deg,transparent 50%,#66706c 50%),linear-gradient(135deg,#66706c 50%,transparent 50%)!important;
    background-position:calc(100% - 17px) calc(50% - 3px),calc(100% - 11px) calc(50% - 3px)!important;
    background-size:6px 6px,6px 6px!important;
    background-repeat:no-repeat!important;
  }
}

@media(max-width:390px){
  body.hbwp-portal-page .hbwp-toolbar .hbwp-field{
    grid-template-columns:minmax(0,3.15fr) minmax(82px,.85fr)!important;
  }
  body.hbwp-portal-page .hbwp-toolbar .hbwp-field span{
    min-width:82px!important;
    padding:0 6px!important;
    font-size:8.5px!important;
  }
  body.hbwp-portal-page .hbwp-toolbar .hbwp-field input,
  body.hbwp-portal-page .hbwp-toolbar .hbwp-field select{
    font-size:12.5px!important;
  }
}

/* ==========================================================
   v0.2.0 — Persistent wholesale request
   ========================================================== */
.hbwp-draft-bar{display:grid;grid-template-columns:auto auto 1fr auto;align-items:center;gap:10px;margin:0 0 12px;padding:10px 14px;border:1px solid #d9c79f;border-radius:14px;background:linear-gradient(135deg,#123f37,#195347);color:#fff!important;text-decoration:none!important;box-shadow:0 8px 20px rgba(18,63,55,.12)}
.hbwp-draft-bar__label{font-weight:800}.hbwp-draft-bar__count{padding:4px 8px;border-radius:999px;background:rgba(255,255,255,.14);font-size:12px}.hbwp-draft-bar__total{justify-self:end;font-weight:800}.hbwp-draft-bar__arrow{font-size:20px}
.hbwp-add.is-loading,.hbwp-request-submit.is-loading{opacity:.7;cursor:wait}
.hbwp-toast{position:fixed;left:50%;bottom:24px;z-index:9999;max-width:min(420px,calc(100vw - 32px));padding:11px 16px;border-radius:12px;background:#123f37;color:#fff;font-size:13px;font-weight:700;box-shadow:0 12px 30px rgba(0,0,0,.18);opacity:0;transform:translate(-50%,20px);pointer-events:none;transition:.22s ease}.hbwp-toast.is-visible{opacity:1;transform:translate(-50%,0)}.hbwp-toast.is-error{background:#8e3434}

.hbwp-request{--green:#123f37;--gold:#c39a5b;--line:#e4d6bd;--text:#28322f;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--text)}
.hbwp-request__back{display:inline-flex;margin-bottom:12px;color:var(--green)!important;font-size:13px;font-weight:750;text-decoration:none!important}
.hbwp-request-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px;padding:20px 22px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(135deg,#fff,#f5ecdc)}
.hbwp-request-hero h1{margin:4px 0 5px;color:var(--green);font-size:30px}.hbwp-request-hero p{margin:0;color:#69736f;font-size:13px}.hbwp-request-status{display:grid;place-items:center;min-width:96px;padding:10px 14px;border-radius:14px;background:#fff;border:1px solid #dcc79e}.hbwp-request-status strong{font-size:25px;color:var(--green);line-height:1}.hbwp-request-status span{font-size:11px;color:#707873}
.hbwp-request-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:16px;align-items:start}.hbwp-request-items{display:grid;gap:10px}.hbwp-request-item{display:grid;grid-template-columns:68px minmax(0,1fr) 118px 110px auto;gap:12px;align-items:center;padding:12px 14px;border:1px solid var(--line);border-radius:15px;background:#fff}.hbwp-request-item.is-updating{opacity:.55}.hbwp-request-item__image{width:68px;height:76px;display:grid;place-items:center;border-radius:10px;background:#f5f1ea;overflow:hidden}.hbwp-request-item__image img{max-width:100%;max-height:100%;object-fit:contain}.hbwp-request-item__copy strong{display:block;font-size:14px;line-height:1.35}.hbwp-request-item__copy small,.hbwp-request-item__copy span{display:block;margin-top:3px;color:#858c88;font-size:11px}.hbwp-request-item__total{justify-self:end;color:var(--green);font-size:16px}.hbwp-request-remove{border:0;background:none;color:#9a4848;font-size:11px;text-decoration:underline}.hbwp-request-qty{display:grid;grid-template-columns:30px 48px 30px;border:1px solid #ddd4c5;border-radius:9px;overflow:hidden}.hbwp-request-qty button,.hbwp-request-qty input{height:36px;border:0;background:#fff;text-align:center}.hbwp-request-qty input{width:48px;font-weight:700}
.hbwp-request-summary{position:sticky;top:18px;padding:18px;border:1px solid var(--line);border-radius:16px;background:#fff}.hbwp-request-summary h2{margin:0 0 12px;color:var(--green);font-size:21px}.hbwp-request-summary__row,.hbwp-request-summary__total{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px dashed #e3dac9;font-size:13px}.hbwp-request-summary__total{margin-top:4px;border-bottom:0;color:var(--green);font-size:18px;font-weight:800}.hbwp-request-minimum{margin:12px 0;padding:10px;border-radius:10px;background:#fff7e7;color:#805f27;font-size:12px}.hbwp-request-minimum.is-complete{background:#edf8f1;color:#24734f}.hbwp-request-submit,.hbwp-request-primary{display:flex;width:100%;min-height:44px;align-items:center;justify-content:center;border:0;border-radius:11px;background:var(--green);color:#fff!important;font-weight:800;text-decoration:none!important}.hbwp-request-submit:disabled{opacity:.4;cursor:not-allowed}.hbwp-request-help{margin:10px 0 0;color:#7a827e;font-size:10.5px;line-height:1.4}.hbwp-request-empty{padding:34px;text-align:center;border:1px solid var(--line);border-radius:18px;background:#fff}.hbwp-request-empty strong{display:block;color:var(--green);font-size:22px}.hbwp-request-empty p{color:#737c78}.hbwp-request-empty .hbwp-request-primary{width:max-content;margin:0 auto;padding:0 18px}.hbwp-request-success{display:grid;grid-template-columns:38px 1fr;gap:10px;margin-bottom:12px;padding:13px 15px;border-radius:13px;background:#edf8f1;color:#24734f}.hbwp-request-success>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#d5efe0;font-weight:900}.hbwp-request-success strong{font-size:15px}.hbwp-request-success p{margin:2px 0 0;font-size:12px;line-height:1.4}

@media(max-width:900px){.hbwp-request-layout{grid-template-columns:1fr}.hbwp-request-summary{position:static}.hbwp-request-item{grid-template-columns:60px minmax(0,1fr) 105px auto}.hbwp-request-item__image{width:60px;height:68px}.hbwp-request-item__qty{grid-column:2}.hbwp-request-item__total{grid-column:3}.hbwp-request-remove{grid-column:4}}
@media(max-width:600px){.hbwp-draft-bar{grid-template-columns:auto auto 1fr auto;padding:8px 10px;border-radius:12px;font-size:12px}.hbwp-draft-bar__total{font-size:12px}.hbwp-request-hero{padding:14px;gap:10px}.hbwp-request-hero h1{font-size:24px}.hbwp-request-status{min-width:72px;padding:8px}.hbwp-request-status strong{font-size:21px}.hbwp-request-item{grid-template-columns:54px minmax(0,1fr) auto;gap:8px;padding:10px}.hbwp-request-item__image{width:54px;height:62px}.hbwp-request-item__copy strong{font-size:13px}.hbwp-request-item__qty{grid-column:2;grid-row:2;width:100px;grid-template-columns:27px 46px 27px}.hbwp-request-item__total{grid-column:3;grid-row:1;align-self:end;font-size:14px}.hbwp-request-remove{grid-column:3;grid-row:2}.hbwp-request-summary{padding:14px}.hbwp-toast{bottom:72px}}

/* ==========================================================
   v0.2.1 — Compact draft bar & live counter feedback
   ========================================================== */
.hbwp-draft-bar{
  grid-template-columns:auto auto 1fr auto!important;
  min-height:50px!important;
  padding:7px 12px!important;
  gap:8px!important;
  border-radius:13px!important;
}
.hbwp-draft-bar__label{
  font-size:14px!important;
  line-height:1!important;
}
.hbwp-draft-bar__count{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  min-height:30px!important;
  padding:3px 9px!important;
  font-size:11px!important;
  line-height:1!important;
}
.hbwp-draft-bar__count b{
  font-size:14px!important;
}
.hbwp-draft-bar__total{
  font-size:15px!important;
  line-height:1!important;
}
.hbwp-draft-bar__action{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  white-space:nowrap!important;
  font-size:12px!important;
  font-weight:800!important;
}
.hbwp-draft-bar__cart{
  font-size:15px!important;
  line-height:1!important;
}
.hbwp-draft-bar.is-updated{
  animation:hbwpDraftPulse .42s ease;
}
.hbwp-value-pop{
  animation:hbwpValuePop .35s ease;
}
@keyframes hbwpDraftPulse{
  0%{transform:scale(1)}
  50%{transform:scale(1.012);box-shadow:0 10px 26px rgba(18,63,55,.2)}
  100%{transform:scale(1)}
}
@keyframes hbwpValuePop{
  0%{transform:scale(1)}
  50%{transform:scale(1.12)}
  100%{transform:scale(1)}
}

@media(max-width:600px){
  .hbwp-draft-bar{
    min-height:46px!important;
    padding:6px 9px!important;
    grid-template-columns:auto auto 1fr auto!important;
    gap:6px!important;
  }
  .hbwp-draft-bar__label{
    font-size:12.5px!important;
  }
  .hbwp-draft-bar__count{
    min-height:26px!important;
    padding:2px 7px!important;
    font-size:10px!important;
  }
  .hbwp-draft-bar__count b{
    font-size:12px!important;
  }
  .hbwp-draft-bar__total{
    font-size:13px!important;
  }
  .hbwp-draft-bar__action{
    gap:4px!important;
    font-size:10.5px!important;
  }
  .hbwp-draft-bar__cart{
    font-size:13px!important;
  }
}

/* ==========================================================
   v0.3.2 — Customer response and final confirmation
   ========================================================== */
.hbwp-request-hero--reviewed{background:linear-gradient(135deg,#fff,#f3ead9)}
.hbwp-review-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:16px;align-items:start}
.hbwp-review-products{display:grid;gap:10px}
.hbwp-review-item{display:grid;grid-template-columns:66px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 14px;border:1px solid var(--line);border-radius:15px;background:#fff}
.hbwp-review-item__image{width:66px;height:74px;display:grid;place-items:center;border-radius:10px;background:#f5f1ea;overflow:hidden}
.hbwp-review-item__image img{max-width:100%;max-height:100%;object-fit:contain}
.hbwp-review-item__copy strong{display:block;font-size:14px;line-height:1.35}
.hbwp-review-item__copy small,.hbwp-review-item__copy span{display:block;margin-top:3px;color:#7c8581;font-size:11px}
.hbwp-review-item__total{justify-self:end;color:var(--green);white-space:nowrap}
.hbwp-review-summary{position:sticky;top:18px;padding:18px;border:1px solid var(--line);border-radius:16px;background:#fff}
.hbwp-review-summary h2,.hbwp-customer-response h2,.hbwp-customer-history h2{margin:0 0 12px;color:var(--green);font-size:20px}
.hbwp-review-summary>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px dashed #e2d8c7;font-size:13px}
.hbwp-review-summary>div.total{border-bottom:0;color:var(--green);font-size:18px}
.hbwp-review-note{margin-top:12px;padding:11px;border-radius:10px;background:#f8f3e9;color:#5d5548;font-size:12px}.hbwp-review-note p{margin:5px 0 0;line-height:1.45}
.hbwp-review-validity,.hbwp-review-payment{margin:10px 0 0;font-size:11px;color:#6f7773}
.hbwp-customer-response{margin-top:16px;padding:18px;border:1px solid var(--line);border-radius:16px;background:#fff}
.hbwp-customer-response label{display:block;margin-bottom:12px;color:#4d5753;font-size:12px;font-weight:700}
.hbwp-customer-response select,.hbwp-customer-response textarea{display:block;width:100%;margin-top:5px;border:1px solid #d9cfbf;border-radius:10px;background:#fff;padding:10px;font:inherit}
.hbwp-customer-actions{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:8px}
.hbwp-customer-actions button{min-height:42px;border:1px solid #d6cbb9;border-radius:10px;background:#fff;color:var(--green);font-weight:800}
.hbwp-customer-actions button.is-primary{border-color:var(--green);background:var(--green);color:#fff}
.hbwp-customer-actions button.is-danger{border-color:#e1baba;color:#9a4141}
.hbwp-customer-history{margin-top:16px;padding:18px;border:1px solid var(--line);border-radius:16px;background:#fff}
.hbwp-customer-history article{display:grid;grid-template-columns:14px 1fr;gap:10px;padding:9px 0;border-bottom:1px solid #eee9df}.hbwp-customer-history article:last-child{border-bottom:0}
.hbwp-customer-history article>span{width:10px;height:10px;margin-top:5px;border-radius:50%;background:var(--gold)}
.hbwp-customer-history strong,.hbwp-customer-history small{display:block}.hbwp-customer-history small{margin-top:2px;color:#8a918e;font-size:10px}.hbwp-customer-history p{margin:4px 0 0;color:#626b67;font-size:11px}
@media(max-width:900px){.hbwp-review-grid{grid-template-columns:1fr}.hbwp-review-summary{position:static}.hbwp-customer-actions{grid-template-columns:1fr}}
@media(max-width:600px){.hbwp-review-item{grid-template-columns:54px minmax(0,1fr) auto;gap:8px;padding:10px}.hbwp-review-item__image{width:54px;height:62px}.hbwp-review-item__copy strong{font-size:13px}.hbwp-review-item__total{font-size:13px}.hbwp-customer-response,.hbwp-customer-history{padding:14px}}

/* ==========================================================
   v0.3.3 — Client request history & clear navigation
   ========================================================== */
.hbwp-client-nav{display:flex;gap:8px;margin:0 0 12px;padding:5px;border:1px solid var(--line);border-radius:13px;background:#fff;width:max-content;max-width:100%;overflow:auto}
.hbwp-client-nav a{display:inline-flex;min-height:34px;align-items:center;padding:0 13px;border-radius:9px;color:#52605b!important;font-size:12px;font-weight:750;text-decoration:none!important;white-space:nowrap}
.hbwp-client-nav a.is-active{background:var(--green);color:#fff!important}
.hbwp-request-context-actions{display:flex;justify-content:flex-end;gap:8px;margin:-3px 0 12px}
.hbwp-request-context-actions a{display:inline-flex;min-height:36px;align-items:center;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--green)!important;font-size:11px;font-weight:800;text-decoration:none!important}

.hbwp-history-page{--green:#123f37;--gold:#c39a5b;--line:#e4d6bd;font-family:Inter,"Segoe UI",Arial,sans-serif;color:#28322f}
.hbwp-history-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:12px;padding:18px 22px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(135deg,#fff,#f4ead8)}
.hbwp-history-hero h1{margin:4px 0;color:var(--green);font-size:30px}.hbwp-history-hero p{margin:0;color:#68716d;font-size:13px}
.hbwp-new-request{display:inline-flex;min-height:40px;align-items:center;padding:0 15px;border-radius:11px;background:var(--green);color:#fff!important;font-size:12px;font-weight:800;text-decoration:none!important;white-space:nowrap}
.hbwp-history-filters{display:flex;gap:7px;margin-bottom:12px;overflow:auto}
.hbwp-history-filters a{display:inline-flex;min-height:34px;align-items:center;padding:0 12px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#5a6661!important;font-size:11px;font-weight:750;text-decoration:none!important;white-space:nowrap}
.hbwp-history-filters a.is-active{border-color:var(--green);background:#edf5f2;color:var(--green)!important}
.hbwp-history-list-page{display:grid;gap:9px}
.hbwp-history-card{display:grid;grid-template-columns:minmax(240px,1.8fr) .55fr .8fr auto;gap:15px;align-items:center;padding:13px 16px;border:1px solid var(--line);border-radius:14px;background:#fff;color:#2d3733!important;text-decoration:none!important;box-shadow:0 5px 15px rgba(31,41,37,.03)}
.hbwp-history-card:hover{border-color:#cdb88f;box-shadow:0 8px 20px rgba(31,41,37,.06)}
.hbwp-history-card__main{display:grid;gap:2px}.hbwp-history-card__reference{color:#a2773d;font-size:10px;font-weight:850;letter-spacing:.09em}.hbwp-history-card__main strong{color:var(--green);font-size:14px}.hbwp-history-card small{display:block;color:#858d89;font-size:10px}.hbwp-history-card>div:not(.hbwp-history-card__main){text-align:right}.hbwp-history-card>div:not(.hbwp-history-card__main) strong{display:block;margin-top:2px;color:var(--green);font-size:14px}
.hbwp-history-card__action{color:var(--green);font-size:11px;font-weight:800;white-space:nowrap}

.hbwp-account-link .hbwp-account-link__item{display:flex!important;min-height:100%!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:10px!important;text-align:center!important}
.hbwp-account-link .hbwp-account-link__icon{display:block!important;width:auto!important;margin:0 auto!important;line-height:1!important;text-align:center!important}
.hbwp-account-link .hbwp-account-link__label{display:block!important;width:100%!important;text-align:center!important}

@media(max-width:700px){
  .hbwp-client-nav{width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px}
  .hbwp-client-nav a{justify-content:center;padding:0 6px;font-size:10px}
  .hbwp-history-hero{align-items:flex-start;flex-direction:column;padding:14px}.hbwp-history-hero h1{font-size:25px}.hbwp-new-request{width:100%;justify-content:center}
  .hbwp-history-card{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:12px}
  .hbwp-history-card__main{grid-column:1/3}.hbwp-history-card>div:not(.hbwp-history-card__main){text-align:left}.hbwp-history-card__action{align-self:end;text-align:right}
  .hbwp-request-context-actions{justify-content:stretch}.hbwp-request-context-actions a{flex:1;justify-content:center;text-align:center}
}

/* v0.3.4: aislamiento integral de las pantallas del Portal de Mayoreo. */
body#module-hbwholesaleportal-portal #search_widget,
body#module-hbwholesaleportal-portal .search-widget,
body#module-hbwholesaleportal-portal .header-search,
body#module-hbwholesaleportal-portal .ansearch,
body#module-hbwholesaleportal-portal .an_search,
body#module-hbwholesaleportal-portal .search-bar,
body#module-hbwholesaleportal-portal .header-top .search-box,
body#module-hbwholesaleportal-portal header form[action*="search"],
body.hbwp-portal-page #search_widget,
body.hbwp-portal-page .search-widget,
body.hbwp-portal-page .header-search,
body.hbwp-portal-page .ansearch,
body.hbwp-portal-page .an_search,
body.hbwp-portal-page .search-bar,
body.hbwp-portal-page .header-top .search-box,
body.hbwp-portal-page header form[action*="search"] {
  display: none !important;
}

body#module-hbwholesaleportal-portal .hbse-entry,
body#module-hbwholesaleportal-portal .hbse-footer-link,
body.hbwp-portal-page .hbse-entry,
body.hbwp-portal-page .hbse-footer-link {
  display: none !important;
}

/* v0.5.0 - Pedido nativo vinculado */
.hbwp-native-order-created{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;margin:0 0 18px;padding:18px 20px;border:1px solid #b8dfcd;border-radius:14px;background:#edf9f2;color:#214b3d}
.hbwp-native-order-created__icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#2c8a65;color:#fff;font-size:22px;font-weight:800}
.hbwp-native-order-created>div:nth-child(2){display:grid;gap:3px}
.hbwp-native-order-created span{font-size:10px;font-weight:800;letter-spacing:.8px;color:#31765d}
.hbwp-native-order-created strong{font-size:18px;color:#174f44}
.hbwp-native-order-created p{margin:0;color:#5b7068;font-size:13px}
.hbwp-native-order-created a{padding:11px 14px;border-radius:9px;background:#174f44;color:#fff!important;font-weight:700;text-decoration:none;white-space:nowrap}
.hbwp-history-card__order strong{color:#174f44}
@media(max-width:760px){.hbwp-native-order-created{grid-template-columns:auto 1fr}.hbwp-native-order-created a{grid-column:1/-1;text-align:center}}


/* ==========================================================
   v0.5.6 — Global catalog search across all pages
   ========================================================== */
body.hbwp-portal-page .hbwp-toolbar{
  grid-template-columns:minmax(0,1fr) 240px auto!important;
}
.hbwp-toolbar__actions{display:flex;align-items:center;gap:8px;min-height:40px}
.hbwp-search-submit,.hbwp-search-clear{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border-radius:11px;font-size:12px;font-weight:800;text-decoration:none!important;white-space:nowrap}
.hbwp-search-submit{border:1px solid #123f37;background:#123f37;color:#fff;cursor:pointer}
.hbwp-search-clear{border:1px solid #d8c7a8;background:#fff;color:#123f37!important}
.hbwp-search-empty{grid-column:1/-1;padding:34px 18px;text-align:center;border:1px solid #e4d6bd;border-top:0;background:#fff}
.hbwp-search-empty strong{display:block;color:#123f37;font-size:20px}
.hbwp-search-empty p{margin:6px 0 12px;color:#707a75;font-size:13px}
.hbwp-search-empty a{color:#123f37!important;font-weight:800;text-decoration:underline!important}
@media(max-width:900px){
  body.hbwp-portal-page .hbwp-toolbar{grid-template-columns:minmax(0,1fr) 220px!important}
  .hbwp-toolbar__actions{grid-column:1/-1;justify-content:flex-end}
}
@media(max-width:600px){
  body.hbwp-portal-page .hbwp-toolbar{grid-template-columns:1fr!important}
  .hbwp-toolbar__actions{grid-column:1;display:grid;grid-template-columns:1fr 1fr;width:100%}
  .hbwp-toolbar__actions .hbwp-search-submit:only-child{grid-column:1/-1}
  .hbwp-search-submit,.hbwp-search-clear{width:100%;min-height:40px}
}


/* ==========================================================
   v0.5.7 — Mobile confirmations, interaction feedback and
   private account page isolation
   ========================================================== */

/* Accesos del Portal dentro de Tu cuenta: misma estructura,
   centrado y altura que los accesos nativos del tema. */
a.hbwp-account-link{box-sizing:border-box!important}
a.hbwp-account-link .link-item.hbwp-account-link__item{
  display:flex!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  align-items:center!important;
  justify-content:center!important;
  flex-direction:column!important;
  gap:10px!important;
  margin:0!important;
  text-align:center!important;
}
a.hbwp-account-link .hbwp-account-link__icon{
  display:block!important;
  flex:0 0 auto!important;
  width:auto!important;
  height:auto!important;
  margin:0 auto!important;
  font-size:42px!important;
  line-height:1!important;
  text-align:center!important;
}
a.hbwp-account-link .hbwp-account-link__label{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0 4px!important;
  line-height:1.25!important;
  text-align:center!important;
  white-space:normal!important;
}

/* Las páginas privadas de cuenta no deben mostrar el buscador
   general ni llamadas comerciales del Explorador Olfativo. */
body#my-account #search_widget,
body#my-account .search-widget,
body#my-account .header-search,
body#my-account .ansearch,
body#my-account .an_search,
body#my-account .search-bar,
body#my-account .header-top .search-box,
body#my-account header form[action*="search"],
body#history #search_widget,
body#history .search-widget,
body#history .header-search,
body#history .ansearch,
body#history .an_search,
body#history .search-bar,
body#history .header-top .search-box,
body#history header form[action*="search"],
body.hbwp-private-account-page #search_widget,
body.hbwp-private-account-page .search-widget,
body.hbwp-private-account-page .header-search,
body.hbwp-private-account-page .ansearch,
body.hbwp-private-account-page .an_search,
body.hbwp-private-account-page .search-bar,
body.hbwp-private-account-page .header-top .search-box,
body.hbwp-private-account-page header form[action*="search"]{
  display:none!important;
}

body.hbwp-private-account-page .hbse-entry,
body.hbwp-private-account-page .hbse-footer-link,
body.hbwp-private-account-page .hbse-home-block,
body.hbwp-private-account-page .hbse-account-block,
body.hbwp-private-account-page .hbscentengine-entry,
body.hbwp-private-account-page .hbscentengine-block,
body.hbwp-private-account-page #hbscentengine-entry,
body.hbwp-private-account-page #hbscentengine-block,
body.hbwp-private-account-page [class*="hbse-entry"],
body.hbwp-private-account-page [class*="hbse-footer"],
body.hbwp-private-account-page [class*="hbscentengine"],
body.hbwp-private-account-page [id*="hbse-entry"],
body.hbwp-private-account-page [id*="hbse-footer"],
body.hbwp-private-account-page [id*="hbscentengine"],
body.hbwp-private-account-page .hbwp-isolated-module{
  display:none!important;
}

/* Respuesta táctil inmediata y bloqueo de dobles acciones. */
.hbwp-catalog button,
.hbwp-request button,
.hbwp-history-page button,
.hbwp-catalog a,
.hbwp-request a,
.hbwp-history-page a,
a.hbwp-account-link{
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
  transition:transform .12s ease,filter .12s ease,opacity .12s ease,box-shadow .12s ease;
}
.hbwp-catalog button:active,
.hbwp-request button:active,
.hbwp-history-page button:active,
.hbwp-catalog a:active,
.hbwp-request a:active,
.hbwp-history-page a:active,
a.hbwp-account-link:active,
.hbwp-catalog .is-pressed,
.hbwp-request .is-pressed,
.hbwp-history-page .is-pressed,
a.hbwp-account-link.is-pressed{
  transform:translateY(1px) scale(.985)!important;
  filter:brightness(.95);
}

.hbwp-add.is-loading,
.hbwp-request-submit.is-loading,
.hbwp-search-submit.is-loading,
.hbwp-confirm__accept.is-loading{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  cursor:wait!important;
  opacity:.82!important;
}
.hbwp-add.is-loading::before,
.hbwp-request-submit.is-loading::before,
.hbwp-search-submit.is-loading::before,
.hbwp-confirm__accept.is-loading::before,
.hbwp-client-nav a.is-navigating::after,
.hbwp-draft-bar.is-navigating::after,
.hbwp-page-btn.is-navigating::after,
.hbwp-request-primary.is-navigating::after,
.hbwp-new-request.is-navigating::after,
.hbwp-request-context-actions a.is-navigating::after,
.hbwp-history-card.is-navigating::after,
.hbwp-search-clear.is-navigating::after,
.hbwp-native-order-created a.is-navigating::after,
.hbwp-request__back.is-navigating::after{
  content:"";
  display:inline-block;
  width:14px;
  height:14px;
  flex:0 0 14px;
  border:2px solid currentColor;
  border-right-color:transparent;
  border-radius:50%;
  animation:hbwp-spin .65s linear infinite;
}
.hbwp-client-nav a.is-navigating,
.hbwp-draft-bar.is-navigating,
.hbwp-page-btn.is-navigating,
.hbwp-request-primary.is-navigating,
.hbwp-new-request.is-navigating,
.hbwp-request-context-actions a.is-navigating,
.hbwp-history-card.is-navigating,
.hbwp-search-clear.is-navigating,
.hbwp-native-order-created a.is-navigating,
.hbwp-request__back.is-navigating,
a.hbwp-account-link.is-navigating{
  pointer-events:none!important;
  cursor:wait!important;
  opacity:.72!important;
}
a.hbwp-account-link.is-navigating .link-item::after{
  content:"";
  display:block;
  width:16px;
  height:16px;
  margin:2px auto 0;
  border:2px solid currentColor;
  border-right-color:transparent;
  border-radius:50%;
  animation:hbwp-spin .65s linear infinite;
}
@keyframes hbwp-spin{to{transform:rotate(360deg)}}

/* Confirmación propia, estable en Safari/iOS y Android. */
body.hbwp-modal-open{overflow:hidden!important}
.hbwp-confirm[hidden]{display:none!important}
.hbwp-confirm{
  position:fixed;
  inset:0;
  z-index:2147483000;
  display:grid;
  place-items:center;
  padding:20px;
}
.hbwp-confirm__backdrop{
  position:absolute;
  inset:0;
  background:rgba(18,27,24,.58);
  backdrop-filter:blur(2px);
  -webkit-backdrop-filter:blur(2px);
}
.hbwp-confirm__dialog{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  gap:14px;
  width:min(100%,460px);
  padding:20px;
  border:1px solid #d9c6a2;
  border-radius:18px;
  background:#fff;
  color:#26332f;
  box-shadow:0 24px 70px rgba(0,0,0,.28);
  outline:0;
  animation:hbwp-dialog-in .18s ease-out;
}
.hbwp-confirm__icon{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:50%;
  background:#fff0dc;
  color:#a25b20;
  font-size:24px;
  font-weight:900;
}
.hbwp-confirm__copy h2{margin:0;color:#123f37;font-size:21px;line-height:1.2}
.hbwp-confirm__copy p{margin:7px 0 0;color:#626d68;font-size:14px;line-height:1.45}
.hbwp-confirm__actions{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:4px;
}
.hbwp-confirm__cancel,.hbwp-confirm__accept{
  min-height:46px;
  padding:0 14px;
  border-radius:12px;
  font-size:14px;
  font-weight:800;
}
.hbwp-confirm__cancel{border:1px solid #d9d3c9;background:#fff;color:#46524e}
.hbwp-confirm__accept{border:1px solid #b75b4e;background:#b75b4e;color:#fff}
.hbwp-request-item.is-removing{opacity:.52;pointer-events:none}
.hbwp-request-item.is-removed{opacity:0;transform:scale(.97);transition:opacity .2s ease,transform .2s ease}
@keyframes hbwp-dialog-in{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}

@media(max-width:600px){
  .hbwp-confirm{align-items:end;padding:12px}
  .hbwp-confirm__dialog{
    grid-template-columns:40px minmax(0,1fr);
    width:100%;
    padding:18px 16px 16px;
    border-radius:18px 18px 14px 14px;
  }
  .hbwp-confirm__icon{width:38px;height:38px;font-size:21px}
  .hbwp-confirm__copy h2{font-size:19px}
  .hbwp-confirm__actions{grid-template-columns:1fr}
  .hbwp-confirm__accept{grid-row:1}
  .hbwp-confirm__cancel{grid-row:2}
  a.hbwp-account-link .hbwp-account-link__icon{font-size:40px!important}
}

/* ==========================================================
   v0.5.8 — Native customer-account alignment
   ========================================================== */
/* Usa la misma anatomía visual que los accesos nativos del tema.
   Se neutralizan reglas heredadas que desplazaban los iconos. */
body#my-account #content .links a.hbwp-account-link,
body.page-my-account #content .links a.hbwp-account-link{
  box-sizing:border-box!important;
  text-align:center!important;
}
body#my-account #content .links a.hbwp-account-link > span.link-item,
body.page-my-account #content .links a.hbwp-account-link > span.link-item{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  margin:0!important;
  text-align:center!important;
}
body#my-account #content .links a.hbwp-account-link > span.link-item > i.material-icons,
body.page-my-account #content .links a.hbwp-account-link > span.link-item > i.material-icons{
  display:block!important;
  position:static!important;
  float:none!important;
  clear:both!important;
  inset:auto!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  transform:none!important;
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  margin:0!important;
  padding-left:0!important;
  padding-right:0!important;
  text-align:center!important;
  vertical-align:baseline!important;
}

/* ==========================================================
   v0.5.9 — Exact icon-to-label spacing in customer account
   ========================================================== */
/* Ecco Bella aplica relleno inferior a los iconos de cuenta.
   En los accesos agregados por el módulo ese relleno quedaba
   acumulado y separaba demasiado el texto. Se neutraliza todo
   el box model interno y se controla el espacio con gap. */
body#my-account #content .links a.hbwp-account-link,
body.page-my-account #content .links a.hbwp-account-link{
  box-sizing:border-box!important;
}
body#my-account #content .links a.hbwp-account-link > .hbwp-account-link__item,
body.page-my-account #content .links a.hbwp-account-link > .hbwp-account-link__item{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:18px!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  line-height:1.2!important;
  text-align:center!important;
}
body#my-account #content .links a.hbwp-account-link > .hbwp-account-link__item > .hbwp-account-link__icon,
body.page-my-account #content .links a.hbwp-account-link > .hbwp-account-link__item > .hbwp-account-link__icon{
  display:block!important;
  position:static!important;
  float:none!important;
  flex:0 0 auto!important;
  width:auto!important;
  max-width:none!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  font-size:42px!important;
  line-height:1!important;
  text-align:center!important;
  transform:none!important;
}
body#my-account #content .links a.hbwp-account-link > .hbwp-account-link__item > .hbwp-account-link__label,
body.page-my-account #content .links a.hbwp-account-link > .hbwp-account-link__item > .hbwp-account-link__label{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0 4px!important;
  color:inherit!important;
  font:inherit!important;
  font-weight:inherit!important;
  line-height:1.25!important;
  text-align:center!important;
  white-space:normal!important;
}
@media(max-width:767px){
  body#my-account #content .links a.hbwp-account-link > .hbwp-account-link__item,
  body.page-my-account #content .links a.hbwp-account-link > .hbwp-account-link__item{
    gap:14px!important;
  }
  body#my-account #content .links a.hbwp-account-link > .hbwp-account-link__item > .hbwp-account-link__icon,
  body.page-my-account #content .links a.hbwp-account-link > .hbwp-account-link__item > .hbwp-account-link__icon{
    font-size:40px!important;
  }
}

/* ==========================================================
   v0.5.10 — Exact native customer-account markup
   ========================================================== */
/* Estos dos accesos usan exactamente la misma anatomía HTML
   de los enlaces nativos de Ecco Bella. No se aplican reglas
   propias de tamaño, flex, margen, padding ni separación. */
a.hbwp-native-account-link{
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
  transition:transform .12s ease,filter .12s ease,opacity .12s ease;
}
a.hbwp-native-account-link:active,
a.hbwp-native-account-link.is-pressed{
  transform:translateY(1px) scale(.985)!important;
  filter:brightness(.95);
}
a.hbwp-native-account-link.is-navigating{
  pointer-events:none!important;
  cursor:wait!important;
  opacity:.72!important;
}
a.hbwp-native-account-link.is-navigating .link-item::after{
  content:"";
  display:block;
  width:16px;
  height:16px;
  margin:2px auto 0;
  border:2px solid currentColor;
  border-right-color:transparent;
  border-radius:50%;
  animation:hbwp-spin .65s linear infinite;
}

/* ==========================================================
   v0.5.11 — Center Material Icons inside native account links
   ========================================================== */
/* Ecco Bella centra el texto del acceso, pero los iconos por
   ligadura (storefront / receipt_long) conservan una caja de
   ancho propio. El margen automático centra esa caja sin
   cambiar la estructura ni el espaciado vertical del tema. */
body#my-account #content .links a.hbwp-native-account-link > .link-item > i.material-icons,
body.page-my-account #content .links a.hbwp-native-account-link > .link-item > i.material-icons {
  display: block !important;
  width: 1em !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
  text-align: center !important;
}


/* ==========================================================
   v0.5.14 — Status-aware detail copy & responsive filters
   ========================================================== */
/* Los filtros usan una cuadrícula adaptable para que todos los
   estados permanezcan visibles sin desbordamiento horizontal. */
.hbwp-history-filters{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(118px,1fr))!important;
  gap:7px!important;
  width:100%!important;
  max-width:100%!important;
  margin-bottom:12px!important;
  overflow:visible!important;
}
.hbwp-history-filters a{
  width:100%!important;
  min-width:0!important;
  justify-content:center!important;
  text-align:center!important;
}
@media(max-width:575px){
  .hbwp-history-filters{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .hbwp-history-filters a{
    padding-left:8px!important;
    padding-right:8px!important;
    font-size:10.5px!important;
  }
}
