/* ghstocks 0.1.12 - shipping box with clearer hierarchy */
.gh-product-info-badges{
  display:flex !important;
  align-items:stretch !important;
  justify-content:flex-start !important;
  flex-wrap:nowrap !important;
  gap:10px !important;
  width:100% !important;
  clear:both !important;
  margin:10px 0 8px !important;
  padding:0 !important;
  box-sizing:border-box !important;
}
.gh-product-info-shipping{
  display:block !important;
  width:100% !important;
  clear:both !important;
  margin:0 0 12px !important;
  padding:0 !important;
  box-sizing:border-box !important;
}
.ghstocks-product-row{
  display:block !important;
  flex:0 0 226px !important;
  width:226px !important;
  max-width:226px !important;
  margin:0 !important;
  padding:0 !important;
  box-sizing:border-box !important;
  line-height:normal !important;
}
.ghstocks-badge:not(.ghstocks-compact){
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 28px !important;
  align-items:center !important;
  column-gap:9px !important;
  row-gap:4px !important;
  width:226px !important;
  max-width:226px !important;
  min-width:226px !important;
  min-height:62px !important;
  padding:9px 12px !important;
  margin:0 !important;
  border:1px solid #cfd8d2 !important;
  border-radius:28px !important;
  background:#fff !important;
  box-sizing:border-box !important;
  color:#152018 !important;
}
.ghstocks-copy{
  display:flex !important;
  flex:1 1 auto !important;
  min-width:0 !important;
  flex-direction:column !important;
  justify-content:center !important;
  line-height:1.08 !important;
}
.ghstocks-availability{
  display:block !important;
  font-size:12px !important;
  font-weight:400 !important;
  line-height:1.12 !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
}
.ghstocks-level-text{
  display:block !important;
  margin-top:2px !important;
  font-size:16px !important;
  font-weight:700 !important;
  line-height:1.08 !important;
  white-space:normal !important;
}
.ghstocks-bars{
  display:flex !important;
  align-items:flex-end !important;
  justify-content:flex-end !important;
  flex:0 0 28px !important;
  width:28px !important;
  height:34px !important;
  gap:2px !important;
  padding:0 !important;
}
.ghstocks-bars i{display:block !important;width:5px !important;background:#a7ada9 !important;border-radius:1px !important}
.ghstocks-bars i:nth-child(1){height:13px !important}
.ghstocks-bars i:nth-child(2){height:20px !important}
.ghstocks-bars i:nth-child(3){height:27px !important}
.ghstocks-bars i:nth-child(4){height:34px !important}
.ghstocks-bars i.active{background:#19a851 !important}
.ghstocks-badge.ghstocks-out:not(.ghstocks-compact){border-color:#e24747 !important;background:#fff5f5 !important;color:#a60000 !important}
.ghstocks-out .ghstocks-bars i{background:#d98a8a !important}
.ghstocks-out .ghstocks-bars i.active{background:#d35b5b !important}

.ghstocks-shipping-info{display:none !important}
.ghstocks-shipping-row{display:block !important}
.gh-product-info-shipping .ghstocks-shipping-info{
  display:block !important;
  width:100% !important;
  background:#fff !important;
  border:1px solid #cfd8d2 !important;
  border-radius:22px !important;
  padding:11px 14px !important;
  box-sizing:border-box !important;
}
.gh-product-info-shipping .ghstocks-shipping-row{
  display:block !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  font-size:12px !important;
  line-height:1.36 !important;
  color:#1e2a21 !important;
  box-sizing:border-box !important;
}
.gh-product-info-shipping .ghstocks-free-from-row{
  margin-top:8px !important;
  padding-top:8px !important;
  border-top:1px solid #dfe5e1 !important;
}
.gh-product-info-shipping .ghstocks-shipping-title{
  display:inline-block !important;
  margin-right:4px !important;
  font-size:12px !important;
  font-weight:800 !important;
  letter-spacing:0.02em !important;
  color:#152018 !important;
}
.gh-product-info-shipping .ghstocks-shipping-text{
  display:inline !important;
  font-size:12px !important;
  font-weight:500 !important;
  color:#273329 !important;
}

/* Listados */
.ghstocks-badge.ghstocks-compact{
  display:flex !important;align-items:center !important;justify-content:space-between !important;
  width:100% !important;max-width:100% !important;min-width:0 !important;min-height:42px !important;
  padding:6px 8px !important;margin:7px 0 !important;border-radius:5px !important;box-sizing:border-box !important;
}
.ghstocks-compact .ghstocks-availability{font-size:11px !important}
.ghstocks-compact .ghstocks-level-text{font-size:13px !important}
.ghstocks-compact .ghstocks-bars{flex-basis:23px !important;width:23px !important;height:26px !important}
.ghstocks-compact .ghstocks-bars i{width:4px !important}
.ghstocks-compact .ghstocks-bars i:nth-child(1){height:9px !important}
.ghstocks-compact .ghstocks-bars i:nth-child(2){height:14px !important}
.ghstocks-compact .ghstocks-bars i:nth-child(3){height:20px !important}
.ghstocks-compact .ghstocks-bars i:nth-child(4){height:26px !important}

@media (max-width:991px){
  .gh-product-info-badges{flex-direction:column !important;align-items:stretch !important;gap:8px !important}
  .ghstocks-product-row,
  .ghstocks-badge:not(.ghstocks-compact){width:100% !important;max-width:100% !important;min-width:0 !important;flex-basis:auto !important}
  .ghstocks-badge:not(.ghstocks-compact){grid-template-columns:minmax(0,1fr) 28px !important}
  .gh-product-info-shipping .ghstocks-shipping-info{padding:10px 12px !important}
}

/* Modal de todas las zonas */
.ghstocks-more-link{
  display:block !important;
  margin:8px 0 0 auto !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  color:#1a6f3c !important;
  font-size:12px !important;
  font-weight:700 !important;
  text-decoration:underline !important;
  cursor:pointer !important;
}
.ghstocks-modal{display:none;position:fixed;inset:0;z-index:100000;align-items:center;justify-content:center;padding:20px;box-sizing:border-box}
.ghstocks-modal.is-open{display:flex}
.ghstocks-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55)}
.ghstocks-modal-dialog{position:relative;width:100%;max-width:620px;max-height:85vh;overflow:auto;background:#fff;border-radius:18px;padding:24px;box-shadow:0 18px 55px rgba(0,0,0,.28);color:#18211a}
.ghstocks-modal-title{margin:0 38px 18px 0;font-size:21px;font-weight:700}
.ghstocks-modal-x{position:absolute;right:14px;top:10px;border:0;background:transparent;font-size:31px;line-height:1;cursor:pointer;color:#475049}
.ghstocks-modal-section+ .ghstocks-modal-section{margin-top:20px;padding-top:18px;border-top:1px solid #e2e7e3}
.ghstocks-modal-section h4{margin:0 0 10px;font-size:16px;font-weight:700}
.ghstocks-modal-list{display:grid;gap:0}
.ghstocks-modal-item{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:9px 0;border-bottom:1px solid #edf0ee;font-size:14px}
.ghstocks-modal-item:last-child{border-bottom:0}
.ghstocks-modal-item strong{text-align:right;white-space:nowrap}
.ghstocks-modal-close{display:block;margin:22px 0 0 auto;padding:9px 20px;border:0;border-radius:20px;background:#1a6f3c;color:#fff;font-weight:700;cursor:pointer}
body.ghstocks-modal-open{overflow:hidden}
@media(max-width:575px){.ghstocks-modal{padding:10px}.ghstocks-modal-dialog{padding:20px 16px;border-radius:14px}.ghstocks-modal-item{align-items:flex-start}.ghstocks-modal-item strong{white-space:normal}}

/* ghstocks 0.2.0 */
.ghstocks-modal-carrier{margin:-4px 0 14px;font-size:13px;font-weight:600;color:#59645c}
.ghstocks-modal-note{margin:14px 0 0;padding:10px 12px;border-radius:10px;background:#f5f7f6;font-size:12px;line-height:1.4;color:#58625b}
