/* Courier identity and native rate controls share one card for every carrier. */
html body.adria-site.woocommerce-checkout #order_review #shipping_method > li:has(> input.shipping_method[type="hidden"]),
html body.adria-site.woocommerce-checkout #order_review #shipping_method > li:has(> input.shipping_method:checked) {
    border-color: #0042ec !important;
    background: #f8faff !important;
    box-shadow: inset 0 0 0 1px #0042ec !important;
}
html body.adria-site.woocommerce-checkout #order_review #shipping_method .adria-shipping-method-primary {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: start !important;
    gap: 8px !important;
    width: 100% !important;
}
html body.adria-site.woocommerce-checkout #order_review #shipping_method .adria-shipping-method-identity {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 5px 8px !important;
    min-width: 0 !important;
}
html body.adria-site.woocommerce-checkout #order_review #shipping_method .adria-courier-option {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex: 0 0 auto !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
}
html body.adria-site.woocommerce-checkout #order_review #shipping_method .adria-courier-logo {
    display: block !important;
    width: 42px !important;
    height: 22px !important;
    max-width: 42px !important;
    object-fit: contain !important;
    flex: 0 0 42px !important;
    margin: 0 !important;
}
html body.adria-site.woocommerce-checkout #order_review #shipping_method .adria-courier-name {
    min-width: 0 !important;
    white-space: normal !important;
}
html body.adria-site.woocommerce-checkout #order_review #shipping_method .adria-shipping-method-price-wrap {
    justify-self: end !important;
    white-space: nowrap !important;
}
/* The whole details element spans the panel; its summary keeps both headings aligned. */
html body.adria-site.woocommerce-checkout.adria-checkout-polished.adria-checkout-focused-20261008 #order_review .adria-shipping-note {
    display: block !important;
    padding: 8px 10px !important;
}
html body.adria-site.woocommerce-checkout.adria-checkout-polished.adria-checkout-focused-20261008 #order_review .adria-shipping-note > .adria-shipping-help {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}
html body.adria-site.woocommerce-checkout.adria-checkout-polished.adria-checkout-focused-20261008 #order_review .adria-shipping-note .adria-shipping-help > summary {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 6px 10px !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 24px !important;
    margin: 0 !important;
}
html body.adria-site.woocommerce-checkout.adria-checkout-polished.adria-checkout-focused-20261008 #order_review .adria-shipping-dispatch {
    padding: 0 !important;
    flex: 1 1 auto !important;
}
.adria-shipping-help-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    white-space: nowrap;
}
html body.adria-site.woocommerce-checkout.adria-checkout-polished.adria-checkout-focused-20261008 #order_review .adria-shipping-help > p {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 7px 0 0 !important;
    text-align: left !important;
    overflow-wrap: anywhere;
}
/* Payment descriptions use all the available width, with readable paragraph spacing. */
html body.adria-site.woocommerce-checkout.adria-checkout-polished form.checkout #payment ul.wc_payment_methods > li.wc_payment_method > .payment_box {
    grid-column: 1 / -1 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box !important;
}
html body.adria-site.woocommerce-checkout.adria-checkout-polished form.checkout #payment .payment_box :is(p, ul, ol, .adria-card-crypto-checkout-copy, .adria-direct-crypto-checkout-copy) {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box !important;
    text-align: left !important;
}
html body.adria-site.woocommerce-checkout.adria-checkout-polished form.checkout #payment .payment_box p {
    margin: 0 !important;
}
html body.adria-site.woocommerce-checkout.adria-checkout-polished form.checkout #payment .payment_box p + p {
    margin-top: 10px !important;
}
html body.adria-site.woocommerce-checkout.adria-checkout-polished form.checkout #order_review .order-total .adria-polish-total-current :is(.amount, bdi),
html body.adria-site.woocommerce-checkout.adria-checkout-polished .adria-checkout-dock .adria-polish-total-current :is(.amount, bdi),
html body.adria-site.woocommerce-checkout.adria-checkout-polished .adria-checkout-mobile-summary .adria-polish-total-current :is(.amount, bdi) {
    font-weight: 600 !important;
}
/* One visual indicator owns a button action. Request blocking and recovery stay native. */
html body.adria-site.woocommerce-checkout.adria-checkout-polished[data-adria-button-busy] form.checkout:has(.blockUI.blockOverlay)::after,
html body.adria-site.woocommerce-checkout.adria-checkout-polished[data-adria-button-busy] form.checkout.processing::after,
html body.adria-site[data-adria-button-busy] dialog.adria-cart-loading[open]::after,
html body.adria-site[data-adria-button-busy] .adria-cart-drawer.is-loading .adria-cart-drawer__panel::after,
html body.adria-site[data-adria-button-busy] .adria-cart-drawer.is-loading .adria-cart-drawer__header::after,
html body.adria-site[data-adria-button-busy] #adria-navigation-feedback,
html body.adria-site[data-adria-button-busy] .blockUI.blockMsg {
    display: none !important;
    content: none !important;
}
html body.adria-site #adria-navigation-feedback,
html body.adria-site.woocommerce-checkout.adria-checkout-polished form.checkout:has(.blockUI.blockOverlay)::after,
html body.adria-site.woocommerce-checkout.adria-checkout-polished form.checkout.processing::after,
html body.adria-site dialog.adria-cart-loading[open]::after,
html body.adria-site .adria-cart-drawer.is-loading .adria-cart-drawer__panel::after,
html body.adria-site .blockUI.blockMsg {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 50% !important;
}
html body.adria-site :is(button, a):is(.adria-action-loading, .adria-is-adding, [data-adria-pending]),
html body.adria-site #adria-sepa-receipt button[data-adria-pending],
html body.adria-site .adria-sepa-receipt button[data-adria-pending] {
    position: relative !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: none !important;
    text-decoration: none !important;
    transition: none !important;
}
html body.adria-site :is(button, a):is(.adria-action-loading, .adria-is-adding, [data-adria-pending]) > * {
    opacity: 0 !important;
    transition: none !important;
}
html body.adria-site :is(button, a):is(.adria-action-loading, .adria-is-adding, [data-adria-pending])::before {
    content: none !important;
    opacity: 0 !important;
}
html body.adria-site :is(button, a)[data-adria-pending]::after {
    display: block !important;
    position: absolute !important;
    inset: 50% auto auto 50% !important;
    width: 18px !important;
    height: 18px !important;
    margin: -9px 0 0 -9px !important;
    color: var(--adria-action-spinner-color, #0042ec) !important;
    -webkit-text-fill-color: initial !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    animation: adria-checkout-feedback-spin .8s linear infinite !important;
}
html body.adria-site .adria-sepa-receipt__details,
html body.adria-site .adria-sepa-receipt__footer [data-sepa-another] {
    text-underline-offset: .22em !important;
    text-decoration-skip-ink: auto !important;
    text-decoration-thickness: 1px !important;
    line-height: 1.5 !important;
}
@keyframes adria-checkout-feedback-spin { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) {
    html body.adria-site :is(button, a)[data-adria-pending]::after { animation: none !important; }
}
html body.adria-site.woocommerce-checkout #order_review #shipping_method img.adria-courier-logo[src$="bex.svg"] {
    background: #0042ec !important;
    border-radius: 3px;
    padding: 2px;
    box-sizing: border-box;
}
/* The shared fallback supplies the sole indicator during background refreshes. */
html body.adria-site .adria-cart-drawer.is-loading .adria-cart-drawer__header::after,
html body.adria-site.woocommerce-checkout form.checkout:not(.processing) #order_review .blockUI.blockOverlay::before {
    display: none !important;
    content: none !important;
}
/* Match the focused checkout's existing cascade without changing total size or color. */
html body.adria-site.woocommerce-checkout.adria-checkout-polished.adria-checkout-focused-20261008 #main form.checkout #order_review table.shop_table tfoot tr.order-total > td .adria-polish-total-current :is(.amount, bdi),
html body.adria-site.woocommerce-checkout.adria-checkout-polished.adria-checkout-focused-20261008 #adria-checkout-dock.adria-checkout-dock .adria-polish-total-current :is(.amount, bdi),
html body.adria-site.woocommerce-checkout.adria-checkout-polished.adria-checkout-focused-20261008 #main .adria-checkout-mobile-summary .adria-polish-total-current :is(.amount, bdi) {
    font-weight: 600 !important;
}

/* Keep each courier logo with its own name; mixed routes wrap between whole options. */
html body.adria-site.woocommerce-checkout #order_review #shipping_method .adria-courier-name {
    color: #102640 !important;
    font-weight: 600;
    line-height: 1.35;
}
html body.adria-site.woocommerce-checkout #order_review #shipping_method .adria-courier-separator {
    flex: 0 0 auto;
    color: #536b88 !important;
    font-weight: 400;
}
/* The EUR quote explanation spans its complete summary cell in every currency. */
html body.adria-site.woocommerce-checkout.adria-checkout-polished #order_review .adria-eur-payment-total,
html body.adria-site.woocommerce-checkout.adria-checkout-polished #order_review .adria-eur-payment-total__note {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    text-align: left !important;
}
html body.adria-site.woocommerce-checkout.adria-checkout-polished #order_review .adria-eur-payment-total__line {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
}
