/* REC0DET Shop: restrained mobile product detail and Stripe-first checkout screen. */
#viewDetail.shopLiveMode .shopDetailEyebrow,
#viewDetail.shopLiveMode .shopDetailTop > span,
#viewDetail.shopLiveMode .shopDetailMediaNote {display:none!important}
#viewDetail.shopLiveMode .shopDetailInfo{display:flex;flex-direction:column;gap:9px}
#viewDetail.shopLiveMode .pnameBig{line-height:1.24;letter-spacing:-.02em}
#viewDetail.shopLiveMode #detailPrice{font-size:clamp(24px,6vw,32px);font-weight:850;color:#e8c45c}
#viewDetail.shopLiveMode .shopLiveOffers{margin-top:8px}
#viewDetail.shopLiveMode .shopLiveCard.shopUnifiedBuy{display:block;padding:0;border:0;background:transparent;box-shadow:none}
#viewDetail.shopLiveMode .shopLiveCard.shopUnifiedBuy .shopLiveInfo{width:100%}
#viewDetail.shopLiveMode .shopLiveCard.shopUnifiedBuy .shopLiveHead{display:none}
#viewDetail.shopLiveMode .shopLiveDate{margin:0 0 8px;color:#bcb4a0;font-size:12px}
#viewDetail.shopLiveMode .shopLiveGo.primary{height:48px;border-radius:11px;font-size:14px;font-weight:850;letter-spacing:0;border-color:#b99235}
#viewDetail.shopLiveMode .shopLiveGo.primary:focus-visible{outline:2px solid #fff1b9;outline-offset:3px}
#viewDetail.shopLiveMode .shopSpecsBullets{list-style:none;display:grid;gap:7px;margin:7px 0 5px;padding:0}
#viewDetail.shopLiveMode .shopSpecsBullets li{display:flex;gap:9px;align-items:flex-start;line-height:1.4;font-size:12px;color:#e8dfce}
#viewDetail.shopLiveMode .shopSpecsBullets li::before{content:"•";flex:0 0 8px;color:#e5bb4b;font-weight:900}
#viewDetail.shopLiveMode .shopDetailDisclosure{order:3;margin-top:7px!important}
#viewDetail.shopLiveMode .shopDetailDisclosure summary{font-size:12px}
#viewDetail.shopLiveMode .shopDetailDescription{line-height:1.55}
#viewDetail.shopLiveMode .shopProductBottom strong small{display:none!important}
body.recodetShopQuickCheckout #viewCheckout [data-checkout-step="3"],
body.recodetShopQuickCheckout #viewCheckout [data-checkout-step="4"]{display:none!important}
body.recodetShopQuickCheckout #viewCheckout [data-payment-method="cash"],
body.recodetShopQuickCheckout #viewCheckout [data-payment-method="rc"]{display:none!important}
body.recodetShopQuickCheckout #viewCheckout .checkoutProgressMeta{display:none}
@media(max-width:480px){#viewDetail.shopLiveMode .shopDetailInfo{padding-inline:12px}#viewDetail.shopLiveMode .shopLiveGo.primary{width:100%}}

body.recodetShopQuickCheckout #viewCheckout [data-checkout-fulfilment="gift"]{display:none!important}
.shopProductBottom strong > small{display:none!important}

/* Shop checkout: show necessary contact and delivery fields inline.
   Services retain the existing optional details modal. */
body.recodetShopQuickCheckout #viewCheckout .fulfilmentChoices,
body.recodetShopQuickCheckout #viewCheckout #coManualDetailsOpen,
body.recodetShopQuickCheckout #viewCheckout #coManualDetailsBackdrop,
body.recodetShopQuickCheckout #viewCheckout #coManualDetailsClose,
body.recodetShopQuickCheckout #viewCheckout .checkoutManualHandle,
body.recodetShopQuickCheckout #viewCheckout #coManualDetailsSave {
  display:none!important;
}
body.recodetShopQuickCheckout #viewCheckout #coManualDetailsModal,
body.recodetShopQuickCheckout #viewCheckout #coManualDetailsModal.hidden {
  position:static!important;
  inset:auto!important;
  display:block!important;
  z-index:auto!important;
  width:100%!important;
  padding:0!important;
  margin:12px 0!important;
}
body.recodetShopQuickCheckout #viewCheckout #coManualDetailsModal .checkoutManualSheet {
  position:static!important;
  width:100%!important;
  max-height:none!important;
  overflow:visible!important;
  margin:0!important;
  padding:14px!important;
  border-radius:16px!important;
  background:#0f0d09!important;
  box-shadow:none!important;
}
body.recodetShopQuickCheckout #viewCheckout #coManualDetailsModal .checkoutManualHint{
  font-size:11px;line-height:1.4;
}
body.recodetShopQuickCheckout #viewCheckout #coManualDetailsModal input,
body.recodetShopQuickCheckout #viewCheckout #coManualDetailsModal textarea{
  min-height:40px;
}
body.recodetShopQuickCheckout #viewCheckout #coManualDetailsModal .checkoutManualHeader strong{
  font-size:14px;
}


/* The module navigation identifies which shared catalogue views belong to Shop. */
body:has(#bottomBar[data-module="shop"]) #shopExploreList {
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
}
body:has(#bottomBar[data-module="shop"]) #shopExploreList > button {
  width:100%!important;height:auto!important;min-height:0!important;
  aspect-ratio:1;border:1px solid #846a37!important;border-radius:14px!important;
}
body:has(#bottomBar[data-module="shop"]) #subcatGrid {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important;
}
body:has(#bottomBar[data-module="shop"]) #subcatGrid > button {
  display:flex!important;align-items:center;gap:12px;
  width:100%!important;height:auto!important;min-height:46px!important;
  aspect-ratio:auto!important;padding:8px 12px!important;text-align:start;
}
body:has(#bottomBar[data-module="shop"]) #subcatGrid > button > [class$="Art"] {
  position:static!important;width:28px!important;height:28px!important;flex:none;
}
body:has(#bottomBar[data-module="shop"]) #subcatGrid > button > [class$="Label"] {
  position:static!important;margin:0!important;
}
body:has(#bottomBar[data-module="shop"]) :is(#subcatGrid,#shopExploreList) :is([class$="Badge"],[class$="Code"],[class$="Divider"]),
body:has(#bottomBar[data-module="shop"]) :is(#prodGrid,#detailImg) .imgFallback,
body:has(#bottomBar[data-module="shop"]) #prodGrid .shopCartBtn,
body:has(#bottomBar[data-module="shop"]):has(#recodetGlobalCountry:not([hidden],.hidden)) .recodetShopMarketBar {
  display:none!important;
}
#viewDetail.shopLiveMode #shopLiveOffers {order:4}

/* Legacy absolute positioning put Notifications directly over the Back button. */
body:has(#bottomBar[data-module="shop"]) header.topbar #hubProNotifications {
  left:auto!important;right:164px!important;width:40px!important;max-width:40px!important;
}
body:has(#bottomBar[data-module="shop"]) #viewSubcats #subcatGrid > button.tile {
  box-sizing:border-box!important;height:48px!important;min-height:48px!important;
  max-height:48px!important;justify-content:flex-start!important;overflow:hidden;
}
body:has(#bottomBar[data-module="shop"]) #viewShopExplore #shopExploreList > button {
  box-sizing:border-box!important;
}
