/* Shared quantity presentation approved from the basket screenshot.
   Exact enhanced steppers only; native inputs, summaries and commerce remain
   authoritative. Separate existing layers preserve cascade priority regardless
   of which compact stylesheet WordPress first declares. No viewport restriction. */
@layer rtf-basket-compact {
  html body :is(
    #cartDrawer.cart-drawer.rtf-cart-drawer .rtf-mini-cart-qty-stepper,
    #MainContent .pdp-purchase-card .pdp-qty-stepper,
    #MainContent .cart-page-qty-stepper,
    #MainContent .rtf-block-qty,
    .product-controls .qty-stepper
  ):not([hidden]):has(> .rtf-cart-qty-measure[aria-live]) {
    display:grid !important;
    grid-template-columns:44px minmax(0,1fr) 44px !important;
    align-items:center !important;
    gap:6px !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    height:auto !important;
    min-height:44px !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }
  html body :is(
    #cartDrawer.cart-drawer.rtf-cart-drawer .rtf-mini-cart-qty-stepper,
    #MainContent .pdp-purchase-card .pdp-qty-stepper,
    #MainContent .cart-page-qty-stepper,
    #MainContent .rtf-block-qty,
    .product-controls .qty-stepper
  ):not([hidden]):has(> .rtf-cart-qty-measure[aria-live]) > :is(.rtf-mini-cart-qty-button, .pdp-qty-minus, .pdp-qty-plus, .cart-page-qty-minus, .cart-page-qty-plus, .qty-minus, .qty-plus, .wl-qty-button):not([hidden]) {
    align-self:center !important;
    width:44px !important;
    min-width:44px !important;
    max-width:44px !important;
    height:44px !important;
    min-height:44px !important;
    margin:0 !important;
    padding:0 !important;
    border:1px solid var(--line) !important;
    border-radius:10px !important;
    border-start-start-radius:10px !important;
    border-start-end-radius:10px !important;
    border-end-start-radius:10px !important;
    border-end-end-radius:10px !important;
    background:var(--surface-sunken) !important;
    color:var(--brand-strong) !important;
    box-shadow:none !important;
    font-size:1.375rem !important;
    line-height:1 !important;
  }
  html body :is(
    #cartDrawer.cart-drawer.rtf-cart-drawer .rtf-mini-cart-qty-stepper,
    #MainContent .pdp-purchase-card .pdp-qty-stepper,
    #MainContent .cart-page-qty-stepper,
    #MainContent .rtf-block-qty,
    .product-controls .qty-stepper
  ):not([hidden]):has(> .rtf-cart-qty-measure[aria-live]) > :is(.rtf-mini-cart-qty-button--minus, .pdp-qty-minus, .cart-page-qty-minus, .qty-minus, .wl-qty-button:first-child) {
    grid-column:1 !important;
    grid-row:1 !important;
  }
  html body :is(
    #cartDrawer.cart-drawer.rtf-cart-drawer .rtf-mini-cart-qty-stepper,
    #MainContent .pdp-purchase-card .pdp-qty-stepper,
    #MainContent .cart-page-qty-stepper,
    #MainContent .rtf-block-qty,
    .product-controls .qty-stepper
  ):not([hidden]):has(> .rtf-cart-qty-measure[aria-live]) > :is(.rtf-mini-cart-qty-button--plus, .pdp-qty-plus, .cart-page-qty-plus, .qty-plus, .wl-qty-button:last-child) {
    grid-column:3 !important;
    grid-row:1 !important;
  }
  html body :is(
    #cartDrawer.cart-drawer.rtf-cart-drawer .rtf-mini-cart-qty-stepper,
    #MainContent .pdp-purchase-card .pdp-qty-stepper,
    #MainContent .cart-page-qty-stepper,
    #MainContent .rtf-block-qty,
    .product-controls .qty-stepper
  ):not([hidden]):has(> .rtf-cart-qty-measure[aria-live]) > .rtf-cart-qty-measure[aria-live]:not([hidden]) {
    grid-column:2 !important;
    grid-row:1 !important;
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:wrap !important;
    align-items:baseline !important;
    justify-content:center !important;
    gap:0 8px !important;
    width:auto !important;
    max-width:100% !important;
    min-width:0 !important;
    height:auto !important;
    min-height:44px !important;
    margin:0 !important;
    padding:4px 0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
    text-align:center !important;
  }
  html body :is(
    #cartDrawer.cart-drawer.rtf-cart-drawer .rtf-mini-cart-qty-stepper,
    #MainContent .pdp-purchase-card .pdp-qty-stepper,
    #MainContent .cart-page-qty-stepper,
    #MainContent .rtf-block-qty,
    .product-controls .qty-stepper
  ):not([hidden]):has(> .rtf-cart-qty-measure[aria-live]) > .rtf-cart-qty-measure > .rtf-cart-qty-primary {
    order:0 !important;
    flex:0 1 auto !important;
    flex-wrap:wrap !important;
    justify-content:center !important;
    max-width:100% !important;
    min-width:0 !important;
    gap:4px !important;
  }
  html body :is(
    #cartDrawer.cart-drawer.rtf-cart-drawer .rtf-mini-cart-qty-stepper,
    #MainContent .pdp-purchase-card .pdp-qty-stepper,
    #MainContent .cart-page-qty-stepper,
    #MainContent .rtf-block-qty,
    .product-controls .qty-stepper
  ):not([hidden]):has(> .rtf-cart-qty-measure[aria-live]) .rtf-cart-qty-count {
    font-size:.9375rem !important;
    font-weight:700 !important;
    line-height:1.4 !important;
  }
  html body :is(
    #cartDrawer.cart-drawer.rtf-cart-drawer .rtf-mini-cart-qty-stepper,
    #MainContent .pdp-purchase-card .pdp-qty-stepper,
    #MainContent .cart-page-qty-stepper,
    #MainContent .rtf-block-qty,
    .product-controls .qty-stepper
  ):not([hidden]):has(> .rtf-cart-qty-measure[aria-live]) .rtf-cart-qty-noun {
    font-size:.6875rem !important;
    font-weight:600 !important;
    line-height:1.4 !important;
  }
  html body :is(
    #cartDrawer.cart-drawer.rtf-cart-drawer .rtf-mini-cart-qty-stepper,
    #MainContent .pdp-purchase-card .pdp-qty-stepper,
    #MainContent .cart-page-qty-stepper,
    #MainContent .rtf-block-qty,
    .product-controls .qty-stepper
  ):not([hidden]):has(> .rtf-cart-qty-measure[aria-live]) > .rtf-cart-qty-measure > .rtf-cart-qty-price {
    order:1 !important;
    flex:0 1 auto !important;
    max-width:100% !important;
    min-width:0 !important;
    font-size:.8125rem !important;
    font-weight:600 !important;
    line-height:1.4 !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
  }
  html body :is(
    #cartDrawer.cart-drawer.rtf-cart-drawer .rtf-mini-cart-qty-stepper,
    #MainContent .pdp-purchase-card .pdp-qty-stepper,
    #MainContent .cart-page-qty-stepper,
    #MainContent .rtf-block-qty,
    .product-controls .qty-stepper
  ):not([hidden]):has(> .rtf-cart-qty-measure[aria-live]) > .rtf-cart-qty-measure > .rtf-cart-qty-calculation {
    order:2 !important;
    flex:0 1 100% !important;
    min-width:0 !important;
    font-size:.75rem !important;
    font-weight:400 !important;
    line-height:1.4 !important;
    text-align:center !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
    color:var(--ink-muted) !important;
  }
  html body :is(
    #cartDrawer.cart-drawer.rtf-cart-drawer .rtf-mini-cart-qty-stepper,
    #MainContent .pdp-purchase-card .pdp-qty-stepper,
    #MainContent .cart-page-qty-stepper,
    #MainContent .rtf-block-qty,
    .product-controls .qty-stepper
  ):not([hidden]):has(> .rtf-cart-qty-measure[aria-live]) > :is(.rtf-mini-cart-qty-button, .pdp-qty-minus, .pdp-qty-plus, .cart-page-qty-minus, .cart-page-qty-plus, .qty-minus, .qty-plus, .wl-qty-button):not([hidden]):not(:disabled):hover {
    background:var(--brand-wash) !important;
    color:var(--ink) !important;
  }
  html body :is(
    #cartDrawer.cart-drawer.rtf-cart-drawer .rtf-mini-cart-qty-stepper,
    #MainContent .pdp-purchase-card .pdp-qty-stepper,
    #MainContent .cart-page-qty-stepper,
    #MainContent .rtf-block-qty,
    .product-controls .qty-stepper
  ):not([hidden]):has(> .rtf-cart-qty-measure[aria-live]) > :is(.rtf-mini-cart-qty-button, .pdp-qty-minus, .pdp-qty-plus, .cart-page-qty-minus, .cart-page-qty-plus, .qty-minus, .qty-plus, .wl-qty-button):not([hidden]):focus-visible {
    outline:2px solid var(--brand-strong) !important;
    outline-offset:-4px !important;
  }
}
@layer rtf-wishlist-compact {
  html body #wishlistPanel.wishlist-drawer .wl-qty-stepper:not([hidden]):has(> .rtf-cart-qty-measure[aria-live]) {
    display:grid !important;
    grid-template-columns:44px minmax(0,1fr) 44px !important;
    align-items:center !important;
    gap:6px !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    height:auto !important;
    min-height:44px !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }
  html body #wishlistPanel.wishlist-drawer .wl-qty-stepper:not([hidden]):has(> .rtf-cart-qty-measure[aria-live]) > :is(.rtf-mini-cart-qty-button, .pdp-qty-minus, .pdp-qty-plus, .cart-page-qty-minus, .cart-page-qty-plus, .qty-minus, .qty-plus, .wl-qty-button):not([hidden]) {
    align-self:center !important;
    width:44px !important;
    min-width:44px !important;
    max-width:44px !important;
    height:44px !important;
    min-height:44px !important;
    margin:0 !important;
    padding:0 !important;
    border:1px solid var(--line) !important;
    border-radius:10px !important;
    border-start-start-radius:10px !important;
    border-start-end-radius:10px !important;
    border-end-start-radius:10px !important;
    border-end-end-radius:10px !important;
    background:var(--surface-sunken) !important;
    color:var(--brand-strong) !important;
    box-shadow:none !important;
    font-size:1.375rem !important;
    line-height:1 !important;
  }
  html body #wishlistPanel.wishlist-drawer .wl-qty-stepper:not([hidden]):has(> .rtf-cart-qty-measure[aria-live]) > :is(.rtf-mini-cart-qty-button--minus, .pdp-qty-minus, .cart-page-qty-minus, .qty-minus, .wl-qty-button:first-child) {
    grid-column:1 !important;
    grid-row:1 !important;
  }
  html body #wishlistPanel.wishlist-drawer .wl-qty-stepper:not([hidden]):has(> .rtf-cart-qty-measure[aria-live]) > :is(.rtf-mini-cart-qty-button--plus, .pdp-qty-plus, .cart-page-qty-plus, .qty-plus, .wl-qty-button:last-child) {
    grid-column:3 !important;
    grid-row:1 !important;
  }
  html body #wishlistPanel.wishlist-drawer .wl-qty-stepper:not([hidden]):has(> .rtf-cart-qty-measure[aria-live]) > .rtf-cart-qty-measure[aria-live]:not([hidden]) {
    grid-column:2 !important;
    grid-row:1 !important;
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:wrap !important;
    align-items:baseline !important;
    justify-content:center !important;
    gap:0 8px !important;
    width:auto !important;
    max-width:100% !important;
    min-width:0 !important;
    height:auto !important;
    min-height:44px !important;
    margin:0 !important;
    padding:4px 0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
    text-align:center !important;
  }
  html body #wishlistPanel.wishlist-drawer .wl-qty-stepper:not([hidden]):has(> .rtf-cart-qty-measure[aria-live]) > .rtf-cart-qty-measure > .rtf-cart-qty-primary {
    order:0 !important;
    flex:0 1 auto !important;
    flex-wrap:wrap !important;
    justify-content:center !important;
    max-width:100% !important;
    min-width:0 !important;
    gap:4px !important;
  }
  html body #wishlistPanel.wishlist-drawer .wl-qty-stepper:not([hidden]):has(> .rtf-cart-qty-measure[aria-live]) .rtf-cart-qty-count {
    font-size:.9375rem !important;
    font-weight:700 !important;
    line-height:1.4 !important;
  }
  html body #wishlistPanel.wishlist-drawer .wl-qty-stepper:not([hidden]):has(> .rtf-cart-qty-measure[aria-live]) .rtf-cart-qty-noun {
    font-size:.6875rem !important;
    font-weight:600 !important;
    line-height:1.4 !important;
  }
  html body #wishlistPanel.wishlist-drawer .wl-qty-stepper:not([hidden]):has(> .rtf-cart-qty-measure[aria-live]) > .rtf-cart-qty-measure > .rtf-cart-qty-price {
    order:1 !important;
    flex:0 1 auto !important;
    max-width:100% !important;
    min-width:0 !important;
    font-size:.8125rem !important;
    font-weight:600 !important;
    line-height:1.4 !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
  }
  html body #wishlistPanel.wishlist-drawer .wl-qty-stepper:not([hidden]):has(> .rtf-cart-qty-measure[aria-live]) > .rtf-cart-qty-measure > .rtf-cart-qty-calculation {
    order:2 !important;
    flex:0 1 100% !important;
    min-width:0 !important;
    font-size:.75rem !important;
    font-weight:400 !important;
    line-height:1.4 !important;
    text-align:center !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
    color:var(--ink-muted) !important;
  }
  html body #wishlistPanel.wishlist-drawer .wl-qty-stepper:not([hidden]):has(> .rtf-cart-qty-measure[aria-live]) > :is(.rtf-mini-cart-qty-button, .pdp-qty-minus, .pdp-qty-plus, .cart-page-qty-minus, .cart-page-qty-plus, .qty-minus, .qty-plus, .wl-qty-button):not([hidden]):not(:disabled):hover {
    background:var(--brand-wash) !important;
    color:var(--ink) !important;
  }
  html body #wishlistPanel.wishlist-drawer .wl-qty-stepper:not([hidden]):has(> .rtf-cart-qty-measure[aria-live]) > :is(.rtf-mini-cart-qty-button, .pdp-qty-minus, .pdp-qty-plus, .cart-page-qty-minus, .cart-page-qty-plus, .qty-minus, .qty-plus, .wl-qty-button):not([hidden]):focus-visible {
    outline:2px solid var(--brand-strong) !important;
    outline-offset:-4px !important;
  }
}
