
/* Liry v114 legal checkboxes + checkout upsells */
.custom-song-open-btn{border:0;border-radius:999px;background:linear-gradient(135deg,#ff7417,#ff9d45);color:#fff;font-weight:900;padding:14px 22px;box-shadow:0 16px 34px rgba(255,116,23,.22);cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;min-height:48px;transition:.18s ease;font:inherit;text-decoration:none}
.custom-song-open-btn:hover{transform:translateY(-1px);box-shadow:0 20px 44px rgba(255,116,23,.28)}
.manual-song-cta-section{width:min(1120px,calc(100% - 32px));margin:28px auto 12px;direction:rtl}
.manual-song-cta-card{position:relative;overflow:hidden;border:1px solid rgba(255,122,24,.18);border-radius:32px;background:linear-gradient(135deg,#fff,#fff7ef);box-shadow:0 26px 80px rgba(40,22,10,.08);padding:clamp(24px,4vw,42px);text-align:center;display:grid;gap:12px;justify-items:center}
.manual-song-cta-card:before{content:"";position:absolute;inset:auto -120px -160px auto;width:320px;height:320px;border-radius:50%;background:rgba(255,122,24,.10);pointer-events:none}
.manual-song-cta-badge{display:inline-flex;align-items:center;justify-content:center;padding:8px 14px;border-radius:999px;background:#fff3e8;color:#e96700;font-weight:950;font-size:13px;border:1px solid rgba(255,122,24,.20)}
.manual-song-cta-card h2{margin:0;font-size:clamp(25px,4.2vw,44px);letter-spacing:-.045em;line-height:1.06;color:#18110d;font-weight:950}
.manual-song-cta-card p{margin:0;max-width:780px;color:#6f625a;font-weight:700;line-height:1.75;font-size:clamp(15px,1.5vw,17px)}
.manual-song-cta-card small{display:block;color:#8b7a6c;font-weight:700;line-height:1.5}
.manual-song-cta-btn{margin-top:4px;font-size:16px;padding-inline:30px}
.checkout-consents{display:grid;gap:10px;margin:18px 0;padding:16px;border:1px solid rgba(255,122,24,.22);border-radius:20px;background:#fffaf5;text-align:right}
.checkout-consents label,.custom-consent{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.65;color:#2d2119;font-weight:700}
.checkout-consents input,.custom-consent input{width:18px;height:18px;accent-color:#ff7417;flex:0 0 auto;margin-top:3px}
.checkout-consents a{color:#e96700;font-weight:900;text-decoration:underline;text-underline-offset:3px}
body.custom-song-open{overflow:hidden}.custom-song-modal.hidden{display:none}.custom-song-modal{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:20px;direction:rtl}.custom-song-backdrop{position:absolute;inset:0;background:rgba(17,24,39,.66);backdrop-filter:blur(7px)}.custom-song-dialog{position:relative;width:min(94vw,620px);max-height:92vh;overflow:auto;background:#fff;color:#171717;border-radius:28px;padding:28px;box-shadow:0 28px 90px rgba(0,0,0,.28);border:1px solid rgba(255,122,24,.18)}.custom-song-close{position:absolute;top:16px;left:16px;width:38px;height:38px;border:0;border-radius:999px;background:#f3f4f6;color:#111;font-size:26px;line-height:1;cursor:pointer}.custom-song-dialog h2{margin:12px 0 8px;font-size:clamp(26px,4vw,38px);font-weight:950;letter-spacing:-.035em}.custom-song-dialog p{margin:0 0 18px;color:#5f6368;line-height:1.7}.custom-song-form{display:grid;gap:12px}.custom-song-form input,.custom-song-form textarea{width:100%;border:1px solid rgba(24,24,27,.14);border-radius:17px;background:#fff;padding:14px 15px;font:inherit;box-sizing:border-box}.custom-song-form textarea{resize:vertical;min-height:130px;line-height:1.6}.custom-song-message{min-height:20px;color:#b42318;font-weight:800}.custom-consent{background:#fffaf5;border:1px solid rgba(255,122,24,.18);border-radius:17px;padding:12px}@media(max-width:720px){.manual-song-cta-section{width:calc(100% - 20px);margin:18px auto 8px}.manual-song-cta-card{border-radius:24px;padding:22px 16px}.manual-song-cta-btn{width:100%;white-space:normal}.custom-song-modal{align-items:flex-end;padding:0}.custom-song-dialog{border-radius:26px 26px 0 0;width:100%;max-height:94vh;padding:24px 16px}.checkout-consents{padding:13px}.checkout-consents label,.custom-consent{font-size:13px}}


/* Liry v111 custom popup consent compact fix */
.custom-consent-compact{display:grid!important;grid-template-columns:22px 1fr;align-items:flex-start;gap:10px;text-align:right;line-height:1.35!important;overflow:hidden}
.custom-consent-compact input{grid-column:1;width:18px;height:18px;margin-top:3px!important;min-width:18px}
.custom-consent-text{grid-column:2;display:grid;gap:4px;min-width:0;color:#2d2119}
.custom-consent-text strong{display:block;font-size:14px;font-weight:950;line-height:1.35;color:#1f1712;white-space:normal;overflow-wrap:anywhere}
.custom-consent-text small{display:block;font-size:12px;font-weight:700;line-height:1.45;color:#7a6a5d;white-space:normal;overflow-wrap:anywhere}
@media(max-width:720px){.custom-consent-compact{grid-template-columns:20px 1fr;padding:11px 12px!important}.custom-consent-text strong{font-size:13px}.custom-consent-text small{font-size:11.5px}}


/* Liry v112 checkout consent mobile conversion fix */
.checkout-consents-v112{
  display:grid!important;
  gap:8px!important;
  margin:14px 0 16px!important;
  padding:12px!important;
  border-radius:18px!important;
  background:#fffaf5!important;
  border:1px solid rgba(255,122,24,.16)!important;
  box-sizing:border-box!important;
  max-width:100%!important;
  overflow:hidden!important;
}
.checkout-consents-v112 .checkout-consent-row{
  display:grid!important;
  grid-template-columns:22px minmax(0,1fr)!important;
  gap:9px!important;
  align-items:start!important;
  padding:9px 10px!important;
  margin:0!important;
  border-radius:14px!important;
  background:#fff!important;
  border:1px solid rgba(45,33,25,.07)!important;
  color:#2d2119!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.35!important;
  text-align:right!important;
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
}
.checkout-consents-v112 .checkout-consent-row input{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  margin:1px 0 0!important;
  accent-color:#ff7417!important;
}
.checkout-consents-v112 .checkout-consent-row span{
  display:block!important;
  min-width:0!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
}
.checkout-consents-v112 .checkout-consent-row a{
  color:#e96700!important;
  font-weight:950!important;
  text-decoration:underline!important;
  text-underline-offset:3px!important;
}
@media(max-width:720px){
  .step[data-step="11"] .checkout-consents-v112{
    margin-top:10px!important;
    padding:10px!important;
    gap:7px!important;
  }
  .step[data-step="11"] .checkout-consents-v112 .checkout-consent-row{
    grid-template-columns:20px minmax(0,1fr)!important;
    gap:8px!important;
    padding:8px 9px!important;
    font-size:12.5px!important;
    line-height:1.3!important;
    border-radius:13px!important;
  }
  .step[data-step="11"] .checkout-consents-v112 .checkout-consent-row input{
    width:17px!important;
    height:17px!important;
    min-width:17px!important;
    margin-top:0!important;
  }
}

/* Liry v113 checkout upsells */
.checkout-upsells-v113{
  display:grid;
  gap:10px;
  margin:16px 0 14px;
  padding:14px;
  border-radius:22px;
  background:linear-gradient(180deg,#fff,#fff7ef);
  border:1px solid rgba(255,122,24,.16);
  box-shadow:0 16px 42px rgba(40,22,10,.06);
  text-align:right;
  box-sizing:border-box;
  max-width:100%;
}
.checkout-upsells-head{display:grid;gap:3px;margin-bottom:2px}
.checkout-upsells-head span{color:#ff7417;font-size:13px;font-weight:950}
.checkout-upsells-head strong{color:#1f1712;font-size:15px;font-weight:950;line-height:1.35}
.checkout-upsell-card{
  display:grid;
  grid-template-columns:22px minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  padding:12px;
  border-radius:17px;
  background:#fff;
  border:1px solid rgba(45,33,25,.08);
  cursor:pointer;
  transition:.18s ease;
  box-sizing:border-box;
}
.checkout-upsell-card:hover{transform:translateY(-1px);box-shadow:0 14px 34px rgba(40,22,10,.07)}
.checkout-upsell-card.selected{border-color:#ff7a18;background:#fff3e8;box-shadow:0 14px 34px rgba(255,122,24,.12)}
.checkout-upsell-card.featured{border-color:rgba(255,122,24,.22)}
.checkout-upsell-card input{width:18px;height:18px;accent-color:#ff7417;margin:0}
.checkout-upsell-card span{display:grid;gap:2px;min-width:0}
.checkout-upsell-card b{font-size:14px;color:#1f1712;font-weight:950;line-height:1.3}
.checkout-upsell-card small{font-size:12.5px;color:#75685f;font-weight:700;line-height:1.35}
.checkout-upsell-card em{font-style:normal;color:#ff7417;font-weight:950;white-space:nowrap;font-size:14px}
.checkout-total-v113{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px;padding:12px 14px;border-radius:16px;background:#18110d;color:#fff}
.checkout-total-v113 span{font-weight:800;color:rgba(255,255,255,.76);font-size:13px}
.checkout-total-v113 strong{font-weight:950;font-size:20px;color:#fff}
@media(max-width:720px){
  .checkout-upsells-v113{padding:11px;gap:8px;border-radius:18px;margin:12px 0}
  .checkout-upsells-head strong{font-size:13.5px}
  .checkout-upsell-card{grid-template-columns:20px minmax(0,1fr) auto;gap:8px;padding:10px;border-radius:14px}
  .checkout-upsell-card b{font-size:12.8px}
  .checkout-upsell-card small{font-size:11.5px}
  .checkout-upsell-card em{font-size:12.5px}
  .checkout-total-v113{padding:10px 12px;border-radius:14px}
  .checkout-total-v113 strong{font-size:18px}
}


/* Liry v114 checkout trust section */
.step[data-step="11"] .checkout-upsells-v113{
  border:1px solid rgba(255,122,24,.14)!important;
  background:#fff!important;
}
.step[data-step="11"] .checkout-upsells-head strong{font-size:14px!important;color:#2d2119!important}
.step[data-step="11"] .checkout-upsell-card{
  grid-template-columns:22px minmax(0,1fr) auto!important;
  background:#fff!important;
  border:1px solid rgba(45,33,25,.10)!important;
  box-shadow:0 8px 24px rgba(40,22,10,.035)!important;
}
.step[data-step="11"] .checkout-upsell-card.selected{
  border-color:#ff7417!important;
  box-shadow:0 12px 30px rgba(255,116,23,.13)!important;
}
.checkout-consents-v114{
  display:grid!important;
  gap:8px!important;
  margin:12px 0 16px!important;
  padding:12px!important;
  border-radius:20px!important;
  background:#fff!important;
  border:1px solid rgba(45,33,25,.10)!important;
  box-shadow:0 12px 34px rgba(40,22,10,.055)!important;
  max-width:100%!important;
}
.checkout-consents-v114 .checkout-consent-row{
  display:grid!important;
  grid-template-columns:22px minmax(0,1fr)!important;
  gap:9px!important;
  align-items:start!important;
  padding:10px 11px!important;
  margin:0!important;
  border-radius:14px!important;
  background:#fffaf5!important;
  border:1px solid rgba(255,116,23,.12)!important;
  color:#241812!important;
  font-size:13px!important;
  font-weight:850!important;
  line-height:1.35!important;
  text-align:right!important;
  box-sizing:border-box!important;
  width:100%!important;
}
.checkout-consents-v114 .checkout-consent-row input{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  margin:1px 0 0!important;
  border-radius:6px!important;
  border:2px solid #ff7417!important;
  background:#fff!important;
  display:grid!important;
  place-items:center!important;
}
.checkout-consents-v114 .checkout-consent-row input:checked{
  background:#ff7417!important;
  border-color:#ff7417!important;
}
.checkout-consents-v114 .checkout-consent-row input:checked::after{
  content:'✓'!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:950!important;
  line-height:1!important;
}
.checkout-consents-v114 .checkout-consent-row span{
  display:block!important;
  min-width:0!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
}
.checkout-consents-v114 .checkout-consent-row a{color:#d95f00!important;font-weight:950!important;text-decoration:underline!important;text-underline-offset:3px!important}
@media(max-width:720px){
  .step[data-step="11"] .checkout-upsells-v113{padding:10px!important;gap:8px!important;border-radius:18px!important}
  .step[data-step="11"] .checkout-upsell-card{grid-template-columns:20px minmax(0,1fr) auto!important;padding:10px!important;gap:8px!important}
  .step[data-step="11"] .checkout-upsell-card b{font-size:12.8px!important}
  .step[data-step="11"] .checkout-upsell-card small{font-size:11.5px!important}
  .step[data-step="11"] .checkout-upsell-card em{font-size:12.5px!important}
  .checkout-consents-v114{padding:9px!important;border-radius:16px!important;gap:7px!important;margin:10px 0 14px!important}
  .checkout-consents-v114 .checkout-consent-row{grid-template-columns:20px minmax(0,1fr)!important;padding:8px 9px!important;gap:8px!important;font-size:12px!important;line-height:1.28!important;border-radius:12px!important}
  .checkout-consents-v114 .checkout-consent-row input{width:17px!important;height:17px!important;min-width:17px!important;border-radius:5px!important}
}

/* Liry v115 clean final checkout approvals + remove manual 499 CTA */
.manual-song-cta-section,
.custom-song-modal{
  display:none!important;
}

html body.liry-create-page .step[data-step="11"] .checkout-consents-v115{
  direction:rtl!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  width:100%!important;
  max-width:100%!important;
  margin:14px 0 16px!important;
  padding:12px!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,#fff,#fff8f1)!important;
  border:1px solid rgba(255,116,23,.16)!important;
  box-shadow:0 16px 38px rgba(40,22,10,.06)!important;
  box-sizing:border-box!important;
  overflow:visible!important;
  text-align:right!important;
}

html body.liry-create-page .step[data-step="11"] .checkout-consents-v115 .checkout-consent-row-v115{
  position:relative!important;
  display:grid!important;
  grid-template-columns:24px minmax(0,1fr)!important;
  align-items:center!important;
  gap:9px!important;
  min-height:54px!important;
  width:100%!important;
  margin:0!important;
  padding:12px 13px!important;
  border-radius:17px!important;
  background:#fff!important;
  border:1px solid rgba(32,24,18,.10)!important;
  box-shadow:0 8px 20px rgba(40,22,10,.035)!important;
  color:#241812!important;
  font-size:13px!important;
  font-weight:900!important;
  line-height:1.28!important;
  box-sizing:border-box!important;
  cursor:pointer!important;
  user-select:none!important;
  overflow:hidden!important;
}

html body.liry-create-page .step[data-step="11"] .checkout-consents-v115 .checkout-consent-row-v115:hover{
  border-color:rgba(255,116,23,.32)!important;
}

html body.liry-create-page .step[data-step="11"] .checkout-consents-v115 .checkout-real-check{
  position:absolute!important;
  inset:auto!important;
  right:13px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  max-width:24px!important;
  min-height:24px!important;
  max-height:24px!important;
  margin:0!important;
  padding:0!important;
  opacity:0!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  outline:none!important;
  z-index:3!important;
  cursor:pointer!important;
}

html body.liry-create-page .step[data-step="11"] .checkout-consents-v115 .checkout-check-visual{
  grid-column:1!important;
  display:inline-grid!important;
  place-items:center!important;
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  border-radius:7px!important;
  border:2px solid #ff7417!important;
  background:#fff!important;
  box-shadow:0 4px 12px rgba(255,116,23,.10)!important;
  box-sizing:border-box!important;
  pointer-events:none!important;
}

html body.liry-create-page .step[data-step="11"] .checkout-consents-v115 .checkout-check-visual:after{
  content:"✓"!important;
  display:block!important;
  width:auto!important;
  height:auto!important;
  border:0!important;
  transform:none!important;
  opacity:0!important;
  color:#fff!important;
  font-size:15px!important;
  line-height:1!important;
  font-weight:1000!important;
  direction:ltr!important;
  font-family:Arial, sans-serif!important;
}

html body.liry-create-page .step[data-step="11"] .checkout-consents-v115 .checkout-real-check:checked + .checkout-check-visual{
  background:#ff7417!important;
  border-color:#ff7417!important;
}

html body.liry-create-page .step[data-step="11"] .checkout-consents-v115 .checkout-real-check:checked + .checkout-check-visual:after{
  opacity:1!important;
}

html body.liry-create-page .step[data-step="11"] .checkout-consents-v115 .checkout-real-check:focus-visible + .checkout-check-visual{
  outline:3px solid rgba(255,116,23,.22)!important;
  outline-offset:2px!important;
}

html body.liry-create-page .step[data-step="11"] .checkout-consents-v115 .checkout-consent-row-v115 span{
  grid-column:2!important;
  display:block!important;
  min-width:0!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
}

html body.liry-create-page .step[data-step="11"] .checkout-consents-v115 .checkout-consent-row-v115 a{
  color:#d95f00!important;
  font-weight:950!important;
  text-decoration:underline!important;
  text-underline-offset:3px!important;
}

@media(max-width:900px){
  html body.liry-create-page .step[data-step="11"] .checkout-consents-v115{
    grid-template-columns:1fr!important;
    gap:8px!important;
    padding:10px!important;
    border-radius:18px!important;
    margin:12px 0 14px!important;
  }
  html body.liry-create-page .step[data-step="11"] .checkout-consents-v115 .checkout-consent-row-v115{
    min-height:46px!important;
    grid-template-columns:22px minmax(0,1fr)!important;
    gap:9px!important;
    padding:10px 11px!important;
    border-radius:14px!important;
    font-size:12.5px!important;
    line-height:1.25!important;
  }
  html body.liry-create-page .step[data-step="11"] .checkout-consents-v115 .checkout-check-visual{
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    border-radius:6px!important;
  }
  html body.liry-create-page .step[data-step="11"] .checkout-consents-v115 .checkout-check-visual:after{
    font-size:14px!important;
  }
  html body.liry-create-page .step[data-step="11"] .checkout-consents-v115 .checkout-real-check{
    right:11px!important;
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    max-width:20px!important;
    min-height:20px!important;
    max-height:20px!important;
  }
}
