/* Shared shopping only: existing drawer, typography and brand primitives. */
@media (min-width: 1100px) {
  /* Existing desktop shell uses body zoom .9: 50vw becomes a measured 45%
     viewport footprint. Keep the normal Basket dimensions unchanged. */
  body.cart-open .basket-section:has(.shared-list-view, .shared-item-detail) { width: 50vw !important; }
}
.basket-section .shared-list-view,
.basket-section .shared-item-detail,
body #account-app [data-pw-canonical-lists] .shared-list-view,
body #account-app [data-pw-canonical-lists] .shared-item-detail { color: #15212b; font: 13px/1.4 Manrope, sans-serif; }
.basket-section .shared-list-view button,
.basket-section .shared-item-detail button,
body #account-app [data-pw-canonical-lists] .shared-list-view button,
body #account-app [data-pw-canonical-lists] .shared-item-detail button { font: inherit; cursor: pointer; }
.basket-section .shared-list-view button:disabled,
.basket-section .shared-item-detail button:disabled,
body #account-app [data-pw-canonical-lists] .shared-list-view button:disabled,
body #account-app [data-pw-canonical-lists] .shared-item-detail button:disabled { cursor: default; opacity: .55; }
.basket-section .shared-list-view svg,
.basket-section .shared-item-detail svg,
body #account-app [data-pw-canonical-lists] .shared-list-view svg,
body #account-app [data-pw-canonical-lists] .shared-item-detail svg { width: 18px; height: 18px; flex: 0 0 auto; }
.basket-section .shared-list-header,
body #account-app [data-pw-canonical-lists] .shared-list-header { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; }
.basket-section .shared-list-header > div:first-of-type,
body #account-app [data-pw-canonical-lists] .shared-list-header > div:first-of-type { flex: 1; min-width: 0; }
.basket-section .shared-list-header h2,
body #account-app [data-pw-canonical-lists] .shared-list-header h2 { margin: 0; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.basket-section .shared-list-header small,
body #account-app [data-pw-canonical-lists] .shared-list-header small { font-size: 10px; color: #788493; }
.basket-section .shared-list-lifecycle,
body #account-app [data-pw-canonical-lists] .shared-list-lifecycle { padding: 3px 7px; border-radius: 20px; font-size: 10px; color: #079447; background: #e6f5ed; white-space: nowrap; }
.basket-section .shared-list-participants,
body #account-app [data-pw-canonical-lists] .shared-list-participants { display: flex; gap: 3px; }
.basket-section .shared-list-participants > span,
body #account-app [data-pw-canonical-lists] .shared-list-participants > span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #edf1f4; font-size: 11px; }
.basket-section .shared-list-share,
body #account-app [data-pw-canonical-lists] .shared-list-share { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 5px 8px; color: #079447; }
.basket-section .shared-list-more,
body #account-app [data-pw-canonical-lists] .shared-list-more { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid #dfe6e2; border-radius: 9px; background: #fff; }
.basket-section .shared-list-summary,
body #account-app [data-pw-canonical-lists] .shared-list-summary { display: grid; gap: 3px; padding: 10px 12px; margin-bottom: 12px; border: 1px solid #e5eaf0; border-radius: 9px; background: #f7f9fa; font-size: 11px; }
.basket-section .shared-list-summary > span,
body #account-app [data-pw-canonical-lists] .shared-list-summary > span { color: #788493; }
.basket-section .shared-list-filters,
body #account-app [data-pw-canonical-lists] .shared-list-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.basket-section .shared-list-filters button,
body #account-app [data-pw-canonical-lists] .shared-list-filters button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; min-height: 30px; border: 1px solid #e5eaf0; border-radius: 7px; background: #f7f9fa; font-size: 11px; }
.basket-section .shared-list-filters button[aria-pressed="true"],
body #account-app [data-pw-canonical-lists] .shared-list-filters button[aria-pressed="true"] { color: #079447; border-color: #079447; background: #fff; }
.basket-section .shared-list-filters button > span,
body #account-app [data-pw-canonical-lists] .shared-list-filters button > span { background: #edf1f4; border-radius: 4px; padding: 0 4px; }
.basket-section .shared-list-rows,
body #account-app [data-pw-canonical-lists] .shared-list-rows { list-style: none; padding: 0; margin: 0; border: 1px solid #e5eaf0; border-radius: 9px; overflow: hidden; }
.basket-section .shared-list-row,
body #account-app [data-pw-canonical-lists] .shared-list-row { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(85px,.8fr) minmax(105px,1fr) auto; align-items: center; gap: 8px; min-height: 66px; padding: 9px 10px; border-bottom: 1px solid #e5eaf0; }
.basket-section .shared-list-row:last-child,
body #account-app [data-pw-canonical-lists] .shared-list-row:last-child { border-bottom: 0; }
.basket-section .shared-list-row__product,
body #account-app [data-pw-canonical-lists] .shared-list-row__product { display: flex; align-items: center; text-align: left; gap: 9px; border: 0; background: transparent; padding: 0; min-width: 0; }
.basket-section .shared-list-row__product img,
body #account-app [data-pw-canonical-lists] .shared-list-row__product img { width: 34px; height: 42px; object-fit: contain; flex: 0 0 auto; }
.basket-section .shared-list-row__product > span,
body #account-app [data-pw-canonical-lists] .shared-list-row__product > span { min-width: 0; display: grid; gap: 3px; }
.basket-section .shared-list-row__product strong,
body #account-app [data-pw-canonical-lists] .shared-list-row__product strong { font-size: 11px; overflow-wrap: anywhere; }
.basket-section .shared-list-row__product small,
.basket-section .shared-list-row__price small,
body #account-app [data-pw-canonical-lists] .shared-list-row__product small,
body #account-app [data-pw-canonical-lists] .shared-list-row__price small { font-size: 10px; color: #788493; }
.basket-section .shared-list-row__price,
body #account-app [data-pw-canonical-lists] .shared-list-row__price { display: grid; gap: 3px; text-align: left; padding: 0; border: 0; background: transparent; }
.basket-section .shared-list-row__price strong,
body #account-app [data-pw-canonical-lists] .shared-list-row__price strong { font-size: 12px; }
.basket-section .shared-list-row__state,
body #account-app [data-pw-canonical-lists] .shared-list-row__state { display: grid; gap: 5px; min-width: 0; }
.basket-section .shared-list-outcome,
body #account-app [data-pw-canonical-lists] .shared-list-outcome { display: flex; border-radius: 7px; background: #edf1f4; }
.basket-section .shared-list-view .sr-only,
.basket-section .shared-item-detail .sr-only,
body #account-app [data-pw-canonical-lists] .shared-list-view .sr-only,
body #account-app [data-pw-canonical-lists] .shared-item-detail .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.basket-section .shared-list-outcome select,
body #account-app [data-pw-canonical-lists] .shared-list-outcome select { width: 100%; min-height: 32px; border: 0; padding: 5px 6px; background: transparent; color: inherit; font: 11px Manrope, sans-serif; }
.basket-section .shared-list-outcome.is-in_cart,
body #account-app [data-pw-canonical-lists] .shared-list-outcome.is-in_cart { background: #eaf2ff; color: #2377d7; }
.basket-section .shared-list-outcome.is-purchased,
body #account-app [data-pw-canonical-lists] .shared-list-outcome.is-purchased { background: #e6f5ed; color: #079447; }
.basket-section .shared-list-outcome.is-not_found,
body #account-app [data-pw-canonical-lists] .shared-list-outcome.is-not_found { background: #fff0f2; color: #d72b4b; }
.basket-section .shared-list-cheaper,
body #account-app [data-pw-canonical-lists] .shared-list-cheaper { display: grid; gap: 2px; background: #fff6dc; color: #9b680b; text-align: left; border: 0; border-radius: 7px; padding: 6px; font-size: 10px !important; }
.basket-section .shared-list-cheaper > span,
body #account-app [data-pw-canonical-lists] .shared-list-cheaper > span { color: #2377d7; }
.basket-section .shared-list-replacement-pill,
body #account-app [data-pw-canonical-lists] .shared-list-replacement-pill { background: #f2ebff; color: #7844c4; border: 0; border-radius: 7px; padding: 5px 6px; font-size: 10px !important; }
.basket-section .shared-list-row__tools,
body #account-app [data-pw-canonical-lists] .shared-list-row__tools { display: flex; gap: 4px; }
.basket-section .shared-list-row__tools button,
body #account-app [data-pw-canonical-lists] .shared-list-row__tools button { display: inline-flex; align-items: center; gap: 3px; min-width: 28px; height: 30px; padding: 4px; border: 1px solid #e5eaf0; border-radius: 7px; background: #fff; color: #657386; }
.basket-section .shared-list-footer,
body #account-app [data-pw-canonical-lists] .shared-list-footer { display: flex; align-items: center; gap: 8px; padding-top: 14px; }
.basket-section .shared-list-footer > *,
body #account-app [data-pw-canonical-lists] .shared-list-footer > * { flex: 1; min-width: 0; }
.basket-section .shared-list-footer button,
body #account-app [data-pw-canonical-lists] .shared-list-footer button { min-height: 40px; padding: 7px 9px; font-size: 11px; }
body .basket-section .basket-price-table.saved-lists-host[data-basket-panel="my-lists"]:has(.shared-list-view) { overflow: hidden !important; }
.basket-section .shared-list-view,
body #account-app [data-pw-canonical-lists] .shared-list-view { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.basket-section .shared-list-view > :not(.shared-list-rows),
body #account-app [data-pw-canonical-lists] .shared-list-view > :not(.shared-list-rows) { flex-shrink: 0; }
.basket-section .shared-list-view .shared-list-rows,
body #account-app [data-pw-canonical-lists] .shared-list-view .shared-list-rows { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.basket-section .shared-list-view .shared-list-footer,
body #account-app [data-pw-canonical-lists] .shared-list-view .shared-list-footer { background: #fff; padding-bottom: 12px; }
.basket-section .shared-list-footer .saved-list-lifecycle-action,
body #account-app [data-pw-canonical-lists] .shared-list-footer .saved-list-lifecycle-action { display: grid; gap: 4px; }
.basket-section .shared-item-back,
body #account-app [data-pw-canonical-lists] .shared-item-back { display: inline-flex; align-items: center; gap: 5px; padding: 0; margin-bottom: 18px; color: #079447; background: transparent; border: 0; }
.basket-section .shared-item-heading,
body #account-app [data-pw-canonical-lists] .shared-item-heading { display: flex; gap: 18px; margin-bottom: 20px; }
.basket-section .shared-item-heading img,
body #account-app [data-pw-canonical-lists] .shared-item-heading img { width: 90px; height: 105px; object-fit: contain; }
.basket-section .shared-item-heading h2,
body #account-app [data-pw-canonical-lists] .shared-item-heading h2 { margin: 0; font-size: 18px; line-height: 1.4; }
.basket-section .shared-item-heading p,
body #account-app [data-pw-canonical-lists] .shared-item-heading p { color: #788493; font-size: 12px; }
.basket-section .shared-item-tabs,
body #account-app [data-pw-canonical-lists] .shared-item-tabs { display: flex; gap: 12px; border-bottom: 1px solid #e5eaf0; margin-bottom: 14px; }
.basket-section .shared-item-tabs button,
body #account-app [data-pw-canonical-lists] .shared-item-tabs button { border: 0; border-bottom: 2px solid transparent; padding: 9px 0; background: transparent; color: #657386; font-size: 12px; }
.basket-section .shared-item-tabs button[aria-pressed="true"],
body #account-app [data-pw-canonical-lists] .shared-item-tabs button[aria-pressed="true"] { color: #079447; border-color: #079447; }
.basket-section .shared-item-offers,
body #account-app [data-pw-canonical-lists] .shared-item-offers { border: 1px solid #e5eaf0; border-radius: 9px; overflow: hidden; }
.basket-section .shared-item-offer,
body #account-app [data-pw-canonical-lists] .shared-item-offer { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) auto; gap: 8px; align-items: center; padding: 10px; border-bottom: 1px solid #e5eaf0; }
.basket-section .shared-item-offer:last-child,
body #account-app [data-pw-canonical-lists] .shared-item-offer:last-child { border-bottom: 0; }
.basket-section .shared-item-offer.is-selected,
body #account-app [data-pw-canonical-lists] .shared-item-offer.is-selected { background: #edf9f2; }
.basket-section :is(.shared-item-detail,.shared-list-view) .shared-store-label,
body #account-app [data-pw-canonical-lists] :is(.shared-item-detail,.shared-list-view) .shared-store-label { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.basket-section :is(.shared-item-detail,.shared-list-view) .shared-store-label .store-icon,
body #account-app [data-pw-canonical-lists] :is(.shared-item-detail,.shared-list-view) .shared-store-label .store-icon { width: 20px; height: 20px; flex: 0 0 auto; object-fit: contain; }
.basket-section .shared-item-detail > .saved-list-danger-button,
body #account-app [data-pw-canonical-lists] .shared-item-detail > .saved-list-danger-button { min-height: 40px; padding: 7px 9px; border: 1px solid #dfe6e2; border-radius: 9px; background: #fff; color: #d72b4b; font: inherit; }
.basket-section .shared-item-offer > small,
body #account-app [data-pw-canonical-lists] .shared-item-offer > small { color: #079447; font-size: 10px; }
.basket-section .shared-item-offer__facts,
body #account-app [data-pw-canonical-lists] .shared-item-offer__facts { grid-column: 1 / -1; color: #788493 !important; }
.basket-section .shared-item-offer button,
body #account-app [data-pw-canonical-lists] .shared-item-offer button { grid-column: 4; padding: 5px 9px; min-height: 32px; font-size: 11px; }
.basket-section .shared-item-offers > p,
body #account-app [data-pw-canonical-lists] .shared-item-offers > p { padding: 12px; }
.basket-section .shared-item-warning,
body #account-app [data-pw-canonical-lists] .shared-item-warning { color: #9b680b; background: #fff6dc; padding: 10px; border-radius: 9px; }
.basket-section .shared-item-controls,
body #account-app [data-pw-canonical-lists] .shared-item-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 22px 0 14px; }
.basket-section .shared-item-controls > *,
body #account-app [data-pw-canonical-lists] .shared-item-controls > * { display: grid; gap: 6px; }
.basket-section .shared-item-controls select,
body #account-app [data-pw-canonical-lists] .shared-item-controls select { min-height: 40px; border: 1px solid #dfe6e2; border-radius: 9px; background: #fff; font: inherit; padding: 6px 9px; }
.basket-section .shared-item-controls .saved-list-quantity,
body #account-app [data-pw-canonical-lists] .shared-item-controls .saved-list-quantity { height: 40px; }
.basket-section .shared-item-detail > .saved-list-field,
body #account-app [data-pw-canonical-lists] .shared-item-detail > .saved-list-field { margin: 12px 0; }
.basket-section .shared-item-detail .saved-list-field input,
.basket-section .shared-item-detail .saved-list-field textarea,
body #account-app [data-pw-canonical-lists] .shared-item-detail .saved-list-field input,
body #account-app [data-pw-canonical-lists] .shared-item-detail .saved-list-field textarea { width: 100%; box-sizing: border-box; min-height: 40px; padding: 9px 10px; border: 1px solid #dfe6e2; border-radius: 9px; font: inherit; }
.basket-section .shared-item-comments article,
body #account-app [data-pw-canonical-lists] .shared-item-comments article { padding: 12px; margin-bottom: 9px; border: 1px solid #e5eaf0; border-radius: 9px; }
.basket-section .shared-item-comments article header,
body #account-app [data-pw-canonical-lists] .shared-item-comments article header { display: flex; justify-content: space-between; gap: 10px; }
.basket-section .shared-item-comments time,
.basket-section .shared-item-comments small,
body #account-app [data-pw-canonical-lists] .shared-item-comments time,
body #account-app [data-pw-canonical-lists] .shared-item-comments small { color: #788493; font-size: 11px; }
.basket-section .shared-item-comments article p,
body #account-app [data-pw-canonical-lists] .shared-item-comments article p { white-space: pre-wrap; overflow-wrap: anywhere; }
.basket-section .shared-replacement-review,
body #account-app [data-pw-canonical-lists] .shared-replacement-review { padding: 14px; border: 1px solid #e5eaf0; border-radius: 9px; list-style: none; }
.basket-section .shared-replacement-comparison,
body #account-app [data-pw-canonical-lists] .shared-replacement-comparison { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 12px; align-items: center; margin: 16px 0; }
.basket-section .shared-replacement-comparison > div,
body #account-app [data-pw-canonical-lists] .shared-replacement-comparison > div { display: flex; gap: 9px; align-items: center; min-width: 0; }
.basket-section .shared-replacement-comparison img,
body #account-app [data-pw-canonical-lists] .shared-replacement-comparison img { width: 35px; height: 48px; object-fit: contain; flex: 0 0 auto; }
.basket-section .shared-replacement-comparison strong,
body #account-app [data-pw-canonical-lists] .shared-replacement-comparison strong { display: block; font-size: 11px; overflow-wrap: anywhere; }
.basket-section .shared-replacement-comparison small,
.basket-section .shared-replacement-comment small,
body #account-app [data-pw-canonical-lists] .shared-replacement-comparison small,
body #account-app [data-pw-canonical-lists] .shared-replacement-comment small { color: #788493; font-size: 10px; }
.basket-section .shared-replacement-comment,
body #account-app [data-pw-canonical-lists] .shared-replacement-comment { padding: 10px; border-radius: 7px; background: #f7f9fa; }
.basket-section .shared-replacement-comment p,
body #account-app [data-pw-canonical-lists] .shared-replacement-comment p { margin: 0 0 5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.basket-section .shared-replacement-actions,
body #account-app [data-pw-canonical-lists] .shared-replacement-actions { display: flex; gap: 10px; margin-top: 14px; }
.basket-section .shared-replacement-actions > button,
body #account-app [data-pw-canonical-lists] .shared-replacement-actions > button { flex: 1; min-height: 36px; }
.basket-section .shared-replacement-actions > .saved-list-danger-button,
body #account-app [data-pw-canonical-lists] .shared-replacement-actions > .saved-list-danger-button { border: 1px solid #d72b4b; border-radius: 9px; background: #fff0f2; color: #d72b4b; padding: 7px 9px; }
.basket-section .shared-replacement-review > .saved-list-replacement-status,
body #account-app [data-pw-canonical-lists] .shared-replacement-review > .saved-list-replacement-status { background: #fff6dc; color: #9b680b; }
.basket-section .shared-list-view :is(button,select):focus-visible,
.basket-section .shared-item-detail :is(button,input,select,textarea):focus-visible,
body #account-app [data-pw-canonical-lists] .shared-list-view :is(button,select):focus-visible,
body #account-app [data-pw-canonical-lists] .shared-item-detail :is(button,input,select,textarea):focus-visible { outline: 3px solid rgb(7 148 71 / 24%); outline-offset: 2px; }
@media (max-width: 760px) {
  .basket-section .shared-list-header,
body #account-app [data-pw-canonical-lists] .shared-list-header { flex-wrap: wrap; }
  .basket-section .shared-list-header > div:first-of-type,
body #account-app [data-pw-canonical-lists] .shared-list-header > div:first-of-type { flex-basis: 45%; }
  .basket-section .shared-list-participants,
body #account-app [data-pw-canonical-lists] .shared-list-participants { margin-left: auto; }
  .basket-section .shared-list-row,
body #account-app [data-pw-canonical-lists] .shared-list-row { grid-template-columns: minmax(0,1fr) 95px auto; gap: 7px; }
  .basket-section .shared-list-row__product,
body #account-app [data-pw-canonical-lists] .shared-list-row__product { grid-column: 1 / 3; }
  .basket-section .shared-list-row__tools,
body #account-app [data-pw-canonical-lists] .shared-list-row__tools { grid-column: 3; grid-row: 1; }
  .basket-section .shared-list-row__price,
body #account-app [data-pw-canonical-lists] .shared-list-row__price { grid-column: 1; grid-row: 2; padding-left: 43px; }
  .basket-section .shared-list-row__state,
body #account-app [data-pw-canonical-lists] .shared-list-row__state { grid-column: 2 / 4; grid-row: 2; }
  .basket-section .shared-list-outcome select,
body #account-app [data-pw-canonical-lists] .shared-list-outcome select { min-height: 40px; }
  .basket-section .shared-list-row__tools button,
body #account-app [data-pw-canonical-lists] .shared-list-row__tools button { min-width: 32px; height: 36px; }
  .basket-section .shared-list-footer,
body #account-app [data-pw-canonical-lists] .shared-list-footer { flex-wrap: wrap; }
  .basket-section .shared-list-footer > *,
body #account-app [data-pw-canonical-lists] .shared-list-footer > * { flex-basis: 45%; }
  .basket-section .shared-list-footer > :last-child,
body #account-app [data-pw-canonical-lists] .shared-list-footer > :last-child { flex-basis: 100%; }
  .basket-section .shared-item-heading,
body #account-app [data-pw-canonical-lists] .shared-item-heading { gap: 12px; }
  .basket-section .shared-item-heading img,
body #account-app [data-pw-canonical-lists] .shared-item-heading img { width: 65px; height: 85px; }
  .basket-section .shared-item-heading h2,
body #account-app [data-pw-canonical-lists] .shared-item-heading h2 { font-size: 16px; }
  .basket-section .shared-item-offer,
body #account-app [data-pw-canonical-lists] .shared-item-offer { grid-template-columns: minmax(0,1fr) auto auto; }
  .basket-section .shared-item-offer button,
body #account-app [data-pw-canonical-lists] .shared-item-offer button { grid-column: 3; }
  .basket-section .shared-item-offer > small:not(.shared-item-offer__facts),
body #account-app [data-pw-canonical-lists] .shared-item-offer > small:not(.shared-item-offer__facts) { grid-column: 1 / 3; grid-row: 2; }
}

body .basket-section .basket-price-table.saved-lists-host[data-basket-panel="my-lists"],

body #account-app [data-pw-canonical-lists] .basket-price-table.saved-lists-host[data-basket-panel="my-lists"] {
  min-height: 0 !important;
  height: auto !important;
  flex: 1 1 auto !important;
  overflow-x: hidden;
  overflow-y: auto;
  border-top: 0;
  scrollbar-gutter: stable;
}

body .basket-section .saved-lists-view,

body #account-app [data-pw-canonical-lists] .saved-lists-view,
body .basket-section .saved-list-detail,
body #account-app [data-pw-canonical-lists] .saved-list-detail {
  width: 100%;
  min-width: 0;
  padding: 12px 0 20px;
  color: #101828;
  font-family: inherit;
}

body .basket-section .saved-lists-v2-note,

body #account-app [data-pw-canonical-lists] .saved-lists-v2-note {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid #dfe6e2;
  border-radius: 9px;
  color: #667085;
  background: #f8fbf9;
  font-size: 11px;
  line-height: 16px;
}

body .basket-section .saved-lists-limit,

body #account-app [data-pw-canonical-lists] .saved-lists-limit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "copy action"
    "progress value";
  gap: 9px 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #dfe6e2;
  border-radius: 12px;
  background: #fff;
}

body .basket-section .saved-lists-limit__copy,

body #account-app [data-pw-canonical-lists] .saved-lists-limit__copy {
  grid-area: copy;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

body .basket-section .saved-lists-limit__copy strong,

body #account-app [data-pw-canonical-lists] .saved-lists-limit__copy strong {
  color: #101828;
  font-size: 14px;
  line-height: 19px;
  font-weight: 800;
}

body .basket-section .saved-lists-limit__copy span,

body #account-app [data-pw-canonical-lists] .saved-lists-limit__copy span {
  color: #667085;
  font-size: 12px;
  line-height: 17px;
}

body .basket-section .saved-lists-limit > .saved-lists-secondary-button,

body #account-app [data-pw-canonical-lists] .saved-lists-limit > .saved-lists-secondary-button {
  grid-area: action;
}

body .basket-section .saved-lists-limit__progress,

body #account-app [data-pw-canonical-lists] .saved-lists-limit__progress {
  grid-area: progress;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf3ef;
}

body .basket-section .saved-lists-limit__progress > span,

body #account-app [data-pw-canonical-lists] .saved-lists-limit__progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #079447;
  transition: width 180ms ease;
}

body .basket-section .saved-lists-limit__value,

body #account-app [data-pw-canonical-lists] .saved-lists-limit__value {
  grid-area: value;
  min-width: 38px;
  color: #667085;
  font-size: 11px;
  line-height: 15px;
  text-align: right;
}

body .basket-section .saved-lists-limit.is-exhausted .saved-lists-limit__progress > span,

body #account-app [data-pw-canonical-lists] .saved-lists-limit.is-exhausted .saved-lists-limit__progress > span {
  background: #079447;
}

body .basket-section .saved-lists-limit.is-unlimited,

body #account-app [data-pw-canonical-lists] .saved-lists-limit.is-unlimited {
  grid-template-areas: "copy action";
}

body .basket-section .saved-lists-limit__active,

body #account-app [data-pw-canonical-lists] .saved-lists-limit__active {
  grid-area: action;
  padding: 5px 9px;
  border-radius: 999px;
  color: #079447;
  background: #edf8f2;
  font-size: 11px;
  line-height: 15px;
  font-weight: 750;
}

body .basket-section .saved-lists-stack,

body #account-app [data-pw-canonical-lists] .saved-lists-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

body .basket-section .saved-list-card,

body #account-app [data-pw-canonical-lists] .saved-list-card {
  min-width: 0;
  padding: 13px 16px 12px;
  border: 1px solid #dfe6e2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(16, 24, 40, .035);
}

body .basket-section .saved-list-card__header,

body #account-app [data-pw-canonical-lists] .saved-list-card__header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}

body .basket-section .saved-list-card__heading,

body #account-app [data-pw-canonical-lists] .saved-list-card__heading {
  min-width: 0;
  padding-top: 1px;
}

body .basket-section .saved-list-card__title-line,

body #account-app [data-pw-canonical-lists] .saved-list-card__title-line {
  display: flex;
  min-width: 0;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

body .basket-section .saved-list-card__title-line h3,

body #account-app [data-pw-canonical-lists] .saved-list-card__title-line h3 {
  max-width: 100%;
  margin: 0;
  color: #101828;
  font-size: 15px;
  line-height: 20px;
  font-weight: 800;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body .basket-section .saved-list-card__heading p,

body #account-app [data-pw-canonical-lists] .saved-list-card__heading p {
  margin: 2px 0 0;
  color: #667085;
  font-size: 11px;
  line-height: 16px;
}

body .basket-section .saved-list-status,

body #account-app [data-pw-canonical-lists] .saved-list-status {
  display: inline-flex;
  max-width: 100%;
  padding: 3px 8px;
  border-radius: 999px;
  color: #08783d;
  background: #edf8f2;
  font-size: 10px;
  line-height: 14px;
  font-weight: 700;
  white-space: nowrap;
}

body .basket-section .saved-list-status.is-price-change,

body #account-app [data-pw-canonical-lists] .saved-list-status.is-price-change {
  color: #355e8a;
  background: #f1f6fb;
}

body .basket-section .saved-list-status--shared,

body #account-app [data-pw-canonical-lists] .saved-list-status--shared {
  color: #08743a;
  background: #e8f7ed;
}

body .basket-section .saved-list-card__actions,

body #account-app [data-pw-canonical-lists] .saved-list-card__actions {
  flex: 0 0 auto;
  display: flex;
  gap: 7px;
  align-items: center;
}

body .basket-section .saved-lists-secondary-button,

body #account-app [data-pw-canonical-lists] .saved-lists-secondary-button,
body .basket-section .saved-lists-primary-button,
body #account-app [data-pw-canonical-lists] .saved-lists-primary-button,
.saved-list-dialog .saved-lists-secondary-button,
.saved-list-dialog .saved-lists-primary-button,
.saved-list-dialog .saved-list-danger-button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #dfe6e2;
  border-radius: 9px;
  color: #079447;
  background: #fff;
  font-family: inherit;
  font-size: 12px;
  line-height: 16px;
  font-weight: 800;
  cursor: pointer;
}

body .basket-section .saved-lists-primary-button,

body #account-app [data-pw-canonical-lists] .saved-lists-primary-button,
.saved-list-dialog .saved-lists-primary-button {
  border-color: #079447;
  color: #fff;
  background: #079447;
}

body .basket-section .saved-lists-secondary-button:hover,

body #account-app [data-pw-canonical-lists] .saved-lists-secondary-button:hover,
.saved-list-dialog .saved-lists-secondary-button:hover {
  border-color: rgba(7, 148, 71, .42);
  background: #f3faf6;
}

body .basket-section .saved-lists-primary-button:hover,

body #account-app [data-pw-canonical-lists] .saved-lists-primary-button:hover,
.saved-list-dialog:not(.saved-list-dialog--duplicate) .saved-lists-primary-button:hover {
  background: #087e40;
}

body .basket-section .saved-list-menu-button,

body #account-app [data-pw-canonical-lists] .saved-list-menu-button {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  padding: 0 0 7px;
  border: 1px solid #dfe6e2;
  border-radius: 9px;
  color: #079447;
  background: #fff;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 1px;
  cursor: pointer;
}

body .basket-section .saved-list-menu-button:hover,

body #account-app [data-pw-canonical-lists] .saved-list-menu-button:hover,
body .basket-section .saved-list-menu-button[aria-expanded="true"],
body #account-app [data-pw-canonical-lists] .saved-list-menu-button[aria-expanded="true"] {
  border-color: rgba(7, 148, 71, .42);
  background: #f3faf6;
}

body .basket-section .saved-list-thumbs,

body #account-app [data-pw-canonical-lists] .saved-list-thumbs {
  display: flex;
  min-width: 0;
  gap: 8px;
  align-items: center;
  margin: 10px 0;
}

body .basket-section .saved-list-thumb,

body #account-app [data-pw-canonical-lists] .saved-list-thumb {
  width: 58px;
  height: 52px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e3e8e5;
  border-radius: 9px;
  background: #fff;
}

body .basket-section .saved-list-thumb img,

body #account-app [data-pw-canonical-lists] .saved-list-thumb img {
  display: block;
  width: 46px;
  height: 42px;
  object-fit: contain;
}

body .basket-section .saved-list-thumb--more,

body #account-app [data-pw-canonical-lists] .saved-list-thumb--more {
  color: #667085;
  background: #f7f9f8;
  font-size: 12px;
  font-weight: 750;
}

body .basket-section .saved-list-summary,

body #account-app [data-pw-canonical-lists] .saved-list-summary {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(72px, .7fr);
  gap: 14px;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid #e3e8e5;
  border-radius: 9px;
  background: #fff;
}

body .basket-section .saved-list-summary > div,

body #account-app [data-pw-canonical-lists] .saved-list-summary > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

body .basket-section .saved-list-summary span,

body #account-app [data-pw-canonical-lists] .saved-list-summary span {
  color: #667085;
  font-size: 10px;
  line-height: 14px;
}

body .basket-section .saved-list-summary strong,

body #account-app [data-pw-canonical-lists] .saved-list-summary strong {
  color: #101828;
  font-size: 12px;
  line-height: 17px;
  font-weight: 800;
  white-space: nowrap;
}

body .basket-section .saved-list-summary .saved-list-summary__saving,

body #account-app [data-pw-canonical-lists] .saved-list-summary .saved-list-summary__saving {
  color: #079447;
}

body .basket-section .saved-lists-empty,

body #account-app [data-pw-canonical-lists] .saved-lists-empty {
  min-height: 265px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 30px 20px;
  text-align: center;
}

body .basket-section .saved-lists-empty strong,

body #account-app [data-pw-canonical-lists] .saved-lists-empty strong {
  color: #26323a;
  font-size: 17px;
  line-height: 23px;
}

body .basket-section .saved-lists-empty p,

body #account-app [data-pw-canonical-lists] .saved-lists-empty p {
  max-width: 450px;
  margin: 0;
  color: #667085;
  font-size: 12px;
  line-height: 18px;
}

body .basket-section .saved-lists-empty small,

body #account-app [data-pw-canonical-lists] .saved-lists-empty small {
  color: #738079;
  font-size: 10px;
}

.saved-list-floating-menu {
  position: fixed;
  z-index: 10030;
  width: 176px;
  padding: 6px;
  border: 1px solid #dfe6e2;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .14);
}

.saved-list-floating-menu button {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  color: #26323a;
  background: transparent;
  font: 700 12px/16px Inter, Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}

.saved-list-floating-menu button:hover,
.saved-list-floating-menu button:focus-visible {
  background: #f3faf6;
}

.saved-list-floating-menu button.is-danger {
  color: #b42318;
}

.saved-list-floating-menu button.is-danger:hover,
.saved-list-floating-menu button.is-danger:focus-visible {
  background: #fff3f2;
}

body .basket-section .saved-list-detail,

body #account-app [data-pw-canonical-lists] .saved-list-detail {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body .basket-section .saved-list-detail__header,

body #account-app [data-pw-canonical-lists] .saved-list-detail__header {
  display: flex;
  min-width: 0;
  gap: 10px;
  align-items: center;
}

body .basket-section .saved-list-back-button,

body #account-app [data-pw-canonical-lists] .saved-list-back-button {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid #dfe6e2;
  border-radius: 9px;
  color: #26323a;
  background: #fff;
  font-size: 19px;
  cursor: pointer;
}

body .basket-section .saved-list-detail__header > div,

body #account-app [data-pw-canonical-lists] .saved-list-detail__header > div {
  min-width: 0;
}

body .basket-section .saved-list-detail__header h2,

body #account-app [data-pw-canonical-lists] .saved-list-detail__header h2 {
  margin: 0;
  color: #101828;
  font-size: 17px;
  line-height: 23px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

body .basket-section .saved-list-detail__header span,

body #account-app [data-pw-canonical-lists] .saved-list-detail__header span {
  color: #667085;
  font-size: 10px;
}

body .basket-section .saved-list-price-update,

body #account-app [data-pw-canonical-lists] .saved-list-price-update {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
  padding: 10px 12px;
  border-radius: 9px;
  color: #355e8a;
  background: #f1f6fb;
  font-size: 11px;
}

body .basket-section .saved-list-price-update strong,

body #account-app [data-pw-canonical-lists] .saved-list-price-update strong {
  width: 100%;
  font-size: 12px;
}

body .basket-section .saved-list-detail__settings,

body #account-app [data-pw-canonical-lists] .saved-list-detail__settings {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid #e3e8e5;
  border-radius: 9px;
  color: #667085;
  font-size: 10px;
  line-height: 15px;
}

body .basket-section .saved-list-detail__settings b,

body #account-app [data-pw-canonical-lists] .saved-list-detail__settings b {
  color: #26323a;
}

body .basket-section .saved-list-detail__items,

body #account-app [data-pw-canonical-lists] .saved-list-detail__items {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 1px solid #dfe6e2;
  border-radius: 10px;
  list-style: none;
  overflow: hidden;
}

body .basket-section .saved-list-detail-item,

body #account-app [data-pw-canonical-lists] .saved-list-detail-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) minmax(155px, auto);
  gap: 10px;
  align-items: center;
  min-height: 66px;
  padding: 7px 10px;
  border-bottom: 1px solid #e3e8e5;
}

body .basket-section .saved-list-detail-item:last-child,

body #account-app [data-pw-canonical-lists] .saved-list-detail-item:last-child {
  border-bottom: 0;
}

body .basket-section .saved-list-detail-item > img,

body #account-app [data-pw-canonical-lists] .saved-list-detail-item > img {
  width: 42px;
  height: 50px;
  object-fit: contain;
}

body .basket-section .saved-list-detail-item > div,

body #account-app [data-pw-canonical-lists] .saved-list-detail-item > div {
  min-width: 0;
}

body .basket-section .saved-list-detail-item > div:nth-child(2),

body #account-app [data-pw-canonical-lists] .saved-list-detail-item > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

body .basket-section .saved-list-detail-item > div:nth-child(2) strong,

body #account-app [data-pw-canonical-lists] .saved-list-detail-item > div:nth-child(2) strong {
  color: #101828;
  font-size: 11px;
  line-height: 15px;
  overflow-wrap: anywhere;
}

body .basket-section .saved-list-detail-item span,

body #account-app [data-pw-canonical-lists] .saved-list-detail-item span {
  color: #667085;
  font-size: 9px;
  line-height: 13px;
}

body .basket-section .saved-list-detail-item__prices,

body #account-app [data-pw-canonical-lists] .saved-list-detail-item__prices {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: right;
}

body .basket-section .saved-list-detail-item__prices strong,

body #account-app [data-pw-canonical-lists] .saved-list-detail-item__prices strong {
  color: #079447;
  font-size: 10px;
  line-height: 14px;
}

body .basket-section .saved-list-detail__server-actions,

body #account-app [data-pw-canonical-lists] .saved-list-detail__server-actions {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid #e3e8e5;
  border-radius: 9px;
  background: #fff;
}

body .basket-section .saved-list-detail__server-actions label,

body #account-app [data-pw-canonical-lists] .saved-list-detail__server-actions label,
body .basket-section .saved-list-state,
body #account-app [data-pw-canonical-lists] .saved-list-state {
  display: grid;
  gap: 3px;
  color: #667085;
  font-size: 9px;
}

body .basket-section .saved-list-detail select,

body #account-app [data-pw-canonical-lists] .saved-list-detail select {
  min-height: 30px;
  border: 1px solid #dfe6e2;
  border-radius: 7px;
  padding: 0 8px;
  color: #26323a;
  background: #fff;
  font: inherit;
}

body .basket-section .saved-list-detail-item__controls,

body #account-app [data-pw-canonical-lists] .saved-list-detail-item__controls {
  display: grid;
  justify-items: end;
  gap: 5px;
}

body .basket-section .saved-list-detail-item__price,

body #account-app [data-pw-canonical-lists] .saved-list-detail-item__price {
  color: #079447;
  font-size: 10px;
  line-height: 14px;
}

body .basket-section .saved-list-quantity,

body #account-app [data-pw-canonical-lists] .saved-list-quantity {
  display: inline-grid;
  grid-template-columns: 25px 28px 25px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #dfe6e2;
  border-radius: 7px;
  background: #fff;
  text-align: center;
}

body .basket-section .saved-list-quantity button,

body #account-app [data-pw-canonical-lists] .saved-list-quantity button,
body .basket-section .saved-list-item-delete,
body #account-app [data-pw-canonical-lists] .saved-list-item-delete {
  min-height: 25px;
  border: 0;
  color: #079447;
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

body .basket-section .saved-list-quantity button:hover,

body #account-app [data-pw-canonical-lists] .saved-list-quantity button:hover,
body .basket-section .saved-list-quantity button:focus-visible,
body #account-app [data-pw-canonical-lists] .saved-list-quantity button:focus-visible,
body .basket-section .saved-list-item-delete:hover,
body #account-app [data-pw-canonical-lists] .saved-list-item-delete:hover,
body .basket-section .saved-list-item-delete:focus-visible,
body #account-app [data-pw-canonical-lists] .saved-list-item-delete:focus-visible {
  color: #056f35;
  background: #eef9f3;
}

body .basket-section .saved-list-quantity span,

body #account-app [data-pw-canonical-lists] .saved-list-quantity span {
  color: #26323a;
  font-size: 10px;
  font-weight: 800;
}

body .basket-section .saved-list-item-delete,

body #account-app [data-pw-canonical-lists] .saved-list-item-delete {
  min-height: auto;
  color: #b42318;
  font-size: 9px;
}

body .basket-section .saved-list-activity,

body #account-app [data-pw-canonical-lists] .saved-list-activity {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid #e3e8e5;
  border-radius: 9px;
  color: #667085;
  font-size: 10px;
}

body .basket-section .saved-list-activity strong { color: #26323a; }
body .basket-section .saved-list-activity ul { display: grid; gap: 3px; margin: 0; padding-left: 16px; }
body .basket-section .saved-list-activity p { margin: 0; }
body .basket-section .saved-list-detail .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

body .basket-section .saved-list-detail__actions,

body #account-app [data-pw-canonical-lists] .saved-list-detail__actions {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 0 0;
  background: #fff;
}

/* Stage 5E: compact collaborative-shopping controls reuse saved-list spacing and green action tokens. */
body .basket-section .saved-list-shopping-progress,
body #account-app [data-pw-canonical-lists] .saved-list-shopping-progress {
  display: grid;
  gap: 8px;
  margin: 10px 0 2px;
  padding: 10px 12px;
  border: 1px solid #dfe6e2;
  border-radius: 10px;
  background: #f8fbf9;
}
body .basket-section .saved-list-shopping-progress > div:first-child { display: flex; gap: 8px; justify-content: space-between; align-items: baseline; flex-wrap: wrap; }
body .basket-section .saved-list-shopping-progress strong { color: #101828; font-size: 12px; }
body .basket-section .saved-list-shopping-progress span { color: #667085; font-size: 11px; line-height: 15px; }
body .basket-section .saved-list-shopping-progress__bar { height: 6px; overflow: hidden; border-radius: 999px; background: #e4eee7; }
body .basket-section .saved-list-shopping-progress__bar > span { display: block; height: 100%; border-radius: inherit; background: #079447; }
body .basket-section .saved-list-lifecycle-action { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
body .basket-section .saved-list-lifecycle-action small { color: #667085; font-size: 11px; line-height: 15px; }
body .basket-section .saved-list-assignment { display: flex; align-items: center; justify-content: flex-end; gap: 6px; width: 100%; color: #667085; font-size: 11px; }
body .basket-section .saved-list-assignment select { max-width: 160px; min-height: 32px; padding: 5px 26px 5px 8px; border: 1px solid #d7e3da; border-radius: 8px; background: #fff; color: #1f2937; font: inherit; }
body .basket-section .saved-list-assignment button { min-height: 32px; padding: 5px 8px; border: 1px solid #d7e3da; border-radius: 8px; background: #fff; color: #08783d; font: inherit; font-weight: 700; cursor: pointer; }
body .basket-section .saved-list-assignment button:disabled, body .basket-section .saved-list-assignment select:disabled { opacity: .55; cursor: not-allowed; }

body .basket-section .saved-list-inline-state,

body #account-app [data-pw-canonical-lists] .saved-list-inline-state,
body .basket-section .saved-list-sync-status,
body #account-app [data-pw-canonical-lists] .saved-list-sync-status {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid #dfe6e2;
  border-radius: 9px;
  color: #506059;
  background: #f8fbf9;
  font-size: 10px;
  line-height: 15px;
}

body .basket-section .saved-list-inline-state strong,

body #account-app [data-pw-canonical-lists] .saved-list-inline-state strong,
body .basket-section .saved-list-sync-status strong,
body #account-app [data-pw-canonical-lists] .saved-list-sync-status strong,
body .basket-section .saved-list-sync-status span,
body #account-app [data-pw-canonical-lists] .saved-list-sync-status span {
  display: block;
}

body .basket-section .saved-list-inline-state.is-error,

body #account-app [data-pw-canonical-lists] .saved-list-inline-state.is-error,
body .basket-section .saved-list-sync-status.is-offline,
body #account-app [data-pw-canonical-lists] .saved-list-sync-status.is-offline,
body .basket-section .saved-list-sync-status.is-conflict,
body #account-app [data-pw-canonical-lists] .saved-list-sync-status.is-conflict {
  border-color: #f2cbc7;
  color: #8f2f27;
  background: #fff7f6;
}

body .basket-section .saved-list-inline-state.is-warning,

body #account-app [data-pw-canonical-lists] .saved-list-inline-state.is-warning {
  border-color: #f0ddb4;
  color: #805b16;
  background: #fffaf0;
}

body .basket-section .saved-list-sync-status > div,

body #account-app [data-pw-canonical-lists] .saved-list-sync-status > div {
  min-width: 0;
  flex: 1 1 auto;
}

body .basket-section .saved-list-sync-status p,

body #account-app [data-pw-canonical-lists] .saved-list-sync-status p {
  margin: 3px 0 0;
  color: inherit;
  font-size: 10px;
  line-height: 15px;
}

body .basket-section .saved-list-sync-status__dot,

body #account-app [data-pw-canonical-lists] .saved-list-sync-status__dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #079447;
  box-shadow: 0 0 0 3px rgba(7, 148, 71, .12);
}

body .basket-section .saved-list-sync-status.is-refreshing .saved-list-sync-status__dot,

body #account-app [data-pw-canonical-lists] .saved-list-sync-status.is-refreshing .saved-list-sync-status__dot,
body .basket-section .saved-list-sync-status.is-retrying .saved-list-sync-status__dot,
body #account-app [data-pw-canonical-lists] .saved-list-sync-status.is-retrying .saved-list-sync-status__dot,
body .basket-section .saved-list-sync-status.is-pending .saved-list-sync-status__dot,
body #account-app [data-pw-canonical-lists] .saved-list-sync-status.is-pending .saved-list-sync-status__dot {
  background: #d18b17;
  box-shadow: 0 0 0 3px rgba(209, 139, 23, .13);
}

body .basket-section .saved-list-sync-status.is-offline .saved-list-sync-status__dot,

body #account-app [data-pw-canonical-lists] .saved-list-sync-status.is-offline .saved-list-sync-status__dot,
body .basket-section .saved-list-sync-status.is-conflict .saved-list-sync-status__dot,
body #account-app [data-pw-canonical-lists] .saved-list-sync-status.is-conflict .saved-list-sync-status__dot {
  background: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, .12);
}

body .basket-section .saved-list-detail__role,

body #account-app [data-pw-canonical-lists] .saved-list-detail__role {
  align-self: center;
  color: #667085;
  font-size: 10px;
  line-height: 15px;
}

body .basket-section .saved-list-add-form,

body #account-app [data-pw-canonical-lists] .saved-list-add-form {
  display: grid;
  grid-template-columns: minmax(150px, 1.2fr) 82px minmax(130px, 1fr) auto;
  gap: 8px;
  align-items: end;
  padding: 10px;
  border: 1px solid #dfe6e2;
  border-radius: 10px;
  background: #f8fbf9;
}

body .basket-section .saved-list-add-form label,

body #account-app [data-pw-canonical-lists] .saved-list-add-form label,
body .basket-section .saved-list-note,
body #account-app [data-pw-canonical-lists] .saved-list-note {
  min-width: 0;
  display: grid;
  gap: 4px;
  color: #667085;
  font-size: 9px;
  line-height: 13px;
}

body .basket-section .saved-list-add-form input,

body #account-app [data-pw-canonical-lists] .saved-list-add-form input,
body .basket-section .saved-list-note input,
body #account-app [data-pw-canonical-lists] .saved-list-note input {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 0 9px;
  border: 1px solid #dfe6e2;
  border-radius: 8px;
  color: #26323a;
  background: #fff;
  font: 600 11px/16px inherit;
  box-sizing: border-box;
}

body .basket-section .saved-list-add-form .saved-lists-primary-button,

body #account-app [data-pw-canonical-lists] .saved-list-add-form .saved-lists-primary-button {
  min-height: 36px;
  white-space: nowrap;
}

body .basket-section .saved-list-add-form .saved-list-dialog__error,

body #account-app [data-pw-canonical-lists] .saved-list-add-form .saved-list-dialog__error {
  grid-column: 1 / -1;
  margin: 0;
}

body .basket-section .saved-list-detail-item.is-pending,

body #account-app [data-pw-canonical-lists] .saved-list-detail-item.is-pending {
  background: #fbfcfb;
}

body .basket-section .saved-list-detail-item.is-completed .saved-list-note__control,

body #account-app [data-pw-canonical-lists] .saved-list-detail-item.is-completed .saved-list-note__control,
body .basket-section .saved-list-detail-item.is-completed .saved-list-detail-item__controls,
body #account-app [data-pw-canonical-lists] .saved-list-detail-item.is-completed .saved-list-detail-item__controls {
  opacity: .62;
}

body .basket-section .saved-list-detail-item.is-completed :is(button, input, select),

body #account-app [data-pw-canonical-lists] .saved-list-detail-item.is-completed :is(button, input, select) {
  cursor: not-allowed;
}

body .basket-section .saved-list-note,

body #account-app [data-pw-canonical-lists] .saved-list-note {
  margin-top: 5px;
}

body .basket-section .saved-list-note__control,

body #account-app [data-pw-canonical-lists] .saved-list-note__control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px;
}

body .basket-section .saved-list-note__control button,

body #account-app [data-pw-canonical-lists] .saved-list-note__control button {
  min-height: 36px;
  padding: 0 9px;
  border: 1px solid #dfe6e2;
  border-radius: 8px;
  color: #079447;
  background: #fff;
  font: 800 10px/14px inherit;
  cursor: pointer;
}

body .basket-section .saved-list-note__control button:hover,

body #account-app [data-pw-canonical-lists] .saved-list-note__control button:hover,
body .basket-section .saved-list-note__control button:focus-visible,
body #account-app [data-pw-canonical-lists] .saved-list-note__control button:focus-visible {
  border-color: rgba(7, 148, 71, .42);
  background: #f3faf6;
}

body .basket-section .saved-list-detail__empty,

body #account-app [data-pw-canonical-lists] .saved-list-detail__empty {
  min-height: 108px;
  display: grid;
  place-content: center;
  gap: 3px;
  padding: 18px;
  color: #667085;
  text-align: center;
}

body .basket-section .saved-list-detail__empty strong,

body #account-app [data-pw-canonical-lists] .saved-list-detail__empty strong {
  color: #26323a;
  font-size: 13px;
}

body .basket-section .saved-list-detail__empty span,

body #account-app [data-pw-canonical-lists] .saved-list-detail__empty span {
  font-size: 10px;
}

.saved-list-dialog-layer {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(16, 24, 40, .22);
}

.saved-list-dialog {
  --saved-list-dialog-primary-background: linear-gradient(180deg, #11aa5d 0%, #079b50 100%);
  width: min(400px, 100%);
  max-height: min(620px, calc(100vh - 36px));
  overflow: auto;
  padding: 24px;
  border: 1px solid #e3e8e5;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(16, 24, 40, .14);
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  position: relative;
}

.saved-list-dialog h2 {
  margin: 0;
  padding-right: 40px;
  color: #26332d;
  font-size: 19px;
  line-height: 25px;
  font-weight: 750;
}

.saved-list-dialog > p {
  margin: 8px 0 0;
  color: #5e6b64;
  font-size: 13px;
  line-height: 19px;
  font-weight: 400;
}

.saved-list-dialog .saved-list-dialog__close {
  position: absolute;
  top: 6px;
  right: 6px;
  display: inline-grid;
  width: 32px;
  height: 32px;
  min-height: 32px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #52606b;
  background: transparent;
  cursor: pointer;
}

.saved-list-dialog .saved-list-dialog__close svg {
  width: 18px;
  height: 18px;
}

.saved-list-dialog .saved-list-dialog__close:hover {
  color: #079447;
  background: #f3faf6;
}

.saved-list-dialog .saved-list-dialog__close:active {
  background: #edf8f2;
}

.saved-list-field {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  color: #26323a;
  font-size: 12px;
  font-weight: 750;
}

.saved-list-field input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #dfe6e2;
  border-radius: 9px;
  color: #101828;
  background: #fff;
  font: 500 13px/18px Manrope, Inter, system-ui, sans-serif;
}

.saved-list-field input:focus-visible {
  border-color: rgba(7, 148, 71, .55);
  outline: 3px solid rgba(7, 148, 71, .3);
  outline-offset: 2px;
}

.saved-list-dialog [data-trusted-share] {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.saved-list-dialog [data-trusted-share] .saved-list-field {
  margin-top: 0;
}

.saved-list-dialog [data-trusted-share] :is(select, textarea) {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #dfe6e2;
  border-radius: 9px;
  color: #101828;
  background: #fff;
  font: 500 13px/18px Manrope, Inter, system-ui, sans-serif;
}

.saved-list-dialog [data-trusted-share] textarea {
  resize: vertical;
}

.saved-list-dialog [data-trusted-share] :is(select, textarea):focus-visible {
  border-color: #079447;
  outline: 3px solid rgb(7 148 71 / 24%);
  outline-offset: 2px;
}

.saved-list-dialog [data-trusted-qr-output] svg {
  display: block;
  width: min(224px, 100%);
  height: auto;
  margin: 10px auto 0;
}

.saved-list-dialog__error {
  min-height: 16px;
  margin: 5px 0 0 !important;
  color: #b42318 !important;
  font-size: 10px !important;
}

.saved-list-access{display:grid;gap:12px}.saved-list-access>p{margin:0;color:#5e6b64;font-size:12px;line-height:1.45}.saved-list-access h3{margin:3px 0 0;color:#26332d;font-size:13px}.saved-list-access__grants{display:grid;gap:0;margin:0;padding:0;list-style:none;border-top:1px solid #e5ebe7}.saved-list-access__grants li{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #e5ebe7}.saved-list-access__grants span{min-width:0}.saved-list-access__grants strong,.saved-list-access__grants small{display:block}.saved-list-access__grants strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#26332d;font-size:12px}.saved-list-access__grants small{margin-top:2px;color:#667085;font-size:10px}.saved-list-access__members{display:grid;gap:6px}.saved-list-access-member{display:flex;align-items:center;gap:9px;min-height:44px;padding:8px 10px;border:1px solid #dfe6e2;border-radius:10px;background:#fff;cursor:pointer}.saved-list-access-member:has(input:checked){border-color:rgba(7,148,71,.5);background:#f3faf6}.saved-list-access-member input{width:17px;height:17px;accent-color:#079447}.saved-list-access-member strong,.saved-list-access-member small{display:block}.saved-list-access-member strong{color:#26332d;font-size:12px}.saved-list-access-member small{margin-top:2px;color:#667085;font-size:10px}

.saved-list-dialog__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 27px;
}

.saved-list-dialog__actions .saved-lists-secondary-button:first-child:not(:last-child) {
  margin-right: 0;
}

/* Duplicate-list actions follow the cart footer's compact utility language. */
.saved-list-dialog__actions .saved-lists-secondary-button,
.saved-list-dialog__actions .saved-lists-primary-button,
.saved-list-dialog__actions .saved-list-danger-button {
  min-height: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 9px;
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  line-height: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.saved-list-dialog__actions .saved-lists-secondary-button {
  color: #52606b;
  border-color: #dfe6e2;
  background: #fff;
}

.saved-list-dialog__actions .saved-lists-secondary-button:hover {
  color: #079447;
  border-color: rgba(7, 148, 71, .45);
  background: #f3faf6;
}

.saved-list-dialog__actions .saved-lists-primary-button {
  min-width: 0;
  border: 0;
  color: #fff;
  background: var(--saved-list-dialog-primary-background);
  box-shadow: 0 10px 22px rgba(18, 168, 90, .28);
}

.saved-list-dialog:not(.saved-list-dialog--duplicate) .saved-list-dialog__actions .saved-lists-primary-button:hover {
  background: var(--saved-list-dialog-primary-background);
  box-shadow: 0 13px 26px rgba(18, 168, 90, .34);
  filter: none;
}

.saved-list-dialog:not(.saved-list-dialog--duplicate) .saved-lists-primary-button:focus-visible {
  outline: 0;
  outline-offset: 0;
  background: var(--saved-list-dialog-primary-background);
  box-shadow: 0 13px 26px rgba(18, 168, 90, .34);
}

.saved-list-dialog:not(.saved-list-dialog--duplicate) .saved-lists-primary-button:disabled {
  opacity: .58;
  box-shadow: none;
}

/* Explicit legacy-import flow: shares the saved-list modal, cards and actions. */
.saved-list-dialog--import {
  width: min(620px, 100%);
}

body .basket-section .saved-lists-import-prompt,

body #account-app [data-pw-canonical-lists] .saved-lists-import-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 12px;
  padding: 13px 14px;
  border: 1px solid #d9ebe0;
  border-radius: 13px;
  background: #f7fcf8;
}

body .basket-section .saved-lists-import-prompt strong,

body #account-app [data-pw-canonical-lists] .saved-lists-import-prompt strong {
  display: block;
  color: #26332d;
  font-size: 13px;
  line-height: 18px;
  font-weight: 800;
}

body .basket-section .saved-lists-import-prompt p,

body #account-app [data-pw-canonical-lists] .saved-lists-import-prompt p {
  margin: 3px 0 0;
  color: #66756d;
  font-size: 11px;
  line-height: 16px;
}

.saved-list-import__loading,
.saved-list-import__result,
.saved-list-import__empty {
  margin-top: 17px;
  padding: 13px;
  border-radius: 11px;
  color: #52606b;
  background: #f7f9f8;
  font-size: 12px;
  line-height: 18px;
}

.saved-list-import__result {
  border: 1px solid #d9ebe0;
  color: #31443a;
  background: #f7fcf8;
}

.saved-list-import__result strong { display: block; font-size: 13px; }
.saved-list-import__result p { margin: 3px 0 0 !important; }

.saved-list-import__tools {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.saved-list-import-link {
  min-height: 32px;
  padding: 4px 0;
  border: 0;
  color: #079447;
  background: transparent;
  font: 800 11px/16px Manrope, Inter, system-ui, sans-serif;
  cursor: pointer;
  text-align: left;
}

.saved-list-import-link:hover { color: #05773a; text-decoration: underline; }
.saved-list-import-link:disabled { color: #9aa7a0; cursor: default; text-decoration: none; }
.saved-list-import-link:focus-visible { outline: 3px solid rgba(7, 148, 71, .3); outline-offset: 2px; border-radius: 6px; }

.saved-list-import__cards {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.saved-list-import-card {
  padding: 11px 12px;
  border: 1px solid #e1e8e4;
  border-radius: 12px;
  background: #fff;
}

.saved-list-import-card__select {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.saved-list-import-card__select input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #079447;
}

.saved-list-import-card__copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.saved-list-import-card__copy strong {
  overflow: hidden;
  color: #26332d;
  font-size: 13px;
  line-height: 18px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saved-list-import-card__copy small { color: #718078; font-size: 10px; line-height: 15px; }

.saved-list-import-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0 28px;
}

.saved-list-import-status {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 8px;
  border-radius: 99px;
  font-size: 10px;
  line-height: 14px;
  font-weight: 800;
}

.saved-list-import-status.is-ready { color: #08743a; background: #e8f7ed; }
.saved-list-import-status.is-warning { color: #9a6700; background: #fff4d6; }
.saved-list-import-status.is-imported { color: #607168; background: #eef2f0; }
.saved-list-import-status.is-error { color: #b42318; background: #fff0ee; }
.saved-list-import-status.is-loading { color: #607168; background: #eef2f0; }

.saved-list-import__detail {
  margin: 8px 0 0 28px;
  color: #66756d;
  font-size: 11px;
  line-height: 16px;
}

.saved-list-import__detail p { margin: 0 !important; }
.saved-list-import__warnings { margin: 6px 0 0; padding-left: 16px; }
.saved-list-import__warnings li + li { margin-top: 3px; }

@media (max-width: 640px) {
  body .basket-section .saved-lists-import-prompt,
  body #account-app [data-pw-canonical-lists] .saved-lists-import-prompt {
    align-items: flex-start;
    flex-direction: column;
  }

  .saved-list-dialog--import {
    width: 100%;
    max-height: min(78vh, 680px);
  }

  .saved-list-import-card__copy strong { white-space: normal; }
}

/* Exact-duplicate prompt: intentionally short, calm and specific to the cart flow. */
.saved-list-dialog-layer:has(.saved-list-dialog--duplicate) {
  background: rgba(16, 24, 40, .22);
}

.saved-list-dialog--duplicate {
  --saved-list-dialog-primary-background: linear-gradient(180deg, #11aa5d 0%, #079b50 100%);
}

.saved-list-dialog--duplicate h2 {
  padding-right: 40px;
  color: #26332d;
  font-size: 19px;
  line-height: 25px;
  font-weight: 750;
  letter-spacing: normal;
}

.saved-list-dialog--duplicate .saved-list-dialog__close {
  position: absolute;
}

.saved-list-dialog--duplicate .saved-list-dialog__close svg {
  width: 18px;
  height: 18px;
}

.saved-list-dialog--duplicate .saved-list-dialog__close:hover {
  color: #079447;
  background: #f3faf6;
}

.saved-list-dialog--duplicate .saved-list-dialog__close:active {
  background: #edf8f2;
}

.saved-list-dialog--duplicate > p {
  margin-top: 8px;
  color: #5e6b64;
  font-size: 13px;
  line-height: 19px;
  font-weight: 400;
}

.saved-list-dialog--duplicate .saved-list-dialog__actions {
  gap: 8px;
  margin-top: 27px;
}

.saved-list-dialog--duplicate .saved-list-dialog__actions .saved-lists-secondary-button:first-child:not(:last-child) {
  margin-right: 0;
}

.saved-list-dialog__split,
.saved-list-share-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 27px;
}

.saved-list-share-actions .saved-lists-secondary-button {
  width: 100%;
  min-height: 42px;
}

.saved-list-dialog .saved-list-danger-button {
  border-color: #b42318;
  color: #fff;
  background: #b42318;
  box-shadow: none;
}

body .basket-section .saved-list-menu-button:focus-visible,

body #account-app [data-pw-canonical-lists] .saved-list-menu-button:focus-visible,
body .basket-section .saved-list-back-button:focus-visible,
body #account-app [data-pw-canonical-lists] .saved-list-back-button:focus-visible,
body .basket-section .saved-lists-secondary-button:focus-visible,
body #account-app [data-pw-canonical-lists] .saved-lists-secondary-button:focus-visible,
body .basket-section .saved-lists-primary-button:focus-visible,
body #account-app [data-pw-canonical-lists] .saved-lists-primary-button:focus-visible,
body .basket-section .saved-list-add-form input:focus-visible,
body #account-app [data-pw-canonical-lists] .saved-list-add-form input:focus-visible,
body .basket-section .saved-list-note input:focus-visible,
body #account-app [data-pw-canonical-lists] .saved-list-note input:focus-visible,
body .basket-section .saved-list-note button:focus-visible,
body #account-app [data-pw-canonical-lists] .saved-list-note button:focus-visible,
.saved-list-floating-menu button:focus-visible,
.saved-list-dialog button:focus-visible,
.saved-list-dialog input:focus-visible {
  outline: 3px solid rgba(7, 148, 71, .3);
  outline-offset: 2px;
}

@media (max-width: 796px) {
  .saved-list-dialog-layer {
    display: flex;
    align-items: flex-end;
    padding: 0;
  }

  .saved-list-dialog-layer::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: 38px;
    height: 4px;
    border-radius: 99px;
    background: #cbd5d0;
    transform: translateX(-50%);
    z-index: 1;
  }

  .saved-list-dialog {
    width: 100%;
    max-height: min(78vh, 620px);
    padding: 28px 20px calc(20px + env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
    border-bottom: 0;
  }

  .saved-list-dialog__actions {
    flex-direction: column;
  }

  .saved-list-dialog__actions button {
    min-height: 44px;
    height: 44px;
  }

  .saved-list-dialog__actions [data-dialog-confirm] { order: 1; }
  .saved-list-dialog__actions [data-dialog-additional] { order: 2; }
  .saved-list-dialog__actions [data-dialog-cancel] { order: 3; }

  .saved-list-dialog__actions .saved-lists-secondary-button:first-child:not(:last-child) {
    margin-right: 0;
  }

  .saved-list-dialog--duplicate { max-height: none; }

  .saved-list-dialog--duplicate > p {
    margin-top: 8px;
    font-size: 13px;
    line-height: 19px;
  }

  .saved-list-dialog--duplicate .saved-list-dialog__actions {
    margin-top: 27px;
  }

  .saved-list-dialog--duplicate .saved-list-dialog__actions [data-dialog-confirm] { order: 1; }
  .saved-list-dialog--duplicate .saved-list-dialog__actions [data-dialog-cancel] { order: 2; }

  body .basket-section .saved-lists-view,

  body #account-app [data-pw-canonical-lists] .saved-lists-view,
  body .basket-section .saved-list-detail,
  body #account-app [data-pw-canonical-lists] .saved-list-detail {
    padding-top: 10px;
  }

  body .basket-section .saved-lists-limit,

  body #account-app [data-pw-canonical-lists] .saved-lists-limit {
    gap: 8px 10px;
    padding: 12px;
  }

  body .basket-section .saved-list-card,

  body #account-app [data-pw-canonical-lists] .saved-list-card {
    padding: 12px;
  }

  body .basket-section .saved-list-card__header,

  body #account-app [data-pw-canonical-lists] .saved-list-card__header {
    align-items: flex-start;
  }

  body .basket-section .saved-list-card__actions,

  body #account-app [data-pw-canonical-lists] .saved-list-card__actions {
    gap: 5px;
  }

  body .basket-section .saved-list-thumbs,

  body #account-app [data-pw-canonical-lists] .saved-list-thumbs {
    gap: 6px;
    overflow: hidden;
  }

  body .basket-section .saved-list-thumb,

  body #account-app [data-pw-canonical-lists] .saved-list-thumb {
    width: 52px;
    height: 48px;
    flex-basis: 52px;
  }

  body .basket-section .saved-list-thumb img,

  body #account-app [data-pw-canonical-lists] .saved-list-thumb img {
    width: 42px;
    height: 38px;
  }
}

@media (max-width: 520px) {
  body .basket-section .saved-lists-limit,
  body #account-app [data-pw-canonical-lists] .saved-lists-limit {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body .basket-section .saved-lists-limit__copy strong,

  body #account-app [data-pw-canonical-lists] .saved-lists-limit__copy strong {
    font-size: 13px;
    line-height: 18px;
  }

  body .basket-section .saved-lists-limit > .saved-lists-secondary-button,

  body #account-app [data-pw-canonical-lists] .saved-lists-limit > .saved-lists-secondary-button {
    min-height: 36px;
    padding: 0 9px;
    font-size: 10px;
  }

  body .basket-section .saved-list-card__header,

  body #account-app [data-pw-canonical-lists] .saved-list-card__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px;
  }

  body .basket-section .saved-list-card__actions,

  body #account-app [data-pw-canonical-lists] .saved-list-card__actions {
    display: contents;
  }

  body .basket-section .saved-list-open-button,

  body #account-app [data-pw-canonical-lists] .saved-list-open-button {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin-top: 8px;
  }

  body .basket-section .saved-list-menu-button,

  body #account-app [data-pw-canonical-lists] .saved-list-menu-button {
    grid-column: 2;
    grid-row: 1;
  }

  body .basket-section .saved-list-thumbs,

  body #account-app [data-pw-canonical-lists] .saved-list-thumbs {
    margin-top: 9px;
  }

  body .basket-section .saved-list-thumb,

  body #account-app [data-pw-canonical-lists] .saved-list-thumb {
    width: 48px;
    flex-basis: 48px;
  }

  body .basket-section .saved-list-summary,

  body #account-app [data-pw-canonical-lists] .saved-list-summary {
    grid-template-columns: 1fr 1fr;
    gap: 7px 12px;
  }

  body .basket-section .saved-list-summary > div:last-child,

  body #account-app [data-pw-canonical-lists] .saved-list-summary > div:last-child {
    grid-column: 1 / -1;
    padding-top: 5px;
    border-top: 1px solid #edf0ee;
  }

  body .basket-section .saved-list-detail-item,

  body #account-app [data-pw-canonical-lists] .saved-list-detail-item {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  body .basket-section .saved-list-detail-item__prices,

  body #account-app [data-pw-canonical-lists] .saved-list-detail-item__prices {
    grid-column: 2;
    text-align: left;
  }

  body .basket-section .saved-list-detail-item__controls,

  body #account-app [data-pw-canonical-lists] .saved-list-detail-item__controls {
    grid-column: 2;
    justify-items: start;
  }

  body .basket-section .saved-list-detail__server-actions,

  body #account-app [data-pw-canonical-lists] .saved-list-detail__server-actions {
    align-items: stretch;
    flex-direction: column;
  }

  body .basket-section .saved-list-add-form,

  body #account-app [data-pw-canonical-lists] .saved-list-add-form {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  body .basket-section .saved-list-add-form__title,

  body #account-app [data-pw-canonical-lists] .saved-list-add-form__title {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  body .basket-section .saved-list-add-form__quantity,

  body #account-app [data-pw-canonical-lists] .saved-list-add-form__quantity {
    grid-column: 1;
    grid-row: 2;
  }

  body .basket-section .saved-list-add-form__note,

  body #account-app [data-pw-canonical-lists] .saved-list-add-form__note {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  body .basket-section .saved-list-add-form .saved-lists-primary-button,

  body #account-app [data-pw-canonical-lists] .saved-list-add-form .saved-lists-primary-button {
    grid-column: 2;
    grid-row: 2;
    min-height: 44px;
  }

  body .basket-section .saved-list-note__control,

  body #account-app [data-pw-canonical-lists] .saved-list-note__control {
    grid-template-columns: minmax(0, 1fr);
  }

  body .basket-section .saved-list-note__control button,

  body #account-app [data-pw-canonical-lists] .saved-list-note__control button,
  body .basket-section .saved-list-add-form input,
  body #account-app [data-pw-canonical-lists] .saved-list-add-form input,
  body .basket-section .saved-list-note input,
  body #account-app [data-pw-canonical-lists] .saved-list-note input,
  body .basket-section .saved-list-quantity button,
  body #account-app [data-pw-canonical-lists] .saved-list-quantity button,
  body .basket-section .saved-list-item-delete,
  body #account-app [data-pw-canonical-lists] .saved-list-item-delete {
    min-height: 44px;
  }

  body .basket-section .saved-list-quantity,

  body #account-app [data-pw-canonical-lists] .saved-list-quantity {
    grid-template-columns: 44px 32px 44px;
  }

  body .basket-section .saved-list-detail__server-actions > .saved-lists-secondary-button,

  body #account-app [data-pw-canonical-lists] .saved-list-detail__server-actions > .saved-lists-secondary-button {
    width: 100%;
  }

  body .basket-section .saved-list-detail__actions,

  body #account-app [data-pw-canonical-lists] .saved-list-detail__actions {
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  body .basket-section .saved-lists-limit,
  body #account-app [data-pw-canonical-lists] .saved-lists-limit {
    grid-template-areas:
      "copy copy"
      "progress value"
      "action action";
  }

  body .basket-section .saved-lists-limit > .saved-lists-secondary-button,

  body #account-app [data-pw-canonical-lists] .saved-lists-limit > .saved-lists-secondary-button {
    width: 100%;
  }

  body .basket-section .saved-list-thumbs,

  body #account-app [data-pw-canonical-lists] .saved-list-thumbs {
    gap: 5px;
  }

  body .basket-section .saved-list-thumb,

  body #account-app [data-pw-canonical-lists] .saved-list-thumb {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  body .basket-section .saved-list-thumb img,

  body #account-app [data-pw-canonical-lists] .saved-list-thumb img {
    width: 36px;
    height: 35px;
  }

  .saved-list-dialog__split,
  .saved-list-share-actions {
    grid-template-columns: 1fr;
  }
}

/* Stage 7D: replacement proposals stay inside the existing saved-list drawer. */
body .basket-section .saved-list-replacements,
body #account-app [data-pw-canonical-lists] .saved-list-replacements {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid #dce8e1;
}

body .basket-section .saved-list-replacements > header,

body #account-app [data-pw-canonical-lists] .saved-list-replacements > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body .basket-section .saved-list-replacements > header > div,

body #account-app [data-pw-canonical-lists] .saved-list-replacements > header > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body .basket-section .saved-list-replacements h3,

body #account-app [data-pw-canonical-lists] .saved-list-replacements h3 {
  margin: 0;
  color: #18211c;
  font-size: 13px;
  line-height: 18px;
}

body .basket-section .saved-list-replacements > header span,

body #account-app [data-pw-canonical-lists] .saved-list-replacements > header span,
body .basket-section .saved-list-replacement-proposal__copy > span,
body #account-app [data-pw-canonical-lists] .saved-list-replacement-proposal__copy > span,
body .basket-section .saved-list-replacement-proposal__copy > p,
body #account-app [data-pw-canonical-lists] .saved-list-replacement-proposal__copy > p {
  color: #66716b;
  font-size: 11px;
  line-height: 16px;
}

body .basket-section .saved-list-replacements > header button,

body #account-app [data-pw-canonical-lists] .saved-list-replacements > header button,
body .basket-section .saved-list-replacement-proposal__actions button,
body #account-app [data-pw-canonical-lists] .saved-list-replacement-proposal__actions button,
body .basket-section .saved-list-replacement-empty button,
body #account-app [data-pw-canonical-lists] .saved-list-replacement-empty button {
  min-height: 34px;
  border: 1px solid #b9cec1;
  border-radius: 9px;
  background: #fff;
  color: #096c38;
  padding: 0 11px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

body .basket-section .saved-list-replacements > header button:hover,

body #account-app [data-pw-canonical-lists] .saved-list-replacements > header button:hover,
body .basket-section .saved-list-replacement-proposal__actions button:hover,
body #account-app [data-pw-canonical-lists] .saved-list-replacement-proposal__actions button:hover,
body .basket-section .saved-list-replacement-empty button:hover,
body #account-app [data-pw-canonical-lists] .saved-list-replacement-empty button:hover {
  border-color: #079447;
  background: #f1faf5;
}

body .basket-section .saved-list-replacement-proposal__actions .is-primary,

body #account-app [data-pw-canonical-lists] .saved-list-replacement-proposal__actions .is-primary {
  border-color: #079447;
  background: #079447;
  color: #fff;
}

body .basket-section .saved-list-replacement-proposal__actions button:disabled,

body #account-app [data-pw-canonical-lists] .saved-list-replacement-proposal__actions button:disabled {
  cursor: default;
  opacity: .58;
}

body .basket-section .saved-list-replacement-proposals,

body #account-app [data-pw-canonical-lists] .saved-list-replacement-proposals {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body .basket-section .saved-list-replacement-proposal,

body #account-app [data-pw-canonical-lists] .saved-list-replacement-proposal {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: start;
  gap: 9px;
  padding: 9px;
  border: 1px solid #e0e8e3;
  border-radius: 11px;
  background: #fbfdfc;
}

body .basket-section .saved-list-replacement-proposal.is-accepted,

body #account-app [data-pw-canonical-lists] .saved-list-replacement-proposal.is-accepted {
  border-color: #9fcdb4;
  background: #f2faf5;
}

body .basket-section .saved-list-replacement-proposal > img,

body #account-app [data-pw-canonical-lists] .saved-list-replacement-proposal > img {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: #fff;
  object-fit: contain;
}

body .basket-section .saved-list-replacement-proposal__copy,

body #account-app [data-pw-canonical-lists] .saved-list-replacement-proposal__copy,
body .basket-section .saved-list-replacement-proposal__side,
body #account-app [data-pw-canonical-lists] .saved-list-replacement-proposal__side {
  display: grid;
  gap: 3px;
  min-width: 0;
}

body .basket-section .saved-list-replacement-proposal__copy strong,

body #account-app [data-pw-canonical-lists] .saved-list-replacement-proposal__copy strong {
  overflow-wrap: anywhere;
  color: #18211c;
  font-size: 12px;
  line-height: 17px;
}

body .basket-section .saved-list-replacement-proposal__copy > p,

body #account-app [data-pw-canonical-lists] .saved-list-replacement-proposal__copy > p {
  margin: 2px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

body .basket-section .saved-list-replacement-proposal__linked,

body #account-app [data-pw-canonical-lists] .saved-list-replacement-proposal__linked {
  color: #096c38;
}

body .basket-section .saved-list-replacement-proposal__side,

body #account-app [data-pw-canonical-lists] .saved-list-replacement-proposal__side {
  justify-items: end;
}

body .basket-section .saved-list-replacement-status,

body #account-app [data-pw-canonical-lists] .saved-list-replacement-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  background: #eef3f0;
  color: #4f5d55;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

body .basket-section .is-accepted .saved-list-replacement-status,

body #account-app [data-pw-canonical-lists] .is-accepted .saved-list-replacement-status {
  background: #dff3e7;
  color: #096c38;
}

body .basket-section .saved-list-replacement-proposal__actions,

body #account-app [data-pw-canonical-lists] .saved-list-replacement-proposal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

body .basket-section .saved-list-replacement-empty,

body #account-app [data-pw-canonical-lists] .saved-list-replacement-empty,
body .basket-section .saved-list-replacement-notice,
body #account-app [data-pw-canonical-lists] .saved-list-replacement-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  color: #66716b;
  font-size: 12px;
  line-height: 18px;
}

body .basket-section .saved-list-replacement-notice,

body #account-app [data-pw-canonical-lists] .saved-list-replacement-notice {
  justify-content: flex-start;
  border-radius: 8px;
  background: #f1f7f3;
  color: #31553f;
  padding: 7px 9px;
}

.saved-list-dialog--replacement {
  width: min(560px, calc(100vw - 24px));
}

.saved-list-dialog--replacement textarea {
  width: 100%;
  resize: vertical;
  min-height: 78px;
  border: 1px solid #cfd9d3;
  border-radius: 10px;
  padding: 9px 11px;
  color: #18211c;
  font: inherit;
}

.saved-list-replacement-picker {
  display: grid;
  gap: 6px;
  max-height: min(310px, 42vh);
  overflow: auto;
  padding: 2px;
}

.saved-list-replacement-picker__option {
  display: grid;
  grid-template-columns: 20px 44px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 56px;
  border: 1px solid #e0e8e3;
  border-radius: 10px;
  background: #fff;
  padding: 6px 9px;
  cursor: pointer;
}

.saved-list-replacement-picker__option:has(input:checked) {
  border-color: #079447;
  background: #f1faf5;
}

.saved-list-replacement-picker__option img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.saved-list-replacement-picker__option span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.saved-list-replacement-picker__option strong {
  overflow-wrap: anywhere;
  color: #18211c;
  font-size: 12px;
  line-height: 17px;
}

.saved-list-replacement-picker__option small,
.saved-list-replacement-picker__empty {
  color: #66716b;
  font-size: 11px;
  line-height: 16px;
}

.saved-list-dialog--replacement .saved-list-field[hidden] { display: none; }
.saved-list-dialog--replacement > p[hidden] { display: none; }
.saved-list-dialog--replacement .saved-list-replacement-picker--selected { max-height: none; overflow: visible; margin: 12px 0; }
.saved-list-dialog--replacement .saved-list-replacement-picker__original { display: flex; align-items: center; gap: 9px; padding: 6px 9px; }
.saved-list-dialog--replacement .saved-list-replacement-picker__original img { width: 44px; height: 44px; object-fit: contain; }
.saved-list-dialog--replacement .saved-list-replacement-picker__original span { display: grid; gap: 2px; min-width: 0; }
.saved-list-dialog--replacement .saved-list-replacement-picker__original strong,
.saved-list-dialog--replacement .saved-list-replacement-picker__label { font-size: 12px; line-height: 17px; overflow-wrap: anywhere; }
.saved-list-dialog--replacement .saved-list-replacement-picker__original small { color: #66716b; font-size: 11px; }
.saved-list-dialog--replacement .saved-list-dialog__actions { position: sticky; bottom: 0; background: #fff; padding-top: 9px; margin-top: 12px; }
.saved-list-dialog--shopping-complete .shared-completion-summary { text-align: center; margin-top: 18px; }
.saved-list-dialog--shopping-complete .shared-completion-summary img { display: block; margin: 0 auto; width: 56px; height: 64px; object-fit: contain; }
.saved-list-dialog--shopping-complete .shared-completion-summary h3 { margin: 12px 0 8px; font-size: 17px; }
.saved-list-dialog--shopping-complete .shared-completion-summary p { color: #66716b; font-size: 12px; line-height: 18px; }
.saved-list-dialog--shopping-complete .saved-list-dialog__actions { flex-direction: row; }
.saved-list-dialog--shopping-complete .saved-list-dialog__actions button { flex: 1; }
.saved-list-dialog--shopping-complete .saved-list-dialog__actions [data-dialog-confirm] { order: 1; }
.saved-list-dialog--shopping-complete .saved-list-dialog__actions [data-dialog-cancel] { order: 2; }
.saved-list-dialog--shared-share .saved-list-dialog__actions { flex-direction: row; }
.saved-list-dialog--shared-share .saved-list-dialog__actions button { flex: 1; }
.saved-list-dialog--shared-share .saved-list-dialog__actions [data-dialog-confirm] { order: 1; }
.saved-list-dialog--shared-share .saved-list-dialog__actions [data-dialog-cancel] { order: 2; }
.saved-list-dialog--replacement .saved-list-dialog__actions { flex-direction: row; }
.saved-list-dialog--replacement .saved-list-dialog__actions button { flex: 1; }
.saved-list-dialog--replacement .saved-list-dialog__actions [data-dialog-confirm] { order: 1; }
.saved-list-dialog--replacement .saved-list-dialog__actions [data-dialog-cancel] { order: 2; }
@media (max-width: 520px) {
  .saved-list-dialog--replacement { width: 100%; max-height: calc(100dvh - 36px); }
}

body .basket-section .saved-list-replacements button:focus-visible,

body #account-app [data-pw-canonical-lists] .saved-list-replacements button:focus-visible,
.saved-list-dialog--replacement input:focus-visible,
.saved-list-dialog--replacement textarea:focus-visible,
.saved-list-replacement-picker__option:has(input:focus-visible) {
  outline: 3px solid rgb(7 148 71 / 24%);
  outline-offset: 2px;
}

@media (max-width: 520px) {
  body .basket-section .saved-list-replacements > header,
  body #account-app [data-pw-canonical-lists] .saved-list-replacements > header {
    align-items: stretch;
    flex-direction: column;
  }

  body .basket-section .saved-list-replacements > header button,

  body #account-app [data-pw-canonical-lists] .saved-list-replacements > header button,
  body .basket-section .saved-list-replacement-proposal__actions button,
  body #account-app [data-pw-canonical-lists] .saved-list-replacement-proposal__actions button,
  body .basket-section .saved-list-replacement-empty button,
  body #account-app [data-pw-canonical-lists] .saved-list-replacement-empty button {
    min-height: 44px;
  }

  body .basket-section .saved-list-replacement-proposal,

  body #account-app [data-pw-canonical-lists] .saved-list-replacement-proposal {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  body .basket-section .saved-list-replacement-proposal__side,

  body #account-app [data-pw-canonical-lists] .saved-list-replacement-proposal__side {
    grid-column: 1 / -1;
    justify-items: stretch;
  }

  body .basket-section .saved-list-replacement-proposal__actions,

  body #account-app [data-pw-canonical-lists] .saved-list-replacement-proposal__actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}
.saved-list-dialog .shared-replacement-mode { border: 0; margin: 0 0 12px; padding: 0; }
.saved-list-dialog .shared-replacement-mode legend { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.saved-list-dialog .shared-replacement-mode label { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
.saved-list-dialog .shared-replacement-mode input { accent-color: #079447; margin: 3px 0 0; }
.saved-list-dialog .shared-replacement-mode strong, .saved-list-dialog .shared-replacement-mode small { display: block; }
.saved-list-dialog .shared-replacement-mode strong { font-size: 13px; }
.saved-list-dialog .shared-replacement-mode small { color: var(--muted, #687786); font-size: 11px; }

@media (max-width: 560px) {
  body .basket-section:has(.shared-list-view, .shared-item-detail) .basket-approved-tabs {
    grid-template-columns: minmax(0, 1fr) 32px !important;
  }

  body .basket-section:has(.shared-list-view, .shared-item-detail) .basket-approved-tabs__scroll [data-basket-tab] {
    padding-inline: var(--space-1, 4px) !important;
  }
}

/* Narrow shared-list rows need separate tracks for the full price and status. */
@media (max-width: 360px) {
  .basket-section .shared-list-row__price,
  body #account-app [data-pw-canonical-lists] .shared-list-row__price {
    grid-column: 1 / -1;
  }
  .basket-section .shared-list-row__state,
  body #account-app [data-pw-canonical-lists] .shared-list-row__state {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}
