:root{--relifi-checkout-accent:#1773b0;--relifi-border:#d9d9d9;--relifi-text:#000000;--relifi-muted:#6b7280;--relifi-summary:#fafafa;--relifi-danger:#d82c0d;--relifi-danger-bg:#fff8f7;--relifi-danger-br:#f1c9c3}
body.relifi-shopify-checkout-active{background:#fff;color:var(--relifi-text)}
body.relifi-shopify-checkout-active .site-content,body.relifi-shopify-checkout-active .content-area{max-width:none!important;width:100%!important}
.relifi-shopify-checkout{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--relifi-text)}
.relifi-checkout-shell{max-width:1200px;margin:0 auto;padding:0 18px 36px}
.relifi-checkout-header{height:72px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e6e6e6;margin-bottom:18px}
.relifi-brand{font-size:22px;font-weight:600;letter-spacing:-.02em;color:#111827}
.relifi-cart-icon{color:var(--relifi-checkout-accent);width:24px;height:24px;display:flex;align-items:center;justify-content:center}.relifi-cart-icon svg{width:22px;height:22px}
.relifi-summary-toggle{display:none;align-items:center;justify-content:space-between;width:auto;gap:12px;background:#f1f1f1;border:1px solid #ececec;border-radius:8px;padding:11px 16px;font-size:14px;line-height:1.2;color:#111827;margin-bottom:16px}.relifi-summary-toggle-left{display:flex;align-items:center;gap:10px;font-weight:500}.relifi-summary-toggle-left svg{width:20px;height:20px}
.relifi-summary-toggle-total,.relifi-summary-toggle-total .woocommerce-Price-amount{font-weight:600;color:#111827}
.relifi-checkout-main{display:grid;grid-template-columns:minmax(0,1fr) 490px;align-items:start}
.relifi-checkout-left{padding:10px 64px 20px 0}
.relifi-checkout-right{background:var(--relifi-summary);border-left:1px solid #e6e6e6;padding:42px 40px;min-height:calc(100vh - 92px);position:sticky;top:0}
.relifi-top-alert,.relifi-inline-alert{display:flex;align-items:flex-start;gap:12px;background:var(--relifi-danger-bg);border:1px solid var(--relifi-danger-br);color:#7a271a;border-radius:14px;padding:16px 18px;font-size:14px;line-height:1.45}.relifi-top-alert{margin:10px 0 28px}.relifi-inline-alert{margin:14px 0 18px}
.relifi-alert-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;border:2px solid var(--relifi-danger);color:var(--relifi-danger);font-size:12px;line-height:1;font-weight:700;flex:0 0 18px;margin-top:1px}
.relifi-section-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px}.relifi-section-head h2{font-size:26px;line-height:1.15;font-weight:600;letter-spacing:-.02em;margin:0;color:#111827}.relifi-section-head a{font-size:14px;color:var(--relifi-checkout-accent);text-decoration:underline}.relifi-mt{margin-top:34px}
.relifi-subcopy{font-size:14px;line-height:1.45;color:var(--relifi-muted);margin:0 0 14px}
.relifi-field-block .form-row,.relifi-delivery-grid .form-row{margin:0}
.relifi-contact-block,.relifi-delivery-grid{display:flex;flex-direction:column;gap:12px}
.relifi-row-2col,.relifi-row-3col{display:grid;gap:10px}.relifi-row-2col{grid-template-columns:1fr 1fr}.relifi-row-3col{grid-template-columns:1fr 1fr 1fr}
.relifi-shopify-checkout .woocommerce-input-wrapper,.relifi-shopify-checkout .select2-container{display:block;width:100%}
.relifi-shopify-checkout input.input-text,.relifi-shopify-checkout select,.relifi-shopify-checkout textarea,.relifi-shopify-checkout .select2-selection{height:48px!important;border:1px solid #c9c9c9!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;padding:0 14px!important;font-size:15px!important;font-weight:400!important;color:#111827!important}
.relifi-shopify-checkout textarea{height:auto!important;min-height:90px;padding-top:12px!important}
.relifi-shopify-checkout input::placeholder,.relifi-shopify-checkout textarea::placeholder{color:#757575!important;opacity:1}
.relifi-shopify-checkout label:not(.relifi-checkbox-line){display:none!important}
.relifi-shopify-checkout .select2-selection__rendered{line-height:48px!important;padding-left:0!important;color:#111!important}.relifi-shopify-checkout .select2-selection__arrow{height:48px!important;right:10px!important}
.relifi-checkbox-line{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:400;color:#111827;cursor:pointer}.relifi-checkbox-line input{width:19px;height:19px;border:1px solid #c9c9c9;border-radius:4px}
.relifi-shipping-placeholder{display:flex;align-items:center;justify-content:center;min-height:48px;background:#f5f5f5;border-radius:12px;color:#6b7280;font-size:15px;padding:0 14px;text-align:center}
.relifi-shipping-method-box{display:flex;flex-direction:column;gap:10px}.relifi-shipping-option{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;border:1px solid #d8d8d8;border-radius:12px;padding:12px 14px;background:#fff;color:#111827;text-decoration:none}.relifi-ship-left{display:flex;align-items:center;gap:10px}.relifi-ship-left input{margin:0;width:18px;height:18px}.relifi-ship-title,.relifi-ship-price{font-size:15px;font-weight:400}.relifi-ship-price{white-space:nowrap}
.relifi-payment-wrap .woocommerce-checkout-payment{background:transparent!important;border:none!important}.relifi-payment-wrap ul.payment_methods{border:1px solid #e1e1e1!important;border-radius:14px!important;padding:0!important;background:#fafafa!important}.relifi-payment-wrap ul.payment_methods li{padding:16px 18px!important}.relifi-payment-wrap .payment_box{background:#fff!important}.relifi-payment-wrap .payment_box::before{display:none!important}
.relifi-payment-wrap .woocommerce-terms-and-conditions-wrapper{margin-top:16px}.relifi-payment-wrap .form-row.place-order{padding:18px 0 0!important;margin:0!important;border-top:1px solid #e5e5e5}.relifi-payment-wrap #place_order{float:none!important;width:100%!important;height:54px;border-radius:14px!important;background:var(--relifi-checkout-accent)!important;border:none!important;font-size:18px!important;font-weight:600!important;line-height:54px!important;padding:0 18px!important;color:#fff!important}
.relifi-payment-wrap .woocommerce-privacy-policy-text{font-size:14px;line-height:1.5;color:var(--relifi-muted)}
.relifi-payment-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:155px;background:#f3f3f3;border-radius:14px;color:#949494;padding:18px;text-align:center}.relifi-payment-empty-graphic{width:64px;height:64px;display:flex;align-items:center;justify-content:center;color:#b7b7b7}.relifi-payment-empty-graphic svg{width:64px;height:64px}.relifi-payment-empty-text{font-size:16px;color:#7d7d7d}
.relifi-disabled-pay{display:block;width:100%;height:54px;border:0;border-radius:14px;background:#e9e9e9!important;color:#8b8b8b!important;font-size:18px;font-weight:600;cursor:not-allowed}
.relifi-order-summary-content{max-width:400px}.relifi-summary-items{display:flex;flex-direction:column;gap:16px;margin-bottom:28px}.relifi-summary-item{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:14px}.relifi-summary-thumb{position:relative;width:64px;height:64px;border:1px solid #d8d8d8;border-radius:10px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:visible}.relifi-summary-thumb img{display:block;width:100%;height:100%;object-fit:cover;border-radius:10px}.relifi-summary-qty{position:absolute;top:-8px;right:-8px;min-width:22px;height:22px;border-radius:50%;background:#111827;color:#fff;font-size:12px;font-weight:600;line-height:22px;text-align:center;padding:0 4px}.relifi-summary-name{font-size:15px;line-height:1.35;font-weight:400;color:#111827}.relifi-summary-price,.relifi-summary-price .woocommerce-Price-amount,.relifi-summary-price span{font-size:15px!important;font-weight:400!important;color:#111827!important;white-space:nowrap}
.relifi-coupon-row{display:grid;grid-template-columns:minmax(0,1fr) 70px;gap:10px;margin:0 0 26px}.relifi-coupon-input{height:48px;border:1px solid #cfcfcf;border-radius:12px;background:#fff;padding:0 14px;font-size:15px;color:#111827}.relifi-coupon-apply{height:48px;border:1px solid #d8d8d8;border-radius:12px;background:#efefef;color:#9ca3af;font-size:15px;font-weight:500}.relifi-coupon-apply:not(:disabled){background:#e9ecef;color:#111827}
.relifi-summary-totals{display:flex;flex-direction:column;gap:8px}.relifi-total-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;font-size:15px;line-height:1.45;color:#111827}.relifi-total-row strong,.relifi-total-row .woocommerce-Price-amount,.relifi-total-row strong span{font-weight:400;color:#111827}.relifi-total-muted{color:#6b7280!important;font-weight:400}.relifi-grand-total{margin-top:10px;align-items:flex-end}.relifi-grand-total span:first-child{font-size:17px;font-weight:600;color:#111827}.relifi-grand-total strong{display:flex;align-items:flex-end;gap:6px;font-size:0}.relifi-grand-total strong .relifi-currency{font-size:14px;font-weight:400;color:#6b7280;line-height:1.2}.relifi-grand-total strong .woocommerce-Price-amount,.relifi-grand-total strong .woocommerce-Price-amount span{font-size:32px!important;font-weight:600!important;line-height:1;color:#111827!important}
.woocommerce-error,.woocommerce-info,.woocommerce-message{border-radius:12px!important;border-top:none!important;padding:14px 18px 14px 18px!important;margin:0 0 16px!important}.woocommerce-error,.woocommerce-info{background:#fff7f7!important;border:1px solid var(--relifi-danger-br)!important;color:#7a271a!important}
@media (max-width: 999px){
  .relifi-checkout-shell{padding:0 12px 28px}
  .relifi-checkout-header{height:56px;margin-bottom:0}
  .relifi-brand{font-size:18px}
  .relifi-summary-toggle{display:flex;margin-top:12px}
  .relifi-checkout-main{grid-template-columns:1fr}
  .relifi-checkout-left{padding:18px 0 18px}
  .relifi-checkout-right{order:-1;display:none;position:static;min-height:0;border-left:none;border-top:1px solid #ececec;padding:18px 0 8px;background:#fafafa;margin-top:0}.relifi-checkout-right.is-open{display:block}
  .relifi-order-summary-content{max-width:none;padding:0 4px 12px}
  .relifi-section-head h2{font-size:24px}
  .relifi-row-3col{grid-template-columns:1fr 1fr 1fr}
  .relifi-grand-total strong .woocommerce-Price-amount{font-size:30px}
}
@media (max-width: 640px){
  .relifi-row-2col,.relifi-row-3col{grid-template-columns:1fr 1fr}
  .relifi-row-3col > div:last-child{grid-column:1/-1}
  .relifi-summary-item{grid-template-columns:56px minmax(0,1fr) auto;gap:12px}
  .relifi-summary-thumb{width:56px;height:56px}
  .relifi-coupon-row{grid-template-columns:minmax(0,1fr) 76px}
}

body.relifi-shopify-checkout-active .relifi-checkout-shell, body.relifi-shopify-checkout-active .relifi-checkout-shell *{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif!important;}
.relifi-checkout-right .amount,.relifi-checkout-right .woocommerce-Price-amount,.relifi-checkout-right bdi,.relifi-checkout-right span{color:#111827;}
.relifi-checkout-right .relifi-total-muted,.relifi-checkout-right .relifi-total-muted *{color:#6b7280!important;}
.relifi-shopify-checkout .required{color:#111827!important;font-weight:400!important;}
.relifi-shopify-checkout .woocommerce-input-wrapper input:focus,.relifi-shopify-checkout .woocommerce-input-wrapper select:focus,.relifi-shopify-checkout .relifi-coupon-input:focus{outline:none!important;border-color:#0f172a!important;box-shadow:0 0 0 1px #0f172a inset!important;}
.relifi-payment-wrap label,.relifi-payment-wrap .payment_method_cod label,.relifi-payment-wrap .payment_method_bacs label{display:block!important;font-size:15px!important;font-weight:500!important;color:#111827!important;}
.relifi-payment-wrap .payment_box p{font-size:14px!important;color:#4b5563!important;}

.relifi-checkout-right .relifi-summary-qty{color:#ffffff!important;background:#111827!important;display:inline-block!important;font-size:12px!important;font-weight:600!important;line-height:22px!important;text-align:center!important;z-index:3;}

.relifi-checkout-header .relifi-brand{font-size:22px!important;font-weight:600!important;color:#111827!important;}
.relifi-checkout-left .relifi-section-head h2{font-size:26px!important;font-weight:600!important;letter-spacing:-.02em!important;color:#111827!important;}
.relifi-checkout-left,.relifi-checkout-left p,.relifi-checkout-left label,.relifi-checkout-left input,.relifi-checkout-left select,.relifi-checkout-left textarea{font-size:15px!important;font-weight:400!important;color:#111827!important;}
.relifi-checkout-right .relifi-summary-name,.relifi-checkout-right .relifi-summary-price,.relifi-checkout-right .relifi-summary-price span,.relifi-checkout-right .relifi-total-row,.relifi-checkout-right .relifi-total-row strong,.relifi-checkout-right .relifi-total-row strong span{font-size:15px!important;color:#111827!important;}
.relifi-checkout-right .relifi-grand-total span:first-child{font-size:17px!important;font-weight:600!important;}
.relifi-checkout-right .relifi-grand-total strong .relifi-currency{font-size:14px!important;color:#6b7280!important;}
.relifi-checkout-right .relifi-grand-total strong .woocommerce-Price-amount,.relifi-checkout-right .relifi-grand-total strong .woocommerce-Price-amount span{font-size:32px!important;font-weight:600!important;color:#111827!important;}
