/* Eaglenos purchase surfaces. Scoped so the landing keeps its existing design. */
#checkout-popup.eg-designed,.eg-receipt{--eg-ink:#0d2b3e;--eg-muted:#587080;--eg-line:#d8e3e8;--eg-brand:#087886;--eg-soft:#e3f3f5;--eg-canvas:#f1f7f9;color:var(--eg-ink);font-family:'Eaglenos Sans','Helvetica Neue',Arial,sans-serif}
#checkout-popup.eg-designed{width:min(1280px,calc(100vw - 48px));background:var(--eg-canvas);border-radius:20px;scrollbar-color:#a9c4ce transparent;scrollbar-width:thin}
#checkout-popup.eg-designed .sheet-heading{position:sticky;top:0;z-index:5;padding:24px 32px 20px;background:var(--eg-canvas);border-bottom:1px solid var(--eg-line)}
#checkout-popup.eg-designed #checkout-popup-title{font-size:32px;letter-spacing:-.03em;color:var(--eg-ink);line-height:1.15;margin:8px 0}
#checkout-popup.eg-designed .sheet-content{padding:24px 32px 32px;overflow:visible}
#checkout-popup.eg-designed .eg-secure-label{display:inline-flex;gap:7px;align-items:center;color:var(--eg-brand);font-size:13px;font-weight:600}
.eg-secure-label svg{width:16px;height:16px}
#checkout-popup.eg-designed .commerce-status:not([role=alert]){position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;margin:0;padding:0}
#checkout-popup.eg-designed .wc-block-components-sidebar-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;align-items:start;gap:24px}
#checkout-popup.eg-designed .wc-block-checkout__main,#checkout-popup.eg-designed .wc-block-checkout__sidebar{width:100%;min-width:0;margin:0}
#checkout-popup.eg-designed .wc-block-checkout__sidebar{position:sticky!important;top:var(--eg-checkout-heading,160px)!important;align-self:start;background:#fff;border:1px solid var(--eg-line);padding:24px!important;border-radius:16px;max-height:calc(92dvh - var(--eg-checkout-heading,160px) - 24px);overflow:auto}
#checkout-popup.eg-designed .wc-block-components-checkout-step{background:#fff;border:1px solid var(--eg-line);border-radius:16px;padding:24px;margin-bottom:20px}
#checkout-popup.eg-designed .wc-block-components-checkout-step__title{display:flex;gap:12px;align-items:center;font-size:23px!important;line-height:1.25;color:var(--eg-ink);letter-spacing:-.025em}
#checkout-popup.eg-designed .wc-block-components-checkout-step__title[data-eg-step]:before{content:attr(data-eg-step);display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:var(--eg-ink);color:#fff;font-size:17px;letter-spacing:0}
#checkout-popup.eg-designed .wc-block-components-checkout-step__heading-container{margin-bottom:18px}
#checkout-popup.eg-designed #shipping-fields{border-radius:16px 16px 0 0;border-bottom:0;margin-bottom:0;padding-bottom:16px}
#checkout-popup.eg-designed #shipping-option{border-radius:0 0 16px 16px;border-top:0;padding-top:8px}
#checkout-popup.eg-designed #shipping-option .wc-block-components-checkout-step__title{font-size:17px!important}
/* Always-visible labels, native validation and autocomplete retained. */
#checkout-popup.eg-designed .wc-block-components-address-form{display:flex;flex-wrap:wrap;gap:16px;align-items:start}
#checkout-popup.eg-designed .wc-block-components-text-input{display:flex;flex-direction:column;margin:0!important;min-width:0}
#checkout-popup.eg-designed .wc-block-components-text-input label,#checkout-popup.eg-designed .wc-blocks-components-select__label{position:static!important;transform:none!important;font-size:14px!important;line-height:1.4;font-weight:600;color:var(--eg-ink);margin:0 0 6px;padding:0;order:-1;max-width:100%;white-space:normal}
#checkout-popup.eg-designed .wc-block-components-text-input input,#checkout-popup.eg-designed .wc-block-components-text-input.has-error input{padding:11px 14px!important;height:48px;min-height:48px;font-size:16px;border:1px solid #afc1ca;border-radius:8px;line-height:1.4;caret-color:var(--eg-brand)}
#checkout-popup.eg-designed .wc-blocks-components-select__container{height:auto;min-height:0;display:flex;flex-direction:column;border:0;background:none;margin:0;border-radius:0}
#checkout-popup.eg-designed .wc-blocks-components-select__select{height:48px;min-height:48px;width:100%;padding:10px 36px 10px 14px;font-size:16px;color:var(--eg-ink);border:1px solid #afc1ca;border-radius:8px;background:#fff}
#checkout-popup.eg-designed .wc-blocks-components-select__expand{top:auto;bottom:15px;right:14px}
#checkout-popup.eg-designed .wc-block-components-address-form>div{flex:0 0 calc((100% - 16px)/2);margin:0;min-width:0}
#checkout-popup.eg-designed .wc-block-components-address-form>div:has([id$="address_1"]),#checkout-popup.eg-designed .wc-block-components-address-form>div:has([id$="address_2"]){flex-basis:100%}
#checkout-popup.eg-designed .wc-block-components-address-form__address_2-toggle{flex-basis:100%;order:4;min-height:36px;margin:0}
#checkout-popup.eg-designed .wc-block-components-address-form__country,#checkout-popup.eg-designed .wc-block-components-address-form__state,#checkout-popup.eg-designed .wc-block-components-address-form__city{flex:0 0 calc((100% - 16px)/2)}
#checkout-popup.eg-designed .wc-block-components-address-form__postcode{order:8}#checkout-popup.eg-designed .wc-block-components-address-form__phone{order:9}
#checkout-popup.eg-designed .wc-block-components-address-form .wc-block-components-country-input,#checkout-popup.eg-designed .wc-block-components-address-form .wc-block-components-state-input{margin:0}
#checkout-popup.eg-designed .wc-block-components-checkout-step__content{padding:0}
#checkout-popup.eg-designed .wc-block-components-radio-control__option{border-radius:10px;padding:14px 12px 14px 44px;min-height:64px;font-size:14px}
#checkout-popup.eg-designed .wc-block-components-radio-control-accordion-option{border:0;border-radius:0;overflow:visible;background:transparent}
#checkout-popup.eg-designed #payment-method .wc-block-components-radio-control-accordion-option>.wc-block-components-radio-control__option{display:none}
#checkout-popup.eg-designed .wc-block-components-radio-control-accordion-content{padding:0;border:0;background:none}
#checkout-popup.eg-designed .eg-card-intro{font-size:15px;font-weight:600;color:var(--eg-ink);margin:0 0 12px}
#checkout-popup.eg-designed .eg-embedded{padding:0;font-family:inherit}
#checkout-popup.eg-designed .eg-embedded .eg-inline-sandbox{padding:10px 12px;color:#6b4f00;background:#fff5d6;font-size:13px;margin:0 0 16px;border-radius:8px}
#checkout-popup.eg-designed .eg-inline-status{font-size:14px;line-height:1.5;margin:0 0 12px}
#checkout-popup.eg-designed .eg-inline-stage[data-eg-phase=ready] .eg-inline-status{display:none}
#checkout-popup.eg-designed .eg-inline-card{width:100%;min-width:0}
#checkout-popup.eg-designed .eg-inline-card iframe{display:block;width:100%!important;min-width:0!important;max-width:100%!important;border:0}
#checkout-popup.eg-designed .eg-inline-help{font-size:12px;margin:12px 0 0;color:var(--eg-muted)}
#checkout-popup.eg-designed .checkout-actions-ready .wc-block-checkout__actions,#checkout-popup.eg-designed .checkout-actions-ready .checkout-policy-links,#checkout-popup.eg-designed .checkout-actions-ready .checkout-change-pack{position:static!important;inset:auto!important;width:auto;margin:0}
#checkout-popup.eg-designed .eg-purchase-status:empty{display:none}
#checkout-popup.eg-designed .eg-purchase-status{padding:0;margin:0}
#checkout-popup.eg-designed .wc-block-components-checkout-order-summary__title-text{font-size:21px;color:var(--eg-ink)!important}
#checkout-popup.eg-designed .checkout-change-pack{display:block;text-align:right;margin:0 0 16px!important;font-size:14px}
#checkout-popup.eg-designed .wc-block-components-order-summary-item{padding:8px 0 20px!important;grid-template-columns:80px minmax(0,1fr);gap:8px 14px}
#checkout-popup.eg-designed .wc-block-components-order-summary-item__image,#checkout-popup.eg-designed .wc-block-components-order-summary-item__image img{width:80px;height:80px}
#checkout-popup.eg-designed .wc-block-components-product-name{font-size:16px!important;color:var(--eg-ink);line-height:1.4!important;letter-spacing:0}
#checkout-popup.eg-designed .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{font-size:29px;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
#checkout-popup.eg-designed .checkout-policy-links{padding-top:12px!important;justify-content:center}
#checkout-popup.eg-designed :focus-visible,.eg-receipt :focus-visible{outline:3px solid #12a5b8;outline-offset:3px}
#checkout-popup.eg-designed ::selection,.eg-receipt ::selection{background:#b5edef;color:#0d2b3e}
/* A single lifecycle-driven waiting surface. No simulated financial progress. */
.eg-checkout-loader[hidden]{display:none!important}
.eg-checkout-loader{position:fixed;inset:0;z-index:12;display:grid;place-items:center;padding:24px;background:rgba(13,43,62,.55);backdrop-filter:blur(5px)}
.eg-loading-panel{max-width:360px;width:100%;padding:32px 28px 26px;border-radius:20px;background:#fff;box-shadow:0 24px 60px #001b3338;text-align:center;color:#0d2b3e}
.eg-loading-panel:focus{outline:none}.eg-loading-panel h2{font-size:24px!important;line-height:1.2!important;letter-spacing:-.025em;margin:0 0 10px!important;color:#0d2b3e!important}
.eg-loading-panel .eg-loading-message{font-size:15px;line-height:1.6;color:#587080;margin:0;max-width:100%}
.eg-loading-panel .eg-loading-note{font-size:13px;line-height:1.6;color:#587080;border-top:1px solid #d8e3e8;padding-top:16px;margin:20px 0 0}
.eg-loading-symbol{position:relative;width:72px;height:72px;margin:0 auto 24px;color:#087886}
.eg-loading-symbol>.eg-loading-ring{width:72px;height:72px;position:absolute;inset:0;fill:none;stroke:#d8e3e8;stroke-width:4}
.eg-loading-ring .eg-loading-arc{stroke:#087886;stroke-dasharray:60 160;stroke-linecap:round;transform-origin:center;animation:eg-loading-spin 1s linear infinite}
.eg-loading-symbol>svg:not(.eg-loading-ring){position:absolute;width:28px;height:28px;left:22px;top:22px}
@keyframes eg-loading-spin{to{transform:rotate(360deg)}}
@media(max-width:1000px){#checkout-popup.eg-designed .wc-block-components-sidebar-layout{grid-template-columns:minmax(0,1fr) 300px;gap:20px}#checkout-popup.eg-designed .wc-block-components-checkout-step{padding:20px}}
@media(max-width:900px){
 #checkout-popup.eg-designed{width:calc(100vw - 24px)}
 #checkout-popup.eg-designed .sheet-heading{padding:20px 22px 16px}
 #checkout-popup.eg-designed .sheet-content{padding:20px 22px 28px}
 #checkout-popup.eg-designed .wc-block-components-sidebar-layout{display:flex;flex-direction:column;gap:20px}
 #checkout-popup.eg-designed .wc-block-checkout__sidebar{position:static!important;max-height:none;overflow:visible;padding:18px!important}
 #checkout-popup.eg-designed .wc-block-checkout__main{order:1}#checkout-popup.eg-designed .wc-block-checkout__sidebar{order:0}
 #checkout-popup.eg-designed .wc-block-components-checkout-order-summary__title{pointer-events:auto}
 #checkout-popup.eg-designed .checkout-order-summary-block-fill-wrapper{display:none!important}
 #checkout-popup.eg-designed .wc-block-components-address-form>div{order:initial}
}
@media(max-width:480px){
 #checkout-popup.eg-designed{width:100vw;border-radius:16px 16px 0 0}
 #checkout-popup.eg-designed .sheet-heading{padding:16px 18px}
 #checkout-popup.eg-designed #checkout-popup-title{font-size:26px}
 #checkout-popup.eg-designed .sheet-content{padding:16px 16px 24px}
 #checkout-popup.eg-designed .wc-block-components-checkout-step{padding:18px 16px;border-radius:12px}
 #checkout-popup.eg-designed .wc-block-components-address-form>div{flex-basis:100%}
 #checkout-popup.eg-designed .wc-block-components-checkout-step__title{font-size:21px!important}
 #checkout-popup.eg-designed #shipping-fields,#checkout-popup.eg-designed #shipping-option{border-radius:12px;margin-bottom:16px;border:1px solid var(--eg-line);padding:18px 16px}
 .eg-loading-panel{padding:28px 22px}
}
@media(prefers-reduced-motion:reduce){.eg-loading-arc{animation:none!important}}
/* Order receipt: one number, real Woo totals, expandable delivery details. */
body.woocommerce-order-received{background:#f1f7f9}
body.woocommerce-order-received .order-brand-header{justify-content:space-between;border-bottom:1px solid #d8e3e8;padding:20px max(24px,calc((100vw - 1180px)/2))}
.order-brand-header .eg-back-store{color:#087886;font-size:15px;font-weight:600;text-decoration:underline;text-underline-offset:4px}
body.woocommerce-order-received .eaglenos-page{width:min(1180px,calc(100% - 64px));max-width:1180px;padding:44px 0 0}
.eg-receipt{background:none;border:0;border-radius:0;padding:0;box-shadow:none}
.eg-receipt-heading{display:grid;grid-template-columns:64px minmax(0,1fr);gap:24px;align-items:start;margin:0 0 28px}
.eg-receipt-heading .order-confirmation-icon{margin:0;width:64px;height:64px}
body.woocommerce-order-received .eg-receipt h1{font-size:clamp(28px,3.5vw,42px);line-height:1.2;letter-spacing:-.03em;margin:0 0 12px;color:var(--eg-ink)}
.eg-receipt-number{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin-bottom:8px;font-size:20px;font-weight:600;color:var(--eg-muted)}
.eg-copy-order{font:inherit;font-size:15px;background:none;border:0;color:var(--eg-brand);padding:4px 0;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.eg-receipt-heading p{margin:0;color:var(--eg-muted);font-size:16px;line-height:1.6}
.eg-receipt-notice{display:flex;gap:12px;align-items:center;padding:16px 20px;border-radius:12px;margin-bottom:28px;background:#fff5d6;color:#6b4f00;font-size:15px;line-height:1.6}
.eg-receipt-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);gap:28px;align-items:start}
.eg-receipt-card{background:#fff;border-radius:16px;padding:26px;min-width:0}
body.woocommerce-order-received .eg-receipt h2{font-size:24px;line-height:1.3;letter-spacing:-.025em;margin:0 0 20px;color:var(--eg-ink)}
.eg-receipt .order-confirmation-product{grid-template-columns:140px minmax(0,1fr) auto;gap:20px;padding:20px 0;border-top:1px solid var(--eg-line);border-bottom:0}
.eg-receipt .order-confirmation-product-image img{height:125px;max-width:140px}
body.woocommerce-order-received .eg-receipt .order-confirmation-product h3{font-size:19px;line-height:1.4;letter-spacing:-.02em;margin:0 0 6px;color:var(--eg-ink)}
.eg-receipt .order-confirmation-product p{font-size:15px;color:var(--eg-muted);margin:0}
.eg-receipt-price{font-size:18px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.eg-receipt .order-confirmation-payment{background:none;border-top:1px solid var(--eg-line);border-radius:0;padding:20px 0;margin:0;grid-template-columns:36px 1fr;gap:16px}
.eg-receipt .order-confirmation-payment>svg{width:32px;height:32px;color:var(--eg-brand)}
body.woocommerce-order-received .eg-receipt .order-confirmation-payment h2{font-size:17px;margin:0 0 5px}
.eg-test-tag{display:inline-block;font-size:12px;background:var(--eg-soft);color:var(--eg-brand);border-radius:5px;padding:2px 8px;margin-left:8px;vertical-align:middle}
.eg-receipt .order-confirmation-addresses{border:0;border-top:1px solid var(--eg-line);border-radius:0;margin:0}
.eg-receipt .order-confirmation-addresses summary{padding:20px 0 0;font-size:17px}
.eg-receipt .order-address-grid{margin:16px 0 0}
.eg-receipt .order-confirmation-totals{margin:0 0 24px;border-top:1px solid var(--eg-line);padding-top:16px}
.eg-receipt .order-confirmation-totals>div{padding:7px 0;gap:16px}
.eg-receipt .order-confirmation-totals .order-confirmation-total{margin:16px 0 0;padding:18px 0 0;border-radius:0;border-top:1px solid var(--eg-line);background:none;font-size:24px}
.eg-receipt .eg-store-button{display:block;width:100%;padding:14px 18px;background:#0d3548;color:#fff;text-align:center;border-radius:9px;font-size:17px;font-weight:650;text-decoration:none;min-height:52px;line-height:1.4}
.eg-receipt .eg-store-button:hover{background:#087886}
body.woocommerce-order-received .order-footer{width:min(1180px,calc(100% - 64px));margin:36px auto 0;padding:24px 0;border-top:1px solid #c6d8df;font-size:13px}
body.woocommerce-order-received .order-footer-reminder{display:none}
@media(max-width:900px){.eg-receipt-grid{grid-template-columns:1fr}.eg-receipt-card{padding:24px}.eg-receipt .order-confirmation-product{grid-template-columns:120px minmax(0,1fr) auto}}
@media(max-width:600px){
 body.woocommerce-order-received .eaglenos-page{width:calc(100% - 32px);padding-top:28px}
 body.woocommerce-order-received .order-brand-header{padding:18px}.order-brand-header img{max-width:140px}.order-brand-header .eg-back-store{font-size:13px}
 .eg-receipt-heading{grid-template-columns:44px 1fr;gap:14px}.eg-receipt-heading .order-confirmation-icon{width:44px;height:44px}.eg-receipt-heading .order-confirmation-icon svg{width:26px;height:26px}
 .eg-receipt-number{font-size:17px}.eg-receipt-heading p{font-size:14px}.eg-receipt-card{padding:20px}.eg-receipt-grid{gap:18px}
 .eg-receipt .order-confirmation-product{grid-template-columns:82px minmax(0,1fr);gap:14px}.eg-receipt .order-confirmation-product-image img{height:85px}.eg-receipt-price{grid-column:2;font-size:17px}
 body.woocommerce-order-received .eg-receipt .order-confirmation-product h3{font-size:17px}.eg-receipt .order-confirmation-product p{font-size:13px}
 body.woocommerce-order-received .order-footer{width:calc(100% - 36px);margin-top:28px}
}

#checkout-popup.eg-designed #contact-fields .wc-block-components-text-input{width:100%;max-width:none}
#checkout-popup.eg-designed .eg-inline-card>div{max-width:none!important;width:100%}

body.woocommerce-order-received .eg-receipt a.eg-store-button{color:#fff!important}
.eg-receipt-heading .order-confirmation-heading--error{background:#a03842}
/* Give the hosted mobile form the full sheet width, without scaling its text. */
@media(max-width:480px){
 #checkout-popup.eg-designed #payment-method{margin-inline:-16px;width:calc(100% + 32px);padding:18px 0;border-inline:0;border-radius:0}
 #checkout-popup.eg-designed #payment-method .wc-block-components-checkout-step__heading-container{padding-inline:18px}
 #checkout-popup.eg-designed #payment-method .eg-card-intro,#checkout-popup.eg-designed #payment-method .eg-inline-sandbox,#checkout-popup.eg-designed #payment-method .eg-inline-status,#checkout-popup.eg-designed #payment-method .eg-inline-help{margin-inline:18px}
}
/* The single card method does not need Woo's selected-radio outline. */
#checkout-popup.eg-designed #payment-method .wc-block-components-radio-control--highlight-checked::after{display:none!important;border:0!important;box-shadow:none!important}
/* One page scroll: keep the full summary visible instead of nesting a scroller. */
#checkout-popup.eg-designed .wc-block-checkout__sidebar{max-height:none!important;overflow:visible!important;padding:20px!important}
#checkout-popup.eg-designed .wc-block-components-checkout-order-summary__title{padding-bottom:10px}
#checkout-popup.eg-designed .wc-block-components-order-summary-item{padding-bottom:14px!important;grid-template-columns:68px minmax(0,1fr)}
#checkout-popup.eg-designed .wc-block-components-order-summary-item__image,#checkout-popup.eg-designed .wc-block-components-order-summary-item__image img{width:68px;height:68px}
#checkout-popup.eg-designed .wc-block-components-totals-wrapper{padding:10px 0}
#checkout-popup.eg-designed .wc-block-components-totals-footer-item .wc-block-components-totals-item__value{font-size:27px}
