/** Shopify CDN: Minification failed

Line 894:4 Unexpected "{"
Line 894:5 Expected identifier but found "%"
Line 894:45 Unexpected "{"
Line 894:46 Expected identifier but found "%"

**/
.product-main .product-media {
  margin-top: calc(5 * var(--space-unit));
  margin-bottom: calc(5 * var(--space-unit));
}

.product-details__calc .h4 {
  margin-bottom: 1.1em;
}

@media (min-width: 769px) {
  :root {
    --product-column-padding: calc(8 * var(--space-unit));
    --product-info-width: max(47%, 440px);
  }
  .shopify-section:not(.product-details) {
    clear: both;
  }
  .product-breadcrumbs .breadcrumbs {
    width: calc(100% - var(--product-info-width));
    padding-inline-end: var(--product-column-padding);
    overflow: hidden;
  }
  .product-breadcrumbs + .product-main .product-media,
.product-breadcrumbs + .product-main .product-info {
    padding-top: 0;
  }
  .product-breadcrumbs + .product-main .product-info::before,
.product-breadcrumbs + .product-main .product-info::after {
    top: calc(-10 * var(--space-unit) - 1em - 2px);
  }
  .product-main .product-media,
.product-main + .product-details > .container {
    width: calc(100% - var(--product-info-width));
    float: left;
    clear: left;
  }
  .product-main .product-media {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: calc(10 * var(--space-unit));
    padding-bottom: calc(var(--section-gap) * var(--fluid-1-5) - 5px);
    padding-inline-end: var(--product-column-padding);
  }
  .product-main .product-info {
    position: relative;
    width: var(--product-info-width);
    padding: calc(10 * var(--space-unit)) 0 calc(var(--section-gap) * var(--fluid-1-5));
    padding-inline-start: var(--product-column-padding);
    float: right;
    background-color: rgba(var(--bg-color));
  }
  .product-main .sticky__scroll {
    min-height: var(--sticky-height, 0);
  }
  .sticky-scroll {
    position: -webkit-sticky;
    position: sticky;
    top: var(--header-end-padded, 48px);
    padding-bottom: 0;
  }
  .product-main + .product-details {
    max-width: calc(var(--page-width, 1320px) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 0 var(--gutter);
  }
  .product-main + .product-details > .container {
    max-width: none;
    margin: 0;
    padding-top: calc(2 * var(--space-unit));
    padding-bottom: calc(10 * var(--space-unit));
    padding-inline-start: 0;
    padding-inline-end: var(--product-column-padding);
  }
  .product-main + .product-details + .shopify-section::before {
    top: 1px;
  }
  [dir=rtl] .product-main .product-media,
[dir=rtl] .product-main + .product-details > .container {
    float: right;
    clear: right;
  }
  [dir=rtl] .product-main .product-info {
    float: left;
  }
  [dir=rtl] .product-main .product-info::before, [dir=rtl] .product-main .product-info::after {
    right: -1px;
    left: auto;
  }
}
@media (min-width: 1280px) {
  .product-main .product-media,
.product-main .product-info {
    padding-top: calc(12 * var(--space-unit));
  }
}

/* ===== Buybox Card ===== */
.ap-buybox{
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  margin-top: 2rem;
}

.ap-buybox__header{
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(0,0,0,.12);
  background: #fff;
  border-radius: 14px 14px 0px 0px;
}

.ap-buybox__title{
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.2;
}

/* ===== Options list ===== */
.ap-buybox__options{
  display: flex;
  flex-direction: column;
}

.ap-pack-option{
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  padding: 14px;
  border-top: 1px solid rgba(0,0,0,.12);
  cursor: pointer;
  background: #fff;
}

.ap-pack-option:first-child{
  border-top: 0;
}

.ap-pack-option.is-active{
  background: rgba(213,62,141,.12);
  /* box-shadow: inset 0 0 0 2px rgba(213,62,141,.25); */
}

.ap-pack-option.is-soldout{
  opacity: .55;
  cursor: not-allowed;
}

.ap-pack-option__radio{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* faux radio */
.ap-pack-option__ui{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid rgba(0,0,0,.35);
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.ap-pack-option.is-active .ap-pack-option__ui{
  border-color: rgba(213,62,141,.95);
}

.ap-pack-option.is-active .ap-pack-option__ui::after{
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(213,62,141,.95);
}


.ap-pack-option__content{
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.ap-pack-option__top{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: baseline;
}

.ap-pack-option__name{
  font-weight: 650;
  line-height: 1.2;
}

.ap-pack-option__prices{
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
  color: #D53E8D;
}

.ap-pack-option__price{
  font-weight: 800;
  font-size: 1.75rem;
}

.ap-pack-option__compare{
  text-decoration: line-through;
  opacity: 1;
  font-weight: 500;
  color: #7E7E7E;
}

.ap-pack-option__sub{
  font-size: 1.5rem;
  color: #1b7f4b;
}

.ap-pack-option__unit{
  font-size: 1.75rem;
  font-weight: 700;
}

/* ===== Qty row ===== */
.ap-buybox__qtyrow{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid rgba(0,0,0,.12);
  background: #fff;
}

.ap-buybox__qtylabel{
  font-weight: 650;
}

/* Let your existing quantity-input look “wireframe-ish” */
.ap-buybox__qty .qty-input{
  min-width: 160px;
}

.ap-buybox__qty .qty-input__btn{
  border-radius: 12px;
}

/* ===== CTA ===== */
.ap-buybox__cta{
  padding: 14px;
  border-top: 1px solid rgba(0,0,0,.12);
  background: #fff;
}

.ap-buybox__btn{
  border-radius: 12px;
  min-height: 48px;
}

.ap-buybox__trust{
  margin-top: 4px;
  font-size: 1.25rem;
  opacity: .85;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px){
  .ap-pack-option{ padding: 12px; }
  .ap-buybox__qtyrow{ grid-template-rows: 1fr; }
  .ap-buybox__qty .qty-input{ width: 100%; min-width: 0; }
}

.price__current {
  font-weight: 800;
  font-size: 3.5rem;
}

button.btn.btn--primary.w-full.ap-buybox__btn {
  font-size: 1.75rem;
}

/* Make each option row a stable 3-column layout */
.ap-buybox .ap-pack-option{
  display: grid;
  grid-template-columns: 44px 1fr; /* lead | content */
  column-gap: 12px;
  align-items: center;
  padding: 14px 14px;
}

/* hide the native radio */
.ap-buybox .ap-pack-option__radio{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* lead column */
.ap-buybox .ap-pack-option__lead{
  display: grid;
  place-items: center;
  width: 44px;
}




/* content */
.ap-buybox .ap-pack-option__content{
  min-width: 0;
}

/* sold-out styling */
.ap-buybox .ap-pack-option.is-soldout{
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.15);
  opacity: 0.95;
  cursor: not-allowed;
  pointer-events: none;
}

/* OOS badge (now NOT absolute, so it won't overlap) */
.ap-buybox .ap-pack-option__oos{
  width: 44px;
  height: 44px;
  border: 2px solid rgba(0,0,0,0.55);
  background: rgba(255,255,255,0.9);
  display: grid;
  place-items: center;
  border-radius: 8px;
}

.ap-buybox .ap-pack-option__oos span{
  font-weight: 800;
  font-size: 8px;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: center;
  color: rgba(0,0,0,0.85);
}

/* Default (PDP): show AP buybox, hide legacy */
.ap-buybox-wrap--pdp { display:block; }
.ap-buybox-wrap--legacy { display:none; }
.ap-variantpicker-legacy { display:none; }

/* Quick Add Drawer: hide AP buybox, show legacy + old variant picker */
quick-add-drawer .ap-buybox-wrap--pdp { display:none !important; }
quick-add-drawer .ap-buybox-wrap--legacy { display:block !important; }
quick-add-drawer .ap-variantpicker-legacy { display:block !important; }
/* Quick add: hide inventory widget/indicator */
quick-add-drawer .ap-inventory-inline{
  display:none !important;
}

/* Safety: hide common inventory indicator nodes if your snippet outputs them */
quick-add-drawer .product-inventory,
quick-add-drawer .product-inventory__indicator,
quick-add-drawer .inventory-status,
quick-add-drawer .inventory-status__indicator{
  display:none !important;
}

/* AP Buybox - Quantity buttons as circular clickable controls */
.ap-buybox__qty .quantity {
  display: inline-flex;
  align-items: center;
  gap: 10px; /* space between - / input / + */
}

.ap-buybox__qty .quantity__button {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.18);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  /* make it feel clickable */
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  transition: transform 0.08s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ap-buybox__qty .quantity__button:hover {
  border-color: rgba(0,0,0,0.35);
  box-shadow: 0 6px 16px rgba(0,0,0,0.10);
  transform: translateY(-1px);
}

.ap-buybox__qty .quantity__button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

/* keyboard focus */
.ap-buybox__qty .quantity__button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(213, 62, 141, 0.25); /* your brand pink */
  border-color: #D53E8D;
}

/* keep the number input tidy */
.ap-buybox__qty .quantity__input {
  width: 64px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.18);
  text-align: center;
  font-weight: 600;
}

/* if icons inside are SVGs, size them nicely */
.ap-buybox__qty .quantity__button svg {
  width: 16px;
  height: 16px;
}

/* ================================
   AP Buybox — Quantity selector as real buttons
   Scoped to the buybox only
================================== */

.ap-buybox__qty .quantity{
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

/* make the minus/plus feel like buttons */
.ap-buybox__qty .quantity__button{
  width: 44px;
  min-width: 44px;
  height: 44px;
  border: 0;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.08s ease;
  -webkit-tap-highlight-color: transparent;
}

/* subtle separators like button groups */
.ap-buybox__qty .quantity__button[name="minus"],
.ap-buybox__qty .quantity__button.quantity__button--minus{
  border-right: 1px solid rgba(0,0,0,0.10);
}
.ap-buybox__qty .quantity__button[name="plus"],
.ap-buybox__qty .quantity__button.quantity__button--plus{
  border-left: 1px solid rgba(0,0,0,0.10);
}

.ap-buybox__qty .quantity__button:hover{
  background: rgba(0,0,0,0.04);
}
.ap-buybox__qty .quantity__button:active{
  transform: scale(0.98);
}

/* brand focus ring */
.ap-buybox__qty .quantity__button:focus-visible{
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(213, 62, 141, 0.55);
}

/* the number input */
.ap-buybox__qty .quantity__input{
  width: 66px;
  height: 44px;
  border: 0;
  background: #fff;
  text-align: center;
  font-weight: 700;
  padding: 0;
  box-shadow: none;
}

/* remove any browser spin buttons */
.ap-buybox__qty input[type="number"]::-webkit-outer-spin-button,
.ap-buybox__qty input[type="number"]::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
}
.ap-buybox__qty input[type="number"]{
  -moz-appearance: textfield;
}

/* icon sizing (covers svg or inline icon) */
.ap-buybox__qty .quantity__button svg{
  width: 16px;
  height: 16px;
}

/* disabled state */
.ap-buybox__qty .quantity__button:disabled{
  opacity: 0.45;
  cursor: not-allowed;
  background: #fff;
}


/* AP Buybox — Force button-like quantity selector (Canopy catch-all) */
.ap-buybox__qty :is(.quantity, .qty-input, .quantity-input, .product-qty, .quantity-selector){
  display: inline-flex !important;
  align-items: stretch !important;
  gap: 0 !important;
  border: 1px solid rgba(0,0,0,0.18) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06) !important;
}

/* Buttons (minus/plus) */
.ap-buybox__qty :is(.quantity, .qty-input, .quantity-input, .product-qty, .quantity-selector)
  :is(button, .quantity__button, .qty-input__btn, .quantity-input__button){
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  border: 0 !important;
  background: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background 0.15s ease, transform 0.08s ease !important;
  -webkit-tap-highlight-color: transparent !important;
}

.ap-buybox__qty :is(.quantity, .qty-input, .quantity-input, .product-qty, .quantity-selector)
  :is(button, .quantity__button, .qty-input__btn, .quantity-input__button):hover{
  background: rgba(0,0,0,0.04) !important;
}

.ap-buybox__qty :is(.quantity, .qty-input, .quantity-input, .product-qty, .quantity-selector)
  :is(button, .quantity__button, .qty-input__btn, .quantity-input__button):active{
  transform: scale(0.98) !important;
}

.ap-buybox__qty :is(.quantity, .qty-input, .quantity-input, .product-qty, .quantity-selector)
  :is(button, .quantity__button, .qty-input__btn, .quantity-input__button):focus-visible{
  outline: none !important;
  box-shadow: inset 0 0 0 2px rgba(213, 62, 141, 0.55) !important;
}

/* Number input */
.ap-buybox__qty :is(.quantity, .qty-input, .quantity-input, .product-qty, .quantity-selector)
  :is(input[type="number"], .quantity__input, .qty-input__input, .quantity-input__input){
  width: 66px !important;
  height: 44px !important;
  border: 0 !important;
  background: #fff !important;
  text-align: center !important;
  font-weight: 700 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* Remove native number spinners */
.ap-buybox__qty input[type="number"]::-webkit-outer-spin-button,
.ap-buybox__qty input[type="number"]::-webkit-inner-spin-button{
  -webkit-appearance: none !important;
  margin: 0 !important;
}
.ap-buybox__qty input[type="number"]{
  -moz-appearance: textfield !important;
}

/* SVG icon sizing */
.ap-buybox__qty svg{
  width: 16px !important;
  height: 16px !important;
}

/* AP Buybox — split qty into 3 separate bordered buttons (no outer border) */
.ap-buybox__qty :is(.quantity, .qty-input, .quantity-input, .product-qty, .quantity-selector){
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  overflow: visible !important;
  gap: 10px !important; /* spacing between the 3 "buttons" */
  border-radius: 0 !important;
}

/* Minus / plus buttons: their OWN borders */
.ap-buybox__qty :is(.quantity, .qty-input, .quantity-input, .product-qty, .quantity-selector)
  :is(button, .quantity__button, .qty-input__btn, .quantity-input__button){
  border: 1px solid rgba(0,0,0,0.18) !important;
  border-radius: 14px !important;   /* round like a button */
  box-shadow: 0 1px 0 rgba(0,0,0,0.06) !important;
}

/* Remove the "divider" borders we added earlier */
.ap-buybox__qty :is(.quantity, .qty-input, .quantity-input, .product-qty, .quantity-selector)
  :is(.quantity__button--minus, .quantity__button--plus, [name="minus"], [name="plus"]){
  border-left: 1px solid rgba(0,0,0,0.18) !important;
  border-right: 1px solid rgba(0,0,0,0.18) !important;
}

/* Make the number input its own bordered pill */
.ap-buybox__qty :is(.quantity, .qty-input, .quantity-input, .product-qty, .quantity-selector)
  :is(input[type="number"], .quantity__input, .qty-input__input, .quantity-input__input){
  border: 1px solid rgba(0,0,0,0.18) !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06) !important;
}

/* Hover/focus still feel clickable */
.ap-buybox__qty :is(.quantity, .qty-input, .quantity-input, .product-qty, .quantity-selector)
  :is(button, .quantity__button, .qty-input__btn, .quantity-input__button):hover,
.ap-buybox__qty :is(.quantity, .qty-input, .quantity-input, .product-qty, .quantity-selector)
  :is(input[type="number"], .quantity__input, .qty-input__input, .quantity-input__input):hover{
  border-color: rgba(0,0,0,0.35) !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.10) !important;
  transform: translateY(-1px);
}

.ap-buybox__qty :is(button, .quantity__button, .qty-input__btn, .quantity-input__button):active{
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0,0,0,0.10) !important;
}

.ap-buybox__qty :is(button, .quantity__button, .qty-input__btn, .quantity-input__button):focus-visible,
.ap-buybox__qty :is(input[type="number"], .quantity__input, .qty-input__input, .quantity-input__input):focus-visible{
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(213, 62, 141, 0.25) !important;
  border-color: #D53E8D !important;
}


/* AP Qty Toast */
.ap-buybox { position: relative; }

.ap-qty-toast{
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  bottom: 86px; /* sits above ATC button area; tweak if needed */
  z-index: 50;

  background: rgba(17,17,17,.92);
  color: #fff;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);

  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.ap-qty-toast.is-show{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

button.btn.btn--primary.w-full.ap-buybox__btn {
  background: #007E5B;
}

/* PDP Back breadcrumb button */
.breadcrumbs {
  gap: 10px;
}

.breadcrumbs-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;

    /* ✅ smooth hover */
  transition:
    transform 180ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
  will-change: transform;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

.breadcrumbs-back__icon {
  font-size: 18px;
  line-height: 1;
  margin-top: -1px;
}

.breadcrumbs-back:hover {
  border-color: rgba(0,0,0,0.28);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

.breadcrumbs-back:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.breadcrumbs-back:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(213, 62, 141, 0.22);
  border-color: #D53E8D;
}

/* Optional: on very small screens keep it compact */
@media (max-width: 420px) {
  .breadcrumbs-back {
    padding: 7px 9px;
    border-radius: 9px;
  }
  .breadcrumbs-back__text {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce){
  .breadcrumbs-back{ transition:none; }
}

.ap-buybox__wishlist-row{
  display:flex;
  align-items:center;
  gap:10px;
}

/* Make sure the injected wishlist button can shrink nicely */
.ap-buybox__wishlist-row .gw-wl-add-to-wishlist-placeholder{
  flex: 1 1 auto;
  min-width: 0;
}

/* IMPORTANT: tooltip must be able to overflow */
.ap-buybox, .ap-buybox__cta, .ap-buybox__wishlist-wrap{
  overflow: visible;
}

/* If any parent up the tree has overflow:hidden, this helps.
   (Safe: only affects this tooltip box area) */
.ap-wishlist-tipbox{
  z-index: 9999;
}

.ap-buybox__cta {
  border-radius: 14px 14px 0px 0px;
}

.ap-wishlist-tiplink{
  text-decoration: underline;
  font-weight: 600;
}
.ap-wishlist-tiplink:hover{
  opacity: .85;
}

.alert.mb-8.bg-error-bg.text-error-text.js-form-error.text-start {
    border-radius: 12px;
    border: none;
    margin-bottom: 0px;
}

/* Make the qty area stack: alerts row + qty controls row */
.ap-buybox__qtyrow{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Alerts row should sit inside the qty box but take full width */
.ap-buybox__qtyalerts{
  display: grid;
  gap: 8px;
  width: 100%;
}

/* Keep toast + alert tight (remove the big mb-8 spacing visually) */
.ap-buybox__qtyalerts .alert{

  border-radius: 12px;
border: none;
}

/* Your original "row" stays as a row */
.ap-buybox__qtymain{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Optional: if label wraps on mobile */
@media (max-width: 768px){

  .ap-buybox__qtylabel{
    width: 100%;
  }
}

/* Main row = same as before: left label, right qty */
.ap-buybox__qtymain{
  display: flex;
  align-items: center;
  justify-content: space-between; /* ✅ left/right split */
  width: 100%;
  gap: 12px;
}

.ap-buybox__qtylabel{
  margin: 0;
  flex: 1 1 auto;          /* ✅ stays on left */
}

.ap-buybox__qty{
  flex: 0 0 auto;          /* ✅ stays on right */
  margin-left: auto;       /* ✅ force right edge */
}

.apao-box{ border:1px solid rgba(var(--text-color)/.15); border-radius:14px; overflow:hidden; background:#fff; margin-top:2rem; }
      .apao-header{ padding:12px 12px 10px; }
      .apao-header__title{ color:#D53E8D; font-weight:600; line-height:1.2; margin:0 0 2px 0; font-size:1.75rem; }
      .apao-header__subtitle{ color:#1a1a1a; font-size:1.25rem; line-height:1.3; margin:0; }
      @media (min-width:992px){ .apao-header{ padding:16px 20px 8px; } }

      .apao-card{ display:grid; grid-template-columns:72px 1fr auto; gap:12px; align-items:center; padding:12px; background:#fff; border-top:1px solid #eee; border-radius:0; }
      .apao-media{ display:block; border-radius:12px; overflow:hidden; align-self:center; }
      .apao-img{ width:100%; height:100%; object-fit:cover; display:block; aspect-ratio:1/1; }
      .apao-img--ph{ background:#fafafa; }
      .apao-info{ display:flex; flex-direction:column; gap:6px; align-self:center; }
      .apao-title{ font-weight:500; line-height:1.25; margin:0; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; text-decoration:none; color:inherit; }
      .apao-price .price, .apao-price__text{ font-weight:700; margin:0; white-space:nowrap; }

      @media (min-width:992px){
        .apao-card{ gap:18px; padding:18px 20px; }
        .apao-title{ -webkit-line-clamp:1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:1.5rem; }
      }

      .apao-sec .card--related{ margin:0 !important; }
      .apao-card product-form, .apao-card .js-product-form{ margin:0 !important; padding:0 !important; border:0 !important; }
      .apao-card .card__buttons{ margin:0 !important; padding:0 !important; }

      /* --- DESKTOP (≥992px) --- */
@media (min-width: 992px){
  /* 1) Freeze the three columns: image | info (can shrink) | button (fixed) */
  .apao-card{
    column-gap: 18px;
    align-items: center;
    padding: 18px 20px;

  }

  /* 2) Allow the middle column to actually shrink so ellipsis can work */
  .apao-info{ min-width: 0; display: flex; flex-direction: column; gap: 6px; }

  /* 3) Single-line title with ellipsis */
  .apao-title{
    white-space: break-spaces;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: unset;   /* ensure single line on desktop */
    {% comment %} -webkit-box-orient: unset; {% endcomment %}
    font-size: 1.5rem;
  }

  /* 4) Keep the button in its own fixed column and prevent shrinking */
  .card__buttons{
    grid-column: 3;
    justify-self: end;
    align-self: center;
    min-width: 52px;
    display: flex;
    flex-shrink: 0;
    margin: 0 !important;
    padding: 0 !important;
  }

  .apao-add{
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 12px;
  }

  .apao-add__label{ display: none; }
  .apao-add svg{ width: 20px; height: 20px; }
}

  /* AP Buybox - Quantity buttons as circular clickable controls */
.ap-buybox__qty .quantity {
  display: inline-flex;
  align-items: center;
  gap: 10px; /* space between - / input / + */
}

.ap-buybox__qty .quantity__button {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.18);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  /* make it feel clickable */
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  transition: transform 0.08s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ap-buybox__qty .quantity__button:hover {
  border-color: rgba(0,0,0,0.35);
  box-shadow: 0 6px 16px rgba(0,0,0,0.10);
  transform: translateY(-1px);
}

.ap-buybox__qty .quantity__button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

/* keyboard focus */
.ap-buybox__qty .quantity__button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(213, 62, 141, 0.25); /* your brand pink */
  border-color: #D53E8D;
}

/* keep the number input tidy */
.ap-buybox__qty .quantity__input {
  width: 64px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.18);
  text-align: center;
  font-weight: 600;
}

/* if icons inside are SVGs, size them nicely */
.ap-buybox__qty .quantity__button svg {
  width: 16px;
  height: 16px;
}