/* Hebemys Eco 3.29.3 — price-list UI refinement.
   Scoped to the public price list. No WooCommerce/catalog/campaign writes. */

/* The category symbol should describe the category, not reuse a generic chart glyph. */
body.heco-pl-page .heco-pl-group-symbol{
  flex:0 0 38px;width:38px;height:38px;
  display:grid;place-items:center;
  border:1px solid #E0EAF0;border-radius:12px;
  background:#F4F9FC;color:#085385;
}
body.heco-pl-page .heco-pl-group-symbol .heco-pl-group-svg{
  display:block;width:22px;height:22px;fill:none;
  stroke:currentColor;stroke-width:1.65;
}
body.heco-pl-page .heco-pl-group-symbol span{display:none!important}
body.heco-pl-page .heco-pl-group-heading{gap:12px}
body.heco-pl-page .heco-pl-group-heading .heco-pl-group-en{letter-spacing:.035em}
body.heco-pl-page .heco-pl-group-count{font-weight:650}
/* Brand consistency: no unrelated category-specific icon fills or colors. */
body.heco-pl-page .heco-pl-group[data-heco-pl-group="arabica"] .heco-pl-group-symbol,
body.heco-pl-page .heco-pl-group[data-heco-pl-group="blends"] .heco-pl-group-symbol,
body.heco-pl-page .heco-pl-group[data-heco-pl-group="instant"] .heco-pl-group-symbol,
body.heco-pl-page .heco-pl-group[data-heco-pl-group="powder"] .heco-pl-group-symbol{
  color:#085385;background:#F4F9FC;border-color:#E0EAF0;
}

/* Product name is the identification cue: no dot/pseudo-thumbnail or
   repetitive English category below every product name. */
body.heco-pl-page .heco-pl-product-icon{display:none!important}
body.heco-pl-page .heco-pl-product{min-width:0;align-items:center}
body.heco-pl-page .heco-pl-product-info{display:flex;flex-direction:column;gap:2px;min-width:0;width:100%}
body.heco-pl-page .heco-pl-product-title{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
body.heco-pl-page .heco-pl-product-title a{display:block;min-width:0;text-wrap:pretty}
body.heco-pl-page .heco-pl-stock-status{display:block;color:#9A5A48;font-family:inherit;font-size:.66rem;font-weight:700}
body.heco-pl-page .heco-pl-row-discount{
  display:none;align-items:center;justify-content:center;flex-shrink:0;
  border:1px solid #EACFE2;border-radius:999px;background:#FAEFF7;
  color:#A23A87;padding:4px 9px;font-size:.67rem;line-height:1.2;
  font-weight:800;white-space:nowrap;
}
body.heco-pl-page .heco-pl-row-discount[hidden]{display:none!important}
body.heco-pl-page .heco-pl-price-cell.is-unavailable .heco-pl-number{
  font-size:.75rem!important;font-weight:650!important;color:#8494A1!important;
  letter-spacing:0;white-space:normal;
}
body.heco-pl-page .heco-pl-price-cell.is-unavailable .heco-pl-money{display:none!important}

/* Decrease unneeded table height without sacrificing the tap area. */
body.heco-pl-page .heco-pl-table td{padding-block:10px!important}
body.heco-pl-page .heco-pl-visit a{min-height:36px;gap:7px}
body.heco-pl-page .heco-pl-group-heading{padding-block:13px}

/* The hero describes value to the customer, rather than the internal CMS. */
body.heco-pl-page .heco-pl-hero-facts{gap:17px}
body.heco-pl-page .heco-pl-hero-facts>div{flex:0 0 auto}

/* Tablet and mobile: compact price cards in a consistent reading order. */
@media(max-width:781px){
  body.heco-pl-page .heco-pl-group-heading{padding:12px 14px!important;min-height:68px}
  body.heco-pl-page .heco-pl-group-symbol{width:36px;height:36px;flex-basis:36px;border-radius:11px}
  body.heco-pl-page .heco-pl-group-symbol .heco-pl-group-svg{width:21px;height:21px}
  body.heco-pl-page .heco-pl-group-en{font-size:.59rem}
  body.heco-pl-page .heco-pl-group-count{font-size:.65rem;padding:5px 9px}
  body.heco-pl-page .heco-pl-table tr.heco-pl-row{
    padding-inline:12px!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    align-items:stretch;
  }
  body.heco-pl-page .heco-pl-table td.heco-pl-product{
    padding:11px 6px 9px!important;
    min-height:48px;
    display:flex!important;
    align-items:center;
    border-bottom:1px solid #EBF0F4!important;
  }
  body.heco-pl-page .heco-pl-product-info a{
    font-size:clamp(.84rem,3.75vw,.94rem)!important;
    line-height:1.6!important;
    font-weight:900!important;
  }
  body.heco-pl-page .heco-pl-row-discount:not([hidden]){display:inline-flex}
  body.heco-pl-page .heco-pl-row.has-shared-discount .heco-pl-off-badge{display:none!important}
  body.heco-pl-page .heco-pl-table td.heco-pl-price-cell{
    min-height:85px;
    gap:4px;
    padding:9px 6px 10px!important;
    justify-content:flex-start!important;
    align-items:flex-start;
    overflow:hidden;
  }
  body.heco-pl-page .heco-pl-table td[data-heco-pl-col="mediumdark"]{
    padding-inline-start:9px!important;
    padding-inline-end:5px!important;
  }
  body.heco-pl-page .heco-pl-cell-label{
    font-size:.71rem;font-weight:650;line-height:1.5;color:#687E91;
  }
  body.heco-pl-page .heco-pl-price-display{
    gap:4px;width:100%;align-items:flex-start;
  }
  body.heco-pl-page .heco-pl-old-price{
    font-size:clamp(.64rem,2.7vw,.72rem);
    color:#9CA7B0;line-height:1.6;
  }
  body.heco-pl-page .heco-pl-current-line{
    display:flex;align-items:center;justify-content:flex-start;
    flex-wrap:wrap;column-gap:4px;row-gap:4px;
    width:100%;
  }
  body.heco-pl-page .heco-pl-price-cell .heco-pl-number,
  body.heco-pl-page .heco-pl-price-cell.is-on-sale .heco-pl-number{
    font-size:clamp(.79rem,3.2vw,.99rem)!important;
    font-weight:900!important;
    letter-spacing:0;
    line-height:1.6;
    white-space:nowrap;
  }
  body.heco-pl-page .heco-pl-money{font-size:.62rem;white-space:nowrap}
  body.heco-pl-page .heco-pl-off-badge{font-size:.60rem;padding:4px 7px}
  body.heco-pl-page .heco-pl-table td.heco-pl-visit{
    padding:0 5px 10px!important;
  }
  body.heco-pl-page .heco-pl-visit a{
    min-height:40px;width:100%;border-color:#DAE7EE;
    background:#F8FBFD;border-radius:10px;font-size:.76rem;
  }
  body.heco-pl-page .heco-pl-visit a:active{background:#EDF5F9}
  /* A fixed utility control should not obscure a product's price. */
  body.heco-pl-page .heco-back-to-top{
    width:36px;height:36px;right:6px;
    bottom:calc(82px + env(safe-area-inset-bottom,0px));
    box-shadow:0 4px 14px rgba(16,32,51,.10);
    background:rgba(255,255,255,.87);
    border-color:#D6E4EC;
  }
  body.heco-pl-page .heco-back-to-top svg{width:17px;height:17px}
  body.heco-pl-page .heco-back-to-top.is-visible:not(:focus-visible){opacity:.82}
  /* Single-price categories must not reserve a blank second-price column. */
  body.heco-pl-page .heco-pl-group--single .heco-pl-price-cell[data-heco-pl-col="main"]{
    min-height:68px;
    padding-inline:6px!important;
  }
}
@media(max-width:359px){
  body.heco-pl-page .heco-pl-table tr.heco-pl-row{padding-inline:8px!important}
  body.heco-pl-page .heco-pl-table td.heco-pl-price-cell{padding-inline:4px!important}
  body.heco-pl-page .heco-pl-price-cell .heco-pl-number,
  body.heco-pl-page .heco-pl-price-cell.is-on-sale .heco-pl-number{font-size:.78rem!important}
  body.heco-pl-page .heco-pl-row-discount{font-size:.62rem;padding:4px 7px}
}
@media(min-width:782px){
  body.heco-pl-page .heco-pl-row-discount{display:none!important}
}
@media print{
  body.heco-pl-page .heco-pl-group-symbol{border:0!important;background:none!important;color:#111!important}
  body.heco-pl-page .heco-pl-row-discount{display:none!important}
  body.heco-pl-page .heco-pl-table td{padding:7px!important}
}
@media(prefers-reduced-motion:reduce){
  body.heco-pl-page .heco-pl-visit a{transition:none!important}
}
