/* Checkout colours are conditional: the light theme retains its native styling. */
html[data-ea-theme="dark"] body:is(#cart,#checkout)#cart .cart-container,
html[data-ea-theme="dark"] body#checkout .checkout-step,
html[data-ea-theme="dark"] body:is(#cart,#checkout) .cart-summary,
html[data-ea-theme="dark"] body:is(#cart,#checkout) .acmr-choice {
 background:linear-gradient(145deg,#203a56,#14233b)!important;
 border:1px solid rgba(224,185,88,.55)!important;border-radius:9px;color:#f1cd76!important;
}
html[data-ea-theme="dark"] body#cart .cart-container{padding:16px;}
html[data-ea-theme="dark"] body:is(#cart,#checkout) :is(.cart-container,.cart-summary,.checkout-step,.acmr-choice) :is(a,span,p,small,label,summary,h1,h2,h3,h4,h5,strong,b,li,div,i) {
 color:#f1cd76!important;
}
html[data-ea-theme="dark"] body:is(#cart,#checkout) :is(.cart-item,.cart-summary-line,.cart-summary-totals,.checkout-step,.address-item){border-color:rgba(224,185,88,.3)!important;}
html[data-ea-theme="dark"] body:is(#cart,#checkout) :is(.form-control,select,textarea,.input-group-text){background:#101d32!important;color:#f7d888!important;border-color:#a88b48!important;}
html[data-ea-theme="dark"] body:is(#cart,#checkout) :is(.form-control,textarea)::placeholder{color:#c8b57f!important;opacity:1;}
html[data-ea-theme="dark"] body:is(#cart,#checkout) :is(.cart-container,.cart-summary,.checkout-step) .btn{background:linear-gradient(#254361,#10213b)!important;color:#f5d17a!important;border:1px solid #b99a52!important;}
html[data-ea-theme="dark"] body:is(#cart,#checkout) :is(.acmr-choice,.acmr-choice summary,.acmr-choice .acmr-body){background-color:#182c45!important;color:#f1cd76!important;}
html[data-ea-theme="dark"] :is(.itella-card,.itella-card-header,.itella-card-body,.itella-card-content,.itella-card-footer,.itella-select .dropdown,.itella-select .dropdown-inner){background:#182d46!important;color:#f1cd76!important;border-color:#b29450!important;}
html[data-ea-theme="dark"] .itella-card :is(h1,h2,h3,h4,p,span,a,li,label,div){color:#f1cd76!important;}
html[data-ea-theme="dark"] :is(.itella-select input,.itella-card select){background:#10213a!important;color:#f5d17a!important;}
html[data-ea-theme="dark"] .itella-select :is(li:hover,li.selected){background:#2b4864!important;}
.ea-country-picker{margin:10px 0 16px;padding:12px;border:1px solid #b99a52;border-radius:8px;background:#f3f8fc;color:#173b59;}
.ea-country-picker-title{display:block;font-weight:700;margin-bottom:8px;}
.ea-country-buttons{display:flex;flex-wrap:wrap;gap:8px;}
.ea-country-button{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:8px 12px;border:1px solid #8fa8bd;border-radius:6px;background:#fff;color:#173b59;cursor:pointer;}
.ea-country-button[aria-pressed="true"]{border:2px solid #b59135;padding:7px 11px;box-shadow:0 0 0 2px rgba(210,174,77,.13);font-weight:700;}
.ea-country-flag{display:inline-block;width:27px;height:18px;flex-shrink:0;border:1px solid rgba(0,0,0,.22);box-shadow:0 1px 2px #0003;}
.ea-country-flag-lt{background:linear-gradient(to bottom,#fdb913 0 33.333%,#006a44 33.333% 66.666%,#c1272d 66.666%);}
.ea-country-flag-lv{background:linear-gradient(to bottom,#9e1b34 0 40%,#fff 40% 60%,#9e1b34 60%);}
.ea-country-help{font-size:12px;line-height:1.45;margin:8px 0 0;}
html[data-ea-theme="dark"] .ea-country-picker{background:#14263f;color:#f1cd76;}
html[data-ea-theme="dark"] .ea-country-picker .ea-country-button{background:linear-gradient(#254361,#10213b);color:#f1cd76;border-color:#9f894c;}
.ea-country-button:focus-visible{outline:3px solid #e4ba51;outline-offset:3px;}
@media(max-width:575px){.ea-country-button{flex:1;justify-content:center;padding:8px;}.ea-country-button[aria-pressed="true"]{padding:7px;}.ea-country-picker{padding:10px;}}

.itella-card-content > .ea-country-picker{margin-top:0;font-size:13px;}
.itella-card-content > .ea-country-picker .ea-country-help{font-size:11px;}
