/* 1.10.75 — rebuilt compact quantity-card layout, scoped to this feature. */
.wssn-storefront.wssn-quantity-placement--bare{
  box-sizing:border-box;width:100%;max-width:100%;min-width:0;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
}
.wssn-quantity-offer{display:grid;gap:16px;min-width:0;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;direction:rtl}
.wssn-quantity-offer__packs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:22px;min-width:0;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.wssn-storefront .wssn-quantity-offer .wssn-quantity-offer__pack.is-bundle-fixed,
.wssn-storefront .wssn-quantity-offer.wssn-package-layout--list .wssn-quantity-offer__pack.is-bundle-fixed{
  position:relative;box-sizing:border-box;display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:auto auto auto!important;gap:12px!important;align-content:start!important;
  min-width:0!important;min-height:0!important;height:auto!important;padding:12px!important;
  border:1px solid var(--wssn-ui-border,#cae7e0)!important;border-radius:17px!important;background:#fff!important;
  box-shadow:0 2px 14px color-mix(in srgb,var(--wssn-ui-cta-bg,#0f766e) 5%,transparent)!important;color:#172033;cursor:pointer;overflow:visible;
}
.wssn-storefront .wssn-quantity-offer .wssn-quantity-offer__pack.is-active{
  border:2px solid var(--wssn-ui-cta-bg,#0f766e)!important;box-shadow:0 5px 18px color-mix(in srgb,var(--wssn-ui-cta-bg,#0f766e) 13%,transparent)!important;padding:11px!important;
}
.wssn-storefront .wssn-quantity-offer .wssn-quantity-offer__pack:focus-visible{outline:2px solid var(--wssn-ui-cta-bg,#0f766e);outline-offset:2px}
.wssn-quantity-offer__header{
  grid-column:1;grid-row:1;display:grid;grid-template-columns:86px minmax(0,1fr);
  gap:12px;align-items:start;min-width:0;min-height:0;
}
.wssn-quantity-offer__media-stack{display:grid;grid-template-columns:minmax(0,1fr);gap:0;justify-items:center;min-width:0;align-content:start}
.wssn-storefront .wssn-quantity-offer__media-stack>.wssn-package-card__media{
  box-sizing:border-box;display:grid!important;place-items:center!important;grid-column:1;
  width:84px!important;height:84px!important;min-width:0!important;max-width:100%!important;
  margin:0 auto!important;padding:6px!important;border-radius:12px!important;overflow:hidden!important;
}
.wssn-storefront .wssn-quantity-offer__media-stack>.wssn-package-card__media img{
  display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center center!important;transform:none!important;margin:0 auto!important;
}
.wssn-quantity-offer__pack-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:7px}
.wssn-package-card__content>.wssn-quantity-offer__pack-count,
.wssn-package-card__content>.wssn-quantity-offer__pack-meta .wssn-quantity-offer__pack-count{
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  min-width:65px;min-height:31px;padding:4px 10px;border-radius:11px;position:static;z-index:1;
  background:#e1f0ed;color:var(--wssn-ui-accent,#0f766e);
  font-weight:950;font-size:19px;line-height:1.1;direction:ltr;
}
.wssn-quantity-offer__pack-text{
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  min-height:31px;padding:4px 10px;border-radius:11px;background:#e1f0ed;color:var(--wssn-ui-accent,#0f766e);
  font-weight:800;font-size:14px;line-height:1.2;white-space:nowrap;
}
.wssn-storefront .wssn-quantity-offer__header>.wssn-package-card__content{
  box-sizing:border-box;display:block!important;min-width:0!important;width:100%;max-width:100%;
  margin:0!important;padding:2px 50px 0 0!important;
  /* Reserve the badge at the physical left; no extra gap next to the product image. */
  padding-right:0!important;padding-left:50px!important;
}
.wssn-storefront .wssn-quantity-offer .wssn-quantity-offer__header .wssn-package-card__title{
  display:block;margin:0!important;padding:0!important;min-width:0;
  font-size:16px!important;font-weight:850!important;line-height:1.55!important;text-align:right!important;
  overflow-wrap:break-word;word-break:normal;
}
.wssn-storefront .wssn-quantity-offer .wssn-quantity-offer__header .wssn-package-card__content .wssn-quantity-offer__pack-count,
.wssn-storefront .wssn-quantity-offer .wssn-quantity-offer__header .wssn-package-card__content .wssn-quantity-offer__pack-meta{justify-self:start;align-self:start}
.wssn-storefront .wssn-quantity-offer .wssn-package-card__price[data-wssn-quantity-price]{
  grid-column:1!important;grid-row:2!important;box-sizing:border-box;
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;
  min-width:0!important;width:100%!important;max-width:100%!important;
  margin:0!important;padding:0!important;align-self:stretch!important;justify-self:stretch!important;
  font-size:inherit!important;line-height:1.4!important;text-align:right!important;white-space:normal!important;
}
.wssn-quantity-offer__discount-badge{
  position:absolute;top:12px;left:12px;z-index:2;
  display:grid;place-items:center;box-sizing:border-box;width:43px;height:43px;border-radius:50%;
  background:#dc2626!important;color:#fff!important;border:2px solid #fca5a5;
  box-shadow:0 3px 9px rgba(220,38,38,.14);font-size:19px;font-weight:950;line-height:1;
}
/* Both two-line price columns occupy the FULL card width. */
.wssn-quantity-offer__compare-box{
  box-sizing:border-box;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));
  width:100%!important;max-width:100%!important;min-width:0!important;
  padding:10px 10px!important;gap:0!important;border-radius:12px;
  border:1px solid #d9eae7!important;background:#f3faf8!important;
}
.wssn-quantity-offer__compare-col{
  box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:5px;min-width:0;padding:0 5px!important;text-align:center;
}
.wssn-quantity-offer__compare-col+.wssn-quantity-offer__compare-col{border-inline-start:1px solid #d7e6e2}
.wssn-quantity-offer__compare-label{display:block;font-size:12px!important;line-height:1.4;font-weight:800;color:#64748b}
.wssn-quantity-offer__regular,.wssn-quantity-offer__pack-total{
  box-sizing:border-box;display:inline-block!important;min-width:0;margin:0!important;padding:0!important;
  max-width:100%;background:transparent!important;white-space:nowrap!important;
}
.wssn-quantity-offer__regular{position:relative;color:#708090!important;font-size:clamp(11px,3.5vw,14px)!important;font-weight:700!important;text-decoration:none!important}
/* A physical strike line works even when a price is constructed from inline-grid parts on iOS Safari. */
.wssn-quantity-offer__regular::after{content:'';position:absolute;left:0;right:0;top:54%;height:1.6px;background:#708090;transform:rotate(-1deg);pointer-events:none;z-index:1}
.wssn-quantity-offer__pack-total{color:var(--wssn-ui-accent,#0f766e)!important;font-size:clamp(12px,3.9vw,16px)!important;font-weight:950!important}
/* Let wc_price() set the currency position in every card and responsive layout. */
.wssn-quantity-offer__money{
  display:inline-block!important;white-space:nowrap!important;max-width:100%!important;
  width:auto!important;font-weight:inherit;direction:ltr!important;unicode-bidi:isolate!important;
}
.wssn-quantity-offer__money .woocommerce-Price-amount{white-space:nowrap;font:inherit;color:inherit}
.wssn-quantity-offer__money .woocommerce-Price-currencySymbol{font-size:.85em;font-weight:800}
/* The per-item price gets its own understated highlight, not another tall card. */
.wssn-quantity-offer__each-wrap{
  box-sizing:border-box;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
  column-gap:12px;row-gap:4px;min-width:0;width:100%!important;
  padding:11px 12px!important;border-radius:12px;border:1px solid #ffd9d9!important;
  background:#fff6f5!important;text-align:center;
}
.wssn-quantity-offer__each-label{font-size:13px!important;line-height:1.5;font-weight:800;color:#7b5555}
.wssn-quantity-offer__final{
  display:inline-block!important;min-width:0;margin:0!important;padding:0!important;
  background:transparent!important;color:#cf232a!important;font-size:clamp(18px,5vw,23px)!important;
  font-weight:950!important;line-height:1.35!important;text-decoration:none!important;
}
.wssn-quantity-offer__final .woocommerce-Price-currencySymbol{font-size:.82em!important}
.wssn-quantity-offer__action{
  grid-column:1!important;grid-row:3!important;box-sizing:border-box;
  min-width:0!important;width:100%!important;margin:0!important;padding:0!important;
}
.wssn-storefront .wssn-quantity-offer .wssn-quantity-offer__add{
  box-sizing:border-box!important;width:100%!important;min-width:0!important;
  min-height:43px!important;height:43px!important;padding:7px 12px!important;margin-top:2px!important;
  border-radius:12px!important;font-size:16px!important;font-weight:850!important;
}
.wssn-quantity-offer__select-variation,.wssn-quantity-offer__variation-hint{font-size:13px;line-height:1.65;color:#475569}
.wssn-quantity-offer__status:empty{display:none}
.wssn-quantity-offer.wssn-package-layout--list .wssn-quantity-offer__packs{grid-template-columns:minmax(0,1fr);gap:22px}
@media(max-width:700px){
  .wssn-quantity-offer__packs{grid-template-columns:minmax(0,1fr);gap:22px}
  .wssn-quantity-offer__header{grid-template-columns:84px minmax(0,1fr);gap:12px}
}
@media(max-width:370px){
  .wssn-storefront .wssn-quantity-offer .wssn-quantity-offer__pack.is-bundle-fixed{padding:10px!important}
  .wssn-storefront .wssn-quantity-offer .wssn-quantity-offer__pack.is-active{padding:9px!important}
  .wssn-quantity-offer__header{grid-template-columns:74px minmax(0,1fr);gap:9px}
  .wssn-storefront .wssn-quantity-offer__media-stack>.wssn-package-card__media{width:74px!important;height:74px!important}
  .wssn-storefront .wssn-quantity-offer__header>.wssn-package-card__content{padding-left:44px!important}
  .wssn-quantity-offer__discount-badge{width:38px;height:38px;top:9px;left:9px;font-size:17px}
  .wssn-quantity-offer__compare-box{padding:8px 4px!important}
  .wssn-quantity-offer__compare-col{padding:0 3px!important}
  .wssn-quantity-offer__pack-meta{gap:6px;margin-top:6px}
  .wssn-quantity-offer__pack-text{font-size:13px;padding:4px 8px}
}
@media(prefers-reduced-motion:reduce){.wssn-quantity-offer__pack{transition:none!important}}


/* 1.10.82 — compact list is the approved package card with reduced spacing.
   Do not use wssn-package-layout--list: its shared grid rules collapse text. */
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__packs {
  grid-template-columns:minmax(0,1fr)!important;
  gap:12px!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__pack.is-bundle-fixed {
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:auto auto auto!important;
  gap:8px!important;
  padding:11px!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__pack.is-active {
  padding:10px!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__header {
  display:grid!important;
  grid-template-columns:70px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:start!important;
  min-width:0!important;
  width:100%!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__media-stack > .wssn-package-card__media {
  width:70px!important;
  height:70px!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__header > .wssn-package-card__content {
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  padding:0!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__header .wssn-package-card__title,
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__header .wssn-package-card__title span {
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  font-size:14px!important;
  line-height:1.45!important;
  text-align:right!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
  writing-mode:horizontal-tb!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__pack-meta {margin-top:5px!important;gap:5px!important}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__pack-count {
  min-width:47px!important;
  min-height:25px!important;
  font-size:16px!important;
  padding:3px 8px!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__pack-text,
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__discount-badge {display:none!important}
.wssn-storefront .wssn-quantity-offer--compact .wssn-package-card__price[data-wssn-quantity-price] {
  grid-column:1!important;
  grid-row:2!important;
  width:100%!important;
  gap:7px!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__compare-box {
  width:100%!important;
  padding:8px 7px!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__compare-col {padding:0 3px!important;gap:3px!important}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__compare-label {font-size:11px!important}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__regular {font-size:clamp(11px,3vw,13px)!important}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__pack-total {font-size:clamp(12px,3.3vw,14px)!important}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__each-wrap {
  padding:7px 10px!important;
  column-gap:8px!important;
  row-gap:2px!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__each-label {font-size:12px!important}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__final {font-size:clamp(16px,4.5vw,20px)!important}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__action {
  grid-column:1!important;
  grid-row:3!important;
  width:100%!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__add {
  width:100%!important;
  min-height:40px!important;
  height:40px!important;
  font-size:14px!important;
}
@media(max-width:360px) {
  .wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__header {
    grid-template-columns:62px minmax(0,1fr)!important;
    gap:8px!important;
  }
  .wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__media-stack > .wssn-package-card__media {
    width:62px!important;
    height:62px!important;
  }
}


/* 1.10.83 — compact quantity list: three distinct rows, with per-item cost and CTA side by side.
   Deliberately scoped to --compact. The approved package-card mode must not change. */
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__pack.is-bundle-fixed {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(100px,32%)!important;
    grid-template-rows:auto auto auto!important;
    gap:9px 10px!important;
    align-content:start!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__header {
    grid-column:1 / -1!important;
    grid-row:1!important;
    min-width:0!important;
    width:100%!important;
}
/* Keep the price DIV in the DOM for AJAX variation updates, but let its children
   join the pack grid. This avoids duplicating the working cards markup. */
.wssn-storefront .wssn-quantity-offer--compact .wssn-package-card__price[data-wssn-quantity-price] {
    display:contents!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__compare-box {
    grid-column:1 / -1!important;
    grid-row:2!important;
    align-self:stretch!important;
    width:100%!important;
    margin:0!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__each-wrap {
    grid-column:1!important;
    grid-row:3!important;
    align-self:stretch!important;
    display:flex!important;
    flex-direction:column!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:center!important;
    gap:2px!important;
    width:100%!important;
    min-height:44px!important;
    padding:6px 5px!important;
    margin:0!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__each-label {
    font-size:11px!important;
    line-height:1.3!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__final {
    font-size:clamp(15px,4vw,19px)!important;
    line-height:1.3!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__action {
    grid-column:2!important;
    grid-row:3!important;
    align-self:stretch!important;
    display:flex!important;
    align-items:stretch!important;
    justify-content:stretch!important;
    min-width:0!important;
    width:100%!important;
    height:auto!important;
    margin:0!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__add {
    width:100%!important;
    min-width:0!important;
    height:100%!important;
    min-height:44px!important;
    margin:0!important;
    padding:7px 10px!important;
    border-radius:12px!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__select-variation {
    grid-column:1 / -1!important;
    grid-row:2!important;
}
/* The image frame stays the same size; only the image inside gets safe margins.
   Enforce a physical centered contain box even if WooCommerce or theme overrides img. */
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__media-stack > .wssn-package-card__media {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__media-stack > .wssn-package-card__media > img {
    display:block!important;
    flex:0 0 auto!important;
    box-sizing:border-box!important;
    width:88%!important;
    height:88%!important;
    max-width:88%!important;
    max-height:88%!important;
    margin:auto!important;
    padding:0!important;
    position:static!important;
    object-fit:contain!important;
    object-position:center center!important;
    transform:none!important;
    clip:auto!important;
    clip-path:none!important;
}
/* Make xN slightly larger, without changing the tag's colors or the cards mode. */
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__pack-count {
    min-width:56px!important;
    min-height:30px!important;
    padding:4px 10px!important;
    font-size:18px!important;
    line-height:1.1!important;
}
@media(max-width:360px) {
    .wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__pack.is-bundle-fixed {
        grid-template-columns:minmax(0,1fr) minmax(88px,33%)!important;
        column-gap:8px!important;
    }
    .wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__final {
        font-size:15px!important;
    }
    .wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__add {
        padding:6px 8px!important;
    }
}


/* Compact quantity list refinements: keep WooCommerce's currency placement intact. */
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__pack.is-bundle-fixed {
    grid-template-columns:minmax(0,60%) minmax(0,40%)!important;
    row-gap:10px!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__pack-count {
    display:none!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__pack-text {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:32px!important;
    min-width:92px!important;
    padding:4px 12px!important;
    font-size:15px!important;
    font-weight:900!important;
    line-height:1.2!important;
    border-radius:14px!important;
    white-space:nowrap!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__compare-label {
    font-size:12px!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__regular {
    font-size:clamp(13px,3.4vw,15px)!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__pack-total {
    font-size:clamp(14px,3.8vw,17px)!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__regular,
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__pack-total,
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__final {
    direction:ltr!important;
    unicode-bidi:isolate!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__regular .wssn-quantity-offer__money,
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__pack-total .wssn-quantity-offer__money,
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__final .wssn-quantity-offer__money {
    direction:ltr!important;
    unicode-bidi:isolate!important;
    text-align:center!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__media-stack > .wssn-package-card__media {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:8px!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__media-stack > .wssn-package-card__media > img {
    width:auto!important;
    height:auto!important;
    max-width:82%!important;
    max-height:82%!important;
    margin:auto!important;
    vertical-align:middle!important;
    object-fit:contain!important;
    object-position:center center!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__action {
    min-width:0!important;
}
.wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__add {
    min-height:48px!important;
    font-size:17px!important;
    padding:8px 12px!important;
}
@media(max-width:360px) {
    .wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__pack.is-bundle-fixed {
        grid-template-columns:minmax(0,58%) minmax(0,42%)!important;
    }
    .wssn-storefront .wssn-quantity-offer--compact .wssn-quantity-offer__pack-text {
        min-width:84px!important;
        font-size:14px!important;
        padding:4px 10px!important;
    }
}
