/* 284C: the dialog itself never scrolls; the persistent header and scrollable
   body share a bounded grid, including short desktop windows. */
html body.watch dialog#product-sheet.product-dialog.sheet {
  inset: 24px 0 !important;
  width: calc(100% - 48px) !important;
  max-width: 560px !important;
  height: fit-content !important;
  max-height: calc(100dvh - 48px) !important;
  margin: auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  transform: none !important;
  border-radius: 16px !important;
  background: var(--paper, #fff);
  color: var(--charcoal, #20152e);
}
html body.watch dialog#product-sheet.product-dialog[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  animation: none;
}
#product-sheet.product-dialog .product-dialog-head {
  position: relative;
  display: flex;
  justify-content: flex-end;
  flex: none;
  padding: 8px 12px;
  background: var(--paper, #fff);
  border-bottom: 1px solid var(--sand, #e6e1db);
}
#product-sheet.product-dialog .product-dialog-dismiss {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
#product-sheet.product-dialog .product-dialog-dismiss:hover { background: var(--sand, #e6e1db); }
#product-sheet.product-dialog .product-dialog-dismiss:focus-visible { outline: 2px solid #7538b9; outline-offset: 2px; }
#product-sheet.product-dialog .product-dialog-handle { display: none; }
html body.watch #product-sheet.product-dialog .sheet-body {
  min-height: 0 !important;
  grid-auto-rows: max-content;
  align-content: start;
  overflow-y: auto !important;
  overscroll-behavior-y: contain;
  padding: 20px 20px calc(24px + env(safe-area-inset-bottom, 0px));
}
html body.watch #product-sheet.product-dialog .sheet-art {
  position: relative;
  overflow: hidden;
  contain: paint;
}
body.watch:has(#product-sheet.product-dialog[open]) { overflow: hidden !important; }
@media (max-width: 767px) {
  html body.watch dialog#product-sheet.product-dialog.sheet {
    top: auto !important;
    bottom: 24px !important;
    width: calc(100% - 24px) !important;
    height: min(80dvh, calc(100dvh - 48px)) !important;
    margin: 0 auto !important;
    border-radius: 20px 20px 12px 12px !important;
  }
  #product-sheet.product-dialog .product-dialog-handle {
    display: block;
    position: absolute;
    top: 12px;
    left: calc(50% - 20px);
    width: 40px;
    height: 4px;
    border-radius: 4px;
    background: #8c7c98;
  }
}

/* 291C: the shared product sheet follows the home commerce surface. Desktop
   keeps the gallery and facts in a two-column dialog; phones use an 85% drawer. */
html body.watch dialog#product-sheet.product-dialog.sheet {
  width: min(960px, calc(100% - 64px)) !important;
  max-width: 960px !important;
  height: min(760px, calc(100dvh - 64px)) !important;
  max-height: calc(100dvh - 64px) !important;
  inset: 0 !important;
  margin: auto !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: 0 24px 70px rgba(20, 12, 35, .34) !important;
  animation: product-dialog-rise-291 160ms ease-out both !important;
}
html body.watch dialog#product-sheet.product-dialog.sheet::backdrop { background: rgba(13, 8, 23, .6) !important; backdrop-filter: blur(4px); }
@keyframes product-dialog-rise-291 { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
html body.watch #product-sheet.product-dialog .product-dialog-head { position:absolute; inset:16px 16px auto auto; z-index:5; display:block; padding:0; border:0; background:transparent; }
html body.watch #product-sheet.product-dialog .product-dialog-dismiss { position:relative; display:grid; place-items:center; width:44px; height:44px; min-height:44px; padding:0; border:0; border-radius:50%; background:transparent; }
html body.watch #product-sheet.product-dialog .product-dialog-dismiss::before { content:""; position:absolute; width:32px; height:32px; border-radius:50%; background:#f5effb; }
html body.watch #product-sheet.product-dialog .product-dialog-dismiss svg { position:relative; width:18px; height:18px; color:#3c2b4c; }
html body.watch #product-sheet.product-dialog .product-dialog-handle { display:none; }
html body.watch #product-sheet.product-dialog .sheet-body { display:grid; grid-template-columns:minmax(0, 1.05fr) minmax(340px, .95fr); grid-auto-rows:max-content; align-content:start; gap:16px 28px; min-height:0 !important; height:100%; overflow:auto !important; padding:32px !important; background:#fff; }
html body.watch #product-sheet.product-dialog .sheet-body > :not(.pdp-gallery) { grid-column:2; min-width:0; }
html body.watch #product-sheet.product-dialog .sheet-body > .pdp-gallery,
html body.watch #product-sheet.product-dialog .sheet-body > .sheet-art { grid-column:1; grid-row:1 / span 99; align-self:start; position:sticky; top:0; width:100%; min-width:0; }
html body.watch #product-sheet.product-dialog .pdp-gallery { display:grid; grid-template-rows:minmax(0, 1fr) auto; gap:12px; margin:0; }
html body.watch #product-sheet.product-dialog .pdp-track { min-height:0; height:auto; aspect-ratio:1; border-radius:18px; background:#fff; }
html body.watch #product-sheet.product-dialog .pdp-slide { display:grid; place-items:center; width:100%; height:100%; min-height:0; aspect-ratio:1; border-radius:18px; background:transparent; }
html body.watch #product-sheet.product-dialog .sheet-body > .sheet-art { aspect-ratio:1; height:auto; max-height:none; background:#fff; }
html body.watch #product-sheet.product-dialog .pdp-slide img,
html body.watch #product-sheet.product-dialog .sheet-art img { width:100%; height:min(54dvh, 520px); max-height:none; aspect-ratio:1; object-fit:contain; mix-blend-mode:multiply; }
html body.watch #product-sheet.product-dialog .pdp-count { top:12px; right:12px; padding:4px 8px; border-radius:999px; background:rgba(34,21,48,.58); font-size:11px; }
html body.watch #product-sheet.product-dialog .pdp-thumbs { gap:8px; margin:0; padding:0 2px 3px; overflow-x:auto; }
html body.watch #product-sheet.product-dialog .pdp-thumb { flex:0 0 64px; width:64px; height:64px; border:2px solid transparent; border-radius:12px; overflow:hidden; background:#f7f1fb; }
html body.watch #product-sheet.product-dialog .pdp-thumb[aria-selected="true"] { border-color:#9b5de5; }
html body.watch #product-sheet.product-dialog .pdp-thumb img { width:100%; height:100%; object-fit:contain; mix-blend-mode:multiply; }
html body.watch #product-sheet.product-dialog #product-sheet-title { margin:0; color:#24172f; font-family:var(--roan-font-sans) !important; font-size:24px; line-height:1.2; font-weight:600; }
html body.watch #product-sheet.product-dialog .product-dialog-original { margin:-8px 0 0; color:#8c7d97; font-size:13px; }
html body.watch #product-sheet.product-dialog .price { display:flex; align-items:baseline; gap:8px; margin:0; color:#6e2cc0; font-family:var(--roan-font-sans) !important; font-size:22px; font-weight:600; }
html body.watch #product-sheet.product-dialog .price .was { color:#9a8fa2; font-size:13px; }
html body.watch #product-sheet.product-dialog .price .discount { display:inline-flex; align-items:center; min-height:20px; padding:2px 7px; border-radius:999px; background:#f2e8fc; color:#7138a4; font-size:11px; font-weight:600; line-height:1; }
html body.watch #product-sheet.product-dialog .product-dialog-facts { border-top:1px solid #eee7f4; border-bottom:1px solid #eee7f4; }
html body.watch #product-sheet.product-dialog .product-dialog-facts summary { padding:12px 0; color:#4b3a59; font-size:13px; font-weight:600; cursor:pointer; }
html body.watch #product-sheet.product-dialog .product-dialog-facts .trust { padding:0 0 10px; }
html body.watch #product-sheet.product-dialog .product-dialog-quantity { display:flex; align-items:center; gap:8px; color:#4b3a59; font-size:13px; }
html body.watch #product-sheet.product-dialog .product-dialog-quantity > span { margin-right:auto; font-weight:600; }
html body.watch #product-sheet.product-dialog .product-dialog-quantity button { display:grid; place-items:center; width:32px; height:32px; min-height:32px; padding:0; border:1px solid #ded1ea; border-radius:50%; background:#fff; color:#5d367b; font-size:18px; }
html body.watch #product-sheet.product-dialog .product-dialog-quantity input { width:38px; height:32px; min-height:32px; padding:0; border:0; background:transparent; color:#2f213b; text-align:center; font:600 14px var(--roan-font-sans); }
html body.watch #product-sheet.product-dialog .sheet-body > #sheet-add,
html body.watch #product-sheet.product-dialog .sheet-body > #buy-now,
html body.watch #product-sheet.product-dialog .sheet-body > #sheet-cta { width:100%; min-height:44px; margin:0; border-radius:999px; font:600 14px var(--roan-font-sans); }
html body.watch #product-sheet.product-dialog .sheet-body > #sheet-add { background:var(--roan-button-gradient); color:#fff; box-shadow:var(--roan-button-shadow); }
html body.watch #product-sheet.product-dialog .sheet-body > #buy-now,
html body.watch #product-sheet.product-dialog .sheet-body > #sheet-cta { border:1px solid #b68ae4; background:#fff; color:#7138a4; }
html body.watch #product-sheet.product-dialog .sheet-body > #product-sheet-close { width:100%; margin:0; padding:8px; border:0; background:transparent; color:#80698f; font:500 13px var(--roan-font-sans); }
html body.watch #product-sheet.product-dialog .pdp-variants { display:flex; flex-wrap:wrap; gap:8px; }
html body.watch #product-sheet.product-dialog .sheet-body > .chips,
html body.watch #product-sheet.product-dialog .pdp-variants { display:flex; flex-wrap:wrap; gap:8px; }
html body.watch #product-sheet.product-dialog .sheet-body > .chips .chip,
html body.watch #product-sheet.product-dialog .pdp-variants .chip { min-width:40px; min-height:40px; padding:0 12px; border:1px solid #ded1ea; border-radius:999px; background:#fff; color:#4b3a59; }
html body.watch #product-sheet.product-dialog .sheet-body > .chips .chip[aria-pressed="true"],
html body.watch #product-sheet.product-dialog .pdp-variants .chip[aria-pressed="true"] { border-color:#9b5de5; background:#f2e8fc; color:#7138a4; }

@media (max-width: 767px) {
  html body.watch dialog#product-sheet.product-dialog.sheet { width:100% !important; height:85dvh !important; max-height:85dvh !important; inset:auto 0 0 !important; border-radius:24px 24px 0 0 !important; }
  html body.watch #product-sheet.product-dialog .product-dialog-head { inset:8px 8px auto auto; }
  html body.watch #product-sheet.product-dialog .product-dialog-handle { display:block; position:absolute; top:8px; left:calc(50% - 20px); width:40px; height:4px; border-radius:4px; background:#a896b5; }
  html body.watch #product-sheet.product-dialog .sheet-body { display:grid !important; grid-template-columns:1fr !important; grid-auto-rows:max-content !important; gap:12px; height:100%; overflow:auto !important; padding:30px 16px calc(16px + env(safe-area-inset-bottom, 0px)) !important; }
  html body.watch #product-sheet.product-dialog .sheet-body > * { grid-column:1 !important; grid-row:auto !important; order:initial !important; margin-block:0; }
  html body.watch #product-sheet.product-dialog .sheet-body > .pdp-gallery,
  html body.watch #product-sheet.product-dialog .sheet-body > .sheet-art { grid-column:1 !important; grid-row:auto !important; position:static; width:100% !important; min-width:0; }
  html body.watch #product-sheet.product-dialog .pdp-gallery { display:flex !important; flex-direction:column; gap:8px; width:100% !important; }
  html body.watch #product-sheet.product-dialog .pdp-track { width:100% !important; height:210px !important; flex:none; border-radius:16px; }
  html body.watch #product-sheet.product-dialog .pdp-slide { width:100% !important; height:210px !important; min-height:210px !important; }
  html body.watch #product-sheet.product-dialog .pdp-thumbs { display:flex !important; width:100%; overflow-x:auto; }
  html body.watch #product-sheet.product-dialog .pdp-count { display:block !important; }
  html body.watch #product-sheet.product-dialog .pdp-slide img,
  html body.watch #product-sheet.product-dialog .sheet-art img { height:210px; }
  html body.watch #product-sheet.product-dialog #product-sheet-title { font-size:20px; }
  html body.watch #product-sheet.product-dialog .sheet-body > #sheet-add,
  html body.watch #product-sheet.product-dialog .sheet-body > #buy-now,
  html body.watch #product-sheet.product-dialog .sheet-body > #sheet-cta,
  html body.watch #product-sheet.product-dialog .sheet-body > #product-sheet-close { position:sticky; bottom:0; z-index:2; }
}
