/* DjimlyStore Marketplace v3.42 — streamlined, single-source-of-truth checkout.
   No payment, inventory, order or carrier rates are calculated by this stylesheet. */
:root{--ds42-ink:#101827;--ds42-line:#e8ecf2;--ds42-muted:#65738a;--ds42-orange:#e54a21;--ds42-blue:#126ce2}
body.market-refined:has(.ds42-products){background:#f5f6f9!important;color:var(--ds42-ink);font-family:'Plus Jakarta Sans',system-ui,sans-serif}
body:has(.ds42-products) .bottom-nav{display:none!important}
body:has(.ds42-products) .co-header{position:sticky;top:0;z-index:480;background:#fff!important;padding:12px 16px;border-bottom:1px solid var(--ds42-line);min-height:58px;box-sizing:border-box}
body:has(.ds42-products) .co-header-title{font-size:17px;letter-spacing:-.025em;color:var(--ds42-ink)}
body:has(.ds42-products) .co-header .co-back{background:transparent;min-width:44px;min-height:44px}
body:has(.ds42-products) .co-header .co-back .material-symbols-rounded{font-size:21px;color:#182337}
body:has(.ds42-products) .ds41-top-trust,.co-steps{display:none!important}
.ds42-trust-strip{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#f2fbf7;color:#12845c;border:1px solid #c9eedd;padding:10px 14px;margin:11px 12px 12px;border-radius:9px;font-size:11px;font-weight:750;line-height:1.45}
body:has(.ds42-products) .ds41-checkout-address{box-sizing:border-box;width:calc(100% - 24px);margin:0 12px 10px;padding:13px 11px;border:0;border-radius:12px;background:#fff;box-shadow:0 1px 2px #11223b0d}
body:has(.ds42-products) .ds41-checkout-address .ds41-pin{width:34px;height:34px;min-width:34px;display:grid;place-items:center;background:#eef5ff;color:#176ce4;font-size:23px;border-radius:10px;line-height:1}
body:has(.ds42-products) .ds41-checkout-address .ds41-addr-text strong{font-size:13px;font-weight:900;color:#101827}
body:has(.ds42-products) .ds41-checkout-address .ds41-addr-text small{font-size:11px;color:#65738a;line-height:1.5}
body:has(.ds42-products) .ds41-checkout-address .ds41-chevron{font-size:27px;line-height:1;color:#98a4b8}
/* Products share one compact, horizontally scrollable row; never vertically stacked. */
body:has(.ds42-products) .ds41-order-preview{margin:0 12px 10px;border:0;border-radius:13px;background:#fff;overflow:hidden;box-shadow:0 1px 2px #11223b0d}
.ds42-products-head{display:flex;align-items:center;justify-content:space-between;padding:13px 12px 3px;gap:8px}
.ds42-products-head h3{font-size:13px!important;border:0!important;padding:0!important;margin:0!important;color:#101827;line-height:1.4;letter-spacing:-.01em}
.ds42-store-verified{color:#0c7855;background:#e8fbf1;padding:4px 8px;border-radius:30px;font-size:10px;font-weight:850;white-space:nowrap}
.ds42-scroll-viewport{overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:2px}
.ds42-scroll-viewport::-webkit-scrollbar{display:none}
.ds42-products #cartItemsArea{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:clamp(138px,44vw,192px)!important;grid-template-columns:none!important;gap:10px!important;min-width:min-content;padding:12px 12px 15px!important;min-height:0}
.ds42-products #cartItemsArea.ds42-single-product{grid-auto-columns:minmax(210px, min(360px, calc(100vw - 48px)))!important}
.ds42-products .ds42-cart-product{min-width:0;scroll-snap-align:start;display:flex;flex-direction:column;gap:7px;box-sizing:border-box;background:#fff;border-radius:8px;overflow:hidden}
.ds42-cart-product-photo{position:relative;display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1 / 1;background:#f8f9fb;border-radius:7px;overflow:hidden}
.ds42-cart-product-photo img{width:100%;height:100%;object-fit:contain;display:block}
.ds42-cart-product-photo>.material-symbols-rounded{font-size:38px;color:#8593a8}
.ds42-qty-badge{position:absolute;bottom:7px;right:7px;background:#111827db;color:#fff;padding:3px 7px;border-radius:5px;font-size:10px;font-weight:800}
.ds42-cart-product-info{display:grid;align-content:start;gap:4px}
.ds42-cart-product-title{font-size:11px;line-height:1.45;font-weight:750;color:#1b2638;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;min-height:30px}
.ds42-cart-product-info small{font-size:10px;color:#8591a4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ds42-cart-price{color:#e64824;font-size:15px;line-height:1.35;font-weight:950;display:flex;flex-wrap:wrap;gap:4px;align-items:center}
.ds42-cart-price del{color:#8a94a5;font-size:10px;font-weight:650}
.ds42-cart-price em{font-size:10px;font-style:normal;color:#e64824;background:#fff0eb;border-radius:4px;padding:2px 4px}
/* Single delivery summary; the original region/zone options move into its sheet. */
.ds42-delivery-summary{margin:0 12px 11px;border-radius:13px;background:#fff;box-shadow:0 1px 2px #11223b0d}
.ds42-delivery-btn{box-sizing:border-box;width:100%;min-height:69px;background:transparent;border:0;padding:12px 11px;display:flex;align-items:center;gap:10px;text-align:left;color:#121a2a;cursor:pointer}
.ds42-delivery-glyph{width:36px;height:36px;min-width:36px;border-radius:9px;background:#ebf7f1;color:#11995e;display:grid;place-items:center;font-size:21px}
.ds42-delivery-copy{flex:1;display:grid;min-width:0;gap:4px}
.ds42-delivery-copy strong{font-weight:900;font-size:13px;color:#172135}
.ds42-delivery-copy small{font-size:11px;line-height:1.5;color:var(--ds42-muted);white-space:normal}
.ds42-delivery-price{font-size:12px;font-weight:900;color:#167346;white-space:nowrap}
.ds42-icon-arrow{font-size:22px;color:#8d9aac}
.ds42-legacy-contact,.ds42-legacy-delivery{display:none!important}
/* Mobile checkout now has one compact payment selection instead of bulky cards. */
body:has(.ds42-products) .co-wrap{box-sizing:border-box;max-width:1100px;width:100%;padding:0 12px 128px;display:block}
body:has(.ds42-products) #coLeft{display:block}
body:has(.ds42-products) .co-card.ds42-payment-panel{background:#fff!important;box-shadow:0 1px 2px #11223b0d;border:0!important;border-radius:13px;margin:0 0 10px;overflow:hidden}
.ds42-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:16px 13px 6px;color:#162035}
.ds42-panel-heading strong{font-size:15px;font-weight:950;letter-spacing:-.02em}
.ds42-panel-heading small{display:inline-flex;align-items:center;gap:4px;color:#12835b;font-size:10px;font-weight:800;white-space:nowrap}
.ds42-panel-heading .material-symbols-rounded{font-size:16px}
body:has(.ds42-products) .ds42-payment-panel .co-card-body{padding:3px 12px 6px!important}
body:has(.ds42-products) .ds42-payment-panel .pay-opt-card{border:0!important;border-bottom:1px solid #edf0f3!important;margin:0!important;border-radius:0!important;background:#fff!important;transition:background .12s}
body:has(.ds42-products) .ds42-payment-panel .pay-opt-card:last-child{border-bottom:0!important}
body:has(.ds42-products) .ds42-payment-panel .pay-opt-card.on{background:#f7faff!important}
body:has(.ds42-products) .ds42-payment-panel .del-opt-row{padding:12px 5px!important;gap:12px;min-height:68px;box-sizing:border-box}
.ds42-pay-logo{width:58px!important;height:50px!important;min-width:58px!important;background:#fff!important;border-radius:11px!important;overflow:hidden!important;border:1px solid #e9edf4;display:flex;align-items:center;justify-content:center}
.ds42-pay-logo img{display:block;width:100%;height:100%;object-fit:contain!important;object-position:center}
body:has(.ds42-products) .ds42-payment-panel .pay-opt-name{font-size:13px;font-weight:900;color:#15213a!important}
body:has(.ds42-products) .ds42-payment-panel .pay-opt-sub{font-size:10px;white-space:normal;color:#66758d!important;line-height:1.4}
body:has(.ds42-products) .ds42-payment-panel .del-opt-radio{flex-shrink:0;width:21px;height:21px;border-radius:50%;border:2px solid #adb9c8;margin:0 2px 0 0}
body:has(.ds42-products) .ds42-payment-panel .pay-opt-card.on .del-opt-radio{border-color:#111827!important;background:#111827!important}
body:has(.ds42-products) .ds42-payment-panel .pay-expand{display:none!important}
body:has(.ds42-products) .ds42-payment-panel .pay-expand:not(.ds42-moncash-details){display:none!important}
body:has(.ds42-products) .ds42-payment-panel *{box-sizing:border-box}
/* Modern HTG currency disclosure, not a fake selectable conversion rate. */
.ds42-currency-bar{display:flex;gap:10px;align-items:center;padding:12px;margin:0 0 10px;background:#fff;border-radius:13px;box-shadow:0 1px 2px #11223b0d}
.ds42-currency-bar>.material-symbols-rounded{color:#166de5;font-size:25px;background:#ecf4ff;padding:8px;border-radius:12px;min-width:26px}
.ds42-currency-bar div{display:grid;flex:1;gap:3px;min-width:0}
.ds42-currency-bar strong{font-size:12px;font-weight:850;color:#172236}
.ds42-currency-bar small{font-size:10px;color:#6e7d91;line-height:1.4}
.ds42-currency-bar button{border:1px solid #d5e3f7;border-radius:12px;background:#f4f8ff;padding:9px 10px;display:flex;align-items:center;gap:3px;font-size:12px;font-weight:900;white-space:nowrap;color:#176ce3;cursor:pointer}
.ds42-currency-bar button .material-symbols-rounded{font-size:17px}
body:has(.ds42-products) .ds42-totals-card{margin:0;background:#fff;box-shadow:0 1px 2px #11223b0d;border:0;border-radius:13px}
body:has(.ds42-products) .ds42-totals-card .co-card-head{padding:16px 14px 10px!important;border-bottom:0!important;color:#162035}
body:has(.ds42-products) .ds42-totals-card #cartItemsArea{display:none!important}
body:has(.ds42-products) .ds42-totals-card .os-totals{padding:4px 14px 14px}
body:has(.ds42-products) .ds42-totals-card .os-row{font-size:12px;color:#546175!important;padding:9px 0;margin:0;border-bottom:1px solid #f2f3f5}
body:has(.ds42-products) .ds42-totals-card .os-row span:last-child{font-weight:800;color:#15233b}
body:has(.ds42-products) .ds42-totals-card .os-row.big{margin-top:7px;font-size:16px;font-weight:950;border-bottom:0;border-top:1px solid #e7ebf0;padding-top:16px;color:#121b2b!important}
body:has(.ds42-products) .ds42-totals-card .os-row.big span:last-child{font-size:20px;color:#e74c23!important}
body:has(.ds42-products) .ds42-totals-card .os-row:not(.big):has(#discAmt) span:last-child{color:#169165!important}
.ds42-coupon-toggle{display:flex;align-items:center;gap:8px;width:100%;padding:10px 1px;border:0;border-bottom:1px solid #e9edf2;background:#fff;text-align:left;color:#142035;cursor:pointer;font-size:12px;font-weight:850}
.ds42-coupon-toggle>.material-symbols-rounded:first-child{color:#e76832;font-size:19px}
.ds42-coupon-chevron{margin-left:auto;color:#99a5b6;font-size:19px;transition:transform .16s}
.ds42-coupon-toggle[aria-expanded=true] .ds42-coupon-chevron{transform:rotate(90deg)}
#ds42CouponControls[hidden]{display:none!important}
#ds42CouponControls{display:flex;margin-top:10px;gap:8px}
body:has(.ds42-products) .promo-input{min-width:0}
body:has(.ds42-products) .promo-btn{font-size:11px}
/* Keep the main price and primary payment action reachable, including iOS safe area. */
body:has(.ds42-products) .co-buy-bar{display:flex;align-items:center;gap:12px;padding:9px 14px calc(9px + env(safe-area-inset-bottom));border-top:1px solid #e4e8ef;background:#fff;z-index:640;box-shadow:0 -8px 30px #121b2b09}
.ds42-buy-total{display:grid;gap:4px;min-width:0;flex:0 0 auto}
.ds42-buy-total small{font-size:10px;color:#6d7990;font-weight:650}
.ds42-buy-total strong{font-size:16px;color:#e44f25;font-weight:950;letter-spacing:-.04em;white-space:nowrap}
body:has(.ds42-products) .co-place-btn{flex:1;min-height:51px;padding:12px 10px;border-radius:10px;background:#131b2b;color:#fff;box-shadow:none;font-weight:900;font-size:12px;white-space:nowrap}
body:has(.ds42-products) .co-place-btn .material-symbols-rounded{font-size:17px}
body:has(.ds42-products) #desktopBtn{display:none!important}
body:has(.ds42-products) .ds41-terms{margin:0 12px 5px;color:#788396;font-size:10px}
/* Modal controls remain accessible while legacy visible duplicates are hidden. */
.ds42-delivery-sheet{max-width:640px}
.ds42-sheet-intro{padding:12px 3px 0;font-size:12px;color:#64728a;line-height:1.55}
.ds42-delivery-sheet #normalRegionBox{border:0;border-radius:0;background:#fff;padding:8px 0;box-shadow:none;margin:0!important}
.ds42-delivery-sheet #normalRegionBox h4{font-size:13px;color:#1b2b40}
.ds42-delivery-sheet #homeSubInline{display:none!important}
.ds42-delivery-sheet #pickupSubInline{display:none!important}
.ds42-delivery-sheet .zone-required-note{display:none}
.ds42-delivery-sheet .ds-region-choice-grid{grid-template-columns:1fr 1fr!important}
.ds42-delivery-sheet .ds-region-choice{font-size:12px;border-radius:13px;min-height:67px}
.ds42-delivery-sheet .ds-region-choice span{font-size:10px!important}
.ds42-delivery-sheet .info-note{border:0;background:#f5f8fd;border-radius:10px;padding:10px;margin-top:8px;font-size:11px;line-height:1.5}
.ds42-delivery-save{width:100%;margin:14px 0 0}
.ds42-delivery-sheet #usaDelOpt{margin-top:15px}
.ds42-currency-choice{display:flex;align-items:center;gap:12px;padding:15px 8px;margin-top:9px;border:1px solid #cfe1ff;border-radius:15px;background:#f2f7ff}
.ds42-currency-choice>span:first-child{font-size:22px}
.ds42-currency-choice>div{flex:1;display:grid;gap:4px}
.ds42-currency-choice b{font-size:13px}
.ds42-currency-choice small{font-size:11px;color:#6b798b}
.ds42-currency-choice>.material-symbols-rounded{font-size:23px;color:#188a61}
.ds41-add-address{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;text-align:center!important}
.ds41-add-address .material-symbols-rounded{font-size:19px;display:inline-flex;align-items:center;justify-content:center}
@media(min-width:768px){
 body:has(.ds42-products) .ds41-checkout-address,body:has(.ds42-products) .ds41-order-preview,.ds42-delivery-summary,.ds42-trust-strip{max-width:1076px;margin-left:auto!important;margin-right:auto!important}
 body:has(.ds42-products) .co-wrap{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px;padding:0 0 40px;align-items:start}
 body:has(.ds42-products) .co-buy-bar{position:sticky;bottom:0;max-width:1100px;margin:auto;border:1px solid #e9eef5;border-radius:14px;padding:12px}
 body:has(.ds42-products) .co-card.ds42-payment-panel{margin:0}
 .ds42-products #cartItemsArea{grid-auto-columns:200px!important}
 body:has(.ds42-products) .ds41-order-preview{margin-bottom:12px!important}
}
@media(max-width:360px){.ds42-trust-strip{font-size:10px}.ds42-buy-total strong{font-size:14px}.ds42-payment-panel .pay-opt-sub{font-size:9px!important}.ds42-products #cartItemsArea{grid-auto-columns:43vw!important}.ds42-panel-heading small{font-size:9px}}
@media(prefers-reduced-motion:reduce){.ds42-coupon-chevron{transition:none}}

/* Built-in SVGs keep controls readable when remote icon fonts are blocked. */
.ds42-currency-glyph{width:40px;height:40px;min-width:40px;display:grid;place-items:center;background:#ecf4ff;color:#166de5;border-radius:12px}
.ds42-currency-glyph svg{width:21px;height:21px}
.ds42-currency-bar>.material-symbols-rounded{display:none!important}
.ds42-delivery-glyph svg,.ds41-pin svg{width:21px;height:21px;display:block}
.ds42-icon-arrow{display:grid;place-items:center;color:#8d9aac}
.ds42-panel-heading small svg{width:15px;height:15px;flex:none}
.ds42-currency-bar button svg{width:15px;height:15px}
.ds42-coupon-toggle>svg{width:19px;height:19px;color:#e76832}
.ds42-coupon-toggle .ds42-coupon-chevron{display:grid;place-items:center;margin-left:auto;color:#99a5b6}
.ds42-coupon-toggle .ds42-coupon-chevron svg{width:18px;height:18px}
.ds42-totals-card .co-card-head>svg{width:18px;height:18px;color:#146eeb;flex-shrink:0}
body:has(.ds42-products) .co-header .co-back svg,body:has(.ds42-products) .co-header .top-bar-icon svg{display:block;width:22px;height:22px}
body:has(.ds42-products) .co-place-btn svg{width:17px;height:17px;flex-shrink:0}
.ds41-add-address svg{width:19px;height:19px;flex-shrink:0}

/* v3.43 — user-requested visibly rounded checkout product photos. */
.ds42-products .ds42-cart-product-photo{border-radius:10px!important;overflow:hidden!important;isolation:isolate}
.ds42-products .ds42-cart-product-photo img{border-radius:10px!important;clip-path:none!important;object-fit:contain}
.ds42-products .ds42-cart-product{overflow:visible!important}

/* v3.46: SHEIN-inspired compact checkout product preview (no giant rounded square). */
body:has(.ds42-products) .ds42-products #cartItemsArea.ds42-single-product{
  width:100%!important;min-width:0!important;display:block!important;padding:12px 14px 14px!important;box-sizing:border-box;
}
body:has(.ds42-products) .ds42-products #cartItemsArea.ds42-single-product .ds42-cart-product{
  display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;gap:12px!important;align-items:start!important;
  width:100%!important;min-width:0!important;max-width:none!important;overflow:hidden!important;border-radius:0!important;
}
body:has(.ds42-products) .ds42-products #cartItemsArea.ds42-single-product .ds42-cart-product-photo{
  width:92px!important;height:104px!important;aspect-ratio:auto!important;flex:none!important;max-width:92px!important;border-radius:9px!important;
}
body:has(.ds42-products) .ds42-products #cartItemsArea.ds42-single-product .ds42-cart-product-photo img{
  max-height:100%!important;border-radius:9px!important;clip-path:none!important;object-fit:contain!important;
}
body:has(.ds42-products) .ds42-products #cartItemsArea.ds42-single-product .ds42-cart-product-title{
  font-size:12px!important;line-height:1.5!important;-webkit-line-clamp:3!important;line-clamp:3!important;min-height:0!important;
}
body:has(.ds42-products) .ds42-products #cartItemsArea.ds42-single-product .ds42-cart-product-info{
  min-width:0!important;align-self:stretch!important;gap:7px!important;
}
body:has(.ds42-products) .ds42-products #cartItemsArea.ds42-single-product .ds42-cart-price{font-size:16px!important;margin-top:auto!important}
body:has(.ds42-products) .ds42-products .ds42-cart-product-photo{border-radius:9px!important}
body:has(.ds42-products) .ds42-products .ds42-cart-product-photo img{border-radius:9px!important;clip-path:none!important}
@media(min-width:720px){
  body:has(.ds42-products) .ds42-products #cartItemsArea.ds42-single-product .ds42-cart-product{grid-template-columns:112px minmax(0,1fr)!important}
  body:has(.ds42-products) .ds42-products #cartItemsArea.ds42-single-product .ds42-cart-product-photo{width:112px!important;max-width:112px!important;height:112px!important}
}
/* v3.72.68 real carrier preview */
#ds68ShippingPanel{margin:10px 0;padding:13px;border:1px solid #bfd6f6;background:#f1f7ff;border-radius:15px;color:#1c3454;font-size:13px;line-height:1.5}
#ds68ShippingPanel[hidden]{display:none!important}#ds68ShippingPanel p{margin:7px 0}#ds68ShippingPanel .ds68-method{display:flex;gap:12px;align-items:center}#ds68ShippingPanel .ds68-method img{width:58px;height:48px;object-fit:contain;border-radius:9px;background:white}#ds68ShippingPanel .ds68-method div{flex:1;min-width:0;display:grid}#ds68ShippingPanel .ds68-method small{color:#4d688b}#ds68ShippingPanel .ds68-method strong{color:#0868c4;text-align:right}#ds68ShippingPanel .ds68-alert{color:#865b14}#ds68ShippingPanel button{min-height:42px}
