:root{--hepc-purple:#6F2DBD;--hepc-purple-dark:#55209b;--hepc-ink:#241b30;--hepc-muted:#777181;--hepc-line:#ece5f4;--hepc-soft:#f8f4fc;--hepc-green:#16865b}

/* Astra page wrapper: remove theme title/outer gutters only on the cart page. */
body.hepc-cart-page #content,
body.hepc-cart-page .site-content,
body.hepc-cart-page .site-content .ast-container,
body.hepc-cart-page #primary,
body.hepc-cart-page .content-area,
body.hepc-cart-page .site-main{
  width:100%!important;
  max-width:none!important;
  margin-top:0!important;
  margin-bottom:0!important;
}
body.hepc-cart-page .site-content{padding:0!important}
body.hepc-cart-page .site-content .ast-container{display:block!important;padding:0!important}
body.hepc-cart-page #primary,
body.hepc-cart-page .content-area{padding:0!important}
body.hepc-cart-page .entry-header,
body.hepc-cart-page .entry-header .entry-title{display:none!important}
body.hepc-cart-page article.page,
body.hepc-cart-page .entry-content,
body.hepc-cart-page .entry-content > *{margin-top:0!important}
body.hepc-cart-page .entry-content{padding:0!important}
.hepc-cart-page .site-content,.hepc-cart-page .content-area,.hepc-cart-page .site-main{width:100%;max-width:100%}
.hepc-cart-page .entry-header{margin-bottom:0}
.hepc-cart-page .entry-content{margin-top:0}
.hepc-cart-shell,.hepc-cart-shell *{box-sizing:border-box}
.hepc-cart-shell{width:100%;max-width:100%;margin:0 auto;padding:18px 22px 40px;background:linear-gradient(180deg,#fbf9fe 0,#fff 280px);color:var(--hepc-ink);font-family:inherit;line-height:1.5}
.hepc-cart-inner{width:100%;max-width:1440px;margin:0 auto}
.hepc-heading{text-align:center;margin:0 auto 22px;padding:0 12px}
.hepc-eyebrow{display:inline-block;color:var(--hepc-purple);font-size:11px;font-weight:800;letter-spacing:2px;margin:0 0 8px}
.hepc-heading h1{font-size:clamp(28px,3vw,42px);line-height:1.15;font-weight:850;letter-spacing:-.8px;color:var(--hepc-ink);margin:0 0 9px;padding:0}
.hepc-heading p{font-size:15px;color:var(--hepc-muted);margin:0}
.hepc-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,.85fr);align-items:start;gap:22px}
.hepc-items-panel,.hepc-summary{background:#fff;border:1px solid var(--hepc-line);border-radius:20px;box-shadow:0 8px 28px rgba(48,25,75,.055);min-width:0}
.hepc-items-panel{padding:0 20px}
.hepc-panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 0 16px;border-bottom:1px solid var(--hepc-line);font-size:18px;font-weight:800}
.hepc-item-count{display:inline-flex;align-items:center;justify-content:center;background:#f2e9fc;color:var(--hepc-purple);font-size:12px;font-weight:800;padding:5px 11px;border-radius:30px;white-space:nowrap}
.hepc-item{display:grid;grid-template-columns:116px minmax(0,1fr);gap:18px;padding:22px 0;border-bottom:1px solid var(--hepc-line);min-width:0}
.hepc-item-image{width:116px;height:116px;border:1px solid var(--hepc-line);border-radius:15px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:7px}
.hepc-item-image a{display:flex;width:100%;height:100%;align-items:center;justify-content:center}
.hepc-product-image{display:block;width:100%;height:100%;max-height:100px;object-fit:contain;margin:0!important}
.hepc-item-details{min-width:0}
.hepc-item-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.hepc-product-kicker{display:block;color:#9b83b6;font-size:9px;font-weight:850;letter-spacing:1.4px;margin:0 0 4px}
.hepc-product-name{font-size:17px;line-height:1.4;font-weight:800;margin:0!important;padding:0;color:var(--hepc-ink)}
.hepc-product-name a{color:inherit;text-decoration:none}
.hepc-product-name a:hover{color:var(--hepc-purple)}
.hepc-remove{display:flex;align-items:center;justify-content:center;flex:0 0 31px;width:31px;height:31px;border:1px solid #e6dfeD;border-radius:50%;background:#fff;color:#8c8296;font-size:23px;line-height:1;padding:0;cursor:pointer;transition:.2s}
.hepc-remove:hover{border-color:#e7b7bf;background:#fff4f5;color:#c12c45}
.hepc-variation{font-size:12px;color:var(--hepc-muted);margin-top:5px}
.hepc-variation dl{margin:0;display:flex;flex-wrap:wrap;gap:3px 10px}.hepc-variation dt,.hepc-variation dd{display:inline;margin:0}
.hepc-price-line{display:flex;gap:8px;align-items:center;margin-top:11px;font-size:13px;color:var(--hepc-muted)}
.hepc-price-line strong{color:var(--hepc-ink);font-size:15px;font-weight:800}
.hepc-item-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;flex-wrap:wrap}
.hepc-qty-label{font-size:12px;color:var(--hepc-muted);font-weight:700}
.hepc-qty-control{display:flex;align-items:center;border:1px solid #e4d9f0;border-radius:11px;padding:3px;background:#fff;min-height:39px}
.hepc-qty-btn{width:30px;height:30px;border:0!important;background:#f6f0fc!important;color:var(--hepc-purple)!important;border-radius:8px;font-size:19px;font-weight:700;line-height:1;padding:0;cursor:pointer}
.hepc-qty-control .quantity{margin:0!important;display:flex;align-items:center}
.hepc-qty-control input.hepc-qty-input{width:42px!important;min-width:42px;height:30px!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;margin:0!important;text-align:center!important;color:var(--hepc-ink)!important;font-size:14px!important;font-weight:800!important;appearance:textfield;-moz-appearance:textfield}
.hepc-qty-control input::-webkit-outer-spin-button,.hepc-qty-control input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.hepc-line-subtotal{display:flex;flex-direction:column;align-items:flex-end;gap:1px;margin-left:auto}.hepc-line-subtotal span{font-size:10px;color:var(--hepc-muted)}.hepc-line-subtotal strong{font-size:15px;color:var(--hepc-purple);font-weight:850}
.hepc-cart-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 0 20px}
.hepc-continue{font-size:13px;font-weight:750;color:var(--hepc-purple)!important;text-decoration:none!important}.hepc-continue span{font-size:17px;margin-right:4px}
.hepc-button{display:inline-flex!important;align-items:center;justify-content:center;gap:12px;min-height:45px;border:0!important;border-radius:11px;padding:0 18px!important;font-size:13px!important;font-weight:800!important;text-decoration:none!important;cursor:pointer;transition:transform .18s,background .18s,box-shadow .18s}
.hepc-button:hover{transform:translateY(-1px)}
.hepc-update{background:#f2e9fc!important;color:var(--hepc-purple)!important}
.hepc-primary{background:var(--hepc-purple)!important;color:#fff!important;box-shadow:0 7px 17px rgba(111,45,189,.2)}.hepc-primary:hover{background:var(--hepc-purple-dark)!important;color:#fff!important}
.hepc-summary{padding:22px;position:sticky;top:24px}
.hepc-summary-heading{display:flex;align-items:center;gap:12px;padding-bottom:18px;border-bottom:1px solid var(--hepc-line)}
.hepc-summary-mark{display:flex;align-items:center;justify-content:center;width:42px;height:42px;flex:0 0 42px;border-radius:13px;background:#f1e8fc;color:var(--hepc-purple);font-size:20px;font-weight:900}
.hepc-summary-heading h2{font-size:19px;line-height:1.25;font-weight:850;margin:0!important;padding:0;color:var(--hepc-ink)}.hepc-summary-heading p{font-size:11px;color:var(--hepc-muted);margin:3px 0 0}
.hepc-summary-rows{padding:14px 0 6px}.hepc-summary-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;font-size:13px;color:var(--hepc-muted)}.hepc-summary-row strong{font-size:14px;color:var(--hepc-ink);font-weight:800;white-space:nowrap}.hepc-summary-row .amount{color:inherit}
.hepc-discount strong{color:var(--hepc-green)}
.hepc-coupon-row form{margin:0}.hepc-coupon-remove{border:0;background:none;color:#b12c45;font-size:11px;text-decoration:underline;padding:0;cursor:pointer}
.hepc-shipping-note{margin:9px 0;padding:10px 11px;background:#faf7fe;border-radius:9px;color:var(--hepc-muted);font-size:11px}
.hepc-coupon-form{padding:14px 0 16px;border-top:1px dashed #e4d9ef;border-bottom:1px dashed #e4d9ef}.hepc-coupon-form label{display:block;font-size:12px;font-weight:800;color:var(--hepc-ink);margin:0 0 8px}.hepc-coupon-input-row{display:flex;gap:6px}.hepc-coupon-input-row input{width:100%;min-width:0;height:41px!important;border:1px solid #e4d9ef!important;border-radius:9px!important;background:#fff!important;box-shadow:none!important;padding:0 10px!important;font-size:12px!important}.hepc-coupon-input-row button{flex:0 0 auto;border:0;border-radius:9px;background:#f0e6fb;color:var(--hepc-purple);font-size:12px;font-weight:850;padding:0 13px;cursor:pointer}
.hepc-total-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 0 5px;font-size:15px;font-weight:800;color:var(--hepc-ink)}.hepc-total-row strong{font-size:24px;line-height:1.2;color:var(--hepc-purple);font-weight:900;white-space:nowrap}
.hepc-tax-note{font-size:10px;line-height:1.5;color:#8c8496;margin:5px 0 16px}.hepc-checkout{width:100%;min-height:51px;font-size:14px!important}.hepc-checkout span{font-size:19px}.hepc-trust{display:flex;align-items:center;justify-content:center;gap:6px;color:#777181;font-size:10px;margin:13px 0 0}
.hepc-empty{text-align:center;max-width:650px;margin:0 auto;padding:48px 22px;background:#fff;border:1px solid var(--hepc-line);border-radius:22px;box-shadow:0 8px 28px rgba(48,25,75,.05)}.hepc-empty-icon{display:flex;align-items:center;justify-content:center;width:76px;height:76px;margin:0 auto 17px;border-radius:24px;background:#f3eafb;font-size:34px}.hepc-empty h2{font-size:24px;line-height:1.3;font-weight:850;margin:0 0 8px;color:var(--hepc-ink)}.hepc-empty p{font-size:14px;color:var(--hepc-muted);margin:0 0 20px}.hepc-empty .hepc-button{min-height:49px}
.hepc-message{padding:18px;border:1px solid var(--hepc-line);border-radius:12px;background:#fff}
.hepc-cart-shell .woocommerce-notices-wrapper,.hepc-cart-shell .woocommerce-message,.hepc-cart-shell .woocommerce-error,.hepc-cart-shell .woocommerce-info{margin:0 0 18px!important}
@media(max-width:900px){.hepc-layout{grid-template-columns:minmax(0,1fr) 300px;gap:14px}.hepc-items-panel{padding:0 15px}.hepc-item{grid-template-columns:92px minmax(0,1fr);gap:13px}.hepc-item-image{width:92px;height:92px}.hepc-summary{padding:18px}.hepc-total-row strong{font-size:21px}}
@media(max-width:767px){.hepc-cart-shell{padding:12px 10px 24px;background:linear-gradient(180deg,#fbf8ff 0,#fff 220px)}.hepc-heading{margin-bottom:18px;padding:0 5px}.hepc-eyebrow{font-size:9px;letter-spacing:1.4px;margin-bottom:6px}.hepc-heading h1{font-size:29px;letter-spacing:-.5px}.hepc-heading p{font-size:12px}.hepc-layout{display:flex;flex-direction:column;gap:14px}.hepc-items-panel,.hepc-summary{width:100%;border-radius:16px}.hepc-items-panel{padding:0 12px}.hepc-panel-title{padding:15px 0 12px;font-size:16px}.hepc-item{grid-template-columns:78px minmax(0,1fr);gap:11px;padding:15px 0}.hepc-item-image{width:78px;height:82px;border-radius:12px;padding:4px}.hepc-product-image{max-height:72px}.hepc-product-kicker{font-size:8px;margin-bottom:3px}.hepc-product-name{font-size:14px;line-height:1.35}.hepc-remove{flex-basis:27px;width:27px;height:27px;font-size:21px}.hepc-price-line{font-size:11px;margin-top:7px;gap:6px}.hepc-price-line strong{font-size:13px}.hepc-item-bottom{gap:7px;margin-top:10px}.hepc-qty-label{font-size:10px}.hepc-qty-control{min-height:33px;padding:2px;border-radius:9px}.hepc-qty-btn{width:25px;height:26px;font-size:17px}.hepc-qty-control input.hepc-qty-input{width:31px!important;min-width:31px;height:26px!important;font-size:12px!important}.hepc-line-subtotal span{font-size:9px}.hepc-line-subtotal strong{font-size:12px}.hepc-cart-actions{padding:13px 0 15px;align-items:center}.hepc-continue{font-size:11px}.hepc-button{min-height:39px;padding:0 12px!important;border-radius:9px;font-size:11px!important}.hepc-summary{position:static;padding:17px}.hepc-summary-heading{padding-bottom:13px}.hepc-summary-mark{width:37px;height:37px;flex-basis:37px;border-radius:11px;font-size:17px}.hepc-summary-heading h2{font-size:17px}.hepc-summary-row{font-size:12px;padding:7px 0}.hepc-summary-row strong{font-size:13px}.hepc-coupon-form{padding:12px 0}.hepc-total-row{padding:15px 0 4px;font-size:14px}.hepc-total-row strong{font-size:22px}.hepc-checkout{min-height:47px;font-size:13px!important}.hepc-empty{padding:35px 18px 30px;border-radius:17px}.hepc-empty h2{font-size:20px}.hepc-empty p{font-size:12px}}
@media(max-width:360px){.hepc-cart-shell{padding-left:8px;padding-right:8px}.hepc-items-panel{padding:0 9px}.hepc-item{grid-template-columns:66px minmax(0,1fr);gap:8px}.hepc-item-image{width:66px;height:72px}.hepc-product-name{font-size:13px}.hepc-item-bottom{gap:5px}.hepc-line-subtotal strong{font-size:11px}}

/* Guard against theme typography and spacing leaking into plugin components. */
.hepc-cart-shell h1,.hepc-cart-shell h2,.hepc-cart-shell p{max-width:100%}
.hepc-cart-shell a:not(.hepc-button):focus-visible,
.hepc-cart-shell button:focus-visible,
.hepc-cart-shell input:focus-visible{outline:2px solid #6F2DBD;outline-offset:2px}
@media(min-width:1200px){
  .hepc-cart-layout{gap:24px}
  .hepc-cart-shell{padding-left:28px;padding-right:28px}
}
@media(max-width:767px){
  .hepc-heading h1{font-size:26px!important;line-height:1.2!important}
  .hepc-heading p{font-size:12px!important}
  .hepc-item{grid-template-columns:72px minmax(0,1fr)!important;gap:10px!important}
  .hepc-item-image{width:72px!important;height:76px!important}
  .hepc-product-name{font-size:14px!important;line-height:1.35!important}
  .hepc-summary{position:static!important}
}

/* v1.0.2: force the cart shortcode to use the available viewport width in Astra. */
body.hepc-cart-page,
body.hepc-cart-page #page,
body.hepc-cart-page #content,
body.hepc-cart-page .site-content,
body.hepc-cart-page .site-content > .ast-container,
body.hepc-cart-page .site-content .ast-container,
body.hepc-cart-page #primary,
body.hepc-cart-page .content-area,
body.hepc-cart-page .site-main,
body.hepc-cart-page article.page,
body.hepc-cart-page article.page .entry-content{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
}
body.hepc-cart-page #content,
body.hepc-cart-page .site-content,
body.hepc-cart-page .site-main,
body.hepc-cart-page article.page,
body.hepc-cart-page article.page .entry-content{
  padding-top:0!important;
  margin-top:0!important;
}
body.hepc-cart-page .site-content > .ast-container{
  display:block!important;
}
body.hepc-cart-page article.page{
  border:0!important;
  background:transparent!important;
}
body.hepc-cart-page .entry-content > .hepc-cart-shell{
  margin:0!important;
}
.hepc-cart-shell{padding-top:12px!important}
.hepc-cart-inner{max-width:1600px!important;width:100%!important}
@media(min-width:768px){
  .hepc-cart-shell{padding:12px 24px 36px!important}
  .hepc-layout{grid-template-columns:minmax(0,2fr) minmax(300px,.82fr)!important;gap:24px!important}
}
@media(max-width:767px){
  .hepc-cart-shell{padding:8px 10px 22px!important}
  .hepc-heading{margin:0 auto 14px!important;padding:0 4px!important}
  .hepc-heading h1{font-size:27px!important;line-height:1.18!important;margin-bottom:6px!important}
  .hepc-heading p{font-size:12px!important;line-height:1.4!important}
  .hepc-items-panel{padding:0 11px!important}
  .hepc-item{grid-template-columns:70px minmax(0,1fr)!important;gap:10px!important;padding:13px 0!important}
  .hepc-item-image{width:70px!important;height:74px!important}
  .hepc-product-image{max-height:64px!important}
  .hepc-product-name{font-size:13px!important;line-height:1.32!important;overflow-wrap:anywhere}
  .hepc-item-bottom{align-items:flex-start!important}
  .hepc-line-subtotal{min-width:58px}
}


/* v1.0.3: explicitly control typography so Astra/global heading rules cannot enlarge cart text. */
body.hepc-cart-page .hepc-cart-shell .hepc-heading h1{
  font-size:clamp(27px,2.5vw,36px)!important;
  line-height:1.18!important;
  letter-spacing:-.45px!important;
  margin:0 0 7px!important;
}
body.hepc-cart-page .hepc-cart-shell .hepc-heading p{
  font-size:14px!important;
  line-height:1.45!important;
}
body.hepc-cart-page .hepc-cart-shell .hepc-item-details h2.hepc-product-name,
body.hepc-cart-page .hepc-cart-shell h2.hepc-product-name,
body.hepc-cart-page .hepc-cart-shell .hepc-product-name{
  font-size:17px!important;
  line-height:1.35!important;
  font-weight:750!important;
  letter-spacing:0!important;
  margin:0!important;
}
body.hepc-cart-page .hepc-cart-shell .hepc-panel-title{font-size:17px!important}
body.hepc-cart-page .hepc-cart-shell .hepc-summary-heading h2{font-size:18px!important;line-height:1.25!important}
body.hepc-cart-page .hepc-cart-shell .hepc-price-line{font-size:12px!important}
body.hepc-cart-page .hepc-cart-shell .hepc-price-line strong{font-size:14px!important}
body.hepc-cart-page .hepc-cart-shell .hepc-line-subtotal strong{font-size:13px!important}
@media(max-width:767px){
  body.hepc-cart-page .hepc-cart-shell .hepc-heading h1{font-size:25px!important;line-height:1.2!important}
  body.hepc-cart-page .hepc-cart-shell .hepc-heading p{font-size:12px!important;line-height:1.4!important}
  body.hepc-cart-page .hepc-cart-shell .hepc-item-details h2.hepc-product-name,
  body.hepc-cart-page .hepc-cart-shell h2.hepc-product-name,
  body.hepc-cart-page .hepc-cart-shell .hepc-product-name{font-size:14px!important;line-height:1.32!important;font-weight:750!important}
  body.hepc-cart-page .hepc-cart-shell .hepc-panel-title{font-size:15px!important}
  body.hepc-cart-page .hepc-cart-shell .hepc-summary-heading h2{font-size:16px!important}
  body.hepc-cart-page .hepc-cart-shell .hepc-price-line{font-size:11px!important}
  body.hepc-cart-page .hepc-cart-shell .hepc-price-line strong{font-size:12px!important}
  body.hepc-cart-page .hepc-cart-shell .hepc-line-subtotal strong{font-size:11px!important}
  body.hepc-cart-page .hepc-cart-shell .hepc-item{grid-template-columns:68px minmax(0,1fr)!important;gap:9px!important;padding:12px 0!important}
  body.hepc-cart-page .hepc-cart-shell .hepc-item-image{width:68px!important;height:70px!important}
}


/* v1.0.4: compact product names; explicit selectors override Astra heading typography. */
body.hepc-cart-page .hepc-cart-shell .hepc-item-details h2.hepc-product-name,
body.hepc-cart-page .hepc-cart-shell h2.hepc-product-name,
body.hepc-cart-page .hepc-cart-shell .hepc-product-name{
  font-size:14px!important;
  line-height:1.3!important;
  font-weight:700!important;
  letter-spacing:0!important;
}
@media(max-width:767px){
  body.hepc-cart-page .hepc-cart-shell .hepc-item-details h2.hepc-product-name,
  body.hepc-cart-page .hepc-cart-shell h2.hepc-product-name,
  body.hepc-cart-page .hepc-cart-shell .hepc-product-name{
    font-size:12px!important;
    line-height:1.3!important;
    font-weight:700!important;
  }
}

/* v1.0.5: final compact typography overrides, including linked product titles. */
body.hepc-cart-page .hepc-cart-shell .hepc-item-details h2.hepc-product-name,
body.hepc-cart-page .hepc-cart-shell .hepc-item-details h2.hepc-product-name a,
body.hepc-cart-page .hepc-cart-shell h2.hepc-product-name,
body.hepc-cart-page .hepc-cart-shell h2.hepc-product-name a,
body.hepc-cart-page .hepc-cart-shell .hepc-product-name,
body.hepc-cart-page .hepc-cart-shell .hepc-product-name a{
  font-size:13px!important;
  line-height:1.3!important;
  font-weight:650!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
@media(max-width:767px){
  body.hepc-cart-page .hepc-cart-shell .hepc-item-details h2.hepc-product-name,
  body.hepc-cart-page .hepc-cart-shell .hepc-item-details h2.hepc-product-name a,
  body.hepc-cart-page .hepc-cart-shell h2.hepc-product-name,
  body.hepc-cart-page .hepc-cart-shell h2.hepc-product-name a,
  body.hepc-cart-page .hepc-cart-shell .hepc-product-name,
  body.hepc-cart-page .hepc-cart-shell .hepc-product-name a{
    font-size:11px!important;
    line-height:1.3!important;
    font-weight:650!important;
  }
}


/* v1.0.6 — targeted fixes for the two reported layout issues.
   The Astra override above previously forced the shortcode shell margin to 0,
   preventing the content from being centered. Keep the background full width,
   but center the actual cart content on desktop. */
body.hepc-cart-page .site-content .ast-container article.page .entry-content > .hepc-cart-shell{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
body.hepc-cart-page .site-content .ast-container article.page .entry-content > .hepc-cart-shell .hepc-cart-inner{
  width:100%!important;
  max-width:1120px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.hepc-cart-page .site-content .ast-container article.page .entry-content > .hepc-cart-shell .hepc-layout{
  width:100%!important;
  max-width:1120px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
@media(min-width:768px){
  body.hepc-cart-page .site-content .ast-container article.page .entry-content > .hepc-cart-shell{
    padding-left:24px!important;
    padding-right:24px!important;
  }
}
@media(max-width:767px){
  body.hepc-cart-page .site-content .ast-container article.page .entry-content > .hepc-cart-shell .hepc-item-details h2.hepc-product-name,
  body.hepc-cart-page .site-content .ast-container article.page .entry-content > .hepc-cart-shell .hepc-item-details h2.hepc-product-name a{
    font-size:12px!important;
    line-height:1.35!important;
    font-weight:650!important;
  }
}
