/* Scoped YOLCHII cart, product sheet and Mini Mix corrections: 2026-11-15. */
/* At tablet width the Mini Mix thumbnail must not intrude into the label column. */
.yd-drink-grid .yd-drink-choice {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: 64px minmax(0,1fr) auto !important;
  column-gap: 8px !important;
  min-width: 0 !important;
  align-items: center !important;
}
.yd-drink-grid .yd-drink-choice .yd-drink-visual { width: 60px !important; max-width: 100% !important; }
.yd-drink-grid .yd-drink-choice .yd-drink-label { min-width: 0 !important; overflow-wrap: break-word !important; }
@media (max-width: 767px) {
  /* The optional extra-preview row must not consume the scrolling-area or footer track. */
  body .yps-root .yps-panel {
    grid-template-rows: auto auto minmax(0, 1fr) auto !important;
    min-height: 0 !important;
  }
  body .yps-root .yps-panel:has(.pv-addon-strip:not([hidden])) {
    grid-template-rows: auto auto auto minmax(0, 1fr) auto !important;
  }
  body .yps-root .yps-scroll {
    min-height: 0 !important;
    min-width: 0 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    padding-bottom: 18px !important;
  }
  body .yps-root .yps-foot {
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 4 !important;
    min-width: 0 !important;
    min-height: 78px !important;
    height: auto !important;
    padding: 10px 14px calc(12px + env(safe-area-inset-bottom,0px)) !important;
    align-self: stretch !important;
    background: #130e0df5 !important;
  }
  body .yps-root .yps-foot > div { min-width: 0 !important; }
  body .yps-root .yps-foot strong { font-size: clamp(19px, 6vw, 28px) !important; overflow-wrap: anywhere; }
  body .yps-root .yps-add {
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    min-width: 120px !important;
    min-height: 48px !important;
    max-width: 56% !important;
    border-radius: 10px !important;
    transition: transform .16s ease, box-shadow .2s ease, background-color .2s ease;
  }
  body .yps-root .yps-add:not(:disabled):active { transform: scale(.97); }
  body .yps-root .yps-add[data-added=true] { background: #b8e6b8 !important; box-shadow: 0 0 16px #78c68d55; }
  /* Mini Mix: the image was 60px wide but occupied a 34/42px grid column. */
  body .yd-drink-grid .yd-drink-choice,
  body[data-mobile-revision] .yd-drink-grid .yd-drink-choice {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: 64px minmax(0,1fr) auto !important;
    column-gap: 8px !important;
    align-items: center !important;
    min-width: 0 !important;
  }
  body .yd-drink-choice .yd-drink-visual {
    box-sizing: border-box !important;
    width: 60px !important;
    max-width: 100% !important;
    justify-self: center !important;
  }
  body .yd-drink-choice .yd-drink-label {
    box-sizing: border-box !important;
    min-width: 0 !important;
    text-align: left !important;
    justify-self: stretch !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
  }
  body .yd-drink-choice .yd-mix-step { flex: none !important; justify-self: end !important; }
}
@media (max-width: 359px) {
  body .yd-drink-grid .yd-drink-choice,
  body[data-mobile-revision] .yd-drink-grid .yd-drink-choice {
    grid-template-columns: 58px minmax(0,1fr) auto !important;
    column-gap: 7px !important;
    padding: 8px !important;
  }
  body .yd-drink-choice .yd-drink-visual { width: 54px !important; }
  body .yd-drink-choice .yd-drink-label { font-size: 11px !important; }
  body .yps-root .yps-foot { padding-left: 10px !important; padding-right: 10px !important; gap: 8px !important; }
  body .yps-root .yps-add { min-width: 114px !important; padding-inline: 10px !important; }
}
.yps-feedback {
  position: absolute;
  z-index: 7;
  bottom: calc(100% + 10px);
  left: 12px;
  right: 12px;
  padding: 13px 14px;
  border: 1px solid #78c68d99;
  border-radius: 12px;
  color: #edfff0;
  background: #17301ff5;
  box-shadow: 0 5px 28px #0009;
  font-size: 13px;
  line-height: 1.45;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.yps-feedback[hidden] { display: none !important; }
.yps-feedback[data-tone=error] { border-color: #e5a06a88; background: #381d17f5; color: #fff1dd; }
.yps-feedback a { flex-shrink: 0; color: #fff; text-underline-offset: 3px; font-weight: 700; }
@media(prefers-reduced-motion:reduce) { .yps-root .yps-add { transition: none !important; } }
