/* Proposed checkout presentation. Include after native _checkout.css and Fresh
   final/parity styles. Scope is the actual checkout or its native guest gate.
   Native active/hidden panes, ng-show, billing visibility, payment methods,
   contract checks, errors, totals, CSRF and provider content stay authoritative. */

body.fr-store:has(#checkoutSection),
body.fr-store:has(#continue_form){--fr-checkout-font:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:#fff;color:#222;font-family:var(--fr-checkout-font);font-size:14px;line-height:1.5;letter-spacing:0}
body.fr-store:has(#checkoutSection) #page>.page-container:has(#checkoutSection){padding:0!important;margin:0;background:#fff}
body.fr-store #checkoutSection{width:100%;margin:0;padding:0;background:#fff;color:#222;font:400 14px/1.5 var(--fr-checkout-font,system-ui,sans-serif);letter-spacing:0}
body.fr-store #checkoutSection>.container{width:calc(100% - 64px);max-width:1100px;margin:0 auto;padding:0}
body.fr-store #checkoutSection>.container>.row{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr);align-items:start;gap:0;margin:0}
body.fr-store #checkoutSection>.container>.row::before,
body.fr-store #checkoutSection>.container>.row::after{content:none}
body.fr-store #checkoutSection #checkoutColoumnLeft{float:none;width:auto!important;min-width:0;margin:0;padding:36px 48px 64px 0}
body.fr-store #checkoutSection #checkoutColoumnRight{position:sticky!important;top:24px!important;float:none;width:auto!important;min-width:0;margin:0!important;padding:36px 0 48px 36px;border-left:1px solid #dedede;background:#f7f7f7}
body.fr-store #checkoutSection #checkoutColoumnRight>.page-column{padding:0;margin:0}
body.fr-store #checkoutSection .checkout-box{margin:0;padding:0!important;border:0;border-radius:0;box-shadow:none;background:transparent}
body.fr-store #checkoutSection .page-header{margin:0 0 24px;padding:0;border:0;color:#222;font:600 20px/28px var(--fr-checkout-font,system-ui,sans-serif);text-transform:none;letter-spacing:0}
body.fr-store #checkoutSection a{color:#222}
body.fr-store #checkoutSection .checkout-steps{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;width:100%;margin:0 0 32px;padding:0;list-style:none}
body.fr-store #checkoutSection .checkout-steps li{position:relative;float:none;flex:0 0 auto;width:auto;min-width:0;margin:0;padding:0;border:0;background:transparent}
body.fr-store #checkoutSection .checkout-steps li+li::before{position:absolute;left:-11px;top:4px;content:'›';color:#999;font:400 14px/20px var(--fr-checkout-font,system-ui,sans-serif)}
body.fr-store #checkoutSection .checkout-steps li a,
body.fr-store #checkoutSection .checkout-steps li.active a{display:block;margin:0;padding:4px 0;border:0;border-radius:0;background:transparent;color:#6b6b6b;text-align:left;text-decoration:none;font:400 12px/20px var(--fr-checkout-font,system-ui,sans-serif);text-transform:none;letter-spacing:0}
body.fr-store #checkoutSection .checkout-steps li.active a{color:#111;font-weight:600}
body.fr-store #checkoutSection .checkout-steps i{display:none}
body.fr-store #checkoutSection .cwidget{margin:0 0 28px}
body.fr-store #checkoutSection .cwidget-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:0 0 16px;padding:0;border:0}
body.fr-store #checkoutSection .cwidget-title{margin:0;padding:0;color:#222;font:600 18px/26px var(--fr-checkout-font,system-ui,sans-serif);text-transform:none;letter-spacing:0}
body.fr-store #checkoutSection .cwidget-title>.fa{display:none}
body.fr-store #checkoutSection .cwidget-toolbar{float:none;margin-left:auto;font-size:12px}
body.fr-store #checkoutSection .cwidget-toolbar .btn{min-height:30px;padding:4px 8px;border-color:#d8d8d8;border-radius:5px;background:#fff;color:#333;font:400 12px/20px var(--fr-checkout-font,system-ui,sans-serif)}
body.fr-store #checkoutSection .cwidget-body{padding:0}
body.fr-store #checkoutSection .inline-user-register-form-container{padding:0}
body.fr-store #checkoutSection .shiping-address-form-container,
body.fr-store #checkoutSection .billing-address-form-container{padding-top:0}
body.fr-store #checkoutSection .shiping-address-form-container>.form-group,
body.fr-store #checkoutSection .billing-address-form-container>.form-group{float:none;width:100%;padding-left:0;padding-right:0}
body.fr-store #checkoutSection .form-group{margin-bottom:14px}
body.fr-store #checkoutSection .form-control{display:block;width:100%;height:52px;min-height:52px;margin:0;padding:14px 12px;border:1px solid #d4d4d4;border-radius:6px;background:#fff;color:#222;box-shadow:none;font:400 14px/22px var(--fr-checkout-font,system-ui,sans-serif);letter-spacing:0}
body.fr-store #checkoutSection textarea.form-control{height:auto;min-height:96px;resize:vertical}
body.fr-store #checkoutSection .form-control:focus{border-color:#333;outline:0;box-shadow:0 0 0 1px #333}
body.fr-store #checkoutSection .form-control:disabled,
body.fr-store #checkoutSection .form-control[readonly]{background:#f3f3f3;color:#666;opacity:1}
body.fr-store #checkoutSection .form-group>label:not(.thick){color:#555;font:400 12px/18px var(--fr-checkout-font,system-ui,sans-serif)}
body.fr-store #checkoutSection .lgf-group>label:not(.thick){top:5px;padding:0 12px;font-size:11px;line-height:15px}
body.fr-store #checkoutSection .lgf-group-floating .form-control{padding-top:22px;padding-bottom:7px}
body.fr-store #checkoutSection .lgf-group-floating .intl-tel-input .flag-dropdown,
body.fr-store #checkoutSection .lgf-group-floating .intl-tel-input .iti__country-container{margin-top:14px}
body.fr-store #checkoutSection region-list{display:block;width:100%}
body.fr-store #checkoutSection .input-icon>.fa{line-height:50px}
body.fr-store #checkoutSection .has-error .form-control{border-color:#b42318;box-shadow:0 0 0 1px #b42318}
body.fr-store #checkoutSection .form-control-error{position:static;display:block;max-width:100%;margin:0 0 6px;padding:0;border:0;background:transparent;color:#b42318;font:400 12px/18px var(--fr-checkout-font,system-ui,sans-serif)}
body.fr-store #checkoutSection .alert{margin:12px 0;padding:14px 16px;border-radius:6px;font:400 13px/20px var(--fr-checkout-font,system-ui,sans-serif)}
body.fr-store #checkoutSection .btn-success,
body.fr-store #checkoutSection .btn-primary{min-height:52px;padding:14px 20px;border:1px solid #111;border-radius:6px;background:#111;color:#fff;box-shadow:none;font:600 14px/22px var(--fr-checkout-font,system-ui,sans-serif);text-transform:none;letter-spacing:0}
body.fr-store #checkoutSection .btn-success:hover:not(:disabled),
body.fr-store #checkoutSection .btn-primary:hover:not(:disabled){border-color:#333;background:#333}
body.fr-store #checkoutSection .btn:disabled,
body.fr-store #checkoutSection .btn.disabled{opacity:.5;cursor:not-allowed}
body.fr-store #checkoutSection .btn:focus-visible,
body.fr-store #checkoutSection a:focus-visible{outline:2px solid #222;outline-offset:3px}
body.fr-store #checkoutSection .inline-address-form label.thick{margin-top:0}
body.fr-store #checkoutSection label.thick{font-weight:400}
body.fr-store #checkoutSection input.checkbox+.lbl{font:400 13px/20px var(--fr-checkout-font,system-ui,sans-serif)}
body.fr-store #checkoutSection input.checkbox:checked+.lbl::before{border-color:#111;background:#111;color:#fff}
body.fr-store #checkoutSection input.checkbox:focus-visible+.lbl::before{outline:2px solid #222;outline-offset:3px}
body.fr-store #checkoutSection .list-check-item{position:relative;display:block;margin:0 0 10px;padding:0}
body.fr-store #checkoutSection .list-check-item>input.checkbox{top:15px;left:15px;width:18px;height:18px;margin:0}
body.fr-store #checkoutSection .list-check-item>.lbl{display:block;width:100%;min-height:50px;margin:0;padding:14px 14px 14px 44px;border:1px solid #dedede;border-radius:6px;background:#fff;line-height:20px}
body.fr-store #checkoutSection .list-check-item>.lbl::before{position:absolute;left:14px;top:15px;width:18px;min-width:18px;height:18px;margin:0;border-color:#b6b6b6;line-height:16px;box-shadow:none}
body.fr-store #checkoutSection .list-check-item>input:checked+.lbl{border-color:#333;background:#fafafa}
body.fr-store #checkoutSection .list-check-item>input[type=radio]+.lbl::before{border-radius:50%;content:''}
body.fr-store #checkoutSection .list-check-item>input[type=radio]:checked+.lbl::before{content:'';box-shadow:inset 0 0 0 4px #fff}
body.fr-store #checkoutSection .cargo-company-item{float:none;padding:0}
body.fr-store #checkoutSection .boxwidget{margin:0 0 14px;border:1px solid #dedede;border-radius:8px;overflow:visible;background:#fff}
body.fr-store #checkoutSection .boxwidget-header{padding:12px 14px;border-bottom:1px solid #eee}
body.fr-store #checkoutSection .boxwidget-title{padding:0;font:600 13px/20px var(--fr-checkout-font,system-ui,sans-serif)}
body.fr-store #checkoutSection #checkoutAddress .boxwidget .boxwidget-body{height:auto;min-height:0;padding:14px;overflow:visible;font-size:13px;line-height:20px}
body.fr-store #checkoutSection .boxwidget-footer{height:auto;min-height:48px;padding:8px 12px;border-top:1px solid #eee}
body.fr-store #checkoutSection .boxwidget-footer::after{display:block;clear:both;content:''}
body.fr-store #checkoutSection .payment-tabs{display:flex;flex-wrap:wrap;gap:0;margin:0;padding:0;border:1px solid #dedede;border-radius:6px;overflow:hidden}
body.fr-store #checkoutSection .payment-tabs li{flex:1 1 140px;margin:0;padding:14px 16px;border:0;border-right:1px solid #dedede;background:#fff;color:#555;font:500 13px/20px var(--fr-checkout-font,system-ui,sans-serif)}
body.fr-store #checkoutSection .payment-tabs li:last-child{border-right:0}
body.fr-store #checkoutSection .payment-tabs li.active{background:#f4f4f4;color:#111;box-shadow:inset 0 -2px #111}
body.fr-store #checkoutSection .payment-panes{padding:20px 0 0}
body.fr-store #checkoutSection .payment-pane>.row>.cc-form-container{float:none;width:100%}
body.fr-store #checkoutSection .payment-pane>.row>div:has(>.cc-preview-wrapper){display:none}
body.fr-store #checkoutSection .installment-item>.lbl{min-height:108px;padding:24px 10px 12px;border:1px solid #dedede;border-radius:6px;background:#fff;color:#222;font-size:12px}
body.fr-store #checkoutSection .installment-item input:checked+.lbl{border-color:#222;background:#fafafa}
body.fr-store #checkoutSection .installment-item .blue{color:#222}
body.fr-store #checkoutSection .content-payment{font-size:13px;line-height:21px;overflow-wrap:anywhere}
body.fr-store #checkoutSection .content-payment img{max-width:100%;height:auto}

/* Native summary data and Bootstrap collapse controls are retained. */
body.fr-store #checkoutSection #checkoutSummary{padding:0!important}
body.fr-store #checkoutSection #checkoutSummary>.col-xs-12{float:none;width:100%;padding:0}
body.fr-store #checkoutSection #checkoutSummary>.col-xs-12>.row{margin-left:0;margin-right:0}
body.fr-store #checkoutSection #checkoutSummary .collapse-wrap{margin:0 0 20px;border-bottom:1px solid #dedede}
body.fr-store #checkoutSection #checkoutSummary .collapse-wrap>.title{display:flex;align-items:center;gap:8px;padding:0 0 14px;color:#444;font:500 13px/20px var(--fr-checkout-font,system-ui,sans-serif);cursor:pointer}
body.fr-store #checkoutSection #checkoutSummary .line_row{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:14px;padding:0 0 16px;border:0}
body.fr-store #checkoutSection #checkoutSummary .line_row>.col-xs-3,
body.fr-store #checkoutSection #checkoutSummary .line_row>.col-xs-9{float:none;width:auto;min-width:0;padding:0}
body.fr-store #checkoutSection #checkoutSummary .line_row>.clearfix{display:none}
body.fr-store #checkoutSection #checkoutSummary .line_row img{display:block;width:64px;height:64px;border:1px solid #ddd;border-radius:8px;background:#fff;object-fit:contain}
body.fr-store #checkoutSection #checkoutSummary .line_row p{margin:0 0 4px;font:400 13px/20px var(--fr-checkout-font,system-ui,sans-serif);overflow-wrap:anywhere}
body.fr-store #checkoutSection #checkoutSummary .table{width:100%;margin:20px 0 24px;border:0;font:400 13px/20px var(--fr-checkout-font,system-ui,sans-serif)}
body.fr-store #checkoutSection #checkoutSummary .table td{padding:6px 0;border:0;vertical-align:top}
body.fr-store #checkoutSection #checkoutSummary .table td:nth-child(2){display:none}
body.fr-store #checkoutSection #checkoutSummary .table td:last-child{padding-left:16px;white-space:nowrap;text-align:right}
body.fr-store #checkoutSection #checkoutSummary .table tr:has(>[data-lang=total]) td{padding-top:20px;border-top:1px solid #dedede;font-size:16px;font-weight:500}
body.fr-store #checkoutSection #checkoutSummary .table td.h3{margin:0;font-size:22px;line-height:28px;font-weight:600}
body.fr-store #checkoutSection #checkoutSummary .showTabPayment>.row{margin:16px 0 0}
body.fr-store #checkoutSection #checkoutSummary .showTabPayment .list-check-item>.lbl{background:transparent;font-size:12px}
body.fr-store #checkoutSection:has(.checkout-pane-complete.active)>.container>.row{grid-template-columns:minmax(0,1fr)}
body.fr-store #checkoutSection:has(.checkout-pane-complete.active) #checkoutColoumnLeft{padding-right:0}

/* A small checkout header retains the actual home/cart links. */
body.fr-store:is(:has(#checkoutSection),:has(#continue_form)) .fr-header{position:relative!important;top:0!important;margin:0!important;background:#fff!important}
body.fr-store:is(:has(#checkoutSection),:has(#continue_form)) .fr-announcement,
body.fr-store:is(:has(#checkoutSection),:has(#continue_form)) .fr-header-main>.fr-menu-toggle,
body.fr-store:is(:has(#checkoutSection),:has(#continue_form)) .fr-header-actions>:not(.fr-cart-link){display:none}
body.fr-store:is(:has(#checkoutSection),:has(#continue_form)) .fr-header-main{width:calc(100% - 64px);max-width:1100px;height:88px;margin:0 auto;padding:0;border-bottom:1px solid #dedede;color:#111!important;background:#fff!important}
body.fr-store:is(:has(#checkoutSection),:has(#continue_form)) .fr-logo{left:0;top:50%;transform:translateY(-50%);max-width:calc(100% - 56px);font-family:var(--fr-checkout-font,system-ui,sans-serif);font-size:22px;letter-spacing:-.03em}
body.fr-store:is(:has(#checkoutSection),:has(#continue_form)) .fr-header-actions{margin-left:auto;padding-right:8px}
body.fr-store:is(:has(#checkoutSection),:has(#continue_form)) #footer{margin:0!important;padding:24px 0 0;border-top:1px solid #dedede;background:#fff}
body.fr-store:is(:has(#checkoutSection),:has(#continue_form)) #footer .fr-footer-news,
body.fr-store:is(:has(#checkoutSection),:has(#continue_form)) #footer .fr-footer-side,
body.fr-store:is(:has(#checkoutSection),:has(#continue_form)) #footer .fr-footer-categories{display:none}
body.fr-store:is(:has(#checkoutSection),:has(#continue_form)) #footer .fr-footer-grid{display:block;width:calc(100% - 64px);max-width:1100px;margin:0 auto;padding:0}
body.fr-store:is(:has(#checkoutSection),:has(#continue_form)) #footer .fr-footer-info{padding:0;border:0}
body.fr-store:is(:has(#checkoutSection),:has(#continue_form)) #footer .fr-footer-info>summary{margin:0 0 12px;font:500 12px/20px var(--fr-checkout-font,system-ui,sans-serif)}
body.fr-store:is(:has(#checkoutSection),:has(#continue_form)) #footer .fr-footer-info .fr-footer-links{gap:8px 20px}
body.fr-store:is(:has(#checkoutSection),:has(#continue_form)) #footer .fr-footer-info .fr-footer-links a{font:400 12px/20px var(--fr-checkout-font,system-ui,sans-serif)}
body.fr-store:is(:has(#checkoutSection),:has(#continue_form)) #footer .fr-footer-bottom{width:calc(100% - 64px);max-width:1100px;margin:0 auto;padding:24px 0;font:400 11px/18px var(--fr-checkout-font,system-ui,sans-serif)}

/* The real login/guest gate stays a pair of native forms with native tabs. */
body.fr-store:has(#continue_form) #page>.page-container{padding:0!important;background:#fff}
body.fr-store:has(#continue_form) #page>.page-container>.container{width:calc(100% - 64px);max-width:1100px;margin:0 auto;padding:0}
body.fr-store:has(#continue_form) #page>.page-container>.container>.row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0}
body.fr-store:has(#continue_form) #page>.page-container>.container>.row::before,
body.fr-store:has(#continue_form) #page>.page-container>.container>.row::after{content:none}
body.fr-store:has(#continue_form) #page>.page-container>.container>.row>.page-column{float:none;width:auto;margin:0;padding:40px 40px 64px 0}
body.fr-store:has(#continue_form) #page>.page-container>.container>.row>.page-column:has(#continue_form){padding-left:40px;padding-right:0;border-left:1px solid #dedede;background:#f7f7f7}
body.fr-store:has(#continue_form) .tabbable .nav-tabs{display:flex;gap:20px;margin:0 0 24px;padding:0;border:0;background:transparent;top:auto}
body.fr-store:has(#continue_form) .tabbable .nav-tabs>li{float:none;margin:0}
body.fr-store:has(#continue_form) .tabbable .nav-tabs>li>a,
body.fr-store:has(#continue_form) .tabbable .nav-tabs>li.active>a{margin:0;padding:0 0 10px;border:0!important;border-bottom:1px solid transparent!important;border-radius:0;background:transparent!important;color:#666!important;font:400 14px/20px var(--fr-checkout-font,system-ui,sans-serif);text-transform:none}
body.fr-store:has(#continue_form) .tabbable .nav-tabs>li.active>a{border-bottom-color:#111!important;color:#111!important;font-weight:600}
body.fr-store:has(#continue_form) .tabbable .tab-content{padding:0;border:0;background:transparent}
body.fr-store:has(#continue_form) .form-group{margin-bottom:18px}
body.fr-store:has(#continue_form) .form-group>label{font:400 13px/20px var(--fr-checkout-font,system-ui,sans-serif);color:#444}
body.fr-store:has(#continue_form) .page-container .form-control{height:52px;min-height:52px;padding:14px 12px;border:1px solid #d4d4d4;border-radius:6px;background:#fff;color:#222;box-shadow:none;font:400 14px/22px var(--fr-checkout-font,system-ui,sans-serif)}
body.fr-store:has(#continue_form) .page-container .form-control:focus{border-color:#333;box-shadow:0 0 0 1px #333}
body.fr-store:has(#continue_form) .page-container .input-group-addon{border-color:#d4d4d4;border-radius:0 6px 6px 0;background:#f7f7f7;color:#666}
body.fr-store:has(#continue_form) .page-container .input-group>.form-control{border-radius:6px 0 0 6px}
body.fr-store:has(#continue_form) .page-container .input-group-btn>.btn{height:52px;border-color:#d4d4d4;border-radius:0 6px 6px 0;background:#fff;color:#444}
body.fr-store:has(#continue_form) .page-container [type=submit]{display:block;width:100%;min-height:52px;padding:14px 20px;border:1px solid #111;border-radius:6px;background:#111;color:#fff;font:600 14px/22px var(--fr-checkout-font,system-ui,sans-serif);text-transform:none}
body.fr-store:has(#continue_form) .page-container .has-error .form-control{border-color:#b42318}

@media(max-width:999px){
 body.fr-store #checkoutSection>.container{width:100%;max-width:650px;padding:0 24px}
 body.fr-store #checkoutSection>.container>.row{display:block}
 body.fr-store #checkoutSection #checkoutColoumnLeft{padding:28px 0 32px}
 body.fr-store #checkoutSection #checkoutColoumnRight{position:static!important;top:auto!important;padding:24px;margin:0 -24px!important;border-left:0;border-top:1px solid #dedede}
 body.fr-store #checkoutSection .checkout-steps{margin-bottom:24px;gap:4px 16px}
 body.fr-store #checkoutSection .checkout-steps li a{font-size:11px}
 body.fr-store #checkoutSection .cwidget-header{gap:8px}
 body.fr-store #checkoutSection #checkoutSummary .collapse-wrap:has(#summary-cart){display:block!important}
 body.fr-store #checkoutSection #checkoutSummary .table{margin-bottom:20px}
 body.fr-store:is(:has(#checkoutSection),:has(#continue_form)) .fr-header-main{width:calc(100% - 48px);max-width:602px;height:76px}
 body.fr-store:is(:has(#checkoutSection),:has(#continue_form)) .fr-logo{font-size:20px}
 body.fr-store:is(:has(#checkoutSection),:has(#continue_form)) #footer .fr-footer-grid,
 body.fr-store:is(:has(#checkoutSection),:has(#continue_form)) #footer .fr-footer-bottom{width:calc(100% - 48px);max-width:602px}
 body.fr-store:has(#continue_form) #page>.page-container>.container{width:100%;max-width:650px;padding:0 24px}
 body.fr-store:has(#continue_form) #page>.page-container>.container>.row{display:block}
 body.fr-store:has(#continue_form) #page>.page-container>.container>.row>.page-column{width:100%;padding:28px 0 32px}
 body.fr-store:has(#continue_form) #page>.page-container>.container>.row>.page-column:has(#continue_form){padding:24px;margin:0 -24px;width:calc(100% + 48px);border-left:0;border-top:1px solid #dedede}
}
@media(max-width:480px){
 body.fr-store #checkoutSection .form-control,
 body.fr-store:has(#continue_form) .page-container .form-control{font-size:16px}
 body.fr-store #checkoutSection .cwidget-toolbar{margin-left:0}
 body.fr-store #checkoutSection .boxwidget-header .cwidget-toolbar{margin-left:auto}
 body.fr-store #checkoutSection .boxwidget-footer>.col-xs-6{float:none;width:100%;padding-bottom:4px}
 body.fr-store #checkoutSection .checkout-steps{gap:4px 13px}
 body.fr-store #checkoutSection .checkout-steps li+li::before{left:-9px}
 body.fr-store #checkoutSection #checkoutSummary .table td:last-child{padding-left:10px}
 body.fr-store #checkoutSection #checkoutSummary .table td.h3{font-size:20px}
}

/* Enhanced native layout: JS moves the real final action to the left pane.
   The generic .page-column div becomes boxless so the actual summary can stick
   within the full-height right column rather than a content-height wrapper. */
body.fr-store.fr-checkout-enhanced #checkoutSection .fr-checkout-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr);align-items:stretch;gap:0;margin:0}
body.fr-store.fr-checkout-enhanced #checkoutSection #checkoutColoumnRight{position:relative!important;top:auto!important;min-height:560px}
body.fr-store.fr-checkout-enhanced #checkoutSection #checkoutColoumnRight>.page-column{display:contents}
body.fr-store.fr-checkout-enhanced #checkoutSection #checkoutSummary{position:sticky;top:24px;align-self:start}
body.fr-store.fr-checkout-enhanced #checkoutSection .fr-checkout-summary-toggle{display:none}
body.fr-store.fr-checkout-enhanced #checkoutSection .fr-checkout-actions{margin:0;padding:0}
body.fr-store.fr-checkout-enhanced #checkoutSection .fr-checkout-actions:empty{display:none}
body.fr-store.fr-checkout-enhanced #checkoutSection .fr-checkout-actions>.showTabPayment{margin:8px 0 0;padding:24px 0 0;border-top:1px solid #dedede}
body.fr-store.fr-checkout-enhanced #checkoutSection .fr-checkout-actions .showTabPayment>.row{margin:16px 0 0}
body.fr-store.fr-checkout-enhanced #checkoutSection .fr-checkout-actions .list-check-item>.lbl{background:#fff;font-size:12px;line-height:20px}
body.fr-store.fr-checkout-enhanced #checkoutSection .fr-checkout-actions .btn-success{width:100%;min-height:52px}
body.fr-store.fr-checkout-enhanced #checkoutSection #checkoutSummary .line_row.fr-checkout-line{position:relative;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:14px}
body.fr-store.fr-checkout-enhanced #checkoutSection .fr-checkout-line>.col-xs-3{position:relative}
body.fr-store.fr-checkout-enhanced #checkoutSection .fr-checkout-quantity{position:absolute;top:-8px;right:-8px;z-index:1;display:flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:20px;background:#707070;color:#fff;font:500 12px/20px var(--fr-checkout-font,system-ui,sans-serif);pointer-events:none}
body.fr-store.fr-checkout-enhanced #checkoutSection .fr-checkout-line-price{grid-column:3;grid-row:1;justify-self:end;color:#222;font:500 13px/20px var(--fr-checkout-font,system-ui,sans-serif);white-space:nowrap}
body.fr-store.fr-checkout-enhanced #checkoutSection .fr-checkout-line p.fr-checkout-priced,
body.fr-store.fr-checkout-enhanced #checkoutSection .fr-checkout-line.fr-checkout-priced>.col-xs-9>p:nth-of-type(2){display:none}
body.fr-store.fr-checkout-enhanced #checkoutSection #checkoutSummary .fr-checkout-cart-heading{display:none}
body.fr-store.fr-checkout-enhanced #checkoutSection:has(.checkout-pane-complete.active) .fr-checkout-layout{grid-template-columns:minmax(0,1fr)}
body.fr-store #checkoutSection #checkoutPaneComplete{max-width:850px;margin:0 auto;padding:32px;border:1px solid #dedede;border-radius:8px;background:#fff;color:#222;font:400 14px/22px var(--fr-checkout-font,system-ui,sans-serif)}
body.fr-store #checkoutSection #checkoutPaneComplete h1,
body.fr-store #checkoutSection #checkoutPaneComplete h2{margin:0 0 20px;color:#222;font:600 24px/32px var(--fr-checkout-font,system-ui,sans-serif);text-transform:none;letter-spacing:0}
body.fr-store #checkoutSection #checkoutPaneComplete .table{font-size:13px;line-height:20px}
body.fr-store #checkoutSection #checkoutPaneComplete .table td,
body.fr-store #checkoutSection #checkoutPaneComplete .table th{padding:10px;border-color:#e4e4e4}

/* Native guest continuation is the primary panel; login/signup stays real. */
body.fr-store.fr-checkout-guest:has(#continue_form) #page>.page-container>.container>.row>.page-column:has(#continue_form){grid-column:1;grid-row:1;width:auto;margin:0;padding:40px 48px 64px 0;border:0;background:#fff}
body.fr-store.fr-checkout-guest:has(#continue_form) #page>.page-container>.container>.row>.page-column:has(#user_signin_form){grid-column:2;grid-row:1;width:auto;margin:0;padding:40px 0 64px 40px;border-left:1px solid #dedede;background:#f7f7f7}
body.fr-store.fr-checkout-guest .fr-checkout-guest-intro{margin:0 0 24px;color:#333}
body.fr-store.fr-checkout-guest .fr-checkout-guest-intro h1{margin:0 0 12px;padding:0;color:#222;font:600 24px/32px var(--fr-checkout-font,system-ui,sans-serif);text-transform:none;letter-spacing:0}
body.fr-store.fr-checkout-guest .fr-checkout-guest-intro p{margin:0;font:400 14px/21px var(--fr-checkout-font,system-ui,sans-serif)}
body.fr-store.fr-checkout-guest .fr-checkout-guest-main>.tabbable>.nav-tabs{display:none}
body.fr-store.fr-checkout-guest .fr-checkout-login{margin:0;padding:0;border:0;background:transparent}
body.fr-store.fr-checkout-guest .fr-checkout-login>summary{margin:0;padding:0;color:#333;font:500 14px/22px var(--fr-checkout-font,system-ui,sans-serif);cursor:pointer}
body.fr-store.fr-checkout-guest .fr-checkout-login[open]>summary{margin-bottom:24px}
body.fr-store.fr-checkout-guest .fr-checkout-login>summary:focus-visible{outline:2px solid #333;outline-offset:4px}

/* Standalone native /pay has its own vkPay state and amount/description fields.
   Only its real page/form controls are styled, not provider/3DS iframe content. */
body.fr-store:has(#payPane){--fr-checkout-font:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:#fff;color:#222;font:400 14px/1.5 var(--fr-checkout-font);letter-spacing:0}
body.fr-store #page>.page-container:has(#payPane){padding:32px 0 64px;background:#fff}
body.fr-store .page-container:has(#payPane)>.container{width:calc(100% - 48px);max-width:850px;padding:0}
body.fr-store .page-container:has(#payPane) .checkout-box{padding:0!important;border:0;border-radius:0;background:#fff;box-shadow:none}
body.fr-store .page-container:has(#payPane) .pay-title{height:auto;margin:0 0 28px;padding:0 0 20px;border-bottom:1px solid #dedede}
body.fr-store .page-container:has(#payPane) .pay-title li{float:none;margin:0;padding:0;background:transparent;color:#222;font:600 24px/32px var(--fr-checkout-font,system-ui,sans-serif)}
body.fr-store .page-container:has(#payPane) .pay-title li i{display:none}
body.fr-store #payPane .cwidget{margin:0 0 28px}
body.fr-store #payPane .cwidget-header{margin:0 0 16px;padding:0;border:0}
body.fr-store #payPane .cwidget-title{margin:0;padding:0;color:#222;font:600 18px/26px var(--fr-checkout-font,system-ui,sans-serif);letter-spacing:0}
body.fr-store #payPane .cwidget-body{border:0;background:#fff}
body.fr-store #payPane .form-label{font:400 13px/20px var(--fr-checkout-font,system-ui,sans-serif)}
body.fr-store #payPane .form-group{margin-bottom:14px}
body.fr-store #payPane .form-control{width:100%;height:52px;min-height:52px;padding:14px 12px;border:1px solid #d4d4d4;border-radius:6px;background:#fff;color:#222;box-shadow:none;font:400 14px/22px var(--fr-checkout-font,system-ui,sans-serif);letter-spacing:0}
body.fr-store #payPane textarea.form-control{height:auto;min-height:96px;resize:vertical}
body.fr-store #payPane .form-control:disabled,
body.fr-store #payPane .form-control[readonly]{background:#f3f3f3;color:#666;opacity:1}
body.fr-store #payPane .form-control:focus{border-color:#333;outline:0;box-shadow:0 0 0 1px #333}
body.fr-store #payPane .lgf-group-floating .form-control{padding-top:22px;padding-bottom:7px}
body.fr-store #payPane .lgf-group>label:not(.thick){top:5px;padding:0 12px;color:#555;font:400 11px/15px var(--fr-checkout-font,system-ui,sans-serif)}
body.fr-store #payPane .has-error .form-control{border-color:#b42318}
body.fr-store #payPane .form-control-error{position:static;display:block;margin:0 0 6px;padding:0;border:0;background:transparent;color:#b42318;font:400 12px/18px var(--fr-checkout-font,system-ui,sans-serif)}
body.fr-store #payPane .payment-tabs{display:flex;flex-wrap:wrap;margin:0;padding:0;border:1px solid #dedede;border-radius:6px;overflow:hidden}
body.fr-store #payPane .payment-tabs li{flex:1 1 140px;margin:0;padding:14px 16px;border:0;border-right:1px solid #dedede;background:#fff;color:#555;font:500 13px/20px var(--fr-checkout-font,system-ui,sans-serif)}
body.fr-store #payPane .payment-tabs li.active{background:#f4f4f4;color:#111;box-shadow:inset 0 -2px #111}
body.fr-store #payPane .payment-panes{padding:20px 0 0}
body.fr-store #payPane .payment-pane>.row>.cc-form-container{float:none;width:100%}
body.fr-store #payPane .payment-pane>.row>div:has(>.cc-preview-wrapper){display:none}
body.fr-store #payPane .btn-success,
body.fr-store #payPane .btn-primary{min-height:52px;padding:14px 20px;border:1px solid #111;border-radius:6px;background:#111;color:#fff;box-shadow:none;font:600 14px/22px var(--fr-checkout-font,system-ui,sans-serif);text-transform:none}
body.fr-store #payPane .btn:disabled{opacity:.5;cursor:not-allowed}
body.fr-store #payPane input.checkbox:checked+.lbl::before{background:#111;border-color:#111;color:#fff}
body.fr-store #payPane .showTabPayment{margin:24px 0 0}
body.fr-store #payPane .alert{border-radius:6px;font:400 13px/20px var(--fr-checkout-font,system-ui,sans-serif)}

/* cartError.php is a plain-body page, identifiable by this exact native shell.
   Its real messages, conditional continue link and native timer stay intact. */
body:has(>#page>.modal-dialog:only-child .warning-msg){margin:0;background:#f7f7f7;color:#222;font:400 14px/21px system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:0}
body:has(>#page>.modal-dialog:only-child .warning-msg) #page{min-height:100vh;padding:32px 0;background:#f7f7f7}
body:has(>#page>.modal-dialog:only-child .warning-msg) #page>.modal-dialog{position:relative;width:calc(100% - 32px);max-width:640px;margin:32px auto}
body:has(>#page>.modal-dialog:only-child .warning-msg) .modal-content{border:1px solid #dedede;border-radius:8px;background:#fff;box-shadow:0 8px 32px #0000000a}
body:has(>#page>.modal-dialog:only-child .warning-msg) .modal-header{padding:20px 24px;border-bottom:1px solid #dedede}
body:has(>#page>.modal-dialog:only-child .warning-msg) .modal-header h4{margin:0;color:#222;font:600 20px/28px system-ui,sans-serif}
body:has(>#page>.modal-dialog:only-child .warning-msg) .modal-body{padding:24px}
body:has(>#page>.modal-dialog:only-child .warning-msg) .alert{margin:0 0 16px;padding:14px;border-radius:6px;font:400 14px/21px system-ui,sans-serif}
body:has(>#page>.modal-dialog:only-child .warning-msg) .warning-msg{font-size:14px;line-height:21px}
body:has(>#page>.modal-dialog:only-child .warning-msg) .warning-list-item{margin-top:10px;padding-top:10px;border-top:1px solid #e8dfca}
body:has(>#page>.modal-dialog:only-child .warning-msg) .modal-footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;padding:20px 24px;border-top:1px solid #dedede}
body:has(>#page>.modal-dialog:only-child .warning-msg) .modal-footer .btn{min-height:48px;margin:0;padding:12px 18px;border:1px solid #111;border-radius:6px;background:#111;color:#fff;font:600 14px/22px system-ui,sans-serif;text-transform:none}
body:has(>#page>.modal-dialog:only-child .warning-msg) .modal-footer .btn-warning{background:#fff;color:#222}

@media(max-width:999px){
 body.fr-store.fr-checkout-enhanced #checkoutSection .fr-checkout-layout{display:flex;flex-direction:column;align-items:stretch;gap:0}
 body.fr-store.fr-checkout-enhanced #checkoutSection #checkoutColoumnRight{order:-1;position:relative!important;top:auto!important;min-height:0;padding:24px;margin:0 -24px!important;border-top:0;border-bottom:1px solid #dedede}
 body.fr-store.fr-checkout-enhanced #checkoutSection #checkoutSummary{position:static;top:auto}
 body.fr-store.fr-checkout-enhanced #checkoutSection .fr-checkout-summary-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:calc(100% + 48px);min-height:58px;margin:-24px -24px 20px;padding:16px 24px;border:0;border-radius:0;background:#f7f7f7;color:#333;box-shadow:none;font:500 13px/20px var(--fr-checkout-font,system-ui,sans-serif);text-align:left;letter-spacing:0;cursor:pointer}
 body.fr-store.fr-checkout-enhanced #checkoutSection .fr-checkout-summary-total{margin-left:auto;font-size:16px;line-height:22px;font-weight:600;white-space:nowrap}
 body.fr-store.fr-checkout-enhanced #checkoutSection .fr-checkout-summary-toggle::after{content:'';flex:0 0 7px;width:7px;height:7px;margin-left:2px;border:solid #555;border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}
 body.fr-store.fr-checkout-enhanced #checkoutSection .fr-checkout-summary-toggle[aria-expanded=true]::after{transform:rotate(225deg)}
 body.fr-store.fr-checkout-enhanced #checkoutSection .fr-checkout-summary-toggle:focus-visible{outline:2px solid #333;outline-offset:-4px}
 body.fr-store.fr-checkout-enhanced #checkoutSection #checkoutColoumnRight.fr-summary-collapsed{padding-bottom:0}
 body.fr-store.fr-checkout-enhanced #checkoutSection #checkoutColoumnRight.fr-summary-collapsed>.fr-checkout-summary-toggle{margin-bottom:0}
 body.fr-store.fr-checkout-enhanced #checkoutSection #checkoutColoumnRight.fr-summary-collapsed #checkoutSummary{display:none!important}
 body.fr-store.fr-checkout-enhanced #checkoutSection .fr-checkout-line-price{font-size:12px}
 body.fr-store.fr-checkout-enhanced #checkoutSection #checkoutSummary .line_row.fr-checkout-line{gap:10px}
 body.fr-store #checkoutSection #checkoutPaneComplete{padding:24px 18px}
 body.fr-store.fr-checkout-guest:has(#continue_form) #page>.page-container>.container>.row{display:flex;flex-direction:column;align-items:stretch}
 body.fr-store.fr-checkout-guest:has(#continue_form) #page>.page-container>.container>.row>.page-column:has(#continue_form){order:0;width:100%;margin:0;padding:28px 0 32px;border:0;background:#fff}
 body.fr-store.fr-checkout-guest:has(#continue_form) #page>.page-container>.container>.row>.page-column:has(#user_signin_form){order:1;width:calc(100% + 48px);margin:0 -24px;padding:24px;border-left:0;border-top:1px solid #dedede;background:#f7f7f7}
 body.fr-store .page-container:has(#payPane)>.container{width:calc(100% - 48px);max-width:650px}
 body.fr-store #payPane .form-control{font-size:16px}
}

/* Checkout v2: remove the legacy red collapse paint and its 33px clipping box.
   Bootstrap continues to own each address collapse's open/closed state. */
body.fr-store.fr-checkout-enhanced #checkoutSection #checkoutSummary .collapse-wrap>.title{
 position:relative;height:auto;min-height:44px;margin:0;padding:12px 28px 12px 0;
 border:0;border-radius:0;background:transparent!important;color:#444!important;
 box-shadow:none;white-space:normal;overflow:visible;font-size:13px;line-height:20px;
}
body.fr-store.fr-checkout-enhanced #checkoutSection #checkoutSummary .collapse-wrap>.title>.fa{
 display:inline-flex;align-items:center;justify-content:center;flex:0 0 16px;
 width:16px;height:20px;margin:0;padding:0;border:0;border-radius:0;
 background:transparent;color:#777;font-size:13px;line-height:20px;
}
body.fr-store.fr-checkout-enhanced #checkoutSection #checkoutSummary .collapse-wrap>.title::before{
 content:'';position:absolute;top:50%;inset-inline-start:auto;inset-inline-end:4px;
 display:block;width:7px;height:7px;border:solid #777;border-width:0 1.5px 1.5px 0;
 background:transparent;transform:translateY(-50%) rotate(225deg);
}
body.fr-store.fr-checkout-enhanced #checkoutSection #checkoutSummary .collapse-wrap>.title.collapsed::before,
body.fr-store.fr-checkout-enhanced #checkoutSection #checkoutSummary .collapse-wrap>.title[aria-expanded=false]::before{
 content:'';transform:translateY(-50%) rotate(45deg);
}
body.fr-store.fr-checkout-enhanced #checkoutSection #checkoutSummary #summary-cart.in{
 max-height:none;overflow:visible;
}
/* Native selected .thick rows set white text. These checkout rows deliberately
   use white/near-white cards, so the real label and shipping amounts stay dark. */
body.fr-store.fr-checkout-enhanced #checkoutSection .list-check-item>.lbl,
body.fr-store.fr-checkout-enhanced #checkoutSection .list-check-item.active>.lbl,
body.fr-store.fr-checkout-enhanced #checkoutSection .list-check-item>input:checked+.lbl{
 color:#222!important;
}
body.fr-store.fr-checkout-enhanced #checkoutSection .list-check-item>.lbl .t{color:inherit!important}
@media(max-width:999px){
 body.fr-store.fr-checkout-enhanced #checkoutSection .payment-tabs{flex-direction:column;flex-wrap:nowrap}
 body.fr-store.fr-checkout-enhanced #checkoutSection .payment-tabs li{flex:0 0 auto;width:100%;min-height:48px;border-right:0;border-bottom:1px solid #dedede}
 body.fr-store.fr-checkout-enhanced #checkoutSection .payment-tabs li:last-child{border-bottom:0}
 body.fr-store.fr-checkout-enhanced #checkoutSection .payment-tabs li.active{box-shadow:inset 3px 0 #111}
}
/* The parent min-width:0 grid and its 36px inset are intentional. Extend only
   the gray background, not the content box. Boundary = centered container's
   left56% split: viewport/2 + min(1100px,viewport-64px)*.06. */
@media(min-width:1000px){
 body.fr-store.fr-checkout-enhanced #checkoutSection{
  background:linear-gradient(90deg,#fff 0 calc(50% + min(66px,calc(6% - 3.84px))),#f7f7f7 calc(50% + min(66px,calc(6% - 3.84px))) 100%);
 }
 body.fr-store.fr-checkout-enhanced #checkoutSection:has(.checkout-pane-complete.active){background:#fff}
}
