.price-alert-button.is-watch-active {
  color: #079447;
  background: #ecf8f2;
  border-color: rgba(7, 148, 71, 0.3);
}

/* Notification channels are edited independently from store selection. */
.price-watch-dialog .price-watch-channel-editor {
  display: grid;
  grid-template-rows: minmax(0, 0fr);
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transition: grid-template-rows 0.18s ease, margin-top 0.18s ease, opacity 0.15s ease;
}

.price-watch-dialog .price-watch-channel-editor.is-editing {
  grid-template-rows: minmax(0, 1fr);
  margin-top: 2px;
  opacity: 1;
}

.price-watch-dialog .price-watch-channel-editor__content {
  display: grid;
  gap: 9px;
  min-height: 0;
  padding: 10px 12px;
  overflow: hidden;
  border: 1px solid #dfe5e2;
  border-radius: 10px;
  background: #fbfdfb;
}

.price-watch-dialog .price-watch-channel-editor__head strong {
  color: var(--cenatut-primary-text);
  font-size: 12.5px;
  line-height: 16px;
  font-weight: 800;
}

.price-watch-dialog .price-watch-channel-global,
.price-watch-dialog .price-watch-channel-option {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  color: var(--cenatut-primary-text);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
}

.price-watch-dialog .price-watch-channel-global {
  padding-bottom: 7px;
  border-bottom: 1px solid #e8eeeb;
}

.price-watch-dialog .price-watch-channel-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.price-watch-dialog .price-watch-channel-options[aria-disabled="true"] {
  opacity: 0.58;
}

.price-watch-dialog .price-watch-channel-editor input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #079447;
}

.price-watch-dialog .price-watch-channel-editor small {
  color: #7b8495;
  font-size: 11px;
  line-height: 15px;
}

.price-watch-dialog .price-watch-channel-editor .price-watch-field-error {
  display: block;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.18s ease, margin-top 0.18s ease, opacity 0.15s ease;
}

.price-watch-dialog .price-watch-channel-editor.is-editing .price-watch-field-error:not(:empty) {
  max-height: 32px;
  margin-top: 1px;
  opacity: 1;
}

/* The signed-in state keeps the same compact channel-first layout. */
.price-watch-dialog .price-watch-channel-editor__content {
  gap: 8px;
}

.price-watch-dialog .price-watch-channel-options {
  align-items: center;
  gap: 6px 16px;
}

.price-watch-dialog .price-watch-channel-option {
  min-height: 24px;
}

.price-watch-dialog .price-watch-channel-global {
  width: fit-content;
  min-height: 20px;
  padding: 0;
  border: 0;
  color: #7b8495;
  font-size: 11px;
  line-height: 15px;
  font-weight: 600;
}

.price-watch-dialog .price-watch-channel-global input[type="checkbox"] {
  width: 14px;
  height: 14px;
}

@media (prefers-reduced-motion: reduce) {
  .price-watch-dialog .price-watch-channel-editor,
  .price-watch-dialog .price-watch-store-row,
  .price-watch-dialog .price-watch-store-checkbox-slot,
  .price-watch-dialog .price-watch-channel-editor .price-watch-field-error {
    transition: none;
  }
}

.price-alert-button.is-watch-active svg {
  stroke: #079447;
}

.price-alert-button.is-watch-reached {
  color: #0f7d3f;
  background: #fff7dc;
  border-color: #f1c95f;
}

.favorite-button.is-favorite-active {
  color: #079447;
  background: rgba(255, 255, 255, 0.96);
  border-color: #e0e6e1;
}

.price-watch-dialog {
  width: min(468px, calc(100vw - 32px));
  max-height: min(620px, calc(100dvh - 48px));
  padding: 0;
  border: 0;
  border-radius: var(--radius-modal, 18px);
  background: #fff;
  box-shadow: var(--shadow-modal, 0 24px 70px rgba(15, 23, 42, 0.2));
  overflow: hidden;
}

.price-watch-dialog[open]:not(.is-closing) {
  animation: price-watch-dialog-in 0.18s ease-out both;
}

.price-watch-dialog[open].is-closing {
  animation: price-watch-dialog-out 0.18s ease-in both;
}

.price-watch-dialog::backdrop {
  background: rgba(15, 23, 42, 0.38);
  animation: price-watch-backdrop-in 0.18s ease-out both;
}

.price-watch-dialog.is-closing::backdrop {
  animation: price-watch-backdrop-out 0.18s ease-in both;
}

@keyframes price-watch-dialog-in {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes price-watch-dialog-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(8px) scale(0.99); }
}

@keyframes price-watch-backdrop-in {
  from { background-color: rgba(15, 23, 42, 0); }
  to { background-color: rgba(15, 23, 42, 0.38); }
}

@keyframes price-watch-backdrop-out {
  from { background-color: rgba(15, 23, 42, 0.38); }
  to { background-color: rgba(15, 23, 42, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .price-watch-dialog[open],
  .price-watch-dialog::backdrop {
    animation: none;
  }
}

.price-watch-sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: min(620px, calc(100dvh - 48px));
  padding: 22px;
  color: var(--cenatut-primary-text);
  overflow: auto;
  overscroll-behavior: contain;
}

.price-watch-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #dce4df;
  border-radius: 50%;
  color: #5d6871;
  background: #fff;
  font-size: 24px;
  line-height: 1;
}

.price-watch-close:hover,
.price-watch-close:focus-visible {
  border-color: rgba(7, 148, 71, 0.35);
  color: #079447;
  outline: none;
  box-shadow: 0 0 0 3px rgba(7, 148, 71, 0.12);
}

.price-watch-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-right: 44px;
}

.price-watch-head img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
  background: #f6faf7;
}

.price-watch-head small {
  display: block;
  color: #079447;
  font-size: 12px;
  font-weight: 800;
}

.price-watch-head strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--cenatut-primary-text);
  font-size: 16px;
  line-height: 20px;
  font-weight: 850;
  -webkit-line-clamp: 2;
}

.price-watch-head em {
  display: block;
  margin-top: 2px;
  color: #738079;
  font-size: 12px;
  font-style: normal;
}

.price-watch-current-compact {
  display: grid;
  gap: 2px;
  padding-bottom: 2px;
}

.price-watch-current-compact strong {
  color: var(--cenatut-primary-text);
  font-size: 16px;
  line-height: 20px;
}

.price-watch-current-compact span,
.price-watch-summary,
.price-watch-global-summary span,
.price-watch-value-row small,
.price-watch-overrides small {
  color: #667085;
  font-size: 12px;
  line-height: 16px;
}

.price-watch-main {
  display: grid;
  gap: 12px;
}

.price-watch-main h3 {
  margin: 0;
  color: var(--cenatut-primary-text);
  font-size: 15px;
  line-height: 20px;
}

.price-watch-rule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.price-watch-rule-card {
  position: relative;
  display: grid;
  min-height: 76px;
  padding: 12px;
  border: 1px solid #dfe7e2;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.price-watch-rule-card.is-wide {
  grid-column: 1 / -1;
}

.price-watch-rule-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.price-watch-rule-card span {
  display: grid;
  gap: 4px;
}

.price-watch-rule-card strong {
  color: var(--cenatut-primary-text);
  font-size: 13px;
  line-height: 17px;
}

.price-watch-rule-card small {
  color: #667085;
  font-size: 11px;
  line-height: 14px;
}

.price-watch-rule-card:has(input:checked) {
  border-color: rgba(7, 148, 71, 0.45);
  background: #f1fbf5;
  box-shadow: inset 0 0 0 1px rgba(7, 148, 71, 0.12);
}

.price-watch-rule-card:has(input:focus-visible) {
  outline: 3px solid rgba(7, 148, 71, 0.16);
  outline-offset: 2px;
}

.price-watch-rule-card:has(input:disabled) {
  cursor: not-allowed;
  opacity: 0.55;
}

.price-watch-value-row {
  display: grid;
  gap: 6px;
}

.price-watch-value-row[hidden] {
  display: none !important;
}

.price-watch-value-row label {
  color: var(--cenatut-primary-text);
  font-size: 12px;
  font-weight: 800;
}

.price-watch-value-row > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  height: 44px;
  border: 1px solid #dce4df;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.price-watch-value-row input {
  width: 100%;
  height: 100%;
  padding: 0 12px;
  border: 0;
  color: var(--cenatut-primary-text);
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  outline: 0;
}

.price-watch-value-row > div span {
  padding: 0 12px;
  color: #667085;
  font-weight: 800;
}

.price-watch-value-row input[aria-invalid='true'] {
  color: #b42318;
}

.price-watch-field-error {
  min-height: 14px;
  color: #b42318;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.price-watch-global-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e1e8e4;
  border-radius: 12px;
  background: #f8fbf9;
}

.price-watch-global-summary strong {
  display: block;
  margin-top: 2px;
  color: var(--cenatut-primary-text);
  font-size: 12px;
  line-height: 16px;
}

.price-watch-global-summary button,
.price-watch-overrides-head button {
  border: 0;
  color: #079447;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.price-watch-overrides {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e1e8e4;
  border-radius: 12px;
  background: #fff;
}

.price-watch-overrides[hidden] {
  display: none;
}

.price-watch-overrides-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.price-watch-overrides-head strong,
.price-watch-overrides legend {
  color: var(--cenatut-primary-text);
  font-size: 12px;
  font-weight: 850;
}

.price-watch-overrides fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.price-watch-overrides label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  color: var(--cenatut-primary-text);
  font-size: 12px;
}

.price-watch-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.price-watch-chip-list[hidden] {
  display: none;
}

.price-watch-chip {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #dfe7e2;
  border-radius: 999px;
  background: #fff;
}

.price-watch-chip:has(input:checked) {
  border-color: rgba(7, 148, 71, 0.45);
  color: #079447;
  background: #f1fbf5;
}

.price-watch-status-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  border: 1px solid #e1e8e4;
  border-radius: 12px;
  background: #f8fbf9;
}

.price-watch-status-card.is-reached {
  border-color: #b9dfc8;
  background: #effaf4;
}

.price-watch-status-card div {
  display: grid;
  gap: 2px;
}

.price-watch-status-card span {
  color: #667085;
  font-size: 11px;
}

.price-watch-status-card strong {
  color: var(--cenatut-primary-text);
  font-size: 15px;
}

.price-watch-status-actions,
.price-watch-confirm div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.price-watch-confirm {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #f0c4bd;
  border-radius: 12px;
  background: #fff7f5;
}

.price-watch-confirm[hidden] {
  display: none;
}

.price-watch-confirm strong {
  color: #7a271a;
  font-size: 13px;
}

.price-watch-confirm span {
  color: #667085;
  font-size: 12px;
}

.price-watch-error {
  min-height: 16px;
  margin: 0;
  color: #b42318;
  font-size: 12px;
  font-weight: 700;
}

.price-watch-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 2px;
}

.price-watch-actions .ghost-button,
.price-watch-actions .primary-button,
.price-watch-status-actions .secondary-button,
.price-watch-status-actions .danger-button,
.price-watch-confirm .secondary-button,
.price-watch-confirm .danger-button {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 850;
}

.price-watch-actions .primary-button {
  background: #079447;
  border-color: #079447;
  color: #fff;
}

.secondary-button,
.danger-button {
  border: 1px solid #dce4df;
  background: #fff;
  color: #33404a;
}

.danger-button {
  border-color: #f0c4bd;
  color: #b42318;
}

.price-watch-actions button:focus-visible,
.price-watch-status-actions button:focus-visible,
.price-watch-confirm button:focus-visible,
.price-watch-global-summary button:focus-visible,
.price-watch-overrides-head button:focus-visible {
  outline: 3px solid rgba(7, 148, 71, 0.16);
  outline-offset: 2px;
}

@media (max-width: 796px) {
  .price-watch-dialog {
    width: 100vw;
    max-width: none;
    max-height: 90dvh;
    margin: auto 0 0;
    border-radius: 20px 20px 0 0;
  }

  .price-watch-sheet {
    max-height: 90dvh;
    padding: 20px 16px calc(18px + env(safe-area-inset-bottom));
  }

  .price-watch-rule-grid,
  .price-watch-status-card {
    grid-template-columns: 1fr;
  }

  .price-watch-actions {
    position: sticky;
    bottom: calc(-18px - env(safe-area-inset-bottom));
    margin: 0 -16px calc(-18px - env(safe-area-inset-bottom));
    padding: 10px 16px calc(14px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #e1e8e4;
  }

  .price-watch-actions .ghost-button,
  .price-watch-actions .primary-button {
    flex: 1;
  }
}

/* Price-watch modal visual alignment with the site's compact Manrope UI. */
.price-watch-dialog {
  box-sizing: border-box;
  width: min(546px, calc(111.112vw - 40px));
  max-height: min(820px, calc(111.112dvh - 40px));
  border-radius: 18px;
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
}

.price-watch-dialog .price-watch-sheet {
  box-sizing: border-box;
  width: 100%;
  max-height: min(820px, calc(111.112dvh - 40px));
  gap: 12px;
  padding: 28px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: auto;
}

.price-watch-dialog .price-watch-close {
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-color: #dfe6e2;
  color: #68747e;
  font-size: 22px;
}

.price-watch-dialog .price-watch-head {
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 15px;
  min-height: 72px;
  padding-right: 50px;
}

.price-watch-dialog .price-watch-head img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  background: #f7faf8;
}

.price-watch-dialog .price-watch-head > span {
  min-width: 0;
}

.price-watch-dialog:not(.is-watch-status) .price-watch-status-label {
  display: none;
}

.price-watch-dialog .price-watch-status-label {
  margin: 0 0 2px;
  color: #079447;
  font-size: 11px;
  line-height: 14px;
  font-weight: 800;
}

.price-watch-dialog .price-watch-head strong {
  font-size: 20px;
  line-height: 24px;
  font-weight: 800;
  letter-spacing: 0;
}

.price-watch-dialog .price-watch-head em {
  margin-top: 3px;
  margin-bottom: 6px;
  color: #7b8495;
  font-size: 13px;
  line-height: 16px;
  font-weight: 500;
}

.price-watch-dialog .price-watch-current-compact {
  gap: 1px;
  margin-top: 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.price-watch-dialog .price-watch-current-compact strong {
  font-size: 20px;
  line-height: 24px;
  font-weight: 800;
}

.price-watch-dialog .price-watch-current-compact span {
  color: #7b8495;
  font-size: 13px;
  line-height: 16px;
  font-weight: 500;
}

.price-watch-dialog .price-watch-main {
  gap: 5px;
  margin-top: 6px;
}

.price-watch-dialog .price-watch-main h3,
.price-watch-dialog .price-watch-section-title strong {
  color: var(--cenatut-primary-text);
  font-size: 14px;
  line-height: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.price-watch-dialog .price-watch-rule-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.price-watch-dialog .price-watch-rule-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  border-color: #dfe5e2;
  border-radius: 9px;
  text-align: center;
}

.price-watch-dialog .price-watch-rule-card > span {
  display: block;
  min-width: 0;
}

.price-watch-dialog .price-watch-rule-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--cenatut-primary-text);
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.price-watch-dialog .price-watch-rule-card strong svg,
.price-watch-dialog .price-watch-rule-card strong b {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: currentColor;
  font-size: 13px;
  line-height: 15px;
  font-weight: 800;
  stroke-width: 1.8;
}

.price-watch-dialog .price-watch-rule-card:has(input:checked) {
  border-color: #079447;
  color: #079447;
  background: #f0faf4;
  box-shadow: none;
}

.price-watch-dialog .price-watch-rule-card:has(input:checked) strong {
  color: #079447;
}

.price-watch-dialog .price-watch-value-row {
  gap: 5px;
}

.price-watch-dialog .price-watch-value-row label {
  color: var(--cenatut-primary-text);
  font-size: 13px;
  line-height: 16px;
  font-weight: 800;
}

.price-watch-dialog .price-watch-value-row > div {
  height: 46px;
  border-color: #dce4e0;
  border-radius: 9px;
}

.price-watch-dialog .price-watch-value-row input {
  padding: 0 13px;
  font-family: inherit;
  font-size: 18px;
  line-height: 22px;
  font-weight: 800;
}

.price-watch-dialog .price-watch-value-row > div span {
  padding: 0 13px;
  color: #667085;
  font-size: 15px;
}

.price-watch-dialog .price-watch-value-row small {
  color: #7b8495;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
}

.price-watch-dialog [data-target-hint] {
  margin-top: 1px;
}

.price-watch-dialog .price-watch-field-error:empty,
.price-watch-dialog .price-watch-error:empty {
  display: none;
}

.price-watch-dialog .price-watch-field-error,
.price-watch-dialog .price-watch-error {
  min-height: 0;
  font-size: 11px;
  line-height: 14px;
}

.price-watch-dialog .price-watch-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.price-watch-dialog .price-watch-section-title span {
  color: #7b8495;
  font-size: 12px;
  line-height: 16px;
}

.price-watch-dialog .price-watch-store-prices {
  display: grid;
  gap: 0;
  margin-top: 6px;
  min-width: 0;
}

.price-watch-dialog .price-watch-store-list {
  display: block;
  max-height: 195px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid #dfe5e2;
  border-radius: 10px;
  background: #fff;
}

.price-watch-dialog .price-watch-store-row {
  display: grid;
  grid-template-columns: 0px minmax(0, 1fr);
  gap: 0;
  align-items: center;
  min-height: 38px;
  transition: grid-template-columns 0.18s ease, column-gap 0.18s ease, opacity 0.15s ease, background-color 0.15s ease;
  padding: 6px 10px;
  border: 0;
  border-bottom: 1px solid #e7ece9;
  border-radius: 0;
  background: #fff;
}

.price-watch-dialog .price-watch-store-row-content {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto 96px;
  gap: 8px;
  min-width: 0;
  align-items: center;
}

.price-watch-dialog .price-watch-store-row:last-child {
  border-bottom: 0;
}

.price-watch-dialog .price-watch-store-logo {
  width: 24px;
  height: 24px;
  border-radius: 5px;
}

.price-watch-dialog .price-watch-store-logo.is-text {
  display: grid;
  place-items: center;
  color: #079447;
  background: #e7f7ed;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
}

.price-watch-dialog .price-watch-store-name {
  color: #52606c;
  font-size: 13px;
  line-height: 16px;
  font-weight: 700;
}

.price-watch-dialog .price-watch-store-price {
  color: var(--cenatut-primary-text);
  font-size: 14px;
  line-height: 18px;
  font-weight: 800;
}

.price-watch-dialog .price-watch-store-diff {
  min-width: 0;
  color: #079447;
  font-size: 11px;
  line-height: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.price-watch-dialog :is(.price-watch-store-row.is-best, .product-modal__offer.is-best) .price-watch-store-diff {
  justify-self: end;
  padding: 2px 6px;
  border-radius: 6px;
  background: #dff4e8;
}

.price-watch-dialog .price-watch-settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}

.price-watch-dialog .price-watch-store-prices + .price-watch-settings,
.price-watch-dialog .price-watch-settings + .price-watch-actions,
.price-watch-dialog .price-watch-settings + .price-watch-status-actions,
.price-watch-dialog .price-watch-settings ~ .price-watch-actions {
  margin-top: 2px;
}

/* Keep the footer rhythm equal to the reserved threshold-hint space. */
.price-watch-dialog .price-watch-channel-editor ~ .price-watch-actions {
  margin-top: 16px;
}

.price-watch-dialog .price-watch-setting-card {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) auto;
  grid-template-rows: 13px 17px;
  column-gap: 8px;
  row-gap: 2px;
  align-items: center;
  align-content: center;
  min-height: 62px;
  padding: 9px 11px;
  border: 1px solid #dfe5e2;
  border-radius: 10px;
  background: #fff;
}

.price-watch-dialog .price-watch-setting-card > span {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.price-watch-dialog .price-watch-setting-icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  color: var(--cenatut-primary-text);
}

.price-watch-dialog .price-watch-setting-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.price-watch-dialog .price-watch-setting-copy {
  display: contents;
}

.price-watch-dialog .price-watch-setting-copy small {
  grid-column: 2 / 4;
  grid-row: 1;
  align-self: end;
  overflow: hidden;
  color: #8a94a6;
  font-size: 10px;
  line-height: 13px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.price-watch-dialog .price-watch-setting-copy strong {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  overflow: hidden;
  color: var(--cenatut-primary-text);
  font-size: 12.5px;
  line-height: 16px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.price-watch-dialog .price-watch-settings-link {
  grid-column: 3;
  grid-row: 2;
  align-self: start;
  margin-top: 5px;
  min-height: 28px;
  padding: 0 2px 0 6px;
  border: 0;
  border-radius: 6px;
  color: #079447;
  background: transparent;
  font-size: 11px;
  line-height: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.price-watch-dialog .price-watch-settings-link:hover {
  background: transparent;
}

.price-watch-dialog .price-watch-settings-link:focus-visible {
  background: #eef9f3;
}

.price-watch-dialog .price-watch-settings-summary,
.price-watch-dialog .price-watch-global-summary {
  display: none;
}

.price-watch-dialog .price-watch-overrides {
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
}

.price-watch-dialog .price-watch-explain {
  margin: 0;
  padding: 0 2px;
  border: 0;
  border-radius: 0;
  color: #667085;
  background: transparent;
  font-size: 12px;
  line-height: 16px;
}

.price-watch-dialog .price-watch-status-card {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-color: #dfe5e2;
  border-radius: 10px;
  background: #fafcfb;
}

.price-watch-dialog .price-watch-status-card div {
  gap: 2px;
  min-width: 0;
  padding: 10px 12px;
}

.price-watch-dialog .price-watch-status-card div + div {
  border-left: 1px solid #e5eae7;
}

.price-watch-dialog .price-watch-status-card span {
  color: #7b8495;
  font-size: 11px;
  line-height: 14px;
}

.price-watch-dialog .price-watch-status-card strong {
  overflow: hidden;
  color: var(--cenatut-primary-text);
  font-size: 15px;
  line-height: 19px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.price-watch-dialog .price-watch-status-actions {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.78fr;
  gap: 8px;
}

.price-watch-dialog .price-watch-status-actions .primary-button,
.price-watch-dialog .price-watch-status-actions .secondary-button,
.price-watch-dialog .price-watch-status-actions .danger-button,
.price-watch-dialog .price-watch-confirm .secondary-button,
.price-watch-dialog .price-watch-confirm .danger-button,
.price-watch-dialog .price-watch-actions .ghost-button,
.price-watch-dialog .price-watch-actions .primary-button {
  min-height: 46px;
  padding: 0 14px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  line-height: 18px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.price-watch-dialog .price-watch-actions .ghost-button,
.price-watch-dialog .price-watch-actions .primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.price-watch-dialog .price-watch-status-actions .primary-button,
.price-watch-dialog .price-watch-actions .primary-button {
  border: 1px solid #079447;
  color: #fff;
  background: #079447;
  box-shadow: 0 4px 10px rgba(7, 148, 71, 0.16);
}

.price-watch-dialog .price-watch-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 2px;
}

.price-watch-dialog .price-watch-actions .ghost-button {
  flex: 0 0 104px;
}

.price-watch-dialog .price-watch-actions .primary-button {
  flex: 0 0 auto;
  min-width: 150px;
}

.price-watch-dialog .price-watch-confirm {
  gap: 7px;
  padding: 10px 12px;
  border-radius: 10px;
}

@media (max-width: 796px) {
  .price-watch-dialog {
    width: 111.112vw;
    max-width: 111.112vw;
    max-height: calc(100dvh - 12px);
    margin: auto 0 0;
    border-radius: 18px 18px 0 0;
  }

  .price-watch-dialog .price-watch-sheet {
    max-height: calc(100dvh - 12px);
    gap: 10px;
    padding: 18px 16px calc(14px + env(safe-area-inset-bottom));
  }

  .price-watch-dialog .price-watch-close {
    top: 14px;
    right: 14px;
  }

  .price-watch-dialog .price-watch-head {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 11px;
    min-height: 52px;
    padding-right: 46px;
  }

  .price-watch-dialog .price-watch-head img {
    width: 52px;
    height: 52px;
  }

  .price-watch-dialog .price-watch-head strong {
    font-size: 16px;
    line-height: 19px;
  }

  .price-watch-dialog .price-watch-rule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-watch-dialog .price-watch-rule-card {
    min-height: 42px;
    padding: 0 8px;
  }

  .price-watch-dialog .price-watch-rule-card strong {
    gap: 5px;
    font-size: 12px;
  }

  .price-watch-dialog .price-watch-settings {
    grid-template-columns: 1fr;
  }

  .price-watch-dialog .price-watch-store-row {
    padding-inline: 8px;
  }

  .price-watch-dialog .price-watch-status-card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .price-watch-dialog .price-watch-status-card div {
    padding: 8px 7px;
  }

  .price-watch-dialog .price-watch-status-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-watch-dialog .price-watch-status-actions .primary-button {
    grid-column: 1 / -1;
  }

  .price-watch-dialog .price-watch-actions {
    position: sticky;
    bottom: calc(-14px - env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    margin: 0 -16px calc(-14px - env(safe-area-inset-bottom));
    padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid #e5eae7;
    background: #fff;
  }

  .price-watch-dialog .price-watch-actions .ghost-button,
  .price-watch-dialog .price-watch-actions .primary-button {
    width: auto;
    min-width: 0;
    flex: none;
  }
}

@media (max-width: 360px) {
  .price-watch-dialog .price-watch-sheet {
    padding-inline: 14px;
  }

  .price-watch-dialog .price-watch-head strong {
    font-size: 15px;
    line-height: 18px;
  }

  .price-watch-dialog .price-watch-rule-card strong svg,
  .price-watch-dialog .price-watch-rule-card strong b {
    display: none;
  }

  .price-watch-dialog .price-watch-store-row {
    grid-template-columns: 22px minmax(0, 1fr) auto;
    row-gap: 1px;
  }

  .price-watch-dialog .price-watch-store-diff {
    grid-column: 2 / 4;
    justify-self: start;
    text-align: left;
  }

  .price-watch-dialog :is(.price-watch-store-row.is-best, .product-modal__offer.is-best) .price-watch-store-diff {
    justify-self: start;
  }

  .price-watch-dialog .price-watch-actions {
    margin-inline: -14px;
    padding-inline: 14px;
  }
}

/* Superseded visual layer kept inert for rollback-friendly comparison. */
@media not all {
.price-watch-dialog {
  width: min(520px, calc(100vw - 32px));
  max-height: min(760px, calc(100dvh - 32px));
  border-radius: 18px;
}

.price-watch-dialog .price-watch-sheet {
  gap: 14px;
  max-height: min(760px, calc(100dvh - 32px));
  padding: 24px;
}

.price-watch-dialog .price-watch-close {
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
}

.price-watch-dialog .price-watch-head {
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  min-height: 72px;
  padding-right: 48px;
}

.price-watch-dialog .price-watch-head img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
}

.price-watch-dialog .price-watch-head small {
  color: #079447;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0;
}

.price-watch-dialog .price-watch-head strong {
  font-size: 18px;
  line-height: 21px;
}

.price-watch-dialog .price-watch-current-compact {
  padding: 10px 12px;
  border: 1px solid #e3ebe6;
  border-radius: 14px;
  background: #f8fbf9;
}

.price-watch-dialog .price-watch-current-compact strong {
  font-size: 18px;
  line-height: 22px;
}

.price-watch-dialog .price-watch-rule-grid {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.price-watch-dialog .price-watch-rule-card {
  min-height: 62px;
  padding: 11px 12px;
  border-radius: 13px;
}

.price-watch-dialog .price-watch-rule-card strong {
  font-size: 13px;
  line-height: 16px;
}

.price-watch-dialog .price-watch-value-row > div {
  height: 46px;
  border-radius: 12px;
}

.price-watch-dialog .price-watch-value-row input {
  font-size: 18px;
}

.price-watch-dialog .price-watch-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}

.price-watch-dialog .price-watch-section-title strong {
  color: var(--cenatut-primary-text);
  font-size: 13px;
  line-height: 16px;
  font-weight: 850;
}

.price-watch-dialog .price-watch-section-title span {
  color: #6b7780;
  font-size: 12px;
  line-height: 16px;
}

.price-watch-dialog .price-watch-store-prices {
  display: grid;
  gap: 0;
}

.price-watch-dialog .price-watch-store-list {
  display: grid;
  gap: 6px;
}

.price-watch-dialog .price-watch-store-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto minmax(58px, auto);
  gap: 9px;
  align-items: center;
  min-height: 38px;
  padding: 6px 8px;
  border: 1px solid #e4ece7;
  border-radius: 11px;
  background: #fff;
}

.price-watch-dialog .price-watch-store-row.is-best {
  border-color: rgba(7, 148, 71, 0.18);
  background: #edf8f2;
}

.price-watch-dialog .price-watch-store-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 7px;
}

.price-watch-dialog .price-watch-store-logo.is-text {
  display: grid;
  place-items: center;
  color: #079447;
  background: #e7f7ed;
  font-size: 12px;
  font-weight: 850;
}

.price-watch-dialog .price-watch-store-name {
  overflow: hidden;
  color: #44515c;
  font-size: 12px;
  font-weight: 750;
  line-height: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.price-watch-dialog .price-watch-store-price {
  color: var(--cenatut-primary-text);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.price-watch-dialog .price-watch-store-diff {
  justify-self: end;
  min-width: 52px;
  color: #079447;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.price-watch-dialog .price-watch-settings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: stretch;
}

.price-watch-dialog .price-watch-setting-card {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #e2eae5;
  border-radius: 12px;
  background: #fbfdfb;
}

.price-watch-dialog .price-watch-setting-card span,
.price-watch-dialog .price-watch-settings small {
  color: #68747e;
  font-size: 11px;
  line-height: 14px;
}

.price-watch-dialog .price-watch-setting-card strong {
  overflow: hidden;
  color: var(--cenatut-primary-text);
  font-size: 12px;
  line-height: 15px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.price-watch-dialog .price-watch-settings-link {
  grid-column: 1 / -1;
  min-height: 34px;
  border: 1px solid rgba(7, 148, 71, 0.24);
  border-radius: 10px;
  color: #079447;
  background: #fff;
  font-size: 12px;
  font-weight: 850;
}

.price-watch-dialog .price-watch-settings > small {
  grid-column: 1 / -1;
}

.price-watch-dialog .price-watch-global-summary {
  padding: 0;
  border: 0;
  background: transparent;
}

.price-watch-dialog .price-watch-global-summary span,
.price-watch-dialog .price-watch-global-summary strong {
  display: none;
}

.price-watch-dialog .price-watch-explain {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #e3ebe6;
  border-radius: 12px;
  color: #45535e;
  background: #f8fbf9;
  font-size: 12px;
  line-height: 16px;
}

.price-watch-dialog.is-watch-status .price-watch-status-card {
  margin-top: 6px;
}

.price-watch-dialog.is-watch-status .price-watch-explain {
  margin-top: 6px;
}

.price-watch-dialog .price-watch-status-card {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: 14px;
}

.price-watch-dialog .price-watch-status-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 0.85fr;
  gap: 8px;
}

.price-watch-dialog .price-watch-status-actions .secondary-button,
.price-watch-dialog .price-watch-status-actions .danger-button,
.price-watch-dialog .price-watch-confirm .secondary-button,
.price-watch-dialog .price-watch-confirm .danger-button,
.price-watch-dialog .price-watch-actions .ghost-button,
.price-watch-dialog .price-watch-actions .primary-button {
  min-height: 44px;
  border-radius: 12px;
  white-space: nowrap;
}

.price-watch-dialog .price-watch-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10px;
}

@media (max-width: 796px) {
  .price-watch-dialog {
    width: 100vw;
    max-height: calc(100dvh - 10px);
    margin: auto 0 0;
    border-radius: 20px 20px 0 0;
  }

  .price-watch-dialog .price-watch-sheet {
    max-height: calc(100dvh - 10px);
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
  }

  .price-watch-dialog .price-watch-head {
    grid-template-columns: 56px minmax(0, 1fr);
    min-height: 64px;
  }

  .price-watch-dialog .price-watch-head img {
    width: 56px;
    height: 56px;
  }

  .price-watch-dialog .price-watch-rule-grid,
  .price-watch-dialog .price-watch-settings,
  .price-watch-dialog .price-watch-status-card,
  .price-watch-dialog .price-watch-status-actions {
    grid-template-columns: 1fr;
  }

  .price-watch-dialog .price-watch-store-row {
    grid-template-columns: 26px minmax(0, 1fr) auto;
  }

  .price-watch-dialog .price-watch-store-diff {
    grid-column: 2 / 4;
    justify-self: start;
    text-align: left;
  }
}
}

.basket-watch-panel {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px 0;
}

.basket-watch-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid #e1e8e4;
  border-radius: 12px;
  background: #fff;
}

.basket-watch-row img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
  background: #f6faf7;
}

.basket-watch-row strong {
  display: block;
  color: #17212b;
  font-size: 13px;
  line-height: 16px;
}

.basket-watch-row span,
.basket-watch-row small {
  display: block;
  color: #68747e;
  font-size: 11px;
  line-height: 14px;
}

.basket-watch-price {
  color: #079447;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.basket-row-action {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #dce5df;
  border-radius: 8px;
  color: #43515c;
  background: #fff;
  font-size: 12px;
  font-weight: 650;
}

.basket-row-action:hover,
.basket-row-action:focus-visible {
  border-color: #079447;
  color: #079447;
  background: #f2faf5;
}

@media (max-width: 796px) {
  .price-watch-dialog-legacy-disabled {
    width: 100vw;
    max-width: none;
    max-height: calc(100dvh - 12px);
    margin: auto 0 0;
    border-radius: 20px 20px 0 0;
  }

  .price-watch-sheet-legacy-disabled {
    max-height: calc(100dvh - 12px);
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
    overflow: auto;
  }

  .price-watch-actions-legacy-disabled .ghost-button,
  .price-watch-actions-legacy-disabled .primary-button {
    flex: 1;
  }

  .basket-watch-row {
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }

.basket-row-action {
  grid-column: 2 / 4;
  justify-self: start;
  }
}

#productWatchDialog.price-watch-dialog.is-watch-status [data-watch-body] .price-watch-status-card {
  margin-top: 6px;
}

#productWatchDialog.price-watch-dialog.is-watch-status [data-watch-body] .price-watch-explain {
  margin-top: 6px;
}

/* Stage 4: complete hit areas without enlarging the watch-dialog glyphs. */
.price-watch-dialog .price-watch-close {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
}

.price-watch-dialog .price-watch-settings-link {
  min-height: 36px;
}

@media (max-width: 860px) {
  .price-watch-dialog .price-watch-close {
    width: 50px;
    min-width: 50px;
    height: 50px;
    min-height: 50px;
  }

  .price-watch-dialog .price-watch-settings-link,
  .price-watch-dialog #watch-target-price {
    min-height: 45px;
    box-sizing: border-box;
  }

  .price-watch-dialog .price-watch-actions .ghost-button,
  .price-watch-dialog .price-watch-actions .primary-button {
    min-height: 50px;
  }
}

/* Stage 5: watch dialog follows the shared control and state tokens. */
.price-watch-dialog,
.price-watch-dialog button,
.price-watch-dialog input,
.price-watch-dialog select {
  font-family: var(--font-family-base, Manrope, Inter, system-ui, sans-serif);
}

.price-watch-dialog .price-watch-actions .ghost-button,
.price-watch-dialog .price-watch-actions .primary-button,
.price-watch-dialog .price-watch-status-actions button,
.price-watch-dialog .price-watch-confirm button {
  border-radius: var(--radius-control, 12px);
  font-weight: var(--font-weight-strong, 800);
}

.price-watch-dialog .price-watch-close {
  border-color: var(--border-subtle, #e4e9ef);
  border-radius: var(--radius-pill, 999px);
}

/* Keep the visible close control compact without moving its top-right anchor. */
.price-watch-dialog .price-watch-close {
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
}

@media (max-width: 860px) {
  .price-watch-dialog .price-watch-close {
    width: 41px;
    min-width: 41px;
    height: 41px;
    min-height: 41px;
  }
}

.price-watch-dialog :where(button, input, select):focus-visible {
  outline: 2px solid var(--brand-600, #079447);
  outline-offset: 2px;
}

/* Existing-watch view: reuse the creation dialog's surfaces and action system. */
#productWatchDialog.price-watch-dialog.is-watch-status [data-watch-body] .price-watch-status-card {
  overflow: hidden;
  border-color: #e3ebe6;
  border-radius: 14px;
  background: #f8fbf9;
}

#productWatchDialog.price-watch-dialog.is-watch-status [data-watch-body] .price-watch-status-card div {
  min-height: 64px;
  padding: 10px 12px;
  align-content: center;
}

#productWatchDialog.price-watch-dialog.is-watch-status [data-watch-body] .price-watch-status-card div + div {
  border-left-color: #e3ebe6;
}

#productWatchDialog.price-watch-dialog.is-watch-status [data-watch-body] .price-watch-status-card span {
  color: #7b8495;
  font-size: 11px;
  line-height: 14px;
  font-weight: 500;
}

#productWatchDialog.price-watch-dialog.is-watch-status [data-watch-body] .price-watch-status-card strong {
  color: var(--cenatut-primary-text);
  font-size: 15px;
  line-height: 19px;
  font-weight: 800;
}

#productWatchDialog.price-watch-dialog.is-watch-status [data-watch-body] .price-watch-explain {
  margin-top: 6px;
  padding: 0 2px;
  border: 0;
  border-radius: 0;
  color: #667085;
  background: transparent;
  font-size: 12px;
  line-height: 16px;
}

#productWatchDialog.price-watch-dialog.is-watch-status .price-watch-actions.price-watch-status-actions {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.82fr);
  gap: 10px;
  margin-top: 16px;
  padding-top: 0;
}

#productWatchDialog.price-watch-dialog.is-watch-status .price-watch-status-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-control, 12px);
  font-family: inherit;
  font-size: 14px;
  line-height: 18px;
  font-weight: var(--font-weight-strong, 800);
  white-space: nowrap;
}

#productWatchDialog.price-watch-dialog.is-watch-status .price-watch-status-actions .secondary-button {
  border-color: #dfe5e2;
  color: var(--cenatut-primary-text);
  background: #fff;
}

#productWatchDialog.price-watch-dialog.is-watch-status .price-watch-status-actions .danger-button {
  border-color: #f0c4bd;
  color: #b42318;
  background: #fff;
}

@media (max-width: 796px) {
  #productWatchDialog.price-watch-dialog.is-watch-status [data-watch-body] .price-watch-status-card div {
    min-height: 0;
  }

  #productWatchDialog.price-watch-dialog.is-watch-status [data-watch-body] .price-watch-status-card div + div {
    border-top: 1px solid #e3ebe6;
    border-left: 0;
  }

  #productWatchDialog.price-watch-dialog.is-watch-status .price-watch-actions.price-watch-status-actions {
    grid-template-columns: 1fr;
  }
}

/* Keep every available notification channel in one compact row. */
@media (max-width: 520px) {
  .price-watch-dialog .price-watch-channel-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    min-width: 0;
    overflow: visible;
    overscroll-behavior-x: auto;
  }

  .price-watch-dialog .price-watch-channel-option {
    flex: 0 1 auto;
    white-space: nowrap;
  }
}

/* Fix 1: the percentage rule is runtime-only and needs its own zoom-safe hit area. */
.price-watch-dialog [data-drop-row] > div {
  height: 52px;
}

.price-watch-dialog #watch-drop-percent {
  min-height: 50px;
  box-sizing: border-box;
}

/* One fixed price threshold with a linked percentage representation. */
.price-watch-dialog .price-watch-threshold-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.price-watch-dialog .price-watch-threshold-fields .price-watch-value-row {
  min-width: 0;
}

.price-watch-dialog .price-watch-threshold-fields .price-watch-value-row > div {
  height: 46px;
}

.price-watch-dialog .price-watch-threshold-fields :is(#watch-target-price, #watch-drop-percent) {
  min-height: 0;
}

.price-watch-dialog .price-watch-threshold-fields :is(#watch-target-price, #watch-drop-percent):is(:focus, :focus-visible) {
  outline: 0;
  box-shadow: none;
  border-radius: inherit;
}

.price-watch-dialog .price-watch-threshold-fields .price-watch-value-row > div:has(input:is(:focus, :focus-visible)) {
  border-color: #079447;
  box-shadow: 0 0 0 2px rgba(7, 148, 71, 0.14);
}

.price-watch-dialog .price-watch-threshold-hint {
  min-height: 16px;
  margin: 1px 0 0;
  color: #7b8495;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
}

.price-watch-dialog .price-watch-threshold-hint:empty {
  display: block;
}

.price-watch-dialog .price-watch-field-error:empty {
  display: none;
}

/* Hint and validation share one fixed slot below the two threshold fields. */
.price-watch-dialog .price-watch-threshold-message {
  display: grid;
  min-height: 16px;
  margin: 1px 0 0;
}

.price-watch-dialog .price-watch-threshold-message > .price-watch-threshold-hint,
.price-watch-dialog .price-watch-threshold-message > .price-watch-field-error {
  grid-area: 1 / 1;
  min-height: 0;
  margin: 0;
  font-size: 12px;
  line-height: 16px;
  font-style: normal;
  font-weight: 500;
}

.price-watch-dialog .price-watch-threshold-message > .price-watch-threshold-hint:empty {
  display: none;
}

.price-watch-dialog .price-watch-threshold-message > .price-watch-field-error {
  color: #b42318;
}

.price-watch-dialog .price-watch-threshold-fields input[aria-invalid='true'] {
  color: #b42318;
}

@media (max-width: 520px) {
  .price-watch-dialog .price-watch-threshold-fields {
    grid-template-columns: 1fr;
  }

  .price-watch-dialog .price-watch-threshold-hint {
    min-height: 32px;
  }

  .price-watch-dialog .price-watch-threshold-message {
    min-height: 32px;
  }
}

/* Store choices reuse the price rows instead of adding a second settings block. */
.price-watch-dialog .price-watch-store-prices .price-watch-store-row {
  grid-template-columns: 0px minmax(0, 1fr);
  gap: 0;
}

.price-watch-dialog .price-watch-store-checkbox {
  display: block;
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #079447;
}

.price-watch-dialog .price-watch-store-checkbox-slot {
  display: grid;
  min-width: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
}

.price-watch-dialog .price-watch-store-prices.is-selection-mode .price-watch-store-row {
  grid-template-columns: 17px minmax(0, 1fr);
  column-gap: 8px;
  cursor: pointer;
}

.price-watch-dialog .price-watch-store-prices.is-selection-mode .price-watch-store-checkbox-slot {
  opacity: 1;
  pointer-events: auto;
}

.price-watch-dialog .price-watch-store-prices:is(.is-selection-mode, .is-store-selection-applied) .price-watch-store-row.is-excluded {
  color: #8a94a6;
  background: #fafbfb;
  opacity: 0.58;
}

.price-watch-dialog .price-watch-store-prices.is-selection-mode .price-watch-store-row.is-excluded .price-watch-store-name,
.price-watch-dialog .price-watch-store-prices.is-selection-mode .price-watch-store-row.is-excluded .price-watch-store-price,
.price-watch-dialog .price-watch-store-prices.is-selection-mode .price-watch-store-row.is-excluded .price-watch-store-diff {
  color: inherit;
}

@media (max-width: 520px) {
  .price-watch-dialog .price-watch-store-row-content {
    grid-template-columns: 22px minmax(0, 1fr) auto 76px;
    gap: 6px;
  }

  .price-watch-dialog .price-watch-store-prices.is-selection-mode .price-watch-store-row-content .price-watch-store-diff {
    grid-column: 3 / 5;
  }
}

/* Drawer favourites use the catalogue card rhythm at a measured 93% scale. */
body .basket-section .basket-board.is-secondary-tab .basket-price-table > .basket-favorite-grid,
body #account-app [data-pw-products] .basket-favorite-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 13px;
  width: 100%;
  min-width: 0;
  padding: 12px;
  box-sizing: border-box;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card,
body #account-app [data-pw-products] .basket-favorite-card {
  position: relative;
  display: grid;
  grid-template-rows: 137px auto;
  align-content: start;
  gap: 13px;
  min-width: 0;
  min-height: 253px;
  padding: 13px;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid rgba(219, 226, 220, 0.88);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 9px 26px rgba(16, 24, 40, 0.07);
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__media,
body #account-app [data-pw-products] .basket-favorite-card__media {
  display: grid;
  place-items: center;
  min-width: 0;
  height: 137px;
  border-radius: 14px;
  background: #fff;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__media img,
body #account-app [data-pw-products] .basket-favorite-card__media img {
  display: block;
  width: 137px;
  height: 137px;
  max-width: 100%;
  object-fit: contain;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__heart,
body #account-app [data-pw-products] .basket-favorite-card__heart {
  position: absolute;
  z-index: 1;
  top: 13px;
  right: 13px;
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  padding: 0;
  border: 1px solid #e0e6e1;
  border-radius: 50%;
  color: #079447;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 7px 17px rgba(20, 34, 24, 0.09), inset 0 0 0 1px rgba(255, 255, 255, 0.75);
  font-size: 20px;
  line-height: 20px;
  cursor: pointer;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__heart:hover,
body #account-app [data-pw-products] .basket-favorite-card__heart:hover,
body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__heart:focus-visible,
body #account-app [data-pw-products] .basket-favorite-card__heart:focus-visible {
  border-color: #079447;
  background: #f0f8f4;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__heart:focus-visible,
body #account-app [data-pw-products] .basket-favorite-card__heart:focus-visible {
  outline: 3px solid rgba(7, 148, 71, 0.22);
  outline-offset: 2px;
}

/* The watch tab shares the favourite-card shell; only its existing bell action differs. */
body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__watch,
body #account-app [data-pw-products] .basket-favorite-card__watch {
  position: absolute;
  z-index: 1;
  top: 13px;
  right: 13px;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #079447;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__watch svg,
body #account-app [data-pw-products] .basket-favorite-card__watch svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__watch:hover,
body #account-app [data-pw-products] .basket-favorite-card__watch:hover,
body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__watch:focus-visible,
body #account-app [data-pw-products] .basket-favorite-card__watch:focus-visible {
  color: #079447;
  background: transparent;
  box-shadow: none;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__watch:focus-visible,
body #account-app [data-pw-products] .basket-favorite-card__watch:focus-visible {
  outline: 3px solid rgba(7, 148, 71, 0.22);
  outline-offset: 2px;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__watch-status,
body #account-app [data-pw-products] .basket-favorite-card__watch-status {
  display: inline-flex;
  width: fit-content;
  margin-top: 5px;
  padding: 2px 6px;
  border-radius: 999px;
  color: #667085;
  background: #f2f4f3;
  font-size: 10px;
  font-weight: 700;
  line-height: 13px;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__meta,
body #account-app [data-pw-products] .basket-favorite-card__meta {
  display: grid;
  align-content: start;
  min-width: 0;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__name,
body #account-app [data-pw-products] .basket-favorite-card__name {
  display: -webkit-box;
  overflow: hidden;
  color: #141c2c;
  font-size: 13px;
  font-weight: 800;
  line-height: 16.7px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__name-link,
body #account-app [data-pw-products] .basket-favorite-card__name-link {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__name-link:hover,
body #account-app [data-pw-products] .basket-favorite-card__name-link:hover,
body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__name-link:focus-visible,
body #account-app [data-pw-products] .basket-favorite-card__name-link:focus-visible {
  color: inherit;
  text-decoration: none;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__pack,
body #account-app [data-pw-products] .basket-favorite-card__pack {
  overflow: hidden;
  margin-top: 2px;
  color: #68747e;
  font-size: 11px;
  line-height: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__offer,
body #account-app [data-pw-products] .basket-favorite-card__offer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  margin-top: 8px;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__offer small,
body #account-app [data-pw-products] .basket-favorite-card__offer small {
  overflow: hidden;
  color: #68747e;
  font-size: 10px;
  line-height: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__offer b,
body #account-app [data-pw-products] .basket-favorite-card__offer b {
  flex: 0 0 auto;
  color: #172033;
  font-size: 19px;
  font-weight: 800;
  line-height: 19px;
}

body .basket-section .basket-board.is-secondary-tab .basket-price-table > .basket-favorites-empty-state,
body #account-app [data-pw-products] .basket-favorites-empty-state {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 184px;
  margin: 24px 12px;
  padding: 28px 24px;
  box-sizing: border-box;
  border: 1px dashed #dbe3df;
  border-radius: 12px;
  color: #68747e;
  background: #fbfdfc;
  text-align: center;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorites-empty-state strong,
body #account-app [data-pw-products] .basket-favorites-empty-state strong {
  color: #26323a;
  font-size: 17px;
  font-weight: 750;
  line-height: 22px;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorites-empty-state span,
body #account-app [data-pw-products] .basket-favorites-empty-state span {
  max-width: 360px;
  margin-top: 6px;
  color: #68747e;
  font-size: 13px;
  line-height: 18px;
}

@media (max-width: 796px) {
  body .basket-section .basket-board.is-secondary-tab .basket-price-table > .basket-favorite-grid,
  body #account-app [data-pw-products] .basket-favorite-grid {
    gap: 8px;
    padding: 10px;
  }

  body .basket-section .basket-board.is-secondary-tab .basket-favorite-card,
  body #account-app [data-pw-products] .basket-favorite-card {
    grid-template-rows: 74px auto;
    gap: 8px;
    min-height: 177px;
    padding: 8px;
    border-radius: 12px;
  }

  body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__media,
  body #account-app [data-pw-products] .basket-favorite-card__media {
    height: 74px;
    border-radius: 10px;
  }

  body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__media img,
  body #account-app [data-pw-products] .basket-favorite-card__media img {
    width: 74px;
    height: 74px;
  }

  body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__heart,
  body #account-app [data-pw-products] .basket-favorite-card__heart {
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    font-size: 17px;
    line-height: 17px;
  }

  body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__name,
  body #account-app [data-pw-products] .basket-favorite-card__name {
    font-size: 11px;
    line-height: 14px;
  }

  body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__pack,
  body #account-app [data-pw-products] .basket-favorite-card__pack {
    font-size: 10px;
    line-height: 12px;
  }

  body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__offer,
  body #account-app [data-pw-products] .basket-favorite-card__offer {
    display: grid;
    gap: 2px;
    margin-top: 5px;
  }

  body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__offer small,
  body #account-app [data-pw-products] .basket-favorite-card__offer small {
    font-size: 9px;
    line-height: 11px;
  }

  body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__offer b,
  body #account-app [data-pw-products] .basket-favorite-card__offer b {
    font-size: 14px;
    line-height: 15px;
  }

  body .basket-section .basket-board.is-secondary-tab .basket-price-table > .basket-favorites-empty-state,
  body #account-app [data-pw-products] .basket-favorites-empty-state {
    min-height: 164px;
    margin: 18px 10px;
    padding: 24px 18px;
  }
}

/* Favourite-drawer cards reuse the bare heart treatment from the icon-lab product card. */
body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__heart,
body #account-app [data-pw-products] .basket-favorite-card__heart {
  width: 27px;
  height: 27px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #079447;
  background: transparent;
  box-shadow: none;
  font-size: 27px;
  line-height: 1;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__heart:hover,
body #account-app [data-pw-products] .basket-favorite-card__heart:hover,
body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__heart:focus-visible,
body #account-app [data-pw-products] .basket-favorite-card__heart:focus-visible {
  border-color: transparent;
  color: #079447;
  background: transparent;
  box-shadow: none;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__heart:focus-visible,
body #account-app [data-pw-products] .basket-favorite-card__heart:focus-visible {
  outline: 3px solid rgba(7, 148, 71, 0.22);
  outline-offset: 2px;
}

/* Keep favourite-card photos on the same rounded media surface as product cards. */
body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__media,
body #account-app [data-pw-products] .basket-favorite-card__media {
  overflow: hidden;
  border-radius: 15px;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__media img,
body #account-app [data-pw-products] .basket-favorite-card__media img {
  border-radius: inherit;
}

@media (max-width: 796px) {
  body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__watch,
  body #account-app [data-pw-products] .basket-favorite-card__watch {
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
  }

  body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__media,
  body #account-app [data-pw-products] .basket-favorite-card__media {
    border-radius: 13px;
  }
}

/* Compact store-price list mirrors the collapsed list on a product card. */
body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__stores,
body #account-app [data-pw-products] .basket-favorite-card__stores {
  display: grid;
  gap: 4px;
  margin-top: 0;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__store,
body #account-app [data-pw-products] .basket-favorite-card__store {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) max-content;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 3px 5px;
  border-radius: 7px;
  color: #344054;
  font-size: 12px;
  line-height: 13px;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__store.is-best,
body #account-app [data-pw-products] .basket-favorite-card__store.is-best {
  color: #079447;
  background: transparent;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__store-logo,
body #account-app [data-pw-products] .basket-favorite-card__store-logo {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: contain;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__store-logo.is-placeholder,
body #account-app [data-pw-products] .basket-favorite-card__store-logo.is-placeholder {
  background: #edf2ef;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__store-name,
body #account-app [data-pw-products] .basket-favorite-card__store-name {
  align-self: baseline;
  overflow: hidden;
  color: #667085;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__store strong,
body #account-app [data-pw-products] .basket-favorite-card__store strong {
  align-self: baseline;
  color: #111a2c;
  font-size: 13px;
  font-weight: 1000;
  line-height: 13px;
  white-space: nowrap;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__store.is-best strong,
body #account-app [data-pw-products] .basket-favorite-card__store.is-best strong {
  color: #079447;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__stores.is-empty,
body #account-app [data-pw-products] .basket-favorite-card__stores.is-empty {
  color: #8a93a3;
  font-size: 10px;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__store-section,
body #account-app [data-pw-products] .basket-favorite-card__store-section {
  position: relative;
  display: block;
  margin-top: 8px;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__store-section.has-more-stores,
body #account-app [data-pw-products] .basket-favorite-card__store-section.has-more-stores {
  height: 108px;
  min-height: 108px;
  transition: height 850ms cubic-bezier(0.22, 0.72, 0.18, 1);
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card:has(.basket-favorite-card__store-section.has-more-stores),
body #account-app [data-pw-products] .basket-favorite-card:has(.basket-favorite-card__store-section.has-more-stores) {
  padding-bottom: 3px;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card:has(.basket-favorite-card__store-section.has-more-stores) .basket-favorite-card__meta,
body #account-app [data-pw-products] .basket-favorite-card:has(.basket-favorite-card__store-section.has-more-stores) .basket-favorite-card__meta {
  padding-bottom: 113px;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__store-mask,
body #account-app [data-pw-products] .basket-favorite-card__store-mask {
  overflow: visible;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__store-section.has-more-stores.is-stores-expanded,
body #account-app [data-pw-products] .basket-favorite-card__store-section.has-more-stores.is-stores-expanded {
  height: calc(108px + var(--favorite-extra-store-count) * var(--favorite-store-row-height));
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__store-section.has-more-stores .basket-favorite-card__store-mask,
body #account-app [data-pw-products] .basket-favorite-card__store-section.has-more-stores .basket-favorite-card__store-mask {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: calc(var(--favorite-collapsed-store-count) * var(--favorite-store-row-height) - 4px);
  overflow: hidden;
  background: #fff;
  transition:
    top 850ms cubic-bezier(0.22, 0.72, 0.18, 1),
    height 850ms cubic-bezier(0.22, 0.72, 0.18, 1);
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__store-section.has-more-stores,
body #account-app [data-pw-products] .basket-favorite-card__store-section.has-more-stores {
  position: absolute;
  right: 13px;
  bottom: 1px;
  left: 13px;
  z-index: 2;
  margin-top: 0;
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__store-section.has-more-stores.is-stores-expanded .basket-favorite-card__store-mask,
body #account-app [data-pw-products] .basket-favorite-card__store-section.has-more-stores.is-stores-expanded .basket-favorite-card__store-mask {
  top: 0;
  height: calc(var(--favorite-store-count) * var(--favorite-store-row-height) - 4px);
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__store-motion,
body #account-app [data-pw-products] .basket-favorite-card__store-motion {
  transform: translateY(0);
  transition: transform 850ms cubic-bezier(0.22, 0.72, 0.18, 1);
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__more-stores,
body #account-app [data-pw-products] .basket-favorite-card__more-stores {
  align-self: center;
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 120px;
  min-height: 24px;
  margin-top: auto;
  margin-bottom: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #3f4658;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transform: translateX(-50%);
}

body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__more-stores:hover,
body #account-app [data-pw-products] .basket-favorite-card__more-stores:hover,
body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__more-stores:focus-visible,
body #account-app [data-pw-products] .basket-favorite-card__more-stores:focus-visible {
  color: #3f4658;
  background: transparent;
  text-decoration: none;
}

@media (max-width: 796px) {
  body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__stores,
  body #account-app [data-pw-products] .basket-favorite-card__stores {
    gap: 3px;
    margin-top: 0;
  }

  body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__store,
  body #account-app [data-pw-products] .basket-favorite-card__store {
    grid-template-columns: 14px minmax(0, 1fr) max-content;
    gap: 4px;
    min-height: 20px;
    padding: 2px 4px;
    border-radius: 6px;
    font-size: 11px;
    line-height: 11px;
  }

  body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__store-logo,
  body #account-app [data-pw-products] .basket-favorite-card__store-logo {
    width: 14px;
    height: 14px;
  }

  body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__store strong,
  body #account-app [data-pw-products] .basket-favorite-card__store strong {
    font-size: 11px;
    line-height: 11px;
  }

  body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__more-stores,
  body #account-app [data-pw-products] .basket-favorite-card__more-stores {
    width: 100px;
    min-height: 18px;
    margin-bottom: 0;
    font-size: 9px;
    line-height: 11px;
  }

  body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__store-section,
  body #account-app [data-pw-products] .basket-favorite-card__store-section {
    margin-top: 5px;
  }

  body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__store-section.has-more-stores,
  body #account-app [data-pw-products] .basket-favorite-card__store-section.has-more-stores {
    height: 86px;
    min-height: 86px;
  }

  body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__store-section.has-more-stores.is-stores-expanded,
  body #account-app [data-pw-products] .basket-favorite-card__store-section.has-more-stores.is-stores-expanded {
    height: calc(86px + var(--favorite-extra-store-count) * 23px);
  }

  body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__store-section.has-more-stores .basket-favorite-card__store-mask,
  body #account-app [data-pw-products] .basket-favorite-card__store-section.has-more-stores .basket-favorite-card__store-mask {
    height: calc(var(--favorite-collapsed-store-count) * 23px - 3px);
  }

  body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__store-section.has-more-stores.is-stores-expanded .basket-favorite-card__store-mask,
  body #account-app [data-pw-products] .basket-favorite-card__store-section.has-more-stores.is-stores-expanded .basket-favorite-card__store-mask {
    top: 0;
    height: calc(var(--favorite-store-count) * 23px - 3px);
  }

  body .basket-section .basket-board.is-secondary-tab .basket-favorite-card:has(.basket-favorite-card__store-section.has-more-stores),
  body #account-app [data-pw-products] .basket-favorite-card:has(.basket-favorite-card__store-section.has-more-stores) {
    padding-bottom: 8px;
  }

  body .basket-section .basket-board.is-secondary-tab .basket-favorite-card:has(.basket-favorite-card__store-section.has-more-stores) .basket-favorite-card__meta,
  body #account-app [data-pw-products] .basket-favorite-card:has(.basket-favorite-card__store-section.has-more-stores) .basket-favorite-card__meta {
    padding-bottom: 91px;
  }

  body .basket-section .basket-board.is-secondary-tab .basket-favorite-card__store-section.has-more-stores,
  body #account-app [data-pw-products] .basket-favorite-card__store-section.has-more-stores {
    right: 8px;
    bottom: 8px;
    left: 8px;
    margin-top: 0;
  }
}

/* Inline editing keeps a saved watch in the same compact information system. */
#productWatchDialog.price-watch-dialog .price-watch-channel-global {
  display: none;
}

#productWatchDialog.price-watch-dialog.is-watch-status .price-watch-status-condition {
  align-content: start;
  min-height: 64px;
}

#productWatchDialog.price-watch-dialog.is-watch-status .price-watch-status-condition > strong {
  padding-right: 0;
}

#productWatchDialog.price-watch-dialog.is-watch-status .price-watch-status-condition-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  min-height: 28px;
  width: 100%;
}

#productWatchDialog.price-watch-dialog.is-watch-status .price-watch-status-link {
  justify-self: start;
  min-height: 28px;
  margin-top: 4px;
  padding: 0 2px;
  border: 0;
  border-radius: 6px;
  color: #079447;
  background: transparent;
  font: inherit;
  font-size: 11px;
  line-height: 15px;
  font-weight: 800;
}

#productWatchDialog.price-watch-dialog.is-watch-status .price-watch-status-link:hover {
  background: transparent;
}

#productWatchDialog.price-watch-dialog.is-watch-status .price-watch-status-link:focus-visible {
  background: #eef9f3;
}

.price-watch-dialog .price-watch-store-prices.is-store-selectable:not(.is-selection-mode) [data-store-row] {
  pointer-events: none;
}

#productWatchDialog.price-watch-dialog.is-watch-status .price-watch-status-condition-feedback {
  margin-top: 2px;
}

#productWatchDialog.price-watch-dialog.is-watch-status .price-watch-status-condition-feedback .price-watch-field-error {
  min-height: 0;
  margin: 0;
}

/* An active watch is shown by the green bell itself, never by a circular tile. */
.product-card .price-alert-button.is-watch-active,
.product-card .price-alert-button.is-watch-reached,
.product-card .price-alert-button.is-focus-restored:focus-visible {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

.product-card .price-alert-button.is-focus-restored:focus-visible {
  outline: none !important;
}

#productWatchDialog.price-watch-dialog.is-watch-status .price-watch-actions.price-watch-status-actions {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr) minmax(0, 1.3fr);
}

@media (max-width: 796px) {
  #productWatchDialog.price-watch-dialog.is-watch-status .price-watch-actions.price-watch-status-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #productWatchDialog.price-watch-dialog.is-watch-status .price-watch-status-actions .primary-button {
    grid-column: 1 / -1;
  }
}

.price-watch-toast-region {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 2147483647;
  display: grid;
  width: min(360px, calc(100vw - 32px));
  gap: 8px;
  pointer-events: none;
}

#productWatchDialog > .price-watch-toast-region {
  z-index: 2147483647;
}

.price-watch-toast {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  min-height: 60px;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff;
  background: #26323a;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.2);
  opacity: 0;
  /* Keep the motion inside the viewport portal's existing 6px padding. */
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.price-watch-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.price-watch-toast.is-error {
  background: #9a3b32;
}

.price-watch-toast__icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: #bdf4cf;
  background: rgba(255, 255, 255, 0.1);
  font-size: 18px;
  font-weight: 850;
}

.price-watch-toast.is-error .price-watch-toast__icon {
  color: #ffe4df;
}

.price-watch-toast__copy strong,
.price-watch-toast__copy span {
  display: block;
}

.price-watch-toast__copy strong {
  font-size: 13px;
  line-height: 17px;
  font-weight: 800;
}

.price-watch-toast__copy span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  line-height: 15px;
}

@media (max-width: 796px) {
  .price-watch-toast-region {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 12px;
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .price-watch-toast {
    transition-duration: 0.01ms;
  }
}

/* Primary text stays local; shared button and semantic state colors are intact. */
#productWatchDialog .price-watch-actions .ghost-button,
#productWatchDialog .price-watch-confirm .secondary-button {
  color: var(--cenatut-primary-text);
}

/* Approved tracking reference: local to the watch dialog, never cart/product modals. */
#productWatchDialog.price-watch-dialog { width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); }
#productWatchDialog #productWatchForm.price-watch-sheet { max-height: calc(100dvh - 40px); padding: 24px; gap: 16px; }
#productWatchDialog #productWatchForm .price-watch-head { grid-template-columns: 104px minmax(0,1fr); gap: 20px; padding-right: 34px; }
#productWatchDialog #productWatchForm .price-watch-head img { width: 104px; height: 104px; border: 1px solid #e1e8e4; background: #fff; object-fit: contain; }
#productWatchDialog #productWatchForm .price-watch-head strong { font-size: 21px; line-height: 27px; margin-top: 8px; }
#productWatchDialog #productWatchForm .price-watch-head small { font-size: 14px; line-height: 20px; }
#productWatchDialog #productWatchForm .price-watch-head em { font-size: 14px; line-height: 20px; margin-top: 6px; }
#productWatchDialog.is-watch-status #productWatchForm .price-watch-status-card { display: grid; grid-template-columns: minmax(0,1fr) 44px; gap: 14px; padding: 18px; border: 0; border-radius: 14px; background: #f0f8f4; }
#productWatchDialog #productWatchForm .price-watch-status-condition { border: 0; padding: 0; }
#productWatchDialog #productWatchForm .price-watch-status-card .price-watch-status-condition > strong { font-size: 23px; line-height: 30px; }
#productWatchDialog #productWatchForm .price-watch-status-card .price-watch-status-condition > strong > span { display: inline; color: inherit; font: inherit; }
#productWatchDialog #productWatchForm .price-watch-status-card .price-watch-status-metrics { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #d8e4de; padding-top: 12px; }
#productWatchDialog #productWatchForm .price-watch-status-metrics > div { padding: 0 12px; border: 0; }
#productWatchDialog #productWatchForm .price-watch-status-metrics > div:first-child { padding-left: 0; border-right: 1px solid #d8e4de; }
#productWatchDialog #productWatchForm .price-watch-status-metrics strong { font-size: 21px; line-height: 28px; }
#productWatchDialog #productWatchForm .price-watch-status-card span { font-size: 13px; line-height: 19px; }
:is(#productWatchDialog #productWatchForm .price-watch-icon-button, .product-modal .product-modal__actions .price-watch-icon-button, .product-page__actions .product-page__icon) { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 44px; min-height: 44px; padding: 10px; border: 1px solid #dce4df; border-radius: 12px; background: #fff; color: var(--watch-action-color, var(--cenatut-primary-text)); }
:is(#productWatchDialog #productWatchForm .price-watch-icon-button, .product-modal .product-modal__actions .price-watch-icon-button, .product-page__actions .product-page__icon) svg, #productWatchDialog #productWatchForm .price-watch-status-actions > button:not(.primary-button) svg { width: 22px; height: 22px; flex: 0 0 auto; }
:is(#productWatchDialog #productWatchForm .price-watch-icon-button, .product-modal .product-modal__actions .price-watch-icon-button, .product-page__actions .product-page__icon):hover { background: #f2f9f5; border-color: #079447; }
:is(#productWatchDialog #productWatchForm .price-watch-icon-button, .product-modal .product-modal__actions .price-watch-icon-button, .product-page__actions .product-page__icon):focus-visible { outline: 3px solid rgba(7,148,71,.25); outline-offset: 2px; }
#productWatchDialog #productWatchForm .price-watch-section-title strong { font-size: 17px; line-height: 24px; }
#productWatchDialog #productWatchForm .price-watch-store-list { display: block; max-height: 300px; border: 1px solid #e1e8e4; border-radius: 14px; overflow-x: hidden; overflow-y: auto; }
#productWatchDialog #productWatchForm .price-watch-store-row { min-height: 48px; padding: 9px 12px; border: 0; border-bottom: 1px solid #e1e8e4; border-radius: 0; }
#productWatchDialog #productWatchForm .price-watch-store-row:last-child { border-bottom: 0; }
#productWatchDialog #productWatchForm .price-watch-store-row.is-best { background: #edf8f1; }
#productWatchDialog #productWatchForm .price-watch-store-row-content { grid-template-columns: 28px minmax(0,1fr) auto 110px; gap: 12px; }
#productWatchDialog #productWatchForm .price-watch-store-logo { width: 28px; height: 28px; }
#productWatchDialog #productWatchForm .price-watch-store-name, #productWatchDialog #productWatchForm .price-watch-store-price { font-size: 14px; line-height: 20px; }
#productWatchDialog #productWatchForm .price-watch-store-diff { font-size: 13px; line-height: 20px; color: #079447; }
#productWatchDialog #productWatchForm .price-watch-settings { display: block; }
#productWatchDialog #productWatchForm .price-watch-setting-card { display: grid; grid-template-columns: 32px minmax(0,1fr) 44px; align-items: center; gap: 12px; padding: 14px; border: 1px solid #e1e8e4; border-radius: 14px; }
#productWatchDialog #productWatchForm .price-watch-setting-copy strong { font-size: 14px; line-height: 20px; }
#productWatchDialog #productWatchForm .price-watch-setting-copy small { font-size: 12px; line-height: 18px; }
#productWatchDialog #productWatchForm .price-watch-setting-icon { width: 30px; height: 30px; }
#productWatchDialog.is-watch-status #productWatchForm .price-watch-actions.price-watch-status-actions { display: flex; gap: 12px; align-items: center; }
#productWatchDialog #productWatchForm .price-watch-status-actions > button:not(.primary-button) { display: inline-flex; align-items: center; justify-content: center; width: 48px; min-width: 48px; padding: 10px; }
#productWatchDialog #productWatchForm .price-watch-status-actions > .primary-button { margin-left: auto; min-width: 180px; }
#productWatchDialog #productWatchForm .price-watch-status-actions .primary-button:disabled { cursor: default; }
#productWatchDialog #productWatchForm .price-watch-global-summary { display: none; }
@media (max-width: 796px) {
  #productWatchDialog.price-watch-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); margin: auto; border-radius: 18px; }
  #productWatchDialog #productWatchForm.price-watch-sheet { padding: 16px; max-height: calc(100dvh - 24px); gap: 14px; }
  #productWatchDialog #productWatchForm .price-watch-head { grid-template-columns: 72px minmax(0,1fr); gap: 12px; padding-right: 28px; }
  #productWatchDialog #productWatchForm .price-watch-head img { width: 72px; height: 72px; }
  #productWatchDialog #productWatchForm .price-watch-head strong { font-size: 16px; line-height: 21px; margin-top: 4px; }
  #productWatchDialog #productWatchForm .price-watch-head small, #productWatchDialog #productWatchForm .price-watch-head em { font-size: 12px; line-height: 17px; }
  #productWatchDialog.is-watch-status #productWatchForm .price-watch-status-card { padding: 14px; gap: 12px; }
  #productWatchDialog #productWatchForm .price-watch-status-card .price-watch-status-condition > strong { font-size: 18px; line-height: 25px; }
  #productWatchDialog #productWatchForm .price-watch-status-metrics strong { font-size: 17px; line-height: 24px; }
  #productWatchDialog #productWatchForm .price-watch-store-row-content { grid-template-columns: 24px minmax(0,1fr) auto; gap: 8px; }
  #productWatchDialog #productWatchForm .price-watch-store-diff { grid-column: 2/-1; text-align: right; }
  #productWatchDialog #productWatchForm .price-watch-store-row { padding: 9px 10px; }
  #productWatchDialog #productWatchForm .price-watch-actions { position: sticky; bottom: 0; margin: 0; padding: 12px 0 0; }
  #productWatchDialog #productWatchForm .price-watch-status-actions > .primary-button { min-width: 0; flex: 1; }
}

#productWatchDialog #productWatchForm .price-watch-status-card div { min-height: 0; padding: 0; border: 0; }
#productWatchDialog #productWatchForm .price-watch-status-card .price-watch-status-metrics { padding-top: 12px; border-top: 1px solid #d8e4de; }
#productWatchDialog #productWatchForm .price-watch-status-metrics > div { padding: 0 12px; }
#productWatchDialog #productWatchForm .price-watch-status-metrics > div:first-child { padding-left: 0; border-right: 1px solid #d8e4de; }
#productWatchDialog #productWatchForm .price-watch-setting-card { grid-template-rows: auto; }
#productWatchDialog #productWatchForm .price-watch-setting-copy { display: grid; gap: 3px; min-width: 0; }
#productWatchDialog #productWatchForm .price-watch-setting-copy > *, #productWatchDialog #productWatchForm .price-watch-setting-icon, #productWatchDialog #productWatchForm .price-watch-setting-card > button { grid-column: auto; grid-row: auto; align-self: center; }
#productWatchDialog #productWatchForm .price-watch-explain { display: none; }

/* A single target-price control stays in the condition line in both modes. */
#productWatchDialog #productWatchForm .price-watch-status-condition > strong { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
#productWatchDialog #productWatchForm .price-watch-inline-price { display: inline-flex; color: inherit; font: inherit; }
#productWatchDialog #productWatchForm .price-watch-status-card .price-watch-inline-control { font: inherit; display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px; border: 1px solid #dce4df; border-radius: 8px; background: #f3f4f6; }
#productWatchDialog #productWatchForm .price-watch-inline-control input { width: 8ch; min-width: 0; height: 30px; padding: 0; border: 0; border-radius: 0; color: var(--cenatut-primary-text); background: transparent; font: inherit; line-height: 30px; opacity: 1; box-shadow: none; }
#productWatchDialog #productWatchForm .price-watch-inline-control input[readonly] { cursor: default; pointer-events: none; }
#productWatchDialog #productWatchForm .price-watch-inline-control:has(input:not([readonly])) { background: #fff; }
#productWatchDialog #productWatchForm .price-watch-inline-control:has(input:not([readonly])):focus-within { border-color: transparent; outline: 2px solid #079447; outline-offset: -1px; }
#productWatchDialog #productWatchForm .price-watch-inline-control input:focus { outline: none; }
#productWatchDialog #productWatchForm .price-watch-inline-control > span { color: inherit; font: inherit; }
@media (max-width: 796px) {
  #productWatchDialog #productWatchForm .price-watch-inline-control input { height: 25px; line-height: 25px; }
}

/* Compact watch status layout; other dialogs and creation mode are untouched. */
#productWatchDialog:is(.is-watch-status, .is-watch-create) { width: min(600px, calc(100vw - 32px)); }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm { padding: 20px; gap: 12px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-head { grid-template-columns: 88px minmax(0,1fr); gap: 14px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-head img { width: 88px; height: 88px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-head strong { font-size: 19px; line-height: 24px; margin-top: 4px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-head em { margin-top: 2px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-card { padding: 12px; gap: 8px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-condition > strong { align-items: baseline; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-condition > strong > .price-watch-or-below { font-size: 15px; line-height: 20px; font-weight: 400; color: var(--cenatut-primary-text); white-space: nowrap; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-inline-price,
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-inline-control { align-items: baseline; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-inline-control input:focus-visible { border: 0; outline: none; box-shadow: none; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-metrics { padding-top: 8px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-metrics strong { font-size: 19px; line-height: 24px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-section-title { margin-bottom: 6px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-list { max-height: none; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-row { min-height: 40px; padding: 6px 10px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-row-content { grid-template-columns: 24px minmax(0,1fr) 104px 112px; gap: 8px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-logo { width: 24px; height: 24px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-price { text-align: right; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-setting-card { padding: 10px; gap: 10px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-actions { margin: 0; padding-top: 0; }
@media (max-width: 796px) {
  #productWatchDialog:is(.is-watch-status, .is-watch-create) { width: calc(100vw - 24px); }
  #productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm { padding: 16px; gap: 12px; }
  #productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-head { grid-template-columns: 64px minmax(0,1fr); gap: 10px; }
  #productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-head img { width: 64px; height: 64px; }
  #productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-head strong { font-size: 16px; line-height: 21px; }
  #productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-row-content { grid-template-columns: 24px minmax(0,1fr) auto; }
  #productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-list { max-height: 300px; }
  #productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-actions { padding-top: 10px; }
}

/* Reuse the existing toast stack as a global top-layer viewport portal. */
#priceWatchToastRegion[popover] { position: fixed; inset: auto 20px 20px auto; margin: 0; padding: 0; border: 0; background: transparent; overflow: visible; }
#priceWatchToastRegion[popover]::backdrop { background: transparent; pointer-events: none; }
@media (max-width: 796px) { #priceWatchToastRegion[popover] { inset: auto 12px calc(12px + env(safe-area-inset-bottom)) 12px; } }

/* Price and store settings share one mint surface; existing handlers stay in place. */
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-card { grid-template-columns: minmax(0,1fr); }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-condition-columns { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 12px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-price-setting,
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-stores-setting { display: grid; grid-template-columns: minmax(0,1fr) 44px; align-items: center; gap: 8px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-stores-setting { border-left: 1px solid #d8e4de; padding-left: 12px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-combined-store-copy { display: grid; gap: 4px; min-width: 0; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-combined-store-copy > span { font-size: 13px; line-height: 19px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-combined-store-copy > strong { font-size: 14px; line-height: 20px; white-space: normal; overflow: visible; }
@media (max-width: 796px) {
  #productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-condition-columns { grid-template-columns: minmax(0,1fr); gap: 10px; }
  #productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-stores-setting { border-left: 0; border-top: 1px solid #d8e4de; padding: 10px 0 0; }
}
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-stores-setting > .price-watch-combined-store-copy { grid-column: 1; grid-row: 1; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-stores-setting > button { grid-column: 2; grid-row: 1; align-self: center; }

/* Owner-approved emerald reference, scoped to the existing tracked-item dialog. */
#productWatchDialog.price-watch-dialog:is(.is-watch-status, .is-watch-create) { width: min(470px, calc(100vw - 24px)); padding: 8px; border-radius: 16px; background: #fff; box-shadow: 0 24px 80px rgba(20,45,35,.24); }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm { padding: 0; gap: 0; max-height: calc(100dvh - 40px); border-radius: 11px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm [data-watch-body] { display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: 146px auto; gap: 0; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-emerald-head { grid-column: 1; grid-row: 1/3; align-self: start; height: 166px; min-height: 166px; display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 20px; padding: 20px 34px 20px 22px; border-radius: 10px 10px 0 0; background: radial-gradient(ellipse at 18% 0%,#419778 0%,#307d61 42%,#26634f 100%); }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-emerald-head img { width: 88px; height: 112px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; object-fit: contain; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-emerald-head strong { margin: 18px 0 0; color: #fff; overflow: visible; }
:is(#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-emerald-head strong, .product-modal__hero h2) { font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 20px; line-height: 23px; font-weight: 750; letter-spacing: normal; white-space: normal; overflow-wrap: normal; word-break: normal; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-emerald-head em { margin-top: 6px; color: #e2f3e9; font-size: 12px; line-height: 16px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-emerald-head .price-watch-status-label { display: inline-flex; gap: 7px; align-items: center; width: fit-content; margin-top: 10px; padding: 6px 10px; border-radius: 10px 10px 0 0; background: linear-gradient(#f4fff7,#daf8e6); color: #079447; font-size: 12px; line-height: 18px; font-weight: 700; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-label svg { width: 15px; height: 15px; stroke-width: 1.25; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-reference-body { grid-column: 1; grid-row: 2; z-index: 1; display: grid; gap: 12px; padding: 16px; border-radius: 18px 18px 8px 8px; background: #fff; min-width: 0; }
:is(#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-close, .product-modal .product-modal__close) { right: 14px; top: 12px; width: 36px; height: 36px; min-height: 36px; border: 0; background: #e1f3e9; color: #35404f; z-index: 3; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-settings-summary { display: none; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-info-banner { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 10px; align-items: center; padding: 12px; border-radius: 12px; background: linear-gradient(110deg,#e0f9eb,#ddf7e8); }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-info-banner > svg { width: 34px; height: 34px; color: #079447; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-info-banner > span { display: grid; gap: 3px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-info-banner strong { color: #35404f; font-size: 13px; line-height: 18px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-info-banner [data-status-info] { font-size: 12px; line-height: 17px; color: #315343; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-card { display: grid; padding: 0; gap: 12px; border: 0; background: transparent; overflow: visible; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-condition-columns { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-price-setting,
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-stores-setting { display: grid; grid-template-columns: 28px minmax(0,1fr) 28px; grid-template-rows: 1fr; gap: 7px; min-height: 70px; padding: 10px; border: 1px solid #d9e9e2; border-radius: 12px; background: linear-gradient(130deg,#fff,#f7faf9); }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-reference-icon { grid-column: 1; grid-row: 1; align-self: start; width: 28px; height: 32px; display: grid; place-items: center; background: #e4f8ed; color: #079447; border-radius: 9px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-reference-icon svg { width: 21px; height: 21px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-condition,
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-combined-store-copy { grid-column: 2; grid-row: 1; align-self: center; min-width: 0; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-condition > span,
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-combined-store-copy > span { font-size: 11px; line-height: 16px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-condition > strong { font-size: 19px; line-height: 25px; margin-top: 3px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-combined-store-copy > strong { font-size: 12px; line-height: 17px; font-weight: 700; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-price-setting > button,
:is(#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-stores-setting > button, .product-modal .product-modal__actions .price-watch-icon-button, .product-page__actions .product-page__icon) { grid-column: 3; grid-row: 1; width: var(--watch-action-width, 28px); min-height: var(--watch-action-height, 30px); height: var(--watch-action-height, 30px); padding: var(--watch-action-padding, 5px); align-self: var(--watch-action-align, end); border-radius: 8px; }
:is(#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-icon-button svg, .product-modal .product-modal__actions .price-watch-icon-button svg, .product-page__actions .product-page__icon svg) { width: var(--watch-action-icon-size, 17px); height: var(--watch-action-icon-size, 17px); }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-inline-control { padding: 0; border-color: transparent; background: transparent; gap: 3px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-inline-control input { width: 6.5ch; height: 25px; line-height: 25px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-metrics { padding: 12px 16px; border: 0; border-radius: 12px; background: linear-gradient(100deg,#edf8f2,#eaf7f1); }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-metrics > div { padding: 0 12px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-metrics > div:first-child { padding-left: 0; border-right: 1px solid #d3e4dc; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-metrics span { font-size: 12px; line-height: 18px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-metrics strong { font-size: 21px; line-height: 27px; white-space: nowrap; overflow: visible; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-metrics strong > [data-status-remaining] { font: inherit; color: #079447; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm [data-status-percent] { font-size: 12px; font-weight: 700; color: #079447; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-section-title { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 8px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-section-title strong { font-size: 15px; line-height: 21px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm [data-watch-store-sort] { min-width: 0; max-width: 146px; padding: 0; border: 0; background: transparent; color: #7b8798; font: inherit; font-size: 11px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-row { min-height: 36px; padding: 6px 10px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-row-content { grid-template-columns: 24px minmax(0,1fr) 90px 92px; gap: 7px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-name,
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-price { font-size: 13px; line-height: 18px; }
:is(#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-diff, .product-modal__offer .price-watch-store-diff) { font-size: 11px; line-height: 18px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-list { border-radius: 12px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-actions { gap: 10px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-actions > button:not(.primary-button) { width: 44px; min-width: 44px; min-height: 48px; height: 48px; border-color: #bcd6c9; background: #fff; color: #35404f; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-actions > .primary-button { flex: 1; min-width: 0; height: 48px; min-height: 48px; border-radius: 10px; background: linear-gradient(110deg,#2e6e58,#225a45); color: #fff; font-size: 15px; }
@media (max-width: 430px) {
 #productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-condition-columns { grid-template-columns: minmax(0,1fr); }
 #productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-emerald-head { gap: 12px; padding-left: 16px; }
 #productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-metrics { padding: 10px; }
 #productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-metrics strong { font-size: 18px; }
 #productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-row-content { grid-template-columns: 24px minmax(0,1fr) max-content 88px; gap: 6px; }
 #productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-actions { padding: 8px 0 0; }
}

/* Keep the price and its comparison label in shared, right-aligned columns. */
@media (max-width: 796px) {
 #productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-diff { grid-column: 4; grid-row: 1; }
 #productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-name { white-space: nowrap; }
}
@media (max-width: 360px) {
 #productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-row { padding-inline: 4px; }
 #productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-row-content { grid-template-columns: 18px minmax(0,1fr) max-content 88px; gap: 2px; }
 #productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-logo { width: 18px; height: 18px; }
 #productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-name { font-size: 12px; }
}

#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-stores-setting > .price-watch-combined-store-copy { grid-column: 2; grid-row: 1; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-reference-body { gap: 10px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-combined-store-copy > strong { white-space: nowrap; }

#productWatchDialog:is(.is-watch-status, .is-watch-create) { zoom: var(--watch-ui-zoom, 1); }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-reference-body .price-watch-error:empty,
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-reference-body [data-store-error]:empty { display: none; }

#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-emerald-head img { mix-blend-mode: multiply; }

#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-emerald-head img { mix-blend-mode: normal; object-fit: cover; filter: url(#watchPhotoMatte); }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-reference-body { padding: 14px 16px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-info-banner { padding: 10px 12px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-prices { margin-top: 0; }

#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-reference-body { padding-top: 12px; padding-bottom: 12px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-actions > .primary-button:disabled { opacity: 1; background: var(--cenatut-primary-text, #35404f); color: #fff; cursor: not-allowed; border-color: var(--cenatut-primary-text, #35404f); }

/* Seven Owner-approved refinements; no global geometry or action styles change. */
#productWatchDialog.price-watch-dialog:is(.is-watch-status, .is-watch-create) { padding: 0; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm { border-radius: 0; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm [data-watch-body] { grid-template-rows: 158px auto; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-emerald-head { min-height: 178px; height: 178px; padding-top: 12px; padding-bottom: 12px; border-radius: 0; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-emerald-head strong { margin-top: 8px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-emerald-head em { margin-top: 4px; }
/* Reserve the same three title lines and pack line in every tracking state. */
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-emerald-head strong { height: 69px; min-height: 69px; flex-shrink: 0; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-emerald-head em { min-height: 16px; flex-shrink: 0; }

#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-emerald-head .price-watch-status-label { margin-top: 8px; }
/* The 178px header overlaps the 158px body track by 20px; its content is inset 12px.
   Reserve the remaining 8px so the status tab ends exactly at the white surface. */
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-header-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  padding-bottom: 8px;
}
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-emerald-head .price-watch-status-label {
  width: max-content;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: auto;
  margin-bottom: 0;
}
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-emerald-head img { width: 88px; height: 102px; padding: 7px 0; align-self: start; margin-top: 9px; filter: none; mix-blend-mode: normal; object-fit: contain; background: #fff; border-radius: 14px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-reference-body { padding: 10px 16px; gap: 8px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-card { gap: 10px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-info-banner { padding-top: 8px; padding-bottom: 8px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-row { min-height: 34px; padding-top: 5px; padding-bottom: 5px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-metrics { padding-top: 10px; padding-bottom: 10px; }
/* Keep the close hit target and glyph intact; only its painted circle is smaller. */
:is(#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-close, .product-modal .product-modal__close) {
  background: transparent;
  box-shadow: none;
  transition: color 180ms ease;
  clip-path: circle(15.3px at 50% 50%);
}
:is(#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-close, .product-modal .product-modal__close)::before {
  content: "";
  position: absolute;
  top: calc(50% - 15.3px);
  left: calc(50% - 15.3px);
  width: 30.6px;
  height: 30.6px;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 50%;
  background: #fff;
  z-index: -1;
  pointer-events: none;
  transition: border-color 180ms ease;
}
:is(#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-close, .product-modal .product-modal__close):hover,
:is(#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-close, .product-modal .product-modal__close):focus-visible {
  color: #079447;
}
:is(#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-close, .product-modal .product-modal__close):hover::before,
:is(#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-close, .product-modal .product-modal__close):focus-visible::before {
  border-color: #079447;
}
:is(#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-close, .product-modal .product-modal__close):focus-visible {
  outline: none;
}
@media (prefers-reduced-motion: reduce) {
  :is(#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-close, .product-modal .product-modal__close),
  :is(#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-close, .product-modal .product-modal__close)::before {
    transition: none;
  }
}

:is(#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-close, .product-modal .product-modal__close):focus-visible::before {
  box-shadow: inset 0 0 0 2px #079447;
}

/* Owner-provided graphics only; existing banner and mint icon surfaces remain intact. */
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-info-banner > .price-watch-banner-icon { width: 34px; height: 34px; padding: 2.4px; object-fit: contain; display: block; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-reference-icon > img { width: 21px; height: 21px; object-fit: contain; display: block; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-target-icon { padding: 2.625px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-icon { padding: 1.5px; }

/* Canonical catalog store checkbox declarations from test.css; scoped to Watch. */
/* Store filter: use a local checkbox so native pressed-state colours cannot flash. */
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-checkbox {
  width: 13px;
  height: 13px;
  margin: 0;
  flex: 0 0 13px;
  border: 1px solid #c8d1cb;
  border-radius: 3px;
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 9px 9px;
  box-shadow: none;
  cursor: pointer;
}

#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-checkbox:checked {
  border-color: #bde5c9;
  background-color: #def4e5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m2 6.1 2.4 2.4L10 3.1' fill='none' stroke='%23087c3f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-checkbox:not(:checked):active {
  border-color: #c8d1cb;
  background-color: #fff;
}

#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-checkbox:checked:active {
  border-color: #bde5c9;
  background-color: #def4e5;
}

#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-checkbox:focus-visible {
  outline: 2px solid rgba(7, 148, 71, 0.32);
  outline-offset: 2px;
}

#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-checkbox { zoom: var(--watch-catalog-zoom, 1); place-self: center; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-checkbox-slot { overflow: visible; }

/* Canonical price-manual-value surface/focus; retain inline geometry with padding instead of transparent border. */
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-inline-control:has(input:not([readonly])) { border: 0; padding: 1px; border-radius: calc(4px * var(--watch-catalog-zoom, 1)); background: transparent; outline: none; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-inline-control:has(input:not([readonly])):focus-within { outline: calc(2px * var(--watch-catalog-zoom, 1)) solid rgba(7, 148, 71, 0.34); outline-offset: 0; }

/* Catalog filter-dropdown summary hover and chevron palette, without affecting hit targets. */
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-actions > button:not(.primary-button),
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm [data-watch-action="toggle-status-condition"],
:is(#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm [data-watch-action="toggle-store-selection"], .product-modal .product-modal__actions .price-watch-icon-button, .product-page__actions .product-page__icon) { transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-actions > button:not(.primary-button):not(:disabled):hover,
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-actions > button:not(.primary-button):focus-visible,
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm [data-watch-action="toggle-status-condition"]:not(:disabled):hover,
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm [data-watch-action="toggle-status-condition"]:focus-visible,
:is(#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm [data-watch-action="toggle-store-selection"], .product-modal .product-modal__actions .price-watch-icon-button, .product-page__actions .product-page__icon):not(:disabled):hover,
:is(#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm [data-watch-action="toggle-store-selection"], .product-modal .product-modal__actions .price-watch-icon-button, .product-page__actions .product-page__icon):focus-visible { border-color: rgba(18, 168, 90, 0.34); background: #fbfffc; color: #12a85a; box-shadow: 0 1px 0 rgba(17, 24, 39, 0.025); }
@media (prefers-reduced-motion: reduce) {
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-actions > button:not(.primary-button),
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm [data-watch-action="toggle-status-condition"],
:is(#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm [data-watch-action="toggle-store-selection"], .product-modal .product-modal__actions .price-watch-icon-button, .product-page__actions .product-page__icon) { transition: none; }
}

/* Owner bell artwork: alpha mask inherits the exact status text color. */
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-bell { display: inline-grid; place-items: center; width: 15px; height: 15px; flex: 0 0 15px; }
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-bell::before { content: ""; width: 10.78125px; height: 11.896px; background-color: currentColor; mask: url("/assets/watch-modal/bell.png?v=cef695638083f65e25c8856a0ceb50c1afe56d31361392bf6d6bc4c7cc816f00") center / contain no-repeat; }

/* Let the existing catalog-style outline paint beyond the price text line. */
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-condition > strong { overflow: visible; }

/* Native scrolling; the limit follows five measured rows, including wrapped mobile rows. */
#productWatchDialog.price-watch-dialog #productWatchForm .price-watch-store-list {
  max-height: var(--watch-store-list-max-height, none);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #aac8b8 #f1f7f3;
}
#productWatchDialog #productWatchForm .price-watch-store-list::-webkit-scrollbar { width: 6px; }
#productWatchDialog #productWatchForm .price-watch-store-list::-webkit-scrollbar-track { background: #f1f7f3; border-radius: 12px; }
#productWatchDialog #productWatchForm .price-watch-store-list::-webkit-scrollbar-thumb { background: #aac8b8; border: 1px solid #f1f7f3; border-radius: 12px; }
#productWatchDialog #productWatchForm .price-watch-store-list[data-watch-store-overflow="true"] .price-watch-store-row {
  padding-right: max(0px, calc(var(--watch-store-row-padding-end, 10px) - var(--watch-store-scrollbar-width, 0px)));
}

#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-actions > .primary-button {
  flex: 0 0 auto;
  width: fit-content;
  min-width: 0;
  padding-left: 9px;
  padding-right: 9px;
  height: 36px;
  min-height: 36px;
  font-size: 11.25px;
  line-height: 13.5px;
  border-radius: 7.5px;
  border-left-width: 0;
  border-right-width: 0;
  margin-left: auto;
}
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-actions > .primary-button[hidden] { display: none; }

#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-checkbox {
  width: 15.6px;
  height: 15.6px;
  flex-basis: 15.6px;
  background-size: 10.8px 10.8px;
}

/* Keep Delete and Pause anchored left even while Save is hidden. */
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-actions.price-watch-status-actions {
  justify-content: flex-start;
  align-items: flex-start;
  height: 48px;
  min-height: 48px;
  padding-block: 0;
}

/* Keep footer artwork proportional to the reduced controls. */
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-actions > button:not(.primary-button) svg {
  width: 19.8px;
  height: 19.8px;
}

/* 75% of the approved 44x48px action controls, with unchanged footer rhythm. */
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-status-actions > button:not(.primary-button) {
  flex: 0 0 33px;
  width: 33px;
  min-width: 33px;
  height: 36px;
  min-height: 36px;
  padding: 7.5px;
  font-size: 10.5px;
  line-height: 13.5px;
  border-radius: 9px;
}
@media (max-width: 796px) {
  #productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-actions.price-watch-status-actions {
    height: 57px;
    min-height: 57px;
    padding-top: 8px;
    padding-bottom: 0;
  }
}

/* Clip native scrollbar paint to the same rounded outline as the store list. */
#productWatchDialog #productWatchForm .price-watch-store-list {
  clip-path: inset(0 round 14px);
}
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-list {
  clip-path: inset(0 round 12px);
}
@supports (clip-path: border-box) {
  #productWatchDialog #productWatchForm .price-watch-store-list { clip-path: border-box; }
  #productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-store-list { clip-path: border-box; }
}
@supports selector(::-webkit-scrollbar) {
  /* Non-auto standard values override these rounded WebKit parts in Chromium. */
  #productWatchDialog.price-watch-dialog #productWatchForm .price-watch-store-list {
    scrollbar-width: auto;
    scrollbar-color: auto;
  }
  #productWatchDialog #productWatchForm .price-watch-store-list::-webkit-scrollbar { width: 6px; background: transparent; }
  #productWatchDialog #productWatchForm .price-watch-store-list::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
  #productWatchDialog #productWatchForm .price-watch-store-list::-webkit-scrollbar-track { margin-block: 4px; border-radius: 999px; }
  #productWatchDialog #productWatchForm .price-watch-store-list::-webkit-scrollbar-thumb { min-height: 24px; border-radius: 999px; }
  #productWatchDialog #productWatchForm .price-watch-store-list::-webkit-scrollbar-corner { background: transparent; }
}

/* The sheet's native overflow uses the same quiet mint treatment as its store list. */
/* Keep the existing >5-row flag authoritative despite fractional browser-zoom rounding. */
#productWatchDialog #productWatchForm .price-watch-store-list[data-watch-store-overflow="false"] { overflow-y: hidden; }
:is(#productWatchDialog.price-watch-dialog #productWatchForm.price-watch-sheet, dialog.product-modal .product-modal__content) {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgb(170 200 184 / 80%) transparent;
  border-radius: inherit;
  clip-path: inset(0 round 16px);
}
@supports (clip-path: border-box) {
  :is(#productWatchDialog.price-watch-dialog #productWatchForm.price-watch-sheet, dialog.product-modal .product-modal__content) { clip-path: border-box; }
}
@supports selector(::-webkit-scrollbar) {
  :is(#productWatchDialog.price-watch-dialog #productWatchForm.price-watch-sheet, dialog.product-modal .product-modal__content) { scrollbar-width: auto; scrollbar-color: auto; }
  :is(#productWatchDialog #productWatchForm, dialog.product-modal .product-modal__content)::-webkit-scrollbar { width: 8.4px; background: transparent; }
  :is(#productWatchDialog #productWatchForm, dialog.product-modal .product-modal__content)::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
  :is(#productWatchDialog #productWatchForm, dialog.product-modal .product-modal__content)::-webkit-scrollbar-track { background: transparent; margin-block: 15px; border-radius: 999px; }
  /* Paint the inset capsule itself: a one-sided border distorts padding-box corner radii. */
  :is(#productWatchDialog #productWatchForm, dialog.product-modal .product-modal__content)::-webkit-scrollbar-thumb { background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Crect width='100%25' height='100%25' rx='2.7' ry='2.7' fill='rgb(170,200,184)' fill-opacity='.8'/%3E%3C/svg%3E") left top / calc(100% - 3px) 100% no-repeat; border: 0; min-height: 24px; border-radius: 0; }
  :is(#productWatchDialog #productWatchForm, dialog.product-modal .product-modal__content)::-webkit-scrollbar-corner { background: transparent; }
}

/* A native dialog makes the page inert, but does not lock its scrolling element. */
:root:has(:is(#productWatchDialog, dialog.product-modal)[open]) { overflow: hidden; overscroll-behavior: none; }
:is(#productWatchDialog, dialog.product-modal)::backdrop { touch-action: none; }

/* A single rounded surface avoids seams between separately antialiased corner tiles. */
:is(#productWatchDialog.price-watch-dialog:is(.is-watch-status, .is-watch-create), dialog.product-modal) { background: transparent; }
:is(#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm.price-watch-sheet, dialog.product-modal .product-modal__content) {
  --watch-sheet-body-y: calc(var(--watch-sheet-header-height, 0px) - var(--watch-sheet-scroll-y, 0px));
  --watch-sheet-radius: var(--watch-sheet-body-radius, 18px);
  background:
    var(--watch-sheet-white-image, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='18'%3E%3Crect width='100%25' height='36' rx='18' fill='white'/%3E%3C/svg%3E"))
      0 var(--watch-sheet-body-y) / 100% var(--watch-sheet-white-height, var(--watch-sheet-radius)) no-repeat,
    radial-gradient(ellipse at 18% 0%,#419778 0%,#307d61 42%,#26634f 100%)
      0 calc(-1 * var(--watch-sheet-scroll-y, 0px)) / 100% calc(var(--watch-sheet-header-height, 0px) + var(--watch-sheet-radius)) no-repeat, #fff;
}
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-emerald-head {
  background: transparent;
  padding-right: max(0px, calc(34px - var(--watch-sheet-gutter, 0px)));
}
#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-reference-body {
  background: transparent;
  padding-right: max(0px, calc(16px - var(--watch-sheet-gutter, 0px)));
}
:is(#productWatchDialog:is(.is-watch-status, .is-watch-create) #productWatchForm .price-watch-close, .product-modal .product-modal__close) { right: max(0px, calc(14px - var(--watch-sheet-gutter, 0px))); }

/* Creation keeps its own editable fields and Cancel/Save semantics inside the shared shell. */
#productWatchDialog.is-watch-create #productWatchForm .price-watch-create-main { display: grid; gap: 8px; padding: 0; border: 0; border-radius: 0; background: transparent; }
#productWatchDialog.is-watch-create #productWatchForm .price-watch-create-thresholds { display: grid; }
#productWatchDialog.is-watch-create #productWatchForm .price-watch-create-thresholds .price-watch-price-setting { grid-template-columns: 28px minmax(0,1fr); }
#productWatchDialog.is-watch-create #productWatchForm .price-watch-status-condition { display: grid; grid-template-columns: minmax(0,1fr); gap: 3px; }
#productWatchDialog.is-watch-create #productWatchForm .price-watch-status-condition > strong { display: block; margin: 0; font-weight: 800; line-height: 25px; }
#productWatchDialog.is-watch-create #productWatchForm .price-watch-status-condition > label { display: block; margin: 0; color: #7b8798; font-size: 11px; line-height: 16px; font-weight: 600; }
#productWatchDialog.is-watch-create #productWatchForm .price-watch-inline-control { display: inline-flex; align-items: center; width: auto; max-width: 100%; height: 25px; min-height: 25px; gap: 3px; padding: 1px; border: 0; }
#productWatchDialog.is-watch-create #productWatchForm .price-watch-inline-control input { width: 6.5ch; height: 25px; min-height: 25px; min-width: 0; max-width: calc(100% - 14px); padding: 0; border: 0; color: var(--cenatut-primary-text, #35404f); background: transparent; font: inherit; }
#productWatchDialog.is-watch-create #productWatchForm .price-watch-inline-control > span { position: static; align-self: center; font-size: 19px; line-height: 25px; font-weight: 800; }
#productWatchDialog.is-watch-create #productWatchForm .price-watch-combined-store-copy { display: grid; gap: 3px; }
#productWatchDialog.is-watch-create #productWatchForm .price-watch-combined-store-copy > span,
#productWatchDialog.is-watch-create #productWatchForm .price-watch-combined-store-copy > strong { color: #7b8798; }
#productWatchDialog.is-watch-create #productWatchForm .price-watch-percent-icon { font-size: 21px; font-weight: 750; }
#productWatchDialog.is-watch-create #productWatchForm .price-watch-create-current { display: grid; gap: 3px; padding: 0; border: 0; background: transparent; }
#productWatchDialog.is-watch-create #productWatchForm .price-watch-create-current > span { color: #315343; font-size: 12px; line-height: 17px; }
#productWatchDialog.is-watch-create #productWatchForm .price-watch-threshold-message { display: grid; gap: 4px; margin: 0; }
#productWatchDialog.is-watch-create #productWatchForm .price-watch-threshold-message:has(:empty):not(:has(:not(:empty))) { display: none; }
#productWatchDialog.is-watch-create #productWatchForm .price-watch-threshold-hint,
#productWatchDialog.is-watch-create #productWatchForm .price-watch-field-error { margin: 0; font-size: 11px; line-height: 16px; }
#productWatchDialog.is-watch-create #productWatchForm .price-watch-threshold-hint:empty,
#productWatchDialog.is-watch-create #productWatchForm .price-watch-field-error:empty { display: none; }
#productWatchDialog.is-watch-create #productWatchForm .price-watch-global-summary { margin: 0; padding: 0; border: 0; background: transparent; }
#productWatchDialog.is-watch-create #productWatchForm .price-watch-global-summary > div { display: flex; flex-wrap: wrap; gap: 4px 8px; color: #7b8798; font-size: 11px; line-height: 16px; }
#productWatchDialog.is-watch-create #productWatchForm .price-watch-settings-summary { display: block; margin: 0; color: #7b8798; font-size: 11px; line-height: 16px; }
#productWatchDialog.is-watch-create #productWatchForm .price-watch-actions.price-watch-create-actions { display: flex; justify-content: flex-start; align-items: flex-start; gap: 10px; position: static; margin: 0; padding: 0; min-height: 48px; border: 0; background: #fff; }
#productWatchDialog.is-watch-create #productWatchForm .price-watch-create-actions > button { flex: 0 0 auto; width: auto; min-width: 0; height: 36px; min-height: 36px; padding: 0 9px; border: 1px solid #bcd6c9; border-radius: 7.5px; color: #35404f; background: #fff; font-size: 11.25px; line-height: 13.5px; }
#productWatchDialog.is-watch-create #productWatchForm .price-watch-create-actions > .primary-button { margin-left: auto; border-inline-width: 0; color: #fff; background: linear-gradient(110deg,#2e6e58,#225a45); }
#productWatchDialog.is-watch-create #productWatchForm .price-watch-create-actions > .primary-button:disabled { opacity: 1; color: #fff; background: var(--cenatut-primary-text, #35404f); cursor: not-allowed; }
#productWatchDialog.is-watch-create #productWatchForm .price-watch-create-actions > button:not(:disabled):hover { border-color: rgba(18,168,90,.34); box-shadow: 0 1px 0 rgba(17,24,39,.025); }
#productWatchDialog.is-watch-create #productWatchForm .price-watch-create-actions > button:focus-visible { outline: 2px solid rgba(7,148,71,.34); outline-offset: 2px; }
#productWatchDialog #productWatchForm .price-watch-actions > button:active:not(:disabled) { filter: brightness(.94); }
#productWatchDialog #productWatchForm .price-watch-actions > button[aria-busy="true"] { cursor: wait; opacity: .72; }

/* Owner-approved selective Watch polish: original geometry and handlers remain authoritative. */

#productWatchDialog:is(.is-watch-status,.is-watch-create) #productWatchForm .price-watch-inline-control:has(input:not([readonly])) {
  display: flex; align-items: center; gap: 7px; width: 100%; min-width: 0; max-width: 100%;
  height: 27px; padding: 0 9px; box-sizing: border-box;
  border: 1px solid #9eafa6; border-radius: 8px; background: #fff;
  outline: none; box-shadow: none; transition: border-color .15s;
}
#productWatchDialog:is(.is-watch-status,.is-watch-create) #productWatchForm .price-watch-inline-control input {
  flex: 1; width: 0; min-width: 0; max-width: 100%; height: 25px; min-height: 0;
  padding: 0; border: 0; border-radius: 0; background: transparent;
  color: #35404f; font-size: 18px; line-height: 25px; font-weight: 750; font-variant-numeric: tabular-nums;
  outline: none; box-shadow: none;
}
#productWatchDialog:is(.is-watch-status,.is-watch-create) #productWatchForm .price-watch-inline-control > span { flex: none; color: #35404f; font-size: 17px; }
#productWatchDialog:is(.is-watch-status,.is-watch-create) #productWatchForm .price-watch-inline-control:hover { border-color: #65776d; }
#productWatchDialog:is(.is-watch-status,.is-watch-create) #productWatchForm .price-watch-inline-control:has(input:not([readonly])):focus-within { border-color: #079447; outline: none; box-shadow: none; }
#productWatchDialog:is(.is-watch-status,.is-watch-create) #productWatchForm .price-watch-inline-control:has([aria-invalid="true"]) { border-color: #b42318; }
#productWatchDialog:is(.is-watch-status,.is-watch-create) #productWatchForm .price-watch-inline-control input:focus,
#productWatchDialog:is(.is-watch-status,.is-watch-create) #productWatchForm .price-watch-inline-control input:focus-visible { outline: none; box-shadow: none; border: 0; }
#productWatchDialog:is(.is-watch-status,.is-watch-create) #productWatchForm .price-watch-status-condition > strong,
#productWatchDialog:is(.is-watch-status,.is-watch-create) #productWatchForm .price-watch-inline-price { display: block; min-width: 0; width: 100%; }
#productWatchDialog:is(.is-watch-status,.is-watch-create) #productWatchForm :is(.price-watch-status-condition > span,.price-watch-status-condition > label,.price-watch-combined-store-copy > span,.price-watch-combined-store-copy > strong) { color: #35404f; }
#productWatchDialog:is(.is-watch-status,.is-watch-create) #productWatchForm .price-watch-stores-setting { border-color: #cfe1d8; background: #f8fbf9; }
#productWatchDialog:is(.is-watch-status,.is-watch-create) #productWatchForm [data-watch-action="delete"] svg { color: #b42318; }
@media (prefers-reduced-motion:reduce) { #productWatchDialog:is(.is-watch-status,.is-watch-create) #productWatchForm .price-watch-inline-control { transition: none !important; } }
/* The original tracked price block measures 90px at the existing <=796px breakpoint. */
@media (max-width:796px) { #productWatchDialog.is-watch-status #productWatchForm .price-watch-price-setting { min-height:90px; } }
/* Keep the empty-value dash visual only; hide it while editing. */
#productWatchDialog #productWatchForm :is(#watch-target-price, #watch-drop-percent):not([readonly]):focus::placeholder {
  color: transparent;
}

/* Basket Favorites retailer controls reuse the catalog typography and click target. */
body .basket-section .basket-board.is-secondary-tab [data-basket-favorite-retailers] .basket-favorite-card__store-logo {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
body .basket-section .basket-board.is-secondary-tab [data-basket-favorite-retailers] span.basket-favorite-card__store-logo {
  background: #edf2ef; color: #667085; font-size: 11px; line-height: 1;
}
body .basket-section .basket-board.is-secondary-tab [data-basket-favorite-retailers] .basket-favorite-card__more-stores {
  width: 100%; max-width: 100%; min-height: 40px; height: 40px; white-space: normal;
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 12px; line-height: 1;
}
body .basket-section .basket-board.is-secondary-tab [data-basket-favorite-retailers] .basket-favorite-card__more-stores:focus-visible {
  outline: 3px solid rgba(7, 148, 71, 0.3); outline-offset: -2px;
}
body .basket-section .basket-board.is-secondary-tab [data-basket-favorite-retailers].has-more-stores { height: 124px; min-height: 124px; }
body .basket-section .basket-board.is-secondary-tab [data-basket-favorite-retailers].has-more-stores.is-stores-expanded { height: 124px; }
body .basket-section .basket-board.is-secondary-tab .basket-favorite-card[data-basket-favorite-card]:has([data-basket-favorite-retailers].has-more-stores) .basket-favorite-card__meta { padding-bottom: 129px; }
body .basket-section .basket-board.is-secondary-tab .basket-favorite-card[data-basket-favorite-card]:has([data-basket-favorite-retailers].is-stores-expanded) .basket-favorite-card__meta { padding-bottom: 129px; }
@media (max-width: 796px) {
  body .basket-section .basket-board.is-secondary-tab [data-basket-favorite-retailers].has-more-stores { height: 110px; min-height: 110px; }
  body .basket-section .basket-board.is-secondary-tab [data-basket-favorite-retailers].has-more-stores.is-stores-expanded { height: 110px; }
  body .basket-section .basket-board.is-secondary-tab .basket-favorite-card[data-basket-favorite-card]:has([data-basket-favorite-retailers].has-more-stores) .basket-favorite-card__meta { padding-bottom: 115px; }
  body .basket-section .basket-board.is-secondary-tab .basket-favorite-card[data-basket-favorite-card]:has([data-basket-favorite-retailers].is-stores-expanded) .basket-favorite-card__meta { padding-bottom: 115px; }
}

/* Narrow Favorites need one readable card; keep the existing card internals. */
@media (max-width: 420px) {
  body #basket .basket-board.is-secondary-tab .basket-price-table > .basket-favorite-grid:not(.basket-favorite-grid--watch) {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Match the catalog: grow only the price mask upward within the fixed card.
   Its bottom stays anchored: -extra rows + all rows = the collapsed row span. */
body .basket-section .basket-board.is-secondary-tab [data-basket-favorite-retailers].has-more-stores.is-stores-expanded .basket-favorite-card__store-mask {
  top: calc(-1 * var(--favorite-extra-store-count) * var(--favorite-store-row-height));
}
@media (max-width: 796px) {
  body .basket-section .basket-board.is-secondary-tab [data-basket-favorite-retailers].has-more-stores.is-stores-expanded .basket-favorite-card__store-mask {
    top: calc(-1 * var(--favorite-extra-store-count) * 23px);
  }
}
/* Owner-approved Basket Tracking cards; isolated from Favorites and Account. */
/* Watch-only revision. Metrics: original Watch 137/74 media, 13/8 padding+gap,
   28/23 retailer pitch; catalogue upward-mask equations (home variant baseline 0). */
body #basket .basket-board.is-secondary-tab .basket-price-table > .basket-favorite-grid--watch{
 --basket-watch-font:Manrope,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
 --basket-watch-fg:var(--cenatut-primary-text,#35404f);--basket-watch-muted:#667085;--basket-watch-surface:#fff;--basket-watch-border:#dfe5e1;--basket-watch-accent:#079447;
 --basket-watch-card-pad:13px;--basket-watch-media-height:137px;--basket-watch-card-gap:13px;
 --basket-watch-title-height:54px;--basket-watch-pack-height:14px;--basket-watch-copy-height:72px;
 --basket-watch-row-height:28px;--basket-watch-max-stores:7;--basket-watch-toggle-height:44px;
 --basket-watch-footer-height:53px;--basket-watch-meta-gap:8px;
 --basket-watch-price-height:calc(3*var(--basket-watch-row-height) + var(--basket-watch-toggle-height));
 --basket-watch-card-height:calc(2px + 2*var(--basket-watch-card-pad) + var(--basket-watch-media-height) + var(--basket-watch-card-gap) + var(--basket-watch-copy-height) + var(--basket-watch-price-height) + 2*var(--basket-watch-meta-gap) + var(--basket-watch-footer-height));
 grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;grid-auto-rows:var(--basket-watch-card-height);
}
body #basket .basket-board.is-secondary-tab .basket-watch-card{
 height:var(--basket-watch-card-height);min-height:var(--basket-watch-card-height);max-height:var(--basket-watch-card-height);
 grid-template-rows:var(--basket-watch-media-height) minmax(0,1fr);gap:var(--basket-watch-card-gap);
 padding:var(--basket-watch-card-pad);overflow:visible;
}
body #basket .basket-board.is-secondary-tab .basket-watch-card .basket-favorite-card__media{height:var(--basket-watch-media-height)}
body #basket .basket-board.is-secondary-tab .basket-watch-card .basket-favorite-card__media img{width:auto;height:auto;max-width:100%;max-height:var(--basket-watch-media-height);object-fit:contain}
body #basket .basket-board.is-secondary-tab .basket-watch-card .basket-favorite-card__meta{
 display:grid;grid-template-rows:var(--basket-watch-copy-height) var(--basket-watch-price-height) var(--basket-watch-footer-height);
 gap:var(--basket-watch-meta-gap);min-width:0;padding-bottom:0;align-content:start;
}
.basket-watch-product-copy{display:grid;grid-template-rows:var(--basket-watch-title-height) var(--basket-watch-pack-height);gap:4px;min-width:0;align-content:start}
body #basket .basket-board.is-secondary-tab .basket-watch-card .basket-favorite-card__name{display:block;height:auto;max-height:none;overflow:visible;-webkit-line-clamp:unset;font-size:13px;line-height:18px;white-space:normal;overflow-wrap:anywhere}
body #basket .basket-board.is-secondary-tab .basket-watch-card .basket-favorite-card__pack{display:block;margin:0;line-height:var(--basket-watch-pack-height);font-size:11px;overflow:visible}
.basket-watch-price-area{display:flex;flex-direction:column;justify-content:flex-start;min-width:0;height:var(--basket-watch-price-height)}
/* Catalogue disclosure overlays the upper card area: reserve the fixed collapsed lane, while all seven rows remain inside the common card bounds. The lower edge and footer never move. */
body #basket .basket-board.is-secondary-tab .basket-watch-card .basket-favorite-card__store-section{
 position:relative;inset:auto;display:grid;flex:none;width:100%;
 grid-template-rows:calc(var(--basket-watch-collapsed-count)*var(--basket-watch-row-height)) var(--basket-watch-toggle-height);
 height:calc(var(--basket-watch-collapsed-count)*var(--basket-watch-row-height) + var(--basket-watch-toggle-height));
 min-height:0;margin:0;overflow:visible;transition:none;
}
body #basket .basket-board.is-secondary-tab .basket-watch-card .basket-favorite-card__store-mask{
 position:absolute;top:0;right:0;left:0;bottom:auto;
 height:calc(var(--basket-watch-collapsed-count)*var(--basket-watch-row-height));overflow:hidden;background:var(--basket-watch-surface);
 transition:top 850ms cubic-bezier(0.22,0.72,0.18,1),height 850ms cubic-bezier(0.22,0.72,0.18,1);
}
body #basket .basket-board.is-secondary-tab .basket-watch-card.is-stores-expanded .basket-favorite-card__store-mask{
 top:calc(-1*var(--basket-watch-extra-count)*var(--basket-watch-row-height));
 height:calc(var(--basket-watch-store-count)*var(--basket-watch-row-height));
}
body #basket .basket-board.is-secondary-tab .basket-watch-card .basket-favorite-card__store-motion{
 display:grid;grid-auto-rows:var(--basket-watch-row-height);gap:0;margin:0;padding:0;
 transform:translateY(0);transition:transform 850ms cubic-bezier(0.22,0.72,0.18,1);
}
/* Watch-only icon sizing: 15% above the shared 16px/14px baselines. */
body #basket .basket-board.is-secondary-tab .basket-watch-card{--basket-watch-store-icon-size:calc(16px * 1.15)}
body #basket .basket-board.is-secondary-tab .basket-watch-card .basket-favorite-card__store{height:var(--basket-watch-row-height);min-height:0;grid-template-columns:var(--basket-watch-store-icon-size) minmax(0,1fr) max-content}
body #basket .basket-board.is-secondary-tab .basket-watch-card .basket-favorite-card__store > :is(.basket-favorite-card__store-logo,.basket-favorite-card__store-name,strong){align-self:center}
body #basket .basket-board.is-secondary-tab .basket-watch-card .basket-favorite-card__store-logo{width:var(--basket-watch-store-icon-size);height:var(--basket-watch-store-icon-size);object-fit:contain}
@media(max-width:796px){body #basket .basket-board.is-secondary-tab .basket-watch-card{--basket-watch-store-icon-size:calc(14px * 1.15)}}
body #basket .basket-board.is-secondary-tab .basket-watch-card .basket-favorite-card__store-name{color:var(--basket-watch-muted)}
/* Reuse the shared Favorites disclosure control, including centering and interaction states. */
body #basket .basket-board.is-secondary-tab .basket-watch-card .basket-favorite-card__stores.is-empty{display:block;padding:0 0 var(--basket-watch-toggle-height);margin:0;font-size:12px;line-height:18px;color:var(--basket-watch-muted)}
.basket-watch-controls{display:flex;align-items:center;justify-content:space-between;gap:4px;min-width:0;height:var(--basket-watch-footer-height);padding-top:8px;border-top:1px solid var(--basket-watch-border)}
.basket-watch-state{display:block;flex:none;white-space:nowrap;font-size:12px;line-height:18px;font-weight:650;color:var(--basket-watch-fg)}
.basket-watch-state[data-status=paused]{color:var(--basket-watch-muted)}
.basket-watch-action{position:relative;display:inline-flex;align-items:center;justify-content:flex-end;gap:4px;min-width:44px;min-height:44px;height:44px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--basket-watch-fg);font:600 12px var(--basket-watch-font);cursor:pointer;white-space:nowrap;flex:none}
.basket-watch-target{display:block;white-space:nowrap;font:inherit;font-variant-numeric:tabular-nums}
.basket-watch-action svg{display:block;flex:none;width:16px;height:16px}
.basket-watch-action:hover{background:color-mix(in oklch,var(--basket-watch-fg) 7%,var(--basket-watch-surface));color:var(--basket-watch-fg)}
.basket-watch-action:active{background:color-mix(in oklch,var(--basket-watch-fg) 12%,var(--basket-watch-surface));color:var(--basket-watch-fg)}
.basket-watch-action:focus-visible{outline:2px solid var(--basket-watch-accent);outline-offset:2px;color:var(--basket-watch-fg)}
.basket-watch-action:disabled{opacity:.45;cursor:wait}
.basket-watch-tooltip{display:none;position:absolute;bottom:calc(100% + 4px);right:0;z-index:12;width:max-content;max-width:190px;padding:7px 9px;border-radius:6px;background:var(--basket-watch-fg);color:var(--basket-watch-surface);box-shadow:0 3px 12px color-mix(in oklch,var(--basket-watch-fg) 16%,transparent);font-size:11px;line-height:16px;text-align:left;white-space:normal;pointer-events:none}
.basket-watch-action:focus-visible .basket-watch-tooltip{display:block}
@media(hover:hover){.basket-watch-action:hover .basket-watch-tooltip{display:block}}
@media(max-width:796px){
 body #basket .basket-board.is-secondary-tab .basket-price-table > .basket-favorite-grid--watch{--basket-watch-card-pad:8px;--basket-watch-media-height:74px;--basket-watch-card-gap:8px;--basket-watch-title-height:72px;--basket-watch-pack-height:12px;--basket-watch-copy-height:88px;--basket-watch-row-height:23px;gap:8px}
}
@media(max-width:640px){body #basket .basket-board.is-secondary-tab .basket-price-table > .basket-favorite-grid--watch{grid-template-columns:minmax(0,1fr)}}
/* At 320px keep 12px footer type; reclaim only the Watch grid's outer inset. */
@media(max-width:360px){body #basket .basket-board.is-secondary-tab .basket-price-table > .basket-favorite-grid--watch{padding-inline:0}}
@media(prefers-reduced-motion:reduce){body #basket .basket-board.is-secondary-tab .basket-watch-card *{transition:none!important;animation:none!important}}

/* Availability takes precedence over pause; the text retains meaning without color. */
#basket .basket-watch-state{display:inline-flex;align-items:center;gap:4px}
#basket .basket-watch-indicator{display:block;flex:none;width:6px;height:6px;border-radius:50%;background:#079447}
#basket [data-watch-card-status="paused"] .basket-watch-indicator{background:#d6a000}
#basket [data-watch-card-status="unavailable"] .basket-watch-indicator{background:#cf3f3f}

/* Transient projection failures are not product unavailability. */
#basket [data-watch-card-status="loading"] .basket-watch-indicator{background:#d6a000}
#basket [data-watch-card-status="error"] .basket-watch-indicator{background:#cf3f3f}

/* Basket Favorites match the approved Watch icon dimensions (not another scale-up).
   Keep the existing 24px/20px rows and retailer pitch for the upward price mask. */
body #basket .basket-board.is-secondary-tab .basket-favorite-card[data-basket-favorite-card]{--basket-favorite-retailer-icon-size:18.4px;--basket-favorite-retailer-row-height:24px}
body #basket .basket-board.is-secondary-tab .basket-favorite-card[data-basket-favorite-card] .basket-favorite-card__store{height:var(--basket-favorite-retailer-row-height);grid-template-columns:var(--basket-favorite-retailer-icon-size) minmax(0,1fr) max-content;grid-template-rows:minmax(0,1fr)}
body #basket .basket-board.is-secondary-tab .basket-favorite-card[data-basket-favorite-card] .basket-favorite-card__store > :is(.basket-favorite-card__store-logo,.basket-favorite-card__store-name,strong){align-self:center}
body #basket .basket-board.is-secondary-tab .basket-favorite-card[data-basket-favorite-card] .basket-favorite-card__store-logo{width:var(--basket-favorite-retailer-icon-size);height:var(--basket-favorite-retailer-icon-size);object-fit:contain}
@media(max-width:796px){body #basket .basket-board.is-secondary-tab .basket-favorite-card[data-basket-favorite-card]{--basket-favorite-retailer-icon-size:16.1px;--basket-favorite-retailer-row-height:20px}}

/* Existing product toast action control, shared by the viewport notification root. */
.price-watch-toast__action { min-height: 36px; margin-top: 6px; padding: 0 10px; border: 1px solid rgba(255,255,255,.42); border-radius: 8px; color: #fff; background: transparent; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; pointer-events: auto; }
.price-watch-toast__action:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.price-watch-toast__copy { min-width: 0; overflow-wrap: anywhere; }
#priceWatchToastRegion[popover] { max-height: calc(100dvh - 32px); box-sizing: border-box; }

/* Owner reference: presentation of the existing viewport toast only. */
#priceWatchToastRegion,
#priceWatchToastRegion[popover] { inset: auto auto calc(var(--toast-bottom-clearance, 20px) + env(safe-area-inset-bottom) + var(--toast-keyboard-inset, 0px)) var(--toast-left-clearance, 20px); box-shadow: none; width: min(352px, var(--toast-available-width, calc(100vw - 24px))); padding: 6px; box-sizing: border-box; max-height: calc(var(--toast-viewport-height, 100dvh) - var(--toast-bottom-clearance, 20px) - 32px); overflow-y: auto; scrollbar-width: thin; }
#priceWatchToastRegion .price-watch-toast { --toast-accent: #079447; position: relative; display: grid; grid-template-columns: 20px minmax(0,1fr) 32px; align-items: start; gap: 10px; min-height: 64px; box-sizing: border-box; padding: 12px 10px 14px 14px; overflow: hidden; border: 1px solid #e5e7eb; border-radius: 16px; background: #fff; color: #344054; box-shadow: none; pointer-events: auto; font-family: var(--font-family-base, Manrope, system-ui, sans-serif); }
#priceWatchToastRegion .price-watch-toast.is-error { --toast-accent: #b42318; }
#priceWatchToastRegion .price-watch-toast.is-warning { --toast-accent: #916000; }
#priceWatchToastRegion .price-watch-toast.is-info { --toast-accent: #52657a; }
#priceWatchToastRegion .price-watch-toast__icon { width: 20px; height: 20px; margin-top: 2px; border-radius: 0; color: var(--toast-accent); background: transparent; }
#priceWatchToastRegion .price-watch-toast__icon svg { display: block; width: 20px; height: 20px; }
#priceWatchToastRegion .price-watch-toast__copy { padding-top: 2px; }
#priceWatchToastRegion .price-watch-toast__copy strong { color: #344054; font-size: 13px; line-height: 18px; font-weight: 750; }
#priceWatchToastRegion .price-watch-toast__copy > span { margin-top: 4px; color: #667085; font-size: 12px; line-height: 18px; }
#priceWatchToastRegion .price-watch-toast__copy > span:empty { display: none; }
#priceWatchToastRegion .price-watch-toast__close { display: grid; place-items: start center; width: 32px; height: 32px; padding: 3px 0 0; box-sizing: border-box; border: 0; border-radius: 8px; color: #667085; background: transparent; cursor: pointer; }
#priceWatchToastRegion .price-watch-toast__close svg { width: 16px; height: 16px; }
#priceWatchToastRegion .price-watch-toast__close:hover { color: #344054; background: transparent; box-shadow: none; }
#priceWatchToastRegion .price-watch-toast__action:focus-visible { outline: 2px solid #079447; outline-offset: 2px; }
#priceWatchToastRegion .price-watch-toast__close:focus-visible { outline: none; background: transparent; box-shadow: none; }
#priceWatchToastRegion .price-watch-toast__close:focus-visible svg { outline: 2px solid #079447; outline-offset: 3px; border-radius: 50%; }
#priceWatchToastRegion .price-watch-toast__action { min-height: 34px; margin-top: 10px; padding: 0 12px; border: 1px solid #067e3c; border-radius: 10px; color: #fff; background: #067e3c; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
#priceWatchToastRegion .price-watch-toast__action:hover { background: #066b34; }
#priceWatchToastRegion .price-watch-toast__progress { position: absolute; inset: auto 0 0; height: 2px; background: var(--toast-accent); transform-origin: left center; pointer-events: none; }
@media (max-width: 480px) {
  #priceWatchToastRegion .price-watch-toast { grid-template-columns: 20px minmax(0,1fr) 36px; }
  #priceWatchToastRegion .price-watch-toast__close { width: 36px; height: 36px; }
  #productWatchDialog[open] #priceWatchToastRegion {
    inset-block-start: calc(var(--toast-bottom-clearance, 12px) + env(safe-area-inset-top, 0px));
    inset-block-end: auto;
    width: min(352px, var(--toast-available-width, 100vw), calc(100vw - 88px));
  }
  #productWatchDialog[open] #priceWatchToastRegion .price-watch-toast { pointer-events: none; }
  #productWatchDialog[open] #priceWatchToastRegion .price-watch-toast__close { pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) { #priceWatchToastRegion .price-watch-toast { transition: none; transform: none; } }
