/* v0.7.48: product actions, option selection and delivery selection. */
.product-grid>.live-product .card-seller-meta{margin-bottom:0!important}
.product-grid>.live-product .live-product-actions{border-top:1px solid #eeeeef;margin-top:9px!important;padding-top:9px!important}
.option-picker{display:grid;gap:12px;padding:18px 0}
.option-picker-row{grid-template-columns:24px 64px minmax(0,1fr) auto 120px;gap:16px;padding:18px;border:1px solid transparent;border-radius:14px;background:#fafafa;min-width:0}
.option-picker-row.is-selected{border-color:#ff2874;background:#fff7fa}
.option-picker-row>.option-choice{width:20px;height:20px;margin:0;accent-color:#ff0060;cursor:pointer}
.option-picker-row>strong{text-align:right;white-space:nowrap}
.option-picker-row b{font-weight:600;overflow-wrap:anywhere;line-height:1.5}
.option-picker-row .option-counter{width:120px;max-width:100%;box-sizing:border-box}
.option-picker-row .option-counter input{min-width:0}
.option-picker-tiers .live-tier-grid{display:flex;justify-content:center;border:0;padding:12px 0;gap:12px}
.option-picker-tiers .live-tier-grid button{flex:1 1 140px;max-width:240px;text-align:center;align-items:center;background:#fafafa;border:1px solid transparent;border-radius:12px}
.option-picker-tiers .live-tier-grid button.selected{border-color:#ff2874;background:#fff7fa}
#checkout-root .checkout-address{gap:18px}
#checkout-root .checkout-address [hidden]{display:none!important}
#checkout-root .checkout-address input,#checkout-root .checkout-address select,#checkout-root .checkout-line select{min-height:46px;border-radius:12px;border:1px solid #e6e6e8;padding:11px 14px;background:#fff;color:#222;font-size:14px}
#checkout-root .checkout-address-summary{background:#fafafa;border-radius:12px;padding:16px;line-height:1.7;overflow-wrap:anywhere}
#checkout-root .checkout-address>button.primary{grid-column:1/-1;justify-self:center;min-width:220px;border-radius:999px}
#checkout-root .checkout-line{border:0;background:#fafafa;border-radius:14px;padding:18px;margin:12px 0}
#checkout-root #paxia-checkout-pay fieldset{display:grid;gap:10px;border:0;padding:0;margin:20px 0}
#checkout-root #paxia-checkout-pay fieldset>label{display:flex;align-items:center;gap:10px;padding:14px 16px;border:1px solid transparent;border-radius:12px;background:#fafafa}
#checkout-root #paxia-checkout-pay fieldset>label:has(input:checked){border-color:#ff2874;background:#fff7fa}
#checkout-root #paxia-checkout-pay input[type=radio]{accent-color:#ff0060;width:18px;height:18px}
#checkout-root #paxia-checkout-pay>.primary{display:block;width:100%;border-radius:999px;min-height:46px}
@media(max-width:600px){.option-picker-row{grid-template-columns:22px 52px minmax(0,1fr);gap:12px;padding:14px}.option-picker-row>img{width:52px;height:52px}.option-picker-row>strong{grid-column:2;text-align:left;font-size:14px}.option-picker-row>.option-counter{grid-column:3;justify-self:end}.option-picker-row b{font-size:14px}.option-picker-tiers .live-tier-grid{gap:8px}.option-picker-tiers .live-tier-grid button{flex-basis:100px}.option-picker-tiers .live-tier-grid strong{font-size:20px}}

/* v0.7.49: left-aligned tiers and compact responsive delivery forms. */
.option-picker-tiers .live-tier-grid{justify-content:flex-start}
.option-picker-tiers .live-tier-grid button{flex:0 1 240px;text-align:left;align-items:flex-start;padding:14px 18px}
.option-number{display:block;font-size:12px;font-weight:600;color:#777;margin-bottom:5px}
.option-description{min-width:0}
#address-manager,#paxia-checkout-address{width:100%;max-width:600px;box-sizing:border-box;margin-left:auto;margin-right:auto}
#delivery-address-form,#paxia-checkout-address{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px!important}
#delivery-address-form>label,#paxia-checkout-address>label{display:flex;flex-direction:column;gap:8px;min-width:0}
#delivery-address-form>label:has([name=street]),#delivery-address-form>.address-default,#delivery-address-form>p,#paxia-checkout-address>.full{grid-column:1/-1}
#delivery-address-form input,#delivery-address-form select{width:100%;box-sizing:border-box;min-height:46px;border:1px solid #e6e6e8;border-radius:12px;padding:11px 14px;font-size:14px}
#delivery-address-form .address-default{flex-direction:row;align-items:center}
#delivery-address-form .address-default input{width:18px;min-height:18px}
#paxia-checkout-address .rounded-select,#delivery-address-form .rounded-select{width:100%;min-width:0;position:relative}
#paxia-checkout-address .rounded-select-trigger,#delivery-address-form .rounded-select-trigger{width:100%;max-width:none;min-height:46px;border-radius:12px;text-align:left;padding:11px 36px 11px 14px;border:1px solid #e6e6e8;background:#fff;color:#222;font-size:14px;white-space:normal}
#paxia-checkout-address .rounded-select-menu,#delivery-address-form .rounded-select-menu{box-sizing:border-box;position:absolute;left:0;right:0;top:calc(100% + 6px);max-width:none;width:100%;max-height:240px;overflow:auto;margin:0;padding:6px;border:1px solid #eee;border-radius:14px;background:#fff;box-shadow:0 8px 28px #0002;z-index:20;list-style:none}
#paxia-checkout-address .rounded-select-menu li,#delivery-address-form .rounded-select-menu li{padding:10px 12px;border-radius:9px;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
#paxia-checkout-address .rounded-select-menu li.is-active,#delivery-address-form .rounded-select-menu li.is-active{background:#fff0f5}
#paxia-checkout-address .rounded-select-menu[hidden],#delivery-address-form [hidden]{display:none!important}
@media(max-width:600px){#delivery-address-form,#paxia-checkout-address{grid-template-columns:minmax(0,1fr)}.option-picker-tiers .live-tier-grid button{flex-basis:180px;max-width:100%}}

/* v0.7.50: prices wrap as whole amounts; consistent commerce dialogs. */
.product-grid>.live-product .product-price-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 8px;min-width:0;margin:3px 4px 1px!important}
.product-grid>.live-product .product-price-row .price{margin:0!important;flex:0 0 auto}
.product-price-row .product-ppax{font-size:12px;line-height:18px;color:#fd0051;white-space:nowrap;flex:0 0 auto}
.product-price-row>small:not(.product-ppax){flex-basis:100%;font-size:12px}
.feature-product-prices span,.banner-product small{color:#fd0051;white-space:nowrap}
.dialog.wide:has(#checkout-root),.dialog.wide:has(.option-picker),.dialog.wide:has(#address-manager){width:min(760px,calc(100vw - 32px));max-width:760px}
#checkout-root,#address-manager,.option-picker,.option-picker-tiers,.option-picker-footer{width:100%;max-width:680px;margin-left:auto;margin-right:auto;box-sizing:border-box}
#paxia-checkout-address{max-width:none}
#checkout-root .checkout-wallet{margin:20px 0 0;padding:18px 0;border-top:1px solid #eee}
.checkout-balance-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.checkout-balance-row>b{font-size:16px}
.checkout-balance-row button{white-space:nowrap;min-height:40px;padding:8px 18px;border-radius:999px}
.checkout-wallet-address{overflow-wrap:anywhere;line-height:1.6}
.checkout-wallet-address>span{display:block;font-size:12px;color:#666;margin-bottom:4px}
#paxia-checkout-address .rounded-select-menu li,#delivery-address-form .rounded-select-menu li{color:#222}
#paxia-checkout-address .rounded-select-menu li.is-active,#delivery-address-form .rounded-select-menu li.is-active{color:#ad0038;background:#fff0f5}
@media(max-width:600px){.dialog.wide:has(#checkout-root),.dialog.wide:has(.option-picker),.dialog.wide:has(#address-manager){width:calc(100vw - 20px)}.option-picker-row .option-counter{grid-row:auto}.checkout-balance-row>b{font-size:14px}}

#checkout-topup-panel[hidden]{display:none!important}
#checkout-topup-panel{margin-top:18px;padding:18px;background:#fafafa;border-radius:14px}
.checkout-topup-brand{display:flex;align-items:center;gap:8px;margin-bottom:16px}
.checkout-topup-brand img{object-fit:contain;flex-shrink:0}
.checkout-topup-brand span{margin-left:auto;font-size:12px}
#paxia-checkout-topup{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#paxia-checkout-topup label{display:flex;flex-direction:column;gap:8px;min-width:0}
#paxia-checkout-topup input,#paxia-checkout-topup select{width:100%;min-height:44px;border:1px solid #ddd;background:#fff;color:#222;border-radius:12px;padding:10px;font-size:14px}
#paxia-checkout-topup p{margin:0;align-self:center;color:#fd0051}
#paxia-checkout-topup button{border-radius:999px;min-height:44px}
.checkout-other-methods{margin-top:16px;border-top:1px solid #e8e8e8;padding-top:14px}
.checkout-other-methods summary{cursor:pointer;font-weight:600}
.checkout-provider-list{display:grid;gap:10px;margin-top:12px}
.checkout-provider{display:flex;align-items:center;gap:12px;min-height:48px;border-radius:12px}
.payment-method-mark{min-width:54px;font-weight:700;font-size:15px;color:#173d75}
@media(max-width:400px){#paxia-checkout-topup{grid-template-columns:minmax(0,1fr)}}

/* Keep the pPAX amount at the right edge, including when it wraps. */
.product-price-row .product-ppax{margin-inline-start:auto;text-align:right}
.banner-product small{text-align:right;padding-bottom:8px;margin-bottom:0}

/* Banner prices form one shared baseline, with pPAX at the right edge. */
.banner-product .banner-price-row{display:flex;align-items:baseline;justify-content:space-between;gap:6px;width:100%;padding:10px 9px;box-sizing:border-box;min-width:0}
.banner-product .banner-price-row strong{padding:0;margin:0;white-space:nowrap;line-height:24px}
.banner-product .banner-price-row small{padding:0;margin:0 0 0 auto;text-align:right;white-space:nowrap;line-height:18px}

/* Token holdings keep the same checkout rhythm; missing RPC data is never zero. */
[data-token-balances]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}[data-token-balances] p{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px;margin:0;min-width:0}[data-token-balances] b{overflow-wrap:anywhere}

/* Delivery address edit: Cancel is visibly outlined without changing its action. */
#delivery-address-form [data-address-back]{border:1px solid #d1d5db;border-radius:999px;background:#fff;color:#333;box-sizing:border-box}
#delivery-address-form [data-address-back]:hover{border-color:#9ca3af;background:#f9fafb}

/* Each location level occupies one full row; recipient/contact fields stay unchanged. */
:is(#delivery-address-form,#paxia-checkout-address)>label:has([name="country"]),
:is(#delivery-address-form,#paxia-checkout-address)>label:has([name="province"]),
:is(#delivery-address-form,#paxia-checkout-address)>label:has([name="city"]),
:is(#delivery-address-form,#paxia-checkout-address)>label:has([name="street"]){grid-column:1 / -1}


/* Product shipping: selected destination and action share one compact row. */
.live-shipping-destination{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:8px 0 16px;min-width:0}
.live-shipping-destination>strong{overflow-wrap:anywhere}
.live-shipping-destination>.text-link{flex:none;margin:0;padding:0;min-height:0}
.live-shipping-methods{display:grid;gap:12px;margin-top:12px}
.live-shipping-method{padding-top:12px;border-top:1px solid #ededed}
#live-shipping-result .live-attribute-grid{grid-template-columns:minmax(0,1fr);gap:8px}
#live-shipping-result .live-attribute-grid>div{min-width:0;display:flex;justify-content:space-between;gap:12px}
#live-shipping-result .live-attribute-grid b{min-width:0;text-align:right;overflow-wrap:anywhere}

.purchase-card .detail-lower-actions{display:flex;align-items:center;gap:8px;margin-top:10px;flex-wrap:wrap}
.purchase-card .detail-lower-actions>.live-product-actions{margin:0;min-width:0}
.purchase-card .detail-lower-actions>.live-product-actions:last-child{flex:1}
.purchase-card .detail-lower-actions .card-buy-action{width:100%;min-height:44px}

.detail-lower-actions .detail-chat-button{flex:1 1 130px;min-width:0;min-height:42px;border-radius:999px;white-space:nowrap;color:var(--detail-chat-color,#db2777)}

/* A long shipping list must not extend below a sticky desktop viewport. */
.live-product-page .pdp-purchase{min-height:0}
.live-product-page .pdp-purchase>.purchase-card{scrollbar-width:none;-ms-overflow-style:none}
.live-product-page .pdp-purchase>.purchase-card::-webkit-scrollbar{display:none;width:0;height:0}
@media(min-width:1101px){
 .live-product-page .pdp-purchase>.purchase-card{max-height:calc(100vh - var(--site-top-height,190px) - 32px);max-height:calc(100dvh - var(--site-top-height,190px) - 32px);overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;touch-action:pan-y pinch-zoom}
}
/* On narrow or short screens, scroll the entire page rather than trap a small card. */
@media(max-width:1100px),(max-height:480px){
 .live-product-page .pdp-purchase{position:static;top:auto}
 .live-product-page .pdp-purchase>.purchase-card{max-height:none;overflow:visible}
}
.live-product-page .purchase-card .detail-chat-button{border:1px solid var(--detail-chat-color,#fd0051);color:var(--detail-chat-color,#fd0051)}

.live-product-page .pdp-purchase>.purchase-card:focus-visible{outline:2px solid var(--detail-chat-color,#fd0051);outline-offset:2px}

.live-product-page .live-shipping-select-label{display:block;font-size:12px;margin:0 0 5px;color:inherit}
.live-product-page .live-shipping-select{display:block;width:100%;min-width:0;max-width:100%;height:40px;padding:7px 28px 7px 10px;border:1px solid #dedee4;border-radius:10px;background:#fff;color:#26232b;font:inherit;font-size:13px;text-overflow:ellipsis}
.live-product-page #live-shipping-quote>h4{display:none}

.live-product-page .detail-lower-actions .card-add-icon{border-color:var(--detail-cart-color,#fd0051)!important}
.live-product-page .detail-lower-actions .card-share-action{border-color:var(--detail-share-color,#fd0051)!important}

/* Reuse the address selector, including its rounded option panel. */
#live-shipping-result .rounded-select{width:100%;min-width:0;position:relative}
#live-shipping-result .rounded-select-trigger{box-sizing:border-box;width:100%;max-width:none;min-height:46px;border-radius:12px;text-align:left;padding:11px 36px 11px 14px;border:1px solid #e6e6e8;background:#fff;color:#222;font:inherit;font-size:14px;white-space:normal;overflow-wrap:anywhere}
#live-shipping-result .rounded-select-menu{box-sizing:border-box;position:relative;inset:auto;width:100%;max-width:none;max-height:180px;overflow:auto;scrollbar-width:none;margin:6px 0 0;padding:6px;border:1px solid #eee;border-radius:14px;background:#fff;box-shadow:0 8px 28px #0002;list-style:none}
#live-shipping-result .rounded-select-menu::-webkit-scrollbar{display:none}
#live-shipping-result .rounded-select-menu li{padding:10px 12px;border-radius:9px;white-space:normal;overflow-wrap:anywhere;cursor:pointer;color:#222;font-size:14px}
#live-shipping-result .rounded-select-menu li.is-active{color:#ad0038;background:#fff0f5}
#live-shipping-result .rounded-select-menu li[aria-disabled=true]{color:#777;cursor:default}
#live-shipping-result [hidden]{display:none!important}

#live-shipping-result .live-shipping-selected-fee{margin:8px 0 0;color:#222;font-size:14px;font-weight:600;overflow-wrap:anywhere}

.live-product-page .live-shipping-seller-title{margin:12px 0 6px;color:#222;font-size:14px;font-weight:600}

#live-shipping-result .shipping-carrier-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:20px;margin-right:8px;color:#737078;vertical-align:middle}
#live-shipping-result .shipping-carrier-icon :is(img,svg){display:block;width:34px;height:20px;object-fit:contain}
#live-shipping-result .shipping-carrier-text{min-width:0;overflow-wrap:anywhere;vertical-align:middle}
#live-shipping-result .rounded-select-trigger,#live-shipping-result .rounded-select-menu li{display:flex;align-items:center}
#live-shipping-result .live-shipping-selected-arrival{margin:5px 0 0;color:#666;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.live-product-page .purchase-card>h3{color:#ad0038}
.live-product-page .purchase-card>h3::before,.live-product-page .live-shipping-select-label::before,.live-product-page .live-shipping-seller-title::before{content:"";display:inline-block;width:4px;height:.8em;margin-right:7px;border-radius:2px;background:#fd0051;vertical-align:baseline}
.live-product-page .live-shipping-destination>strong{color:#4b4348}

.live-product-page .live-shipping-destination{flex-wrap:nowrap;align-items:baseline}
.live-product-page .live-shipping-destination>strong{flex:1;min-width:0}
.live-product-page .live-shipping-destination>.text-link{margin-left:auto;text-align:right;white-space:nowrap}

.live-product-page .live-shipping-error{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:13px;color:#666}
.live-product-page .live-shipping-retry{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 16px;border:1px solid #f3b9bf;border-radius:999px;background:#fff0f1;color:#a92a3a;font:inherit;font-size:13px;white-space:nowrap;cursor:pointer}
.live-product-page .live-shipping-retry:hover{background:#ffe4e7}
.live-product-page .live-shipping-retry:focus-visible{outline:2px solid #b83548;outline-offset:2px}
.live-product-page .live-shipping-retry:disabled{opacity:.6;cursor:wait}

/* Consistent shipping sidebar type scale: destination, quote, fee, arrival, seller. */
.live-product-page .purchase-card :is(h3,h4,label,strong,b,small,p,span,a,button,select,li,summary){font-size:14px}
.live-product-page .live-shipping-select-label,#live-shipping-result .rounded-select-trigger,#live-shipping-result .rounded-select-menu li,#live-shipping-result .live-shipping-selected-fee,#live-shipping-result .live-shipping-selected-arrival{font-size:14px;line-height:1.5}
.live-product-page .live-shipping-error,.live-product-page .live-shipping-retry{font-size:14px}

#live-shipping-result .shipping-expanded .rounded-select-menu{position:relative;max-height:none;margin:0;padding:4px;border:1px solid #eee;box-shadow:none}
#live-shipping-result .shipping-expanded .rounded-select-menu li{min-height:34px;padding:6px 8px;line-height:1.35;border:1px solid transparent}
#live-shipping-result .shipping-expanded .rounded-select-menu li.is-selected{border-color:#fd0051;background:#fff0f5;color:#ad0038}
#live-shipping-result .shipping-expanded .rounded-select-menu:focus-visible{outline:2px solid #fd0051;outline-offset:2px}

/* Public seller identity and optional registered English company name. */
.live-seller-details{min-width:0;width:100%;border:0;background:transparent}
.live-seller-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;border-radius:8px;padding:6px 0;text-align:left}
.live-seller-summary::-webkit-details-marker{display:none}
.live-seller-summary:focus-visible{outline:2px solid #db2777;outline-offset:4px}
.live-seller-summary .live-seller-identity{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:4px;overflow-wrap:anywhere}
.live-seller-name-en{font-size:.9em;color:#596174;line-height:1.4}
.live-seller-chevron{flex:none;font-size:24px;line-height:1;color:#596174;transition:transform .15s}
.live-seller-details[open]>.live-seller-summary .live-seller-chevron{transform:rotate(90deg)}
.live-seller-basic{margin:10px 0 0;padding:12px;border:1px solid #e5e7eb;border-radius:10px;background:#fafafa;max-width:100%;font-size:13px;line-height:1.6}
.live-seller-basic>div{display:grid;grid-template-columns:minmax(70px,28%) minmax(0,1fr);gap:10px;padding:4px 0}
.live-seller-basic dt{color:#667085;font-weight:500;margin:0;overflow-wrap:anywhere}
.live-seller-basic dd{margin:0;color:#253047;white-space:pre-wrap;overflow-wrap:anywhere}

#live-shipping-result .live-shipping-selected-fee{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
#live-shipping-result .shipping-fee-converted{margin-left:auto;text-align:right;white-space:nowrap;font-size:14px;font-weight:600;color:#ad0038}
#live-shipping-result .live-shipping-selected-arrival{color:#087f75;font-weight:600}
.live-product-page .purchase-card>h3{color:#111;font-size:16px;font-weight:700}

.live-product-page .purchase-card>h3{margin:0 0 10px;line-height:1.4}

/* Readability pass: solid text on commerce surfaces; leave configured icon,
   selected, disabled and payment-status colors under their existing rules. */
.option-number,.checkout-wallet-address>span,.checkout-topup-brand span{font-size:14px;color:#333;line-height:1.5}
.option-picker-row b,.option-picker-row>strong{font-size:15px;line-height:1.5}
.product-price-row .product-ppax{font-size:14px;line-height:1.5;color:#ad0038}
.product-price-row>small:not(.product-ppax){font-size:14px;line-height:1.5}
.banner-product .banner-price-row small{font-size:14px;line-height:1.5;color:#ad0038}
.checkout-wallet-address,.checkout-address-summary{font-size:15px;line-height:1.65}
.checkout-balance-row>b{font-size:16px;line-height:1.5}
.live-seller-name-en,.live-seller-basic{font-size:14px;line-height:1.6}
.live-seller-basic dt{color:#333}
.live-seller-basic dd{color:#111}
.live-product-page .live-shipping-destination>strong{color:#111}
.live-product-page .live-shipping-error{color:#333}
/* Do not raise fixed-height compact selectors: actual input fields can grow. */
@media(max-width:600px){
 #checkout-root .checkout-address input,#checkout-root .checkout-address select,
 #checkout-root .checkout-line select,#delivery-address-form input,#delivery-address-form select,
 #paxia-checkout-topup input,#paxia-checkout-topup select{font-size:16px}
 .option-picker-row b,.option-picker-row>strong{font-size:15px}
}
/* Shared public pages: avoid universal color overrides on branded/inverted UI. */
:root{--ink:#111;--muted:#444}
.hot-search,.discovery-card small,.benefits small,.feature>p,.product p,
.footer-grid p,.footer-bottom,.note,.empty p,.cart-line p,.breadcrumb,
.tiers small,.detail-info dt,.specs td:first-child,.faq p,.chat-list small,
.supplier-card p,.success p,.shipping-attributes span,.review-empty,
.inquiry-product p,.buyer-message small,.buyer-message time,
.live-product-page .breadcrumb,.live-detail-category,.live-detail-price small,
.live-detail-info dt,.live-description-link,.live-product small,
.live-catalog-pagination span,.option-picker-row small,.live-reviews>p,
.purchase-card>small,.seller-chat-empty{color:#444}
.product h3,.live-product h3{font-size:15px;line-height:1.55}
.live-product small,.option-picker-row small,.live-detail-category,
.live-description-link,.live-catalog-pagination span,.live-reviews>p,
.purchase-card>small,.form-grid label,.cart-line p,.cart-line h4,
.note,.empty p,.faq p,.supplier-card p,.success p,.review-empty,
.footer-grid p,.footer-grid button,.footer-bottom{font-size:14px;line-height:1.6}
/* Keep compact navigation scalable, not 9–11px on mobile. */
@media(max-width:760px){
 .nav button,.category-list button,.country-row button,.benefits b,
 .benefits small,.hot-search,.hot-search button{font-size:13px;line-height:1.5}
 .searchbox input{font-size:16px}
 .product h3,.live-product h3{font-size:15px;line-height:1.55}
}
.live-product-page .live-product-ai-summary{font-size:15px;line-height:1.65;color:#111}
.live-product-page .product-summary-more{font-size:14px;color:#333;min-height:40px}
/* The main shipping heading is plain; retain subheading accents. */
.live-product-page .purchase-card>h3::before{display:none}
.live-product-page .purchase-card>h3{margin-bottom:14px}
.live-product-page .live-shipping-destination>strong,.live-product-page .live-shipping-select-label,#live-shipping-result .live-shipping-selected-fee>span,.live-product-page .live-shipping-seller-title{font-size:14px;font-weight:600;line-height:1.5}
.live-product-page .live-shipping-destination>strong::before,.live-product-page .live-shipping-select-label::before,#live-shipping-result .live-shipping-selected-fee>span::before,.live-product-page .live-shipping-seller-title::before{content:"";display:inline-block;width:14px;height:14px;margin-right:6px;vertical-align:-2px;border-radius:0;background:currentColor;mask-repeat:no-repeat;mask-position:center;mask-size:contain}
.live-product-page .live-shipping-destination>strong::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='M12 22S4 14 4 9a8 8 0 0 1 16 0c0 5-8 13-8 13Z'/%3E%3Ccircle cx='12' cy='9' r='3' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E")}
.live-product-page .live-shipping-select-label::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='M3 4h12v13H3zM15 8h4l3 5v4h-7M6 20h1M18 20h1'/%3E%3C/svg%3E")}
#live-shipping-result .live-shipping-selected-fee>span::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='5' width='20' height='14' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E")}
.live-product-page .live-shipping-seller-title::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='M4 10v11h16V10M2 10l3-7h14l3 7ZM9 21v-7h6v7'/%3E%3C/svg%3E")}

/* Seller hover preview; click registered store name to visit its public store. */
.live-seller-popover{position:relative}
.live-seller-store-link{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;color:inherit;text-decoration:none;min-width:0;overflow-wrap:anywhere}
.live-seller-store-link:hover,.live-seller-store-link:focus-visible{text-decoration:underline}
.live-seller-popover .live-seller-panel{position:absolute;z-index:30;top:100%;left:0;width:min(360px,100%);padding:16px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 6px 24px #17203326;max-height:min(60vh,420px);overflow:auto}
.live-seller-panel-title{font-size:16px;display:block;margin:0 0 8px}
.live-seller-panel .live-seller-basic{border:0;background:transparent;padding:0;margin:0;font-size:13px}
.live-seller-info-link{display:inline-block;margin-top:8px;color:#2563eb;font-size:13px}
.live-seller-popover a:focus-visible{outline:2px solid #db2777;outline-offset:3px}

/* Owner-requested temporary identity is limited to the platform seller. */
.live-seller-temporary-name{font-size:13px;font-weight:400;line-height:1.5;overflow-wrap:anywhere}
.live-seller-temporary-name small{font:inherit;color:#667085;white-space:nowrap}

#live-shipping-result .shipping-fee-converted{font-weight:400}

.live-product-page .live-destination-country{display:inline-flex;align-items:baseline;gap:6px;margin-left:8px;max-width:100%;vertical-align:baseline}
.live-product-page .live-country-flag{flex:none;line-height:1;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif}
.live-product-page .live-destination-country>span:last-child{overflow-wrap:anywhere}

#live-shipping-result .live-shipping-selected-fee{margin-top:12px}

#live-related-products{min-width:0;width:100%}#live-related-products[hidden]{display:none}


/* Full-width lower store and recommendation row across all product columns. */
.live-pdp-grid > #live-supplier,
.live-pdp-grid > #live-product-recommendations{grid-column:1 / -1;min-width:0;width:100%;max-width:100%;box-sizing:border-box}
.live-pdp-grid > #live-supplier{margin-top:0}

/* Product-page reference typography: compact, high-contrast header text. */
@media (min-width:761px) {
  body > header .header-actions { font-size:12px; line-height:1.3; color:#111; }
  body > header .header-actions > button { font-family:inherit; font-size:12px; line-height:1.3; }
  body > header .header-actions .delivery small { font-size:11px; font-weight:400; line-height:1.3; color:#111; }
  body > header .header-actions #delivery-label,
  body > header .header-actions #locale-label,
  body > header .header-actions [data-action="login"] > span,
  body > header .header-actions [data-action="signup"],
  body > header .header-actions .header-cart-label { font-size:12px; font-weight:700; line-height:1.3; }
  body > header .header-actions > button:not(.primary) { color:#111; }
  body > header .header-actions .cart-icon { display:grid; grid-template-columns:26px auto; grid-template-rows:14px 17px; column-gap:7px; row-gap:0; align-items:center; text-align:left; }
  body > header .header-actions .cart-icon > :is(i,svg) { grid-column:1; grid-row:1 / 3; }
  body > header .header-actions .cart-icon #cart-count { position:static; grid-column:2; grid-row:1; justify-self:start; min-width:22px; width:auto; height:14px; padding:0 5px; border-radius:10px; background:#111; color:#fff; font-size:10px; font-weight:700; line-height:14px; text-align:center; }
  body > header .header-actions .header-cart-label { grid-column:2; grid-row:2; white-space:nowrap; }
}
@media (max-width:760px) {
  body > header .header-actions .header-cart-label { display:none; }
}
/* Keep the sticky delivery card inside the upper two grid rows, never over Store. */
@media(min-width:1101px) and (min-height:481px){
 .live-product-page .pdp-purchase{position:static;top:auto;align-self:stretch;height:auto}
 .live-product-page .pdp-purchase>.purchase-card{position:sticky;top:calc(var(--site-top-height,190px) + 16px)}
}


/* Inline retry wording: remain keyboard-operable without a separate button box. */
.live-product-page .live-shipping-error{display:block;line-height:1.8}
.live-product-page .live-shipping-retry{display:inline;min-height:0;height:auto;width:auto;max-width:none;margin:0;padding:2px 6px;border:0;box-shadow:none;border-radius:999px;background:#fff0f1;color:#a92a3a;font:inherit;vertical-align:baseline}

/* Keep the disclosure arrow level with the seller name, not the second-line badge. */
.live-seller-summary{align-items:flex-start;line-height:1.5}
.live-seller-summary .live-seller-store-link{line-height:1.5}
.live-seller-summary .live-seller-chevron{display:flex;align-items:center;justify-content:center;align-self:flex-start;width:1.5em;height:1.5em;font-size:inherit;line-height:1.5;flex-shrink:0}

/* Unified lower store panel */
.live-pdp-grid #live-supplier.live-store-panel{grid-column:1/-1;min-width:0;padding:22px 24px;border:0!important;border-radius:14px;background:#f7f7fa;box-shadow:none}
.live-store-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.live-store-panel-head h2{margin:0;min-width:0}
.live-store-panel .live-store-message{flex:0 0 auto;white-space:nowrap;margin:0;border-radius:999px;padding:9px 20px;min-height:38px}
@media(max-width:600px){.live-pdp-grid #live-supplier.live-store-panel{padding:16px}.live-store-panel-head{gap:12px}.live-store-panel .live-store-message{padding:8px 16px}}

/* Compact centered commerce dialogs: cart, options, address management and checkout. */
.dialog:has(.live-cart),.dialog:has(.option-picker),.dialog:has(.option-picker-loading),.dialog:has(#address-manager),.dialog:has(#checkout-root){width:min(480px,calc(100vw - 24px))!important;max-width:480px!important;margin-inline:auto;box-sizing:border-box;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:none;border-radius:18px}
.dialog:has(:is(.live-cart,.option-picker,.option-picker-loading,#address-manager,#checkout-root))::-webkit-scrollbar{display:none}
.dialog:has(:is(.live-cart,.option-picker,.option-picker-loading,#address-manager,#checkout-root)) .dialog-head{padding:18px 20px 14px}
.dialog:has(:is(.live-cart,.option-picker,.option-picker-loading,#address-manager,#checkout-root)) #dialog-body{padding:18px 20px;min-width:0;box-sizing:border-box}
#address-manager,#checkout-root,.option-picker,.option-picker-tiers,.option-picker-footer,.live-cart{max-width:100%;min-width:0;box-sizing:border-box}
#delivery-address-form,#paxia-checkout-address{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
#delivery-address-form input:not([type=checkbox]),#delivery-address-form select,#paxia-checkout-address input:not([type=checkbox]),#paxia-checkout-address select{min-height:42px;padding:10px 12px}
.option-picker-row{grid-template-columns:22px 52px minmax(0,1fr);gap:10px;padding:12px;min-width:0}
.option-picker-row>.option-choice{grid-column:1;grid-row:1;align-self:center}
.option-picker-row>img{grid-column:2;grid-row:1;width:52px;height:52px}
.option-picker-row>.option-description{grid-column:3;grid-row:1;min-width:0;overflow-wrap:anywhere}
.option-picker-row>strong{grid-column:2 / 4;grid-row:2;text-align:left;white-space:normal;overflow-wrap:anywhere}
.option-picker-row>.option-counter{grid-column:2 / 4;grid-row:3;justify-self:end;width:120px}
.option-picker-tiers .live-tier-grid{flex-wrap:wrap;gap:8px}
.option-picker-tiers .live-tier-grid button{max-width:100%;flex:1 1 140px}
.option-picker-footer{position:static}
.live-cart-row>a{min-width:0;align-items:center;gap:12px}
.live-cart-row>a>b{min-width:0;overflow-wrap:anywhere;line-height:1.5}
.live-cart-row img{width:64px;height:64px;flex:0 0 64px}
.live-cart-row p,.live-cart-total{overflow-wrap:anywhere}
.live-cart-row>div{flex-wrap:wrap;gap:12px}
.live-cart-total{font-size:16px}
#address-manager .address-card{min-width:0;overflow-wrap:anywhere}
#address-manager .address-card>div{display:flex;flex-wrap:wrap;gap:8px}
#checkout-root .checkout-line{padding:12px;min-width:0;overflow-wrap:anywhere}
#checkout-root .checkout-balance-row{gap:10px}
#checkout-root .checkout-wallet-address{word-break:break-word}
@media(max-width:380px){.dialog:has(:is(.live-cart,.option-picker,.option-picker-loading,#address-manager,#checkout-root)) #dialog-body{padding:16px}.dialog:has(:is(.live-cart,.option-picker,.option-picker-loading,#address-manager,#checkout-root)) .dialog-head{padding:16px}.option-picker-row{padding:10px;gap:8px}}
/* Selected shipping quote: background highlight, no decorative outline. */
#live-shipping-result .shipping-expanded .rounded-select-menu li.is-selected{border-color:transparent;background:#fff0f5;color:#ad0038}

/* Shipping carrier mark and chevron share the text's vertical centre. */
#live-shipping-result .shipping-carrier-icon:has(img[src$="/dhl.svg"]){flex-basis:52px;width:52px;height:24px;margin-right:10px}
#live-shipping-result .shipping-carrier-icon img[src$="/dhl.svg"]{width:52px;height:24px}
#live-shipping-result .rounded-select-trigger{position:relative;align-items:center;padding-right:32px}
#live-shipping-result .rounded-select-trigger::after{content:"";position:absolute;right:15px;top:50%;width:6px;height:6px;margin-top:-2px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:translateY(-50%) rotate(45deg);flex-shrink:0}

/* Checkout: compact product header and authoritative quote totals. */
#checkout-root .checkout-product-heading{display:flex;align-items:center;gap:12px;min-width:0}
#checkout-root .checkout-product-heading img{flex:0 0 56px;object-fit:cover;border-radius:8px}
#checkout-root .checkout-product-heading>div{min-width:0;overflow-wrap:anywhere}
#checkout-root .checkout-product-heading p{margin:6px 0 0}
#checkout-root .checkout-quantity{display:flex;align-items:center;gap:12px;margin-top:12px}
#checkout-root .checkout-quantity input{width:88px;min-width:0;height:36px;padding:6px 10px;border-radius:8px}
#checkout-root .checkout-cost-row,#checkout-root .checkout-total{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap}
#checkout-root .checkout-cost-values{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex:1;min-width:0;flex-wrap:wrap}
#checkout-root .checkout-cost-values>strong{margin-left:auto}
#checkout-root .checkout-cost-values>span{margin-left:auto;font-weight:400;white-space:nowrap}

/* Order CTA: balanced breathing room above and below, all viewports. */
.live-product-page .purchase-card>.live-start-order{margin-top:16px;margin-bottom:0}
.live-product-page .purchase-card>.live-start-order+.detail-lower-actions{margin-top:16px}

/* Matching money columns across subtotal, freight and grand total. */
#checkout-root .checkout-cost-row,#checkout-root .checkout-total{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);align-items:baseline;gap:8px;width:100%;box-sizing:border-box}
#checkout-root .checkout-cost-values{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;min-width:0;width:100%;font-variant-numeric:tabular-nums}
#checkout-root .checkout-cost-values>strong,#checkout-root .checkout-cost-values>span{display:block;min-width:0;margin:0;text-align:right;overflow-wrap:anywhere;white-space:normal}
#checkout-root .checkout-cost-values>strong{font-size:inherit}
#checkout-root .checkout-cost-values>span{font-weight:400}
@media(max-width:380px){#checkout-root .checkout-cost-row,#checkout-root .checkout-total{grid-template-columns:minmax(0,1fr)}#checkout-root .checkout-cost-values{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}}

/* Checkout wallet: equal inset around balance, top-up and address. */
#checkout-root .checkout-wallet{padding:18px 16px;box-sizing:border-box;min-width:0}

/* Country browse flags: remove circular backdrop, preserve hit area. */
.country-row button>span{background:transparent;box-shadow:none}
/* Separate the address summary from the order review heading. */
#checkout-root #checkout-costs:has(>.checkout-review){padding-top:16px}

/* Header country/currency codes only are bold. */
body > header .header-actions > button,
body > header .header-actions .delivery small,
body > header .header-actions #delivery-label,
body > header .header-actions #locale-label,
body > header .header-actions [data-action="login"] > span,
body > header .header-actions [data-action="signup"],
body > header .header-actions .header-cart-label,
body > header .header-actions .header-language-name { font-weight:400; }
body > header .header-actions .header-country-code,
body > header .header-actions .header-currency-code { font-weight:700; }
/* PAXia standalone top-up, existing signed funding flow. */
.paxia-topup{width:100%;max-width:400px;margin:auto;box-sizing:border-box;color:#18131a}.paxia-topup-brand{font-size:13px;color:#ef0062;font-weight:700}.paxia-topup-logo{display:block;margin:20px auto 12px}.paxia-topup h3{text-align:center;font-size:23px;margin:12px 0 24px}.paxia-topup-balance{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#fff2f7;border-radius:12px;padding:12px;margin:12px 0;flex-wrap:wrap}.paxia-topup-balance strong{margin-left:auto;overflow-wrap:anywhere}.paxia-topup-input{display:flex;align-items:center;gap:8px;border:1px solid #ef0062;border-radius:12px;padding:8px;margin:8px 0 18px}.paxia-topup-input button{padding:6px 10px;min-height:36px;flex:none}.paxia-topup-input select{width:78px;min-width:0;padding:6px;min-height:36px}.paxia-topup-input input{min-width:0;width:100%;border:0;text-align:right;padding:6px;font-size:18px}.paxia-topup-input [data-topup-asset]{font-size:12px}.paxia-topup-submit{width:100%;background:#ff0065;color:#fff;border-radius:999px;margin:12px 0}.paxia-topup-fee{text-align:center;font-size:12px;line-height:1.5;margin:8px 0}.payment-pusd-balance{flex-wrap:wrap;align-items:center}.payment-pusd-balance strong{margin-left:auto}
#paxia-checkout-address .checkout-address-save-choice{display:flex;align-items:center;gap:8px;min-height:32px;font-size:14px;font-weight:400;margin:8px 0 0;padding:0;background:none;border:0;border-radius:0;}
#paxia-checkout-address .checkout-address-save-choice[hidden]{display:none!important;}
#paxia-checkout-address .checkout-address-save-choice input[type=checkbox]{width:16px;height:16px;min-height:0;margin:0;flex:0 0 16px;accent-color:var(--primary,#e94b86);}

/* Home service benefits: readable text and slightly larger illustrations */
.benefits>button{min-width:0;gap:14px}.benefits>button>span{min-width:0;overflow-wrap:anywhere}.benefits b{font-size:14px;line-height:1.45;color:#171717}.benefits small{display:block;font-size:13px;line-height:1.5;color:#333}.benefits .benefit-photo{flex:0 0 72px;width:72px;height:72px}
@media(max-width:760px){.benefits{gap:16px 10px}.benefits>button{gap:8px}.benefits b{font-size:13px}.benefits small{font-size:12px}.benefits .benefit-photo{flex-basis:54px;width:54px;height:54px}}
@media(max-width:380px){.benefits{grid-template-columns:1fr}.benefits>button{min-height:64px}}

/* Checkout controls: retain functional native inputs and compact left alignment. */
#paxia-checkout-address>label.checkout-address-save-choice{flex-direction:row;justify-content:flex-start;align-items:center;text-align:left;gap:8px;flex-wrap:nowrap;}
#checkout-root .checkout-quantity input[type=number]{appearance:auto;-moz-appearance:auto;}
#checkout-root .checkout-quantity input[type=number]::-webkit-inner-spin-button,
#checkout-root .checkout-quantity input[type=number]::-webkit-outer-spin-button{appearance:auto;-webkit-appearance:auto;opacity:1;margin:0;}

#checkout-root .checkout-shipping-first{display:grid;gap:12px;margin:12px 0 16px;min-width:0;}
#checkout-root .checkout-shipping-first label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:14px;}
#checkout-root .checkout-shipping-first select{box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:38px;border-radius:8px;}
#checkout-root .checkout-shipping-first [data-estimate-lines]{display:grid;gap:10px;min-width:0;}
#checkout-root #paxia-checkout-address[hidden]{display:none!important;}

/* v0.7.107: selected shipping is an order fact; only product totals change with quantity. */
#live-shipping-result .shipping-carrier-text strong{font-weight:700}
#checkout-root .checkout-quantity-price{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;margin-top:12px}
#checkout-root .checkout-quantity-price .checkout-quantity{margin-top:0;flex:0 1 auto}
#checkout-root .checkout-product-price{margin-inline-start:auto;text-align:right;min-width:0;overflow-wrap:anywhere;font-weight:700}
#checkout-root .checkout-shipping-confirmed{gap:10px}
#checkout-root .checkout-shipping-confirmed h3{font-size:14px;margin:0;font-weight:700}
#checkout-root .checkout-confirmed-country,#checkout-root .checkout-confirmed-route p,#checkout-root .checkout-preview-totals p{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0}
#checkout-root .checkout-confirmed-route{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:8px 12px;overflow-wrap:anywhere}
#checkout-root .checkout-confirmed-route>strong{text-align:right;font-weight:700}
#checkout-root .checkout-confirmed-route p{grid-column:1/-1}
#checkout-root .checkout-preview-totals{display:grid;gap:10px;border-top:1px solid #eee;padding-top:14px;margin-top:4px}
#checkout-root .checkout-preview-totals strong{text-align:right;overflow-wrap:anywhere;font-weight:700}
#checkout-root .checkout-preview-total{font-size:18px;border-top:1px solid #eee;padding-top:12px}
#checkout-root .checkout-shipping-confirmed [data-estimate-status]:empty{display:none}
#checkout-root .checkout-shipping-confirmed [data-estimate-continue]{margin-top:8px}
#paxia-checkout-address[data-shipping-country] label:has(>select[name=country]){display:none!important}
@media(max-width:360px){#checkout-root .checkout-quantity-price{gap:8px}#checkout-root .checkout-quantity{gap:6px}#checkout-root .checkout-quantity input{width:68px}#checkout-root .checkout-product-price{font-size:14px}}

/* Order sections share one text scale and one amount weight. */
#checkout-root .checkout-shipping-confirmed{margin-top:18px;padding-top:18px;border-top:1px solid #e5e7eb}
#checkout-root .checkout-shipping-confirmed,#checkout-root .checkout-quantity-price{font-size:14px;line-height:1.55;color:#222}
#checkout-root .checkout-shipping-confirmed h3{font-size:14px;line-height:1.55;font-weight:700}
#checkout-root .checkout-shipping-confirmed p,#checkout-root .checkout-confirmed-route>span{font-size:14px;font-weight:400}
#checkout-root .checkout-shipping-confirmed strong,#checkout-root .checkout-product-price{font-size:14px;font-weight:700}
#checkout-root .checkout-preview-total,#checkout-root .checkout-preview-total strong{font-size:18px;font-weight:700}
#checkout-root .checkout-country-name{display:inline-flex;align-items:center;justify-content:flex-end;gap:7px}
#checkout-root .checkout-country-flag{display:block;width:21px;height:14px;object-fit:contain;flex:none;border-radius:0}
#checkout-root #paxia-checkout-address{border-top:1px solid #e5e7eb;margin-top:22px;padding-top:20px}
#checkout-root .checkout-selected-products{margin:0;padding-bottom:0}
#checkout-root .checkout-review{border-top:1px solid #e5e7eb;padding-top:20px;margin-top:22px}
#checkout-root .checkout-final-summary{padding-bottom:0;margin-bottom:0;border-bottom:0}
#checkout-root .checkout-available-balance{margin:18px 0;padding:16px 0 0;border-top:1px solid #e5e7eb;border-bottom:0;display:grid;gap:8px}
#checkout-root .checkout-available-balance>span{font-size:14px;font-weight:400;color:#333}
#checkout-root .checkout-available-balance>strong{font-size:26px;font-weight:800;line-height:1.25;color:#d90058;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#checkout-root .checkout-insufficient{margin:4px 0 0;color:#b42318;font-size:14px;font-weight:600}
#checkout-root .checkout-payment-actions{display:grid;gap:10px;margin-top:20px;padding-top:0;border-top:0}
#checkout-root .checkout-payment-actions>button{width:100%;min-height:44px;border-radius:999px;font-size:14px;font-weight:700;box-sizing:border-box}
#checkout-root .checkout-payment-actions>.outline{background:transparent;border:1px solid #d90058;color:#d90058}
#checkout-root .checkout-final-total{display:flex;justify-content:space-between;gap:14px;font-size:18px;font-weight:700}
#checkout-root .checkout-final-total strong{text-align:right;overflow-wrap:anywhere}
#checkout-root .checkout-payment-unavailable{font-size:14px;line-height:1.55;color:#b42318}
#checkout-root .checkout-review [hidden],#checkout-root>[hidden]{display:none!important}
#checkout-root .paxia-topup-balance strong[data-pusd-balance]{font-size:26px;font-weight:800;color:#d90058}
#checkout-root .checkout-final-amounts{display:grid;gap:5px;text-align:right;min-width:0}
#checkout-root [data-checkout-total-local]{font-size:14px;font-weight:700;color:#444}
/* Checkout body copy retains its original scale. */
#checkout-root{font-size:14px;line-height:1.5}
#checkout-root .checkout-shipping-confirmed,#checkout-root .checkout-shipping-confirmed h3,
#checkout-root .checkout-shipping-confirmed p,#checkout-root .checkout-shipping-confirmed strong,
#checkout-root .checkout-confirmed-route>span,#checkout-root .checkout-quantity-price,
#checkout-root .checkout-quantity,#checkout-root .checkout-quantity input,
#checkout-root .checkout-product-price,#checkout-root .checkout-product-heading b,
#checkout-root .checkout-product-heading p,#checkout-root .checkout-preview-total,
#checkout-root .checkout-preview-total strong,#checkout-root .checkout-final-total,
#checkout-root [data-checkout-total-local],#checkout-root .checkout-available-balance>span,
#checkout-root .checkout-insufficient,#checkout-root .checkout-payment-unavailable,
#checkout-root .checkout-payment-actions>button,#checkout-root .checkout-consent{font-size:14px;line-height:1.5}
#checkout-root .checkout-quantity-price{flex-wrap:wrap;row-gap:10px}
#checkout-root .checkout-country-name{flex-wrap:wrap;justify-content:flex-end}
#checkout-root .checkout-preview-totals p,#checkout-root .checkout-final-total{flex-wrap:wrap}
#checkout-root .checkout-preview-totals strong,#checkout-root .checkout-final-amounts{margin-inline-start:auto;max-width:100%}
#checkout-root{--checkout-section-title-size:16px}
#checkout-root .checkout-shipping-confirmed h3,
#checkout-root .checkout-address-choice{font-size:var(--checkout-section-title-size);font-weight:700;line-height:1.5}
#checkout-root .checkout-preview-total{border:0;background:#fff2f6;border-radius:10px;padding:12px 14px;box-sizing:border-box;box-shadow:none;outline:0}
#checkout-root #paxia-checkout-address{border-top:0;margin-top:22px;padding-top:0}
#paxia-checkout-address .rounded-select-trigger,#delivery-address-form .rounded-select-trigger{position:relative;display:flex;align-items:center}
#paxia-checkout-address .rounded-select-trigger::after,#delivery-address-form .rounded-select-trigger::after{content:"";position:absolute;right:16px;top:50%;width:7px;height:7px;margin-top:-2px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:translateY(-50%) rotate(45deg);flex-shrink:0}
#checkout-root .checkout-available-balance>span{font-weight:700;text-align:left;justify-self:start}
#checkout-root .checkout-available-balance>strong{text-align:right;justify-self:end;width:100%}
.storefront-account-menu .account-menu-pusd-row{display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:10px 2px;min-width:0;text-align:left}
.storefront-account-menu .account-menu-pusd-row>svg{width:18px;height:18px;flex:none}
.storefront-account-menu .account-menu-pusd-copy{display:grid;justify-items:start;gap:3px;min-width:0;font-size:13px;text-align:left}
.storefront-account-menu .account-menu-pusd-copy>strong{font-size:14px;font-weight:700;overflow-wrap:anywhere}
.storefront-account-menu button.account-menu-topup-badge{display:inline-flex;align-items:center;justify-content:center;flex:none;width:auto;min-height:22px;height:22px;margin-inline-start:auto;padding:2px 9px;background:#ed174c;color:#fff;border:0;border-radius:999px;font-size:11px;font-weight:700;line-height:1;white-space:nowrap}
html[data-banner-destination-mismatch] .campaign .banner-products{visibility:hidden}

/* Keep every shipping method on one row, including long carrier names. */
#live-shipping-result .shipping-carrier-text{display:flex;align-items:center;flex:1;min-width:0;white-space:nowrap;overflow:hidden;overflow-wrap:normal}
#live-shipping-result .shipping-carrier-text>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#live-shipping-result .shipping-carrier-text>strong{flex:none;white-space:nowrap}

/* Prices must fit within each product card at narrow widths. */
.banner-product .banner-price-row{flex-wrap:wrap}
.banner-product .banner-price-row strong{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.banner-product .banner-price-row small,.product-price-row .product-ppax{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.product-grid>.live-product,.product-grid>.live-product .product-price-row{min-width:0;max-width:100%}
.product-grid>.live-product .product-price-row .price{max-width:100%;overflow-wrap:anywhere}

/* Keep the original left copy; align the right values with the product amount. */
#checkout-root .checkout-preview-total>strong:first-child{margin-inline-start:0;font-size:14px;text-align:start;flex:1}
#checkout-root .checkout-confirmed-country>strong,#checkout-root .checkout-confirmed-route>strong,#checkout-root .checkout-confirmed-route p>strong,#checkout-root .checkout-preview-totals p>strong:last-child{margin-inline-end:12px}
#checkout-root .checkout-preview-total{padding-inline:12px}
#checkout-root .checkout-preview-total>strong:last-child{margin-inline-end:0}
#checkout-root #paxia-checkout-address{border-top:1px solid #e5e7eb;margin-top:22px;padding-top:20px}

/* Address action rows keep the same height, with balanced default-address spacing. */
#delivery-address-form{row-gap:12px}
#delivery-address-form>.address-default{grid-column:1/-1;display:flex;flex-direction:row;align-items:center;gap:8px;min-height:24px;margin:4px 0;font-size:14px;line-height:1.5}
#delivery-address-form>.address-default input{flex:none;width:18px;height:18px;min-height:18px;margin:0}
#delivery-address-form>#address-status:empty{display:none}
#delivery-address-form>#address-status{grid-column:1/-1;margin:0}
#delivery-address-form>button.primary,#delivery-address-form>button[data-address-back]{display:flex;align-items:center;justify-content:center;grid-column:1/-1;box-sizing:border-box;width:100%;height:44px;min-height:44px;padding:10px 16px;margin:0;border-radius:999px;font-size:14px;line-height:1.4}
#delivery-address-form>button[data-address-back]{border:1px solid #d1d5db;background:#fff;color:#444}
/* Address choices use the body scale; the Delivery details heading stays larger. */
#checkout-root .checkout-address-choice .rounded-select-trigger,#checkout-root .checkout-address-choice .rounded-select-menu,#checkout-root .checkout-address-choice .rounded-select-menu li,#checkout-root .checkout-address-choice select,#delivery-address-form .rounded-select-trigger,#delivery-address-form .rounded-select-menu li{font-size:14px;font-weight:400;line-height:1.5}
/* v0.7.114: one-column PAX funding form, with a shared right-hand amount column. */
.dialog:has(.paxia-topup-v114){position:relative;width:min(480px,calc(100vw - 24px));max-width:480px;max-height:calc(100dvh - 24px);border-radius:22px}
.dialog:has(.paxia-topup-v114) .dialog-head{position:relative;box-sizing:border-box;min-height:64px;padding:20px 32px 0;border:0}
.dialog:has(.paxia-topup-v114) .dialog-head h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.dialog:has(.paxia-topup-v114) .dialog-head .icon-button{position:absolute;right:22px;top:16px;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:#faf5f7;color:#777;font-size:22px}
.dialog:has(.paxia-topup-v114) #dialog-body{padding:8px 32px 28px}
#checkout-root .paxia-topup-v114{--topup-label-width:clamp(92px,30%,128px);--topup-gap:14px;--topup-control-height:44px;max-width:none;margin:0;color:#221c23}
#checkout-root .paxia-topup-v114 .paxia-topup-brand{position:absolute;top:24px;left:32px;margin:0;padding:0}
#checkout-root .paxia-topup-v114 .paxia-topup-brand img{display:block;width:84px;height:28px;object-fit:contain}
#checkout-root .paxia-topup-v114 h3{margin:0 0 20px;text-align:center;font-size:22px;font-weight:700;line-height:1.5}
#checkout-root .paxia-topup-v114 .topup-rate{display:flex;align-items:baseline;justify-content:center;gap:9px;margin:0 0 28px;padding:0;border:0;background:none;color:#ef0057;white-space:nowrap}
#checkout-root .paxia-topup-v114 .topup-rate-part{display:inline-flex;align-items:baseline;gap:3px;min-width:0}
#checkout-root .paxia-topup-v114 .topup-rate b{font-size:52px;line-height:1.1;font-weight:800;letter-spacing:-1.5px}
#checkout-root .paxia-topup-v114 .topup-rate .topup-unit{font-size:16px;font-weight:400;line-height:1.2;letter-spacing:0}
#checkout-root .paxia-topup-v114 .topup-rate-arrow{font-size:18px;font-weight:400}
#checkout-root .paxia-topup-v114 #paxia-checkout-topup{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;margin:0;padding:0;border:0;background:none;min-width:0}
#checkout-root .paxia-topup-v114 .topup-row,#checkout-root .paxia-topup-v114 .topup-entry-grid{display:grid;grid-template-columns:var(--topup-label-width) minmax(0,1fr);align-items:center;gap:10px var(--topup-gap);min-width:0}
#checkout-root .paxia-topup-v114 .topup-row>span,#checkout-root .paxia-topup-v114 .topup-amount-group>label{font-size:14px;font-weight:500;line-height:1.5}
#checkout-root .paxia-topup-v114 .topup-value{display:flex;align-items:baseline;justify-content:flex-end;gap:4px;box-sizing:border-box;min-width:0;min-height:44px;padding:10px 12px;border:0;border-radius:11px;background:#fff1f6;text-align:right;line-height:1.3;overflow-wrap:anywhere}
#checkout-root .paxia-topup-v114 .topup-number{min-width:0;font-size:20px;font-weight:700;line-height:1.2;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
#checkout-root .paxia-topup-v114 .topup-unit{flex:none;font-size:13px;font-weight:400;line-height:1.4;white-space:nowrap}
#checkout-root .paxia-topup-v114 .topup-credit{color:#e70054}
#checkout-root .paxia-topup-v114 .topup-amount-group{display:grid;gap:8px;min-width:0}
#checkout-root .paxia-topup-v114 .topup-max{grid-column:1;grid-row:1;justify-self:start;min-width:58px;background:#fff;border:1px solid #ef0057}
#checkout-root .paxia-topup-v114 .topup-amount-box{grid-column:2;grid-row:1;display:flex;align-items:center;gap:5px;box-sizing:border-box;min-width:0;height:44px;padding:0 12px;border:1px solid #d8d2d7;border-radius:11px;background:#fff}
#checkout-root .paxia-topup-v114 .topup-amount-box:focus-within{border-color:#ef0057;box-shadow:0 0 0 2px #ffedf4}
#checkout-root .paxia-topup-v114 .topup-amount-box input{flex:1 1 0;width:0;min-width:0;max-width:none;height:42px;min-height:0;margin:0;padding:4px 0;border:0;border-radius:0;background:none;outline:0;box-shadow:none;text-align:right;font-size:22px;font-weight:600;line-height:1.2;font-variant-numeric:tabular-nums}
#checkout-root .paxia-topup-v114 .topup-add-buttons{display:grid;grid-column:2;grid-row:2;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-width:0}
#checkout-root .paxia-topup-v114 .topup-shortcut,#checkout-root .paxia-topup-v114 .paxia-topup-submit{box-sizing:border-box;display:flex;align-items:center;justify-content:center;height:var(--topup-control-height);min-height:var(--topup-control-height);margin:0;padding:8px 10px;font-size:14px;font-weight:700;line-height:1;border-radius:10px}
#checkout-root .paxia-topup-v114 .topup-add-buttons .topup-shortcut{width:100%;min-width:0;border:0;background:#ffedf4;color:#c70048}
#checkout-root .paxia-topup-v114 .topup-order-total .topup-value{background:none}
#checkout-root .paxia-topup-v114 .topup-order-total>span{font-weight:700}
#checkout-root .paxia-topup-v114 .paxia-topup-submit{width:100%;margin-top:2px;border:0;border-radius:999px;background:#fd0051;color:#fff}
#checkout-root .paxia-topup-v114 .topup-shortcut:focus-visible,#checkout-root .paxia-topup-v114 .paxia-topup-submit:focus-visible{outline:2px solid #9e0035;outline-offset:3px}
#checkout-root .paxia-topup-v114 .topup-shortcut:disabled{opacity:.5;cursor:not-allowed}
#checkout-root .paxia-topup-v114 .topup-pending:empty{display:none}
#checkout-root:has(.paxia-topup-v114)>#checkout-status:empty{display:none}
@media(max-width:360px){.dialog:has(.paxia-topup-v114) #dialog-body{padding:8px 24px 24px}#checkout-root .paxia-topup-v114{--topup-gap:10px}#checkout-root .paxia-topup-v114 .paxia-topup-brand{left:24px}#checkout-root .paxia-topup-v114 .topup-rate b{font-size:46px}#checkout-root .paxia-topup-v114 .topup-rate .topup-unit{font-size:14px}#checkout-root .paxia-topup-v114 .topup-add-buttons{gap:6px}}

/* v0.7.115: aligned labels, a wider amount column and a compact four-button row. */
#checkout-root .paxia-topup-v114{--topup-label-width:clamp(88px,27%,112px);--topup-gap:12px}
#checkout-root .paxia-topup-v114 #checkout-topup-panel{margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
#checkout-root .paxia-topup-v114 #paxia-checkout-topup{row-gap:20px}
#checkout-root .paxia-topup-v114 .topup-row>span,#checkout-root .paxia-topup-v114 .topup-entry-grid>label{font-size:14px;font-weight:700;line-height:1.5}
#checkout-root .paxia-topup-v114 .topup-entry-grid{row-gap:6px}
#checkout-root .paxia-topup-v114 .topup-entry-grid>label{display:block;grid-column:1;grid-row:1;margin:0;align-self:center}
#checkout-root .paxia-topup-v114 .topup-add-buttons{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
#checkout-root .paxia-topup-v114 .topup-add-buttons .topup-shortcut{height:32px;min-height:32px;min-width:0;margin:0;padding:5px 2px;border-radius:9px;font-size:12px;line-height:1}
#checkout-root .paxia-topup-v114 .topup-add-buttons .topup-max{display:flex;grid-column:auto;grid-row:auto;justify-self:stretch;border:1px solid #ef0057;background:#fff;color:#c70048}
@media(max-width:360px){#checkout-root .paxia-topup-v114{--topup-label-width:86px;--topup-gap:10px}#checkout-root .paxia-topup-v114 .topup-add-buttons{gap:4px}}
/* v0.7.115 cart selection and compact quantity controls. */
#checkout-root .topup-balance-feedback:has([hidden]):not(:has(:not([hidden]))){display:none}
#checkout-root .topup-balance-feedback{grid-column:1/-1;font-size:12px;color:#a51e47;display:flex;align-items:center;gap:8px}
#checkout-root .topup-balance-feedback p{margin:0}
.shipping-inline-retry,.live-shipping-retry{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;background:#fff0f6;color:#e60050;padding:7px 14px;font:inherit;cursor:pointer;min-height:32px}
[data-estimate-status]{line-height:1.8}
.live-cart .cart-select-all{display:flex;align-items:center;gap:8px;margin-bottom:16px}
.live-cart input[type=checkbox]{accent-color:#ff0054;width:17px;height:17px;flex:0 0 17px}
.live-cart .cart-product-heading{display:grid;grid-template-columns:17px 64px minmax(0,1fr);gap:12px;align-items:center}
.live-cart .cart-product-heading>div{min-width:0}
.live-cart .cart-product-heading a{display:block;color:inherit;text-decoration:none;line-height:1.5}
.live-cart .cart-option{font-size:13px;font-weight:400;color:#555;margin:5px 0 0}
.live-cart .cart-quantity-price{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0}
.live-cart .cart-counter{display:flex;align-items:center;flex-wrap:nowrap;gap:0;border:1px solid #e3dfe1;border-radius:10px;overflow:hidden;height:34px;flex:0 0 auto}
.live-cart .cart-counter button{border:0;background:#fff5f9;min-height:32px;height:32px;width:32px;padding:0;font-size:18px}
.live-cart .cart-counter input{box-sizing:border-box;border:0;border-radius:0;width:48px;min-height:32px;height:32px;padding:3px;text-align:center;font-size:14px;appearance:textfield;-moz-appearance:textfield}
.live-cart .cart-counter input::-webkit-inner-spin-button{appearance:none}
.live-cart .cart-prices{text-align:right;display:grid;gap:3px;min-width:0}
.live-cart .cart-prices small,.live-cart #cart-total-pusd{display:block;color:#e60050;font-size:12px}
.live-cart .cart-shipping{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px}
.live-cart .cart-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}
.live-cart .cart-row-actions .outline{width:auto;min-height:32px;height:32px;padding:5px 12px;border-radius:999px;font-size:12px}
.live-cart .cart-totals{padding:12px 0}
.live-cart .cart-totals p{display:flex;align-items:center;justify-content:space-between;gap:12px}
.live-cart .cart-totals p>span:last-child{text-align:right}
.live-cart .cart-status:empty{display:none}
.live-cart .cart-quantity-price{flex-wrap:nowrap}

/* v0.7.120: one account image, balanced top-up edges. */
body > header [data-action="login"]:has([data-header-profile-photo]) svg{display:none!important}
.dialog:has(.paxia-topup-v114) #dialog-body{padding-bottom:28px!important}
body > header .header-actions #delivery-label .header-country-code,body > header .header-actions #locale-label .header-currency-code{font-weight:700!important}
body > header .header-actions .cart-icon,body > header .header-actions .cart-icon>span{font-weight:700!important}
#checkout-root .topup-amount-box:has(input:disabled){background:#faf8fa;color:#aaa}
/* v0.7.122: controls stay legible while the verified balance loads. */
#checkout-root .paxia-topup-v114 .topup-shortcut:disabled{opacity:1;color:#a62451;background:#fff1f6}
#checkout-root .paxia-topup-v114 .topup-shortcut{color:#c70048;font-weight:700}
#checkout-root .paxia-topup-v114 .topup-amount-box input,#checkout-root .paxia-topup-v114 .topup-amount-box input:disabled{color:#242027;-webkit-text-fill-color:#242027;opacity:1;font-weight:700}
#checkout-root .paxia-topup-v114 .topup-amount-box input::placeholder{color:#625c64;-webkit-text-fill-color:#625c64;opacity:1}
#checkout-root .paxia-topup-v114 .topup-amount-box .topup-unit{color:#39343a;opacity:1;font-weight:400}
body > header [data-action="login"][data-profile-state="image"] [data-icon="user"]{display:none!important}
body > header [data-action="login"] [data-header-profile-photo]{display:block;flex:0 0 28px;width:28px;height:28px;object-fit:cover}
body > header .header-actions .header-country-code,body > header .header-actions .header-currency-code,body > header .header-actions .header-cart-label{font-weight:700!important;color:#151515}
@media(min-width:761px){body > header .header-actions{display:flex;align-items:center;gap:18px}body > header .header-actions>button{height:40px;min-height:40px;align-items:center;line-height:20px;margin:0}body > header .header-actions .delivery{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:0;padding:0;min-width:56px}body > header .header-actions .delivery small{line-height:14px;font-size:10px;margin:0}body > header .header-actions #delivery-label{display:flex;align-items:center;gap:6px;line-height:20px}body > header .header-actions #delivery-label .country-flag{display:block;width:21px;height:14px}body > header .header-actions .locale-switch{display:flex;gap:8px;padding:0 13px;border-radius:999px}body > header .header-actions #locale-label{display:flex;align-items:center;gap:0;white-space:nowrap;line-height:20px}body > header .header-actions [data-action="login"]{display:flex;justify-content:flex-start;gap:8px;padding:0;white-space:nowrap}body > header .header-actions .cart-icon{display:flex;align-items:center;gap:8px;position:relative;padding:0 8px;white-space:nowrap}body > header .header-actions .cart-icon>svg,body > header .header-actions .cart-icon>[data-icon]{display:block;flex:none}body > header .header-actions .cart-icon #cart-count{position:absolute;top:0;left:20px;right:auto;min-width:16px;height:16px;line-height:16px;font-size:10px}}
/* v0.7.123: expanded direct-buy shipping choices, no quote dropdown. */
#checkout-root .checkout-expanded-country{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px;line-height:20px}
#checkout-root .checkout-expanded-country>strong{display:flex;align-items:center;gap:6px;font-size:13px}
#checkout-root .checkout-expanded-country img{display:block;object-fit:contain;flex:none}
#checkout-root .checkout-expanded-country [data-estimate-country-change]{margin-left:auto;font-size:12px;color:#555;text-decoration:underline;text-underline-offset:3px}
#checkout-root .checkout-shipping-first [data-estimate-country-editor][hidden]{display:none}
#checkout-root .checkout-expanded-shipping{min-width:0;border:0;padding:0;margin:0 0 6px}
#checkout-root .checkout-expanded-shipping legend{font-size:13px;font-weight:600;padding:0;margin-bottom:10px;overflow-wrap:anywhere}
#checkout-root .checkout-shipping-options{display:grid;gap:2px;padding:5px;border:1px solid #e6e4e7;border-radius:14px;max-height:340px;overflow:auto;scrollbar-width:thin}
#checkout-root .checkout-shipping-first label.checkout-shipping-option{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:10px;padding:9px 10px;border:0;border-radius:10px;color:#242027;cursor:pointer;font-size:13px;line-height:20px;min-height:38px}
#checkout-root .checkout-shipping-option:hover{background:#fff7fa}
#checkout-root .checkout-shipping-first label.checkout-shipping-option.selected{background:#fff0f6;color:#df0051}
#checkout-root .checkout-shipping-option:focus-within{outline:2px solid #fd0051;outline-offset:-2px}
#checkout-root .checkout-shipping-option input[type=radio]{position:absolute;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip-path:inset(50%)}
#checkout-root .checkout-carrier-logo{display:block;width:44px;height:22px;object-fit:contain}
#checkout-root .checkout-carrier-fallback{display:grid;place-items:center;width:44px;height:22px;color:#74707b;font-size:24px}
#checkout-root .checkout-shipping-method-text{display:block;min-width:0;overflow-wrap:anywhere;line-height:20px}
#checkout-root .checkout-shipping-method-text>span{font-weight:400}
#checkout-root .checkout-shipping-method-text>strong{font-weight:700}
#checkout-root .checkout-shipping-picked{font-size:13px;line-height:1.6;padding-top:12px}
#checkout-root .checkout-shipping-picked-cost{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap;margin:0}
#checkout-root .checkout-shipping-picked-cost>span:last-child:not(:first-child){color:#df0051;white-space:nowrap}
#checkout-root .checkout-shipping-arrival{margin:9px 0 0;color:#087e7e}
#checkout-root .checkout-shipping-arrival strong,#checkout-root .checkout-shipping-arrival small{display:block;font-size:12px}
#checkout-root .checkout-shipping-first [data-estimate-continue]{margin-top:8px;width:100%}
@media(max-width:360px){#checkout-root .checkout-shipping-first label.checkout-shipping-option{grid-template-columns:36px minmax(0,1fr);gap:7px;padding:8px}#checkout-root .checkout-carrier-logo,#checkout-root .checkout-carrier-fallback{width:34px}#checkout-root .checkout-shipping-options{padding:4px}}

/* v0.7.124: verified wallet identity belongs inside the profile. */
#customer-profile-edit .profile-wallet{display:grid;gap:10px;padding:16px;border:1px solid #eee3e8;border-radius:14px;background:#fffafb}
#customer-profile-edit .profile-wallet label{display:grid;gap:8px;font-size:13px;font-weight:600}
#customer-profile-edit [data-profile-wallet-address]{width:100%;box-sizing:border-box;min-width:0;font-size:12px;color:#222;background:#fff;opacity:1}
#customer-profile-edit .profile-wallet button{width:auto;justify-self:end;min-height:36px;padding:8px 14px;font-size:12px}
#customer-profile-edit .profile-wallet small{font-size:12px;line-height:1.5;color:#655d64}
#customer-profile-edit .profile-wallet button:disabled{opacity:1;color:#146e53;background:#eef9f4;border-color:#d4eade}
#checkout-root [data-topup-connect-wallet]{font-size:13px;padding:9px 14px;color:#a4003b;background:#fff1f6}
#checkout-root [data-topup-connect-wallet][hidden]{display:none}

/* v0.7.125: wallet connection displays identity as text, never as an input. */
#customer-profile-edit .profile-wallet>strong{font-size:13px}
#customer-profile-edit output[data-profile-wallet-address]{display:block;padding:0;border:0;border-radius:0;background:transparent;color:#222;font-size:12px;line-height:1.7;white-space:normal;overflow-wrap:anywhere;user-select:text}
#customer-profile-edit .profile-pax-balance{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:4px;font-size:13px}
#customer-profile-edit .profile-pax-balance>strong{font-size:18px;color:#db0050}
#customer-profile-edit .profile-wallet-registered{justify-self:end;padding:6px 10px;background:#eef9f4;color:#146e53;font-size:12px;border-radius:8px}
#customer-profile-edit .profile-wallet [hidden]{display:none!important}
.live-product .product-badges{display:flex;justify-content:space-between;align-items:center;gap:6px;min-height:18px;margin-top:7px}
.live-product .product-badge-list{display:flex;align-items:center;gap:4px;min-width:0;overflow:hidden}
.live-product .product-badge-list .product-badge{min-width:0;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:0 1 auto}
.live-product .product-origin-flag{display:block;width:21px;height:14px;object-fit:contain;flex:0 0 21px;margin-left:auto;border:1px solid #eee;border-radius:2px}

/* v0.7.126: a static chain icon identifies the verified PingPay connection. */
#customer-profile-edit .profile-wallet-heading{display:flex;align-items:center;gap:7px;line-height:20px}
#customer-profile-edit .profile-wallet-heading svg{display:block;flex:0 0 18px;color:#e00050}

[data-store-follow]{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0;min-width:0}.store-follow-button{border:1px solid #fd0051!important;color:#fd0051!important;background:#fff!important;border-radius:999px;padding:9px 20px;font:inherit;cursor:pointer}.store-follow-button[aria-pressed=true]{background:#fff0f5!important}.store-follow-button:disabled{opacity:.65;cursor:wait}.store-follower-count{font-size:13px;white-space:nowrap}.store-follow-status{flex-basis:100%;font-size:12px;color:#c4003d}.store-follow-status:empty{display:none}


/* Mobile footer: align support with the brand tagline and the seller column. */
@media (max-width:760px){
 body>footer>.footer-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:25px;row-gap:14px;align-items:start}
 body>footer>.footer-grid>section:first-child{display:contents}
 body>footer>.footer-grid>section:first-child>.brand{grid-column:1;grid-row:1}
 body>footer>.footer-grid>section:first-child>p{grid-column:1;grid-row:2;margin:0}
 body>footer>.footer-grid>section:first-child>.company-address{grid-column:1;grid-row:3;margin:0;min-width:0}
 body>footer>.footer-grid>section:nth-child(2){grid-column:2;grid-row:2 / 4;min-width:0}
 body>footer>.footer-grid>section:nth-child(3){grid-column:1;grid-row:4;margin-top:11px;min-width:0}
 body>footer>.footer-grid>section:nth-child(4){grid-column:2;grid-row:4;margin-top:11px;min-width:0}
}


/* Origin flags retain their native 3:2 ratio and full uncropped SVG. */
.live-product .product-origin-flag{width:30px;height:20px;min-width:30px;max-width:30px;aspect-ratio:3/2;object-fit:contain;object-position:center;flex:0 0 30px;padding:0;border:0;border-radius:0;background:#fff;box-shadow:0 0 0 1px #e8e8e8;image-rendering:auto}

/* 0.7.153: match the existing badge height without stretching flags. */
.live-product{--card-badge-height:19px}.product-grid .live-product{--card-badge-height:16px}
.live-product .product-origin-flag{height:var(--card-badge-height);width:calc(var(--card-badge-height)*1.5);min-width:calc(var(--card-badge-height)*1.5);max-width:calc(var(--card-badge-height)*1.5);flex:0 0 auto;aspect-ratio:3/2;object-fit:contain}
.live-product .card-order-row{display:flex;align-items:baseline;justify-content:space-between;gap:4px;min-width:0;flex-wrap:wrap}.live-product .card-order-quantity{margin-inline-start:auto;text-align:end;font-size:inherit;white-space:nowrap}

/* Keep badge and flag boxes aligned, including the late storefront grid overrides. */
.live-product .product-badge-list .product-badge{height:var(--card-badge-height);line-height:var(--card-badge-height);padding:0 4px;margin-top:0;box-sizing:border-box;display:inline-flex;align-items:center}
.live-product .product-origin-flag{box-shadow:inset 0 0 0 1px #e8e8e8;margin-top:0;margin-bottom:0;align-self:center}

/* 0.7.156: reserve the same badge row even when a card has only an origin flag. */
.live-product,.product-grid .live-product{--card-badge-height:16px}
.live-product .product-badges{
 display:flex;flex-wrap:nowrap;align-items:center;align-content:center;
 height:var(--card-badge-height);min-height:var(--card-badge-height);
 box-sizing:border-box;padding:0;line-height:var(--card-badge-height);flex-shrink:0
}
.live-product .product-badge-list{
 display:flex;align-items:center;flex:1 1 0;min-width:0;
 height:var(--card-badge-height);margin:0;padding:0;line-height:var(--card-badge-height)
}
.live-product .product-badge-list .product-badge{
 height:var(--card-badge-height);min-height:var(--card-badge-height);
 max-height:var(--card-badge-height);margin:0;box-sizing:border-box;align-self:center
}
.live-product .product-origin-flag{
 display:block;box-sizing:border-box;height:var(--card-badge-height);
 min-height:var(--card-badge-height);max-height:var(--card-badge-height);
 width:calc(var(--card-badge-height)*1.5);flex:0 0 calc(var(--card-badge-height)*1.5);
 margin:0 0 0 auto;padding:0;border:0;align-self:center;object-fit:contain
}
