/* 295C mobile touch audit. This file is deliberately last in live.html so the
   44px interaction contract wins over the reference's compact visual sizing. */
@media (max-width: 767px) {
  body.watch #shell[data-reference] {
    overflow-x: hidden;
  }

  /* Today's Deals: keep the arrow visually small while making its hit area safe. */
  body.watch #shell[data-reference] .room-deal-next {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    right: -1px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  body.watch #shell[data-reference] .room-deal-next::after {
    content: "›";
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(112, 56, 181, .2);
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #5f3195;
    font-size: 20px;
    line-height: 1;
  }
  body.watch #shell[data-reference] .room-deal-next { font-size: 0 !important; }
  body.watch #shell[data-reference] .room-deal-body > .room-buy-154 {
    width: 100% !important;
    min-width: 44px !important;
    min-height: 44px !important;
    height: 44px !important;
  }

  /* The two row actions remain siblings; the 44px columns prevent hover text from
     wrapping over the cart and the list itself keeps a single horizontal extent. */
  body.watch #shell[data-reference] .shop .room-product-154 {
    grid-template-columns: minmax(0, 1fr) 44px 44px !important;
    column-gap: 3px !important;
    min-width: 0;
  }
  body.watch #shell[data-reference] .shop .room-product-open {
    min-height: 44px !important;
    height: 44px !important;
    min-width: 0;
  }
  body.watch #shell[data-reference] .shop .room-product-request-188,
  body.watch #shell[data-reference] .shop .room-cart-154,
  body.watch #shell[data-reference] .shop .room-learn-more {
    min-width: 44px !important;
    width: 44px !important;
    min-height: 44px !important;
    height: 44px !important;
  }
  body.watch #shell[data-reference] .shop .room-product-request-188,
  body.watch #shell[data-reference] .shop .room-cart-154 {
    display: grid !important;
    place-items: center;
  }
  body.watch #shell[data-reference] .shop .room-product-copy { min-width: 0; }

  /* The chat composer is in normal flow on the reference layout, so it remains
     visible and has one focus owner without covering the feed. */
  body.watch #shell[data-reference] section.chat > #composer {
    min-height: 44px !important;
    height: 44px !important;
    box-sizing: border-box;
    z-index: 2;
  }
  body.watch #shell[data-reference] section.chat > #composer input,
  body.watch #shell[data-reference] section.chat > #composer #send {
    min-height: 44px !important;
    height: 44px !important;
    box-sizing: border-box;
  }
  body.watch #shell[data-reference] section.chat > #composer #send {
    min-width: 44px !important;
  }

  /* Product-sheet actions are reachable even when the sheet is opened from the
     compact deal card. */
  body.watch #shell[data-reference] #product-sheet :is(#sheet-add, #buy-now, #sheet-cta, #product-sheet-close),
  body.watch #shell[data-reference] #product-sheet .product-dialog-quantity :is(button, input) {
    min-height: 44px !important;
    height: 44px !important;
    box-sizing: border-box;
  }
}
