/* Independent purchase controls; no dependency on Shopify's custom elements. */
body.theo-product-v138 ro-dialog-add-to-cart {display:none!important}
#theo-purchase-dock-v138{position:fixed!important;z-index:20000!important;width:min(360px,calc(100vw - 36px))!important;left:50%!important;bottom:22px!important;transform:translateX(-50%)!important;box-sizing:border-box!important;color:#111!important;font-family:'Gotham Book',Arial,sans-serif!important}
#theo-purchase-dock-v138 *{box-sizing:border-box!important}
#theo-purchase-dock-v138 .theo-purchase-button-v138{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;width:100%!important;height:52px!important;padding:0 22px!important;border:1px solid #111!important;border-radius:0!important;background:#0b0b0b!important;color:#fff!important;cursor:pointer!important;white-space:nowrap!important;font:11px/1.2 'Gotham Book',Arial,sans-serif!important;letter-spacing:.035em!important}
#theo-purchase-dock-v138 .theo-purchase-button-v138 span{color:#fff!important;font:inherit!important}
#theo-purchase-dock-v138 .theo-size-popover-v138{position:absolute!important;left:0!important;bottom:calc(100% + 9px)!important;top:auto!important;right:auto!important;transform:none!important;display:block!important;width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;min-height:0!important;margin:0!important;padding:16px!important;border:1px solid #d2d2d2!important;background:#fff!important;color:#111!important;box-shadow:0 8px 24px #0002!important;z-index:1!important}
#theo-purchase-dock-v138 .theo-size-popover-v138[hidden]{display:none!important}
#theo-purchase-dock-v138 .theo-size-title-v138{font:11px/1.4 'Gotham Book',Arial,sans-serif!important;letter-spacing:.09em!important;margin:0 0 12px!important;color:#111!important}
#theo-purchase-dock-v138 .theo-size-grid-v138{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
#theo-purchase-dock-v138 .theo-size-grid-v138 button{display:flex!important;align-items:center!important;justify-content:center!important;height:40px!important;min-width:0!important;margin:0!important;padding:0!important;border:1px solid #999!important;border-radius:0!important;background:white!important;color:#111!important;cursor:pointer!important;font:11px Arial,sans-serif!important}
#theo-purchase-dock-v138 .theo-size-grid-v138 button[aria-pressed=true]{background:#111!important;color:#fff!important;border-color:#111!important}
#theo-purchase-dock-v138 .theo-size-hint-v138{margin:12px 0 0!important;color:#666!important;font:10px/1.4 Arial,sans-serif!important}
@media(max-width:650px){#theo-purchase-dock-v138{width:calc(100vw - 24px)!important;bottom:12px!important}}
/* Drawer uses top-to-bottom product list with pinned summary */
#theo-bag-drawer{display:flex!important;flex-direction:column!important;background:#fff!important;color:#111!important;overflow:hidden!important;width:min(460px,100vw)!important;max-width:100vw!important}
#theo-bag-drawer .theo-bag-head{flex:0 0 auto!important;min-height:72px!important;padding:0 22px!important;border-bottom:1px solid #ddd!important}
#theo-bag-drawer .theo-bag-content{flex:1 1 auto!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;gap:0!important;min-height:0!important;padding:0 22px!important;margin:0!important;overflow-y:auto!important}
#theo-bag-drawer .theo-bag-line-v138{display:grid!important;grid-template-columns:80px minmax(0,1fr)!important;gap:14px!important;align-items:start!important;width:100%!important;padding:18px 0!important;margin:0!important;border-bottom:1px solid #dedede!important;font:11px/1.45 'Gotham Book',Arial,sans-serif!important}
#theo-bag-drawer .theo-bag-line-img-v138{display:block!important;width:80px!important;height:100px!important}
#theo-bag-drawer .theo-bag-line-img-v138 img{width:100%!important;height:100%!important;object-fit:cover!important}
#theo-bag-drawer .theo-bag-line-info-v138{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:6px!important;min-width:0!important}
#theo-bag-drawer .theo-bag-line-title-v138{color:#111!important;text-decoration:none!important;font:11px/1.3 'Gotham Book',Arial,sans-serif!important}
#theo-bag-drawer .theo-bag-line-meta-v138{font:10px Arial,sans-serif!important;color:#555!important}
#theo-bag-drawer .theo-bag-line-price-v138{font:11px Arial,sans-serif!important;color:#111!important}
#theo-bag-drawer .theo-bag-line-actions-v138{display:flex!important;align-items:center!important;gap:0!important;width:100%!important;margin-top:4px!important}
#theo-bag-drawer .theo-bag-line-actions-v138 button{width:28px!important;height:28px!important;padding:0!important;margin:0!important;border:1px solid #ddd!important;background:white!important;color:#111!important;font:14px Arial,sans-serif!important}
#theo-bag-drawer .theo-bag-line-actions-v138 span{display:flex!important;align-items:center!important;justify-content:center!important;width:28px!important;height:28px!important;border-top:1px solid #ddd!important;border-bottom:1px solid #ddd!important}
#theo-bag-drawer .theo-bag-line-actions-v138 button.theo-bag-line-remove-v138{width:auto!important;margin-left:auto!important;padding-left:10px!important;border:0!important;text-decoration:underline!important;font:9px Arial,sans-serif!important}
#theo-bag-drawer .theo-bag-summary{flex:0 0 auto!important;position:relative!important;inset:auto!important;margin-top:auto!important;padding:18px 22px 20px!important;background:#fff!important;border-top:1px solid #ddd!important;color:#111!important}
#theo-bag-drawer .theo-bag-checkout{display:flex!important;align-items:center!important;justify-content:center!important;min-height:48px!important;background:#111!important;color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important}
#theo-bag-drawer .theo-bag-checkout:disabled{opacity:.6!important;cursor:not-allowed!important}
#theo-bag-drawer .outcxst-secure{display:none!important}
#theo-bag-drawer .theo-empty-v138{margin:auto!important;text-align:center!important;font-size:11px!important;color:#555!important}
#ro-cart-icon-bubble .theo-bag-count-v138{display:inline-block!important;font:11px/1.4 'Gotham Book',Arial,sans-serif!important;color:inherit!important;white-space:nowrap!important}
#theo-cart-toast-v138{position:fixed!important;z-index:50000!important;top:85px!important;right:24px!important;padding:13px 18px!important;background:#111!important;color:#fff!important;font:11px Arial,sans-serif!important;letter-spacing:.05em!important;opacity:0!important;visibility:hidden!important;transform:translateY(-8px)!important;transition:opacity .22s,transform .22s,visibility .22s!important;pointer-events:none!important}
#theo-cart-toast-v138.show{opacity:1!important;visibility:visible!important;transform:translateY(0)!important}
@media(max-width:650px){#theo-bag-drawer .theo-bag-head{min-height:64px!important;padding:0 16px!important}#theo-bag-drawer .theo-bag-content{padding:0 16px!important}#theo-bag-drawer .theo-bag-summary{padding:16px!important}#ro-cart-icon-bubble .theo-bag-count-v138{font-size:10px!important}#theo-cart-toast-v138{right:12px!important;top:70px!important}}
body.theo-bag-open #theo-purchase-dock-v138{visibility:hidden!important;opacity:0!important;pointer-events:none!important}

/* v139: SELECT SIZE is intentionally softer until hovered, while ADD TO BAG remains solid black. */
#theo-purchase-dock-v138 .theo-purchase-button-v138{
  transition:opacity .2s ease,background-color .2s ease!important;
}
#theo-purchase-dock-v138 .theo-purchase-button-v138[data-theo-stage="select"]{
  opacity:.56!important;
  background:#0b0b0b!important;
}
#theo-purchase-dock-v138 .theo-purchase-button-v138[data-theo-stage="select"]:hover,
#theo-purchase-dock-v138 .theo-purchase-button-v138[data-theo-stage="select"]:focus-visible{
  opacity:1!important;
  background:#000!important;
}
#theo-purchase-dock-v138 .theo-purchase-button-v138[data-theo-stage="add"]{
  opacity:1!important;
}

/* v140: announce cart additions inside the open bag, not behind its overlay. */
#theo-cart-toast-v138{
  top:auto!important;right:auto!important;bottom:90px!important;left:50%!important;
  transform:translate(-50%,10px)!important;max-width:calc(100vw - 24px)!important;
  text-align:center!important;white-space:normal!important;
}
#theo-cart-toast-v138.show:not(.theo-toast-in-bag-v140){transform:translate(-50%,0)!important}
#theo-bag-drawer #theo-cart-toast-v138.theo-toast-in-bag-v140{
  position:relative!important;inset:auto!important;transform:none!important;
  display:block!important;flex:0 0 auto!important;box-sizing:border-box!important;
  max-height:0!important;margin:0!important;padding:0 20px!important;
  overflow:hidden!important;opacity:0!important;visibility:hidden!important;
  width:100%!important;border:0!important;background:#111!important;color:#fff!important;
  box-shadow:none!important;text-align:left!important;pointer-events:none!important;
  font:10px/1.5 'Gotham Book',Arial,sans-serif!important;
  transition:max-height .22s ease,padding .22s ease,opacity .22s ease!important;
}
#theo-bag-drawer #theo-cart-toast-v138.theo-toast-in-bag-v140.show{
  max-height:80px!important;padding:12px 20px!important;
  opacity:1!important;visibility:visible!important;
}
/* A dismissed drawer must not intercept page interactions or leave scroll blocked. */
body:not(.theo-bag-open) #theo-bag-mask{
  pointer-events:none!important;visibility:hidden!important;opacity:0!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
body:not(.theo-bag-open) #theo-bag-drawer{pointer-events:none!important;visibility:hidden!important}
body.theo-bag-open #theo-bag-mask,body.theo-bag-open #theo-bag-drawer{pointer-events:auto!important}
/* Obsolete Rick Owens purchase notification must not overlay the standalone bag. */
ro-cart-notification .js-cart-notification{display:none!important;pointer-events:none!important}

/* v141: confirmed native scrolling fix inside the persistent site iframe. */
html,body{overflow-y:auto!important;touch-action:pan-y!important;overscroll-behavior-y:auto!important}
/* Notifications removed; bag itself confirms the addition. */
#theo-cart-toast-v138,.js-cart-notification,.theo-bag-notification,#theo-cart-notification{display:none!important;pointer-events:none!important}

/* v150: bag spacing, transport icon and understated trust line. */
#theo-bag-drawer{width:35rem!important;max-width:100vw!important}
#theo-bag-drawer .outcxst-shipping-goal{display:flex!important;align-items:center!important;gap:9px!important}
#theo-bag-drawer .theo-shipping-icon-v150{flex:0 0 17px!important;width:17px!important;height:17px!important;stroke:#111!important;stroke-width:1.5!important;fill:none!important;stroke-linecap:round!important;stroke-linejoin:round!important}
#theo-bag-drawer .outcxst-secure{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;margin-top:14px!important;padding:0!important;color:#777!important}
#theo-bag-drawer .outcxst-secure span{font:400 10px/1.4 'Gotham Book',Arial,sans-serif!important;letter-spacing:.08em!important;color:#555!important;-webkit-text-fill-color:#555!important}
#theo-bag-drawer .outcxst-secure svg{width:14px!important;height:14px!important;stroke:#555!important;fill:none!important;stroke-width:1.65!important}
@media(max-width:650px){#theo-bag-drawer{width:100vw!important}}

/* Higher specificity than historical inline theme overrides. */
html body #theo-bag-drawer{width:35rem!important;max-width:100vw!important}
html body #theo-bag-drawer .theo-bag-summary .outcxst-secure{display:flex!important}
html body #theo-bag-drawer .theo-bag-summary .outcxst-secure span{font:400 10px/1.4 'Gotham Book',Arial,sans-serif!important;letter-spacing:.08em!important;color:#555!important;-webkit-text-fill-color:#555!important}
html body #theo-bag-drawer .theo-bag-summary .outcxst-secure svg{width:14px!important;height:14px!important;stroke:#555!important;fill:none!important;stroke-width:1.65!important}
@media(max-width:650px){html body #theo-bag-drawer{width:100vw!important}}

/* v151: the product buy control lives in the regular product-details flow. Never sticky or fixed. */
body #theo-purchase-dock-v138{position:relative!important;left:auto!important;bottom:auto!important;top:auto!important;right:auto!important;transform:none!important;width:100%!important;max-width:380px!important;margin:24px 0 26px!important;z-index:20!important}
