/* Shared homepage purchase component. Purchase actions inherit the two global button classes.
   Register hype-purchase before hype-product: earlier layers win important declarations. */
@layer hype-purchase {
  .hype-buy-form {
    --purchase-ink:var(--hype-button-ink,#17313d);
    --purchase-muted:#49616d;
    --purchase-line:#d3e4ed;
    width:100%!important;
    margin-top:30px!important;
  }
  .hype-buy-form,.hype-buy-form * {font-family:Manrope,Arial,sans-serif!important}
  .hype-buy-form .lg-sel-label {font-size:13px!important;font-weight:700!important;color:#0b1d2e!important;margin:6px 0 10px!important}
  .hype-buy-form .lg-bundles {display:flex!important;flex-direction:column!important;gap:14px!important;margin-bottom:20px!important}
  .hype-buy-form .lg-bundle {position:relative!important;border:1px solid #bbd5e1!important;border-radius:10px!important;padding:21px 20px!important;background:#ffffff90!important;cursor:pointer!important;transition:border-color .2s,background-color .2s!important}
  .hype-buy-form .lg-bundle:hover {border-color:#3bb5e866!important}
  .hype-buy-form .lg-bundle.active {border:2px solid var(--purchase-ink)!important;padding:20px 19px!important;background:var(--hype-mist,#edf7fc)!important}
  .hype-buy-form .lg-bundle-head {display:flex!important;align-items:center!important;gap:13px!important}
  .hype-buy-form .lg-b-radio {position:relative!important;width:16px!important;height:16px!important;flex-shrink:0!important;border:1px solid #94b0bd!important;border-radius:50%!important;transition:border-color .2s,background-color .2s!important}
  .hype-buy-form .active>.lg-bundle-head .lg-b-radio {border:5px solid var(--purchase-ink)!important;background:#fff!important}
  .hype-buy-form .lg-bundle.active .lg-b-radio::after {content:""!important;position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;width:7px!important;height:7px!important;border-radius:50%!important;background:#fff!important}
  .hype-buy-form .lg-b-info {flex:1!important;min-width:0!important}
  .hype-buy-form .lg-b-name {font-size:13px!important;font-weight:800!important;color:#0b1d2e!important;margin-bottom:3px!important}
  .hype-buy-form .lg-b-unit {font-weight:600!important;color:#6a6a7a!important;white-space:nowrap!important}
  .hype-buy-form .lg-b-unit.is-deal {font-weight:800!important;color:#1a7a42!important}
  .hype-buy-form .lg-b-sub {font-size:11px!important;line-height:1.4!important;color:var(--purchase-muted)!important;margin-top:3px!important}
  .hype-buy-form .lg-free-ship {color:#a55c06!important;font-weight:700!important}
  .hype-buy-form .lg-b-desc {font-size:10px!important;line-height:1.4!important;font-style:italic!important;color:var(--purchase-muted)!important;margin-top:5px!important}
  .hype-buy-form .lg-b-prices {text-align:right!important;white-space:nowrap!important;flex-shrink:0!important}
  .hype-buy-form .lg-b-price {font-size:27px!important;font-weight:750!important;color:#0b1d2e!important}
  .hype-buy-form .lg-b-old {font-size:11px!important;color:#78909c!important;text-decoration:line-through!important}
  .hype-buy-form .lg-badge {position:absolute!important;top:-9px!important;right:14px!important;display:inline-block!important;padding:3px 10px!important;border-radius:var(--hype-radius-control,6px)!important;font-size:10px!important;font-weight:700!important;line-height:1!important;letter-spacing:.4px!important;text-transform:uppercase!important;white-space:nowrap!important;pointer-events:none!important;color:#fff!important}
  .hype-buy-form .lg-badge.green {background:#1f6a47!important}
  .hype-buy-form .lg-badge.orange {background:#9d4c0c!important}
  .hype-buy-form .lg-flavor-slots {display:none!important;flex-direction:column!important;gap:12px!important;margin-top:18px!important;padding-top:15px!important;border-top:1px solid var(--purchase-line)!important}
  .hype-buy-form .lg-bundle.active .lg-flavor-slots {display:flex!important}
  .hype-buy-form .lg-slot {display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:12px!important}
  .hype-buy-form .lg-slot-label {font-size:10px!important;font-weight:700!important;color:#6a6a7a!important;min-width:54px!important;text-transform:uppercase!important;letter-spacing:.3px!important;white-space:nowrap!important}
  .hype-buy-form .lg-slot-pills {display:flex!important;flex:1!important;flex-wrap:wrap!important;gap:5px!important}
  .hype-buy-form .lg-pill {display:inline-flex!important;align-items:center!important;gap:5px!important;padding:6px 12px!important;border:1.5px solid #d8d8d8!important;border-radius:var(--hype-radius-control,6px)!important;background:#fff!important;color:#4a4a5a!important;font-size:12px!important;font-weight:600!important;line-height:1!important;white-space:nowrap!important;cursor:pointer!important;transition:border-color .2s,background-color .2s,color .2s!important;outline:none!important;box-shadow:none!important;margin:0!important;text-decoration:none!important}
  .hype-buy-form .lg-pill:hover {filter:brightness(.97)!important}
  .hype-buy-form .lg-pill:focus-visible {outline:2px solid var(--purchase-ink)!important;outline-offset:3px!important}
  .hype-buy-form .lg-pill.active::before {content:"✓"!important;font-size:10px!important;font-weight:800!important;margin-right:1px!important}
  .hype-buy-form .lg-pill--malina {border-color:#e91e63!important;color:#ad1457!important}
  .hype-buy-form .lg-pill--mango {border-color:#f49a2c!important;color:#9a4e00!important}
  .hype-buy-form .lg-pill--pupesh {border-color:#b5c84d!important;color:#5e6b1a!important}
  .hype-buy-form .lg-pill--mojito {border-color:#1fa84d!important;color:#0f6b2c!important}
  .hype-buy-form .lg-pill--malina.active {background:#e6175d!important;border-color:#e91e63!important;color:#fff!important}
  .hype-buy-form .lg-pill--mango.active {background:#f49a2c!important;border-color:#f49a2c!important;color:#fff!important}
  .hype-buy-form .lg-pill--pupesh.active {background:#9cb820!important;border-color:#9cb820!important;color:#fff!important}
  .hype-buy-form .lg-pill--mojito.active {background:#1fa84d!important;border-color:#1fa84d!important;color:#fff!important}
  .hype-buy-form>p {font-size:11px!important;text-align:center!important}
  /* Layout only. All action shape, color and interaction styling belongs to the global classes. */
  .hype-buy-form>.hype-btn--primary,.hype-buy-form>.hype-btn--secondary {width:100%!important;margin-top:20px!important}
  .hype-buy-form>.hype-btn--secondary {margin-top:10px!important}
  @media(max-width:1100px) {
    .hype-buy-form .lg-slot {display:block!important}
    .hype-buy-form .lg-slot-label {margin-bottom:7px!important}
  }
  @media(max-width:700px) {
    .hype-buy-form {margin-top:0!important}
    .hype-buy-form .lg-bundle {padding:19px 15px!important}
    .hype-buy-form .lg-bundle.active {padding:18px 14px!important}
    .hype-buy-form .lg-bundle-head {gap:10px!important}
    .hype-buy-form .lg-b-name {font-size:12px!important}
    .hype-buy-form .lg-b-sub {font-size:10px!important}
    .hype-buy-form .lg-b-price {font-size:25px!important}
    .hype-buy-form .lg-slot-label {font-size:9px!important;margin-bottom:8px!important}
    .hype-buy-form .lg-pill {min-height:42px!important}
  }
}
