/* Product purchase actions: native Add To Cart + Pay After Activation in one clean row. */
.single-product form.cart{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;width:100%!important;margin-bottom:14px!important}
.single-product form.cart .quantity{flex:0 0 auto!important;margin:0!important}
.single-product form.cart .single_add_to_cart_button{flex:0 0 auto!important;margin:0!important}
.sfh-paa-inline{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;margin:0!important;padding:0!important}
.sfh-paa-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;vertical-align:middle!important;min-height:46px!important;padding:11px 20px!important;margin:0!important;border:0!important;border-radius:5px!important;background:#ff5257!important;color:#fff!important;text-decoration:none!important;font-weight:800!important;font-size:16px!important;line-height:1.2!important;box-sizing:border-box!important;position:relative!important;overflow:hidden!important;isolation:isolate!important;box-shadow:0 5px 14px rgba(255,82,87,.24)!important;transition:transform .18s ease,box-shadow .18s ease,background .18s ease!important;animation:sfh-paa-pulse 3.2s ease-in-out infinite!important}
.sfh-paa-button:before{content:"";position:absolute;top:0;bottom:0;left:-70%;width:42%;background:linear-gradient(110deg,transparent,rgba(255,255,255,.42),transparent);transform:skewX(-18deg);animation:sfh-paa-shine 4.5s ease-in-out infinite;z-index:-1}
.sfh-paa-button:hover{background:#f0444a!important;color:#fff!important;transform:translateY(-2px) scale(1.01)!important;box-shadow:0 8px 20px rgba(255,82,87,.32)!important}
.sfh-paa-button:active{transform:translateY(0) scale(.99)!important;box-shadow:0 3px 9px rgba(255,82,87,.22)!important}
.sfh-paa-flash{display:inline-block!important;margin-right:7px!important;font-size:20px!important;line-height:1!important;filter:saturate(1.25)!important;transform:rotate(-5deg)!important;animation:sfh-paa-flash 2.2s ease-in-out infinite!important}
.single-product form.cart .sfh-paa-note{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;flex:0 0 100%!important;width:100%!important;margin:1px 0 0!important;padding:0!important;color:#24364b!important;font-size:13px!important;line-height:1.3!important}
.sfh-paa-note small{font-size:11px!important;color:#64748b!important}
.sfh-check{font-size:17px!important;font-weight:800!important;color:#24364b!important;line-height:1!important}
@keyframes sfh-paa-pulse{0%,100%{box-shadow:0 5px 14px rgba(255,82,87,.24)}50%{box-shadow:0 7px 21px rgba(255,82,87,.38)}}
@keyframes sfh-paa-shine{0%,55%{left:-70%;opacity:0}62%{opacity:1}76%,100%{left:125%;opacity:0}}
@keyframes sfh-paa-flash{0%,100%{transform:rotate(-5deg) scale(1)}50%{transform:rotate(3deg) scale(1.08)}}
.sfh-checkout-wrap{max-width:900px;margin:24px auto;padding:0 14px;box-sizing:border-box}.sfh-checkout-card{background:#fff;border-radius:12px;box-shadow:0 8px 28px rgba(15,23,42,.08);padding:24px;box-sizing:border-box}.sfh-checkout-heading{text-align:center;margin-bottom:16px}.sfh-small-brand{font-weight:800;letter-spacing:.14em;font-size:10px;color:#1769aa}.sfh-checkout-heading h1,.sfh-success-card h1{margin:6px 0 4px;font-size:27px;line-height:1.15}.sfh-checkout-heading p{margin:0;color:#64748b;font-size:14px}

.sfh-product-summary{padding:11px 13px;background:#f6f9fc;border:1px solid #e4eaf1;border-radius:7px;margin-bottom:16px}.sfh-summary-items{width:100%}.sfh-summary-label{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:#64748b;margin-bottom:3px}.sfh-summary-line{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:5px 0;border-bottom:1px solid #e8eef5;line-height:1.25;font-size:14px}.sfh-summary-line:last-child{border-bottom:0}.sfh-summary-line strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sfh-summary-line span{white-space:nowrap;color:#526174;font-size:13px}.sfh-summary-price{text-align:right;font-size:19px;font-weight:800;white-space:nowrap;margin-top:7px;padding-top:7px;border-top:1px solid #dfe7ef}

#sfh-checkout-form label{display:block;font-weight:700;font-size:14px;margin:10px 0 5px}#sfh-checkout-form label span{color:#d33}#sfh-checkout-form input{width:100%;height:43px;padding:0 11px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;font-size:15px;box-sizing:border-box}#sfh-checkout-form input:focus{outline:2px solid rgba(23,105,170,.14);border-color:#1769aa}.sfh-form-row{margin:0}

.sfh-country-picker{position:relative}.sfh-country-search{background:#fff!important;margin:0!important}.sfh-country-options{display:none;position:absolute;z-index:50;left:0;right:0;top:46px;max-height:145px;overflow:auto;background:#fff;border:1px solid #cbd5e1;border-radius:6px;box-shadow:0 8px 20px rgba(15,23,42,.12);padding:4px}.sfh-country-picker.is-open .sfh-country-options{display:block}.sfh-country-option{display:block;width:100%;border:0;background:#fff;text-align:left;padding:7px 9px;border-radius:4px;font-size:13px;cursor:pointer;color:#172033}.sfh-country-option:hover,.sfh-country-option.is-highlighted{background:#edf5fb}.sfh-country-selected{display:none;margin-top:5px;font-size:11px;color:#16803a;font-weight:700}

.sfh-payment-box{margin:14px 0;padding:11px 13px;border:1px solid #b8d5ee;background:#f2f8fd;border-radius:7px}.sfh-payment-title{font-size:15px;font-weight:800;margin-bottom:3px}.sfh-payment-box p{margin:0;color:#425466;line-height:1.4;font-size:13px}.sfh-place-order{width:100%;min-height:46px;border:0;border-radius:6px;background:#1769aa;color:#fff;font-size:16px;font-weight:800;cursor:pointer}.sfh-place-order:hover{background:#12558b}.sfh-place-order:disabled{opacity:.65;cursor:wait}.sfh-alert{padding:12px;background:#fff3f3;border:1px solid #f1b8b8;border-radius:7px;color:#8a1c1c;font-size:13px}
.sfh-help-box{margin-top:15px;padding-top:12px;border-top:1px solid #e5e7eb;text-align:center;color:#526174;line-height:1.45;font-size:12px}.sfh-help-box strong{color:#172033}

/* Success page */
.sfh-success-card{text-align:center;border-top:5px solid #16803a}.sfh-success-icon{width:54px;height:54px;border-radius:50%;background:#16803a;color:#fff;display:flex;align-items:center;justify-content:center;font-size:29px;font-weight:800;margin:0 auto 12px}.sfh-success-banner{display:block;background:#e8f8ee!important;border:1px solid #8fd0a4!important;color:#16803a!important;border-radius:6px;padding:12px!important;font-weight:800;font-size:16px!important;margin-bottom:15px;text-align:center;letter-spacing:.02em}.sfh-success-card h1{color:#172033}.sfh-success-lead{font-size:15px;color:#526174;margin:0 auto 10px;max-width:600px}.sfh-order-number{display:inline-block;margin:7px 0 15px;padding:7px 12px;border-radius:18px;background:#f1f5f9;font-weight:800;font-size:14px}.sfh-email-notice{margin:12px 0;padding:12px 14px;border-radius:7px;background:#eaf8ef;border:1px solid #9bd4ad;color:#176b39;text-align:left;font-size:13px;line-height:1.5}.sfh-email-notice strong{display:inline}.sfh-download-box,.sfh-order-details{ text-align:left;border:1px solid #e4eaf1;border-radius:7px;padding:14px;margin-top:12px}.sfh-download-box{background:#f7fcf8;border-color:#b9d8c3}.sfh-download-box h2,.sfh-order-details h2{font-size:17px;margin:0 0 5px}.sfh-download-box>p{color:#526174;margin:0 0 8px;line-height:1.45;font-size:13px}.sfh-download-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid #dceee2}.sfh-download-product{display:flex;flex-direction:column;gap:2px;min-width:0;font-size:13px}.sfh-download-product span{font-size:11px;color:#64748b}.sfh-download-button{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:8px 13px;background:#1769aa;color:#fff!important;text-decoration:none!important;border-radius:5px;font-weight:800;white-space:nowrap;font-size:13px}.sfh-download-button:hover{background:#12558b}.sfh-download-button.sfh-downloaded{background:#16803a!important}.sfh-download-button.sfh-downloaded:hover{background:#12672f!important}.sfh-detail-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:8px 0;border-bottom:1px solid #eef2f7;font-size:13px}.sfh-detail-row:last-child{border-bottom:0}.sfh-detail-row strong{white-space:nowrap}.sfh-step{display:flex;gap:10px;margin:10px 0;line-height:1.4}.sfh-step b{width:24px;height:24px;flex:0 0 24px;border-radius:50%;background:#1769aa;color:#fff;display:flex;align-items:center;justify-content:center}

@media(max-width:600px){.sfh-paa-button{min-height:43px;padding:10px 14px!important;font-size:14px!important;margin-left:6px!important}.sfh-paa-flash{font-size:18px;margin-right:5px}.sfh-paa-note{font-size:11px;margin-top:8px}.sfh-paa-note small{font-size:10px}.sfh-checkout-wrap{margin:10px auto;padding:0 7px}.sfh-checkout-card{padding:16px 12px;border-radius:9px;box-shadow:0 5px 18px rgba(15,23,42,.07)}.sfh-checkout-heading{margin-bottom:11px}.sfh-checkout-heading h1,.sfh-success-card h1{font-size:23px}.sfh-checkout-heading p{font-size:12px}.sfh-product-summary{padding:9px 10px;margin-bottom:10px}.sfh-summary-line{font-size:13px;gap:8px;padding:4px 0}.sfh-summary-line span{font-size:12px}.sfh-summary-price{font-size:18px;margin-top:5px;padding-top:5px}.sfh-form-row{display:grid;grid-template-columns:82px minmax(0,1fr);align-items:center;column-gap:8px;margin:7px 0}.sfh-form-row label{margin:0;font-size:12px}.sfh-form-row input{height:38px;font-size:14px}.sfh-country-picker{grid-column:2}.sfh-country-picker .sfh-country-search{height:38px}.sfh-country-options{top:41px;max-height:125px}.sfh-country-option{font-size:12px;padding:6px 8px}.sfh-payment-box{margin:9px 0;padding:9px 10px}.sfh-payment-title{font-size:13px}.sfh-payment-box p{font-size:11.5px;line-height:1.35}.sfh-place-order{min-height:42px;font-size:14px}.sfh-help-box{margin-top:10px;padding-top:9px;font-size:11.5px;line-height:1.35}.sfh-success-banner{font-size:13px!important;padding:10px!important;margin-bottom:10px}.sfh-success-icon{width:46px;height:46px;font-size:24px;margin-bottom:9px}.sfh-success-lead{font-size:13px}.sfh-order-number{font-size:12px;margin:5px 0 10px}.sfh-email-notice{font-size:11.5px;padding:10px 11px;margin:9px 0}.sfh-download-box,.sfh-order-details{padding:10px;margin-top:9px}.sfh-download-box h2,.sfh-order-details h2{font-size:14px}.sfh-download-box>p{font-size:11.5px}.sfh-download-row{padding:7px 0;gap:7px}.sfh-download-product{font-size:12px}.sfh-download-product span{font-size:9.5px}.sfh-download-button{min-height:35px;padding:7px 10px;font-size:11px}.sfh-detail-row{font-size:11.5px;padding:6px 0}.sfh-success-card .sfh-help-box{font-size:11px}}

/* Cart controls on custom checkout */
.sfh-summary-product{min-width:0;display:flex;flex-direction:column;gap:5px}.sfh-cart-controls{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.sfh-cart-controls>a:not(.sfh-remove-item){display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:1px solid #cbd5e1;border-radius:4px;background:#fff;color:#1769aa!important;text-decoration:none!important;font-weight:800;font-size:16px;line-height:1}.sfh-cart-controls>span{min-width:18px;text-align:center;font-size:12px;font-weight:700;color:#374151}.sfh-cart-controls .sfh-remove-item{font-size:11px;color:#b42318!important;text-decoration:none!important;margin-left:4px;font-weight:700}.sfh-cart-controls .sfh-remove-item:hover{text-decoration:underline!important}.sfh-summary-line{align-items:center}.sfh-summary-line>span{align-self:center}
@media(max-width:600px){.sfh-summary-product{gap:4px}.sfh-cart-controls>a:not(.sfh-remove-item){width:22px;height:22px;font-size:15px}.sfh-cart-controls .sfh-remove-item{font-size:10px}}
.sfh-continue-shopping{text-align:right;margin:-7px 0 12px}.sfh-continue-shopping a{font-size:12px;font-weight:700;color:#1769aa!important;text-decoration:none!important}.sfh-continue-shopping a:hover{text-decoration:underline!important}.sfh-continue-shopping a:before{content:""}@media(max-width:600px){.sfh-continue-shopping{margin:-4px 0 9px}.sfh-continue-shopping a{font-size:11px}}

@media(max-width:600px){
.single-product form.cart{gap:6px!important;margin-bottom:12px!important}
.single-product form.cart .quantity{width:auto!important}
.single-product form.cart .quantity .qty{width:50px!important;min-width:50px!important;height:43px!important;margin:0!important;padding:0 5px!important;text-align:center!important;box-sizing:border-box!important}
.single-product form.cart .single_add_to_cart_button{min-height:43px!important;height:43px!important;padding:10px 12px!important;font-size:14px!important;line-height:1.1!important}
.sfh-paa-button{min-height:43px!important;height:43px!important;padding:10px 13px!important;font-size:13.5px!important;white-space:nowrap!important}
.sfh-paa-flash{font-size:18px!important;margin-right:5px!important}
.single-product form.cart .sfh-paa-note{gap:6px!important;margin-top:2px!important;font-size:11px!important;line-height:1.3!important}
.sfh-paa-note small{font-size:10px!important}
.sfh-check{font-size:16px!important}
}

/* Final purchase-row refinement: keep quantity, Add To Cart and PAA on one row. */
.single-product form.cart .quantity{flex:0 0 auto!important}
.single-product form.cart .single_add_to_cart_button{flex:0 1 auto!important;margin:0!important}
.single-product form.cart .sfh-paa-inline{display:inline-flex!important;align-items:center!important;flex:0 1 auto!important;min-width:0!important;margin:0!important;padding:0!important}
.single-product form.cart .sfh-paa-button{background:#ff5257!important;color:#fff!important;border-radius:6px!important;font-weight:800!important;box-shadow:0 5px 16px rgba(255,82,87,.30)!important;white-space:nowrap!important}
.single-product form.cart .sfh-paa-button:hover{background:#f0444a!important;color:#fff!important}
@media(max-width:600px){
  .single-product form.cart{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px!important}
  .single-product form.cart .single_add_to_cart_button{flex:1 1 0!important;min-width:0!important;padding-left:10px!important;padding-right:10px!important}
  .single-product form.cart .sfh-paa-inline{flex:1 1 0!important;min-width:0!important}
  .single-product form.cart .sfh-paa-button{width:100%!important;min-width:0!important;padding:10px 8px!important;font-size:12.5px!important}
  .single-product form.cart .sfh-paa-flash{font-size:18px!important;margin-right:4px!important}
  .single-product form.cart .sfh-paa-note{flex:0 0 100%!important;width:100%!important;margin-top:3px!important}
}
/* SoftFlareHub 10.0 — desktop checkout compact layout.
 * Mobile layout is intentionally left to the existing max-width:600px rules.
 */
@media (min-width:601px){
  .sfh-checkout-wrap{
    max-width:1000px!important;
    margin:12px auto!important;
    padding:0 12px!important;
  }
  .sfh-checkout-card{
    padding:18px 22px!important;
    border-radius:10px!important;
  }
  .sfh-checkout-heading{margin-bottom:10px!important}
  .sfh-small-brand{font-size:9px!important}
  .sfh-checkout-heading h1{font-size:25px!important;margin:4px 0 2px!important}
  .sfh-checkout-heading p{font-size:12px!important}

  .sfh-product-summary{
    padding:9px 12px!important;
    margin-bottom:8px!important;
  }
  .sfh-summary-label{font-size:8px!important;margin-bottom:2px!important}
  .sfh-summary-line{font-size:13px!important;padding:4px 0!important;gap:10px!important}
  .sfh-summary-line span{font-size:12px!important}
  .sfh-summary-price{font-size:17px!important;margin-top:4px!important;padding-top:4px!important}
  .sfh-continue-shopping{margin:-3px 0 7px!important}
  .sfh-continue-shopping a{font-size:11px!important}

  #sfh-checkout-form{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    column-gap:16px!important;
    row-gap:7px!important;
  }
  #sfh-checkout-form .sfh-form-row{
    margin:0!important;
    min-width:0!important;
  }
  #sfh-checkout-form .sfh-form-row label{
    font-size:12px!important;
    margin:0 0 3px!important;
  }
  #sfh-checkout-form .sfh-form-row input{
    height:39px!important;
    padding:0 10px!important;
    font-size:13px!important;
  }
  #sfh-checkout-form .sfh-payment-box,
  #sfh-checkout-form .sfh-place-order{
    grid-column:1 / -1!important;
  }
  #sfh-checkout-form .sfh-payment-box{
    margin:4px 0 0!important;
    padding:8px 11px!important;
  }
  #sfh-checkout-form .sfh-payment-title{font-size:13px!important;margin-bottom:2px!important}
  #sfh-checkout-form .sfh-payment-box p{font-size:11.5px!important;line-height:1.3!important}
  #sfh-checkout-form .sfh-place-order{
    min-height:42px!important;
    font-size:15px!important;
    margin:0!important;
  }
  .sfh-help-box{
    margin-top:8px!important;
    padding-top:7px!important;
    font-size:11px!important;
    line-height:1.3!important;
  }
}


/* SoftFlareHub 10.1 — mobile purchase-row alignment.
 * Keep quantity + Add To Cart + Pay After Activation on one clean row
 * without horizontal overflow. PAA is intentionally slightly larger.
 */
@media (max-width:600px){
  .single-product form.cart{
    display:grid!important;
    grid-template-columns:50px minmax(0,1fr) minmax(0,1.12fr)!important;
    align-items:center!important;
    column-gap:7px!important;
    row-gap:0!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    overflow:visible!important;
  }
  .single-product form.cart .quantity{
    grid-column:1!important;
    grid-row:1!important;
    width:50px!important;
    min-width:50px!important;
    margin:0!important;
  }
  .single-product form.cart .quantity .qty{
    width:50px!important;
    min-width:50px!important;
    height:46px!important;
    padding:0 3px!important;
    font-size:14px!important;
  }
  .single-product form.cart .single_add_to_cart_button{
    grid-column:2!important;
    grid-row:1!important;
    width:100%!important;
    min-width:0!important;
    height:46px!important;
    min-height:46px!important;
    margin:0!important;
    padding:9px 7px!important;
    font-size:14px!important;
    line-height:1.1!important;
    white-space:nowrap!important;
    box-sizing:border-box!important;
  }
  .single-product form.cart .sfh-paa-inline{
    grid-column:3!important;
    grid-row:1!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }
  .single-product form.cart .sfh-paa-button{
    width:100%!important;
    min-width:0!important;
    height:50px!important;
    min-height:50px!important;
    margin:0!important;
    padding:10px 6px!important;
    border-radius:7px!important;
    font-size:14px!important;
    line-height:1.05!important;
    white-space:nowrap!important;
    box-sizing:border-box!important;
    display:inline-flex!important;
  }
  .single-product form.cart .sfh-paa-flash{
    font-size:18px!important;
    margin-right:4px!important;
    flex:0 0 auto!important;
  }
  .single-product form.cart .sfh-paa-note{
    grid-column:1 / -1!important;
    grid-row:2!important;
    width:100%!important;
    flex:none!important;
    margin:9px 0 0!important;
    padding:0!important;
    display:flex!important;
    align-items:flex-start!important;
    gap:7px!important;
    font-size:11.5px!important;
    line-height:1.35!important;
    box-sizing:border-box!important;
  }
  .single-product form.cart .sfh-paa-note small{
    font-size:10.5px!important;
    line-height:1.35!important;
  }
}
