/* Sea PDP — export-html parity. Loaded last to beat front-ecommerce.css */

body.page-product-detail {
  --pdp-radius: 1.25rem;
  --pdp-radius-lg: 2rem;
}

/* Nested main from old templates → treat as block */
body.page-product-detail main main,
body.page-product-detail .pdp-main {
  display: block;
  width: min(100% - 2rem, 1280px) !important;
  max-width: 1280px !important;
  margin-inline: auto !important;
  padding-block: 1rem 2.5rem !important;
  padding-inline: 0 !important;
}

body.page-product-detail .sea-pdp,
body.page-product-detail .bb-product-detail {
  width: 100% !important;
  max-width: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.page-product-detail .sea-pdp-layout {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1.25rem !important;
  width: 100% !important;
  align-items: start !important;
}

@media (min-width: 992px) {
  body.page-product-detail .sea-pdp-layout {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr) !important;
    gap: 2rem 3rem !important;
  }
}

/* —— Gallery —— */
body.page-product-detail .sea-pdp-gallery {
  display: grid !important;
  gap: 0.85rem !important;
}
body.page-product-detail .sea-pdp-gallery .pdp-gallery,
body.page-product-detail .pdp-gallery {
  position: relative !important;
  aspect-ratio: 1 / 1 !important;
  background: rgb(241 245 249 / 55%) !important;
  border-radius: var(--pdp-radius) !important;
  overflow: hidden !important;
  border: 1px solid rgb(203 213 225 / 40%) !important;
  box-shadow: 0 8px 24px rgb(15 23 42 / 6%) !important;
}
@media (min-width: 768px) {
  body.page-product-detail .sea-pdp-gallery .pdp-gallery {
    border-radius: var(--pdp-radius-lg) !important;
    border-width: 4px !important;
    border-color: #fff !important;
    box-shadow: 0 12px 32px rgb(15 23 42 / 10%) !important;
  }
}
body.page-product-detail .sea-pdp-gallery__light,
body.page-product-detail .sea-pdp-gallery__light img,
body.page-product-detail .pdp-gallery img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 0.35rem !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  transition: transform 0.7s ease !important;
}
body.page-product-detail .pdp-gallery:hover img {
  transform: none;
}
body.page-product-detail .sea-pdp-gallery__stage {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  cursor: zoom-in !important;
  touch-action: pan-y !important;
}
body.page-product-detail .sea-pdp-gallery__stage img.is-sea-swap {
  animation: none;
}
body.page-product-detail .sea-pdp-gallery-lg {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
}
body.page-product-detail .sea-pdp-gallery__tools {
  display: flex !important;
  position: absolute !important;
  bottom: 1.25rem !important;
  inset-inline-end: 1.25rem !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
  z-index: 2 !important;
}
body.page-product-detail .sea-pdp-gallery__tool {
  width: 2.5rem !important;
  height: 2.5rem !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: rgb(255 255 255 / 85%) !important;
  color: var(--primary) !important;
  display: grid !important;
  place-items: center !important;
  box-shadow: 0 4px 12px rgb(15 23 42 / 12%) !important;
  backdrop-filter: blur(8px);
}
body.page-product-detail .sea-pdp-thumbs {
  display: flex !important;
  gap: 0.65rem !important;
  overflow-x: auto !important;
  padding-bottom: 0.25rem !important;
  scrollbar-width: none;
}
body.page-product-detail .sea-pdp-thumbs::-webkit-scrollbar { display: none; }
body.page-product-detail .sea-pdp-thumb {
  width: 4rem !important;
  height: 4rem !important;
  flex-shrink: 0 !important;
  border-radius: 0.85rem !important;
  border: 2px solid transparent !important;
  background: rgb(241 245 249 / 55%) !important;
  padding: 0.35rem !important;
  overflow: hidden !important;
  cursor: pointer !important;
}
@media (min-width: 768px) {
  body.page-product-detail .sea-pdp-thumb {
    width: 5rem !important;
    height: 5rem !important;
    border-radius: 1rem !important;
  }
}
body.page-product-detail .sea-pdp-thumb.is-active {
  border-color: var(--primary) !important;
  background: #fff !important;
}
body.page-product-detail .sea-pdp-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  opacity: 0.55;
}
body.page-product-detail .sea-pdp-thumb.is-active img { opacity: 1; }

.sea-pdp-zoom {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgb(8 25 40 / 88%);
  display: grid;
  place-items: center;
  padding: 1.5rem;
  cursor: zoom-out;
}
.sea-pdp-zoom img {
  max-width: min(96vw, 1100px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgb(0 0 0 / 35%);
}
.sea-pdp-zoom__close {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--primary, #0077b6);
  display: grid;
  place-items: center;
  cursor: pointer;
}

/* —— Info column (buybox rhythm) —— */
body.page-product-detail .pdp-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  min-width: 0 !important;
}
body.page-product-detail .pdp-info__top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
  margin: 0 0 0.65rem !important;
}
body.page-product-detail .pdp-info__badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  background: color-mix(in srgb, var(--primary) 10%, transparent) !important;
  color: var(--primary) !important;
  border: 1px solid color-mix(in srgb, var(--primary) 22%, transparent) !important;
  border-radius: 999px !important;
  padding: 0.28rem 0.75rem !important;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
}
body.page-product-detail .pdp-info__badge img {
  max-height: 18px !important;
  max-width: 56px !important;
  width: auto !important;
  object-fit: contain !important;
}
body.page-product-detail .pdp-info__rating {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
  color: var(--secondary) !important;
  text-decoration: none !important;
  font-weight: 900 !important;
}
body.page-product-detail .pdp-info__headline {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.65rem !important;
  margin: 0 0 0.45rem !important;
}
body.page-product-detail .pdp-info__title,
body.page-product-detail .pdp-info h1 {
  font-family: var(--font-heading) !important;
  font-weight: 900 !important;
  font-size: clamp(1.25rem, 2.6vw, 2rem) !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--foreground) !important;
  max-width: none !important;
  overflow: visible !important;
  white-space: normal !important;
  text-overflow: unset !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
body.page-product-detail .pdp-info__wish {
  width: 2.75rem !important;
  height: 2.75rem !important;
  flex: 0 0 2.75rem !important;
  border-radius: 999px !important;
  border: 1px solid rgb(203 213 225 / 55%) !important;
  background: #fff !important;
  color: var(--primary) !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  box-shadow: 0 4px 12px rgb(15 23 42 / 6%) !important;
  cursor: pointer !important;
}
body.page-product-detail .pdp-info__wish.is-active,
body.page-product-detail .pdp-info__wish.active {
  color: #e11d48 !important;
  background: #fff1f2 !important;
  border-color: #fecdd3 !important;
}
body.page-product-detail .tp-product-details-action-sm-btn[data-bb-toggle="add-to-wishlist"] {
  display: none !important;
}

body.page-product-detail .pdp-info__meta,
body.page-product-detail .tp-product-details-inventory {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.35rem 0.65rem !important;
  margin: 0 0 1rem !important;
  padding: 0 !important;
}
body.page-product-detail .tp-product-details-sold,
body.page-product-detail .pdp-info__sold,
body.page-product-detail .tp-product-details-stock {
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
}
body.page-product-detail .pdp-info__sold iconify-icon {
  color: var(--primary) !important;
  font-size: 0.95rem !important;
  opacity: 0.85;
}
body.page-product-detail .sold-count-display {
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: var(--muted-foreground) !important;
  letter-spacing: 0 !important;
}

/* Hide clutter that export doesn't show in buybox */
body.page-product-detail .pdp-info .tp-product-details-description,
body.page-product-detail .pdp-info .tp-product-details-social,
body.page-product-detail .pdp-info .product-nav-button,
body.page-product-detail .pdp-info .product-nav-preview,
body.page-product-detail .pdp-info .attribute-arrow-indicator {
  display: none !important;
}

/* Price then points (export order) */
body.page-product-detail .tp-product-details-price-block {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.85rem !important;
  margin: 0 0 1.15rem !important;
}
body.page-product-detail .pdp-price,
body.page-product-detail .tp-product-details-price-wrapper {
  order: 1 !important;
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}
body.page-product-detail .pdp-points {
  order: 2 !important;
}
body.page-product-detail .tp-product-details-price-block > *:not(.pdp-price):not(.tp-product-details-price-wrapper):not(.pdp-points) {
  order: 3 !important;
}

body.page-product-detail .pdp-price__stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.45rem !important;
  width: 100% !important;
  align-items: flex-start !important;
}
body.page-product-detail .pdp-price__row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 0.45rem 0.75rem !important;
}

body.page-product-detail .pdp-price__current,
body.page-product-detail .tp-product-details-price.new-price,
body.page-product-detail .tp-product-details-price-wrapper .new-price {
  font-size: clamp(1.45rem, 3vw, 1.85rem) !important;
  font-weight: 900 !important;
  color: var(--primary) !important;
  margin: 0 !important;
  line-height: 1.15 !important;
  font-family: var(--font-heading, inherit) !important;
  font-variant-numeric: tabular-nums !important;
}
body.page-product-detail .pdp-price__old-wrap {
  display: inline-flex !important;
  align-items: baseline !important;
  margin: 0 !important;
}
body.page-product-detail .pdp-price__current del,
body.page-product-detail .pdp-price__current .old-price,
body.page-product-detail .pdp-price__current .pdp-price__old-wrap,
body.page-product-detail .pdp-price__old-wrap del del {
  display: none !important;
}
body.page-product-detail .pdp-price__old,
body.page-product-detail .tp-product-details-price.old-price,
body.page-product-detail .pdp-price__old-wrap del,
body.page-product-detail .pdp-price__old-wrap .old-price {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: var(--muted-foreground) !important;
  text-decoration: line-through !important;
  text-decoration-color: color-mix(in srgb, #ef4444 45%, transparent) !important;
  margin: 0 !important;
  font-family: inherit !important;
}
body.page-product-detail .pdp-price__save {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0.18rem 0.5rem !important;
  border-radius: 0.5rem !important;
  background: #ef4444 !important;
  color: #fff !important;
  font-size: 0.68rem !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

/* Vendor wholesale range + MOQ on one row */
body.page-product-detail .tp-vendor-wholesale-card,
body.page-product-detail .pdp-price__wholesale {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  width: 100% !important;
  display: block !important;
}
body.page-product-detail .pdp-price__wholesale-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.55rem 0.85rem !important;
  width: 100% !important;
}
body.page-product-detail .tp-vendor-wholesale-card__range,
body.page-product-detail .pdp-price__range {
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: clamp(1.45rem, 3vw, 1.85rem) !important;
  font-weight: 900 !important;
  font-family: var(--font-heading, inherit) !important;
  color: var(--primary) !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
  font-variant-numeric: tabular-nums !important;
  unicode-bidi: isolate !important;
}
body.page-product-detail .pdp-price__range-sep {
  margin-inline: 0.15rem !important;
  color: color-mix(in srgb, var(--primary) 55%, #64748b) !important;
  font-weight: 800 !important;
}
body.page-product-detail .tp-vendor-wholesale-card__row,
body.page-product-detail .pdp-price__moq {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
  margin: 0 !important;
  padding: 0.28rem 0.65rem !important;
  width: fit-content !important;
  max-width: 100% !important;
  border-radius: 999px !important;
  background: color-mix(in srgb, var(--primary) 8%, #fff) !important;
  border: 1px solid color-mix(in srgb, var(--primary) 16%, transparent) !important;
  color: var(--muted-foreground, #64748b) !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}
body.page-product-detail .pdp-price__moq iconify-icon {
  font-size: 0.95rem !important;
  color: var(--primary) !important;
  flex-shrink: 0 !important;
}
body.page-product-detail .pdp-price__wholesale--solo .pdp-price__range {
  font-size: clamp(1.45rem, 3vw, 1.85rem) !important;
}

body.page-product-detail .pdp-points {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.65rem !important;
  text-decoration: none !important;
  color: inherit !important;
  background: color-mix(in srgb, var(--accent, #0ea5e9) 9%, #fff) !important;
  border: 1px solid color-mix(in srgb, var(--accent, #0ea5e9) 20%, transparent) !important;
  border-radius: 0.9rem !important;
  padding: 0.7rem 0.85rem !important;
  margin: 0 !important;
  transition: background 0.15s ease, border-color 0.15s ease !important;
}
body.page-product-detail .pdp-points:hover {
  background: color-mix(in srgb, var(--accent, #0ea5e9) 14%, #fff) !important;
  border-color: color-mix(in srgb, var(--accent, #0ea5e9) 32%, transparent) !important;
}
body.page-product-detail .pdp-points__main {
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}
body.page-product-detail .pdp-points__icon {
  width: 2.15rem !important;
  height: 2.15rem !important;
  border-radius: 999px !important;
  background: var(--accent, #0ea5e9) !important;
  color: #fff !important;
  display: grid !important;
  place-items: center !important;
  flex-shrink: 0 !important;
  font-size: 1.05rem !important;
}
body.page-product-detail .pdp-points__copy {
  min-width: 0 !important;
  flex: 1 1 auto !important;
}
body.page-product-detail .pdp-points__lead {
  margin: 0 !important;
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  color: var(--foreground) !important;
}
body.page-product-detail .pdp-points__lead span,
body.page-product-detail #reward-points-display {
  color: var(--accent, #0ea5e9) !important;
  font-weight: 900 !important;
}
body.page-product-detail .pdp-points__balance {
  margin: 0.12rem 0 0 !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: var(--muted-foreground) !important;
  line-height: 1.3 !important;
}
body.page-product-detail .pdp-points__chevron {
  color: var(--accent, #0ea5e9) !important;
  flex-shrink: 0 !important;
  font-size: 1.15rem !important;
  opacity: 0.85;
}

@media (max-width: 767.98px) {
  body.page-product-detail .pdp-info__headline {
    margin-bottom: 0.3rem !important;
    gap: 0.5rem !important;
  }
  body.page-product-detail .pdp-info__title,
  body.page-product-detail .pdp-info h1 {
    font-size: 1.05rem !important;
    line-height: 1.4 !important;
  }
  body.page-product-detail .pdp-info__wish {
    width: 2.5rem !important;
    height: 2.5rem !important;
    flex-basis: 2.5rem !important;
  }
  body.page-product-detail .pdp-info__meta {
    margin-bottom: 0.45rem !important;
  }
  body.page-product-detail .tp-product-details-price-block {
    gap: 0.55rem !important;
    margin-bottom: 0.7rem !important;
  }
  body.page-product-detail .pdp-points {
    padding: 0.5rem 0.7rem !important;
    border-radius: 0.8rem !important;
  }
  body.page-product-detail .pdp-points__icon {
    width: 1.75rem !important;
    height: 1.75rem !important;
    font-size: 0.9rem !important;
  }
  body.page-product-detail .pdp-points__lead {
    font-size: 0.78rem !important;
  }
  body.page-product-detail .pdp-points__balance {
    display: none !important;
  }
}

/* —— Attribute swatches → export color dots / text pills —— */
body.page-product-detail .product-attributes,
body.page-product-detail .bb-product-attribute-swatch,
body.page-product-detail .sea-pdp-attrs {
  margin: 0 0 1.15rem !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.page-product-detail .sea-swatch-head,
body.page-product-detail .bb-product-attribute-swatch-header {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0.65rem !important;
  margin: 0 0 0.75rem !important;
  padding: 0 !important;
}

body.page-product-detail .sea-swatch-title,
body.page-product-detail .bb-product-attribute-swatch-title {
  position: static !important;
  display: inline-flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 0.35rem !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.9rem !important;
  font-weight: 900 !important;
  color: var(--foreground) !important;
}

body.page-product-detail .bb-product-attribute-swatch-title-label {
  font-weight: 900 !important;
}

body.page-product-detail .bb-product-attribute-swatch-title-value:not(:empty)::before {
  content: "" !important;
}

body.page-product-detail .bb-product-attribute-swatch-title-value:not(:empty) {
  color: var(--primary) !important;
  font-weight: 900 !important;
  font-size: 0.95rem !important;
}

body.page-product-detail .attribute-arrow-indicator {
  display: none !important;
}

/* Clear / cancel selection — Sea chip (export-friendly cancel) */
body.page-product-detail .sea-swatch-clear,
body.page-product-detail .bb-swatch-clear-selection {
  appearance: none !important;
  border: 0 !important;
  background: color-mix(in srgb, var(--destructive) 10%, #fff) !important;
  color: var(--destructive) !important;
  font-size: 0.75rem !important;
  font-weight: 900 !important;
  font-family: inherit !important;
  line-height: 1 !important;
  padding: 0.4rem 0.7rem !important;
  border-radius: 999px !important;
  display: none !important;
  align-items: center !important;
  gap: 0.25rem !important;
  cursor: pointer !important;
  margin-inline-start: auto !important;
  box-shadow: none !important;
}

body.page-product-detail .sea-swatch-clear:not([hidden]),
body.page-product-detail .bb-swatch-clear-selection:not([hidden]),
body.page-product-detail .sea-swatch-clear.show,
body.page-product-detail .bb-swatch-clear-selection.show {
  display: inline-flex !important;
}

body.page-product-detail .sea-swatch-clear:hover,
body.page-product-detail .bb-swatch-clear-selection:hover {
  background: color-mix(in srgb, var(--destructive) 18%, #fff) !important;
}

body.page-product-detail .sea-swatch-list,
body.page-product-detail .bb-product-attribute-swatch-list,
body.page-product-detail ul.swatch-box-layout,
body.page-product-detail ul.visual-swatch,
body.page-product-detail ul.color-swatch {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.65rem 0.75rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-product-detail ul.sea-swatch-list--visual,
body.page-product-detail ul.visual-swatch.sea-swatch-list,
body.page-product-detail ul.visual-swatch.color-swatch {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.65rem !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  max-width: none !important;
}

body.page-product-detail .swatch-box-item,
body.page-product-detail .bb-product-attribute-swatch-item {
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  flex: 0 0 auto !important;
  transform: none !important;
}

body.page-product-detail ul.visual-swatch > .swatch-box-item,
body.page-product-detail ul.sea-swatch-list--visual > .swatch-box-item,
body.page-product-detail ul.visual-swatch > .bb-product-attribute-swatch-item {
  width: 6.85rem !important;
  max-width: 6.85rem !important;
  flex: 0 0 6.85rem !important;
}

body.page-product-detail .sea-swatch,
body.page-product-detail .swatch-box-label {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  min-width: 0 !important;
  width: 100% !important;
  cursor: pointer !important;
  transform: none !important;
}

body.page-product-detail ul.visual-swatch .sea-swatch,
body.page-product-detail ul.sea-swatch-list--visual .sea-swatch,
body.page-product-detail ul.visual-swatch .swatch-box-label {
  padding: 0 !important;
  border: 2px solid #e8eaed !important;
  border-radius: 0.5rem !important;
  background: #fff !important;
  gap: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  transition: border-color 0.15s ease !important;
}

body.page-product-detail ul.visual-swatch .sea-swatch:hover,
body.page-product-detail ul.sea-swatch-list--visual .sea-swatch:hover {
  border-color: var(--primary, #0077b6) !important;
  box-shadow: none !important;
}

body.page-product-detail ul.visual-swatch .sea-swatch:has(input:checked),
body.page-product-detail ul.sea-swatch-list--visual .sea-swatch:has(input:checked),
body.page-product-detail ul.visual-swatch .swatch-box-item:has(input:checked) .swatch-box-label {
  border-color: var(--primary, #0077b6) !important;
  border-width: 2px !important;
  box-shadow: none !important;
}

body.page-product-detail .sea-swatch:hover,
body.page-product-detail .swatch-box-label:hover,
body.page-product-detail .swatch-box-item:hover,
body.page-product-detail .bb-product-attribute-swatch-item:hover,
body.page-product-detail .swatch-box-item:hover .swatch-box-content,
body.page-product-detail .swatch-box-item:hover .swatch-box-label {
  transform: none !important;
  margin: 0 !important;
}

body.page-product-detail .sea-swatch input,
body.page-product-detail .swatch-box-item input.product-filter-item {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
}

body.page-product-detail .sea-swatch__dot,
body.page-product-detail .bb-product-attribute-swatch-display,
body.page-product-detail span.bb-product-attribute-swatch-display {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  inset-inline: auto !important;
  width: 100% !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
  background-image: none !important;
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #f7f8fa !important;
  transition: none !important;
  transform: none !important;
  -webkit-transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body.page-product-detail .sea-swatch__dot::before,
body.page-product-detail .sea-swatch__dot::after,
body.page-product-detail .bb-product-attribute-swatch-display::before,
body.page-product-detail .bb-product-attribute-swatch-display::after {
  content: none !important;
  display: none !important;
}

body.page-product-detail ul.visual-swatch .sea-swatch:hover .sea-swatch__dot,
body.page-product-detail ul.visual-swatch .sea-swatch:has(input:checked) .sea-swatch__dot,
body.page-product-detail ul.sea-swatch-list--visual .sea-swatch:has(input:checked) .sea-swatch__dot,
body.page-product-detail .swatch-box-item:hover .bb-product-attribute-swatch-display,
body.page-product-detail .swatch-box-item:has(input:checked) .bb-product-attribute-swatch-display,
body.page-product-detail .swatch-box-item input:checked + .sea-swatch__dot,
body.page-product-detail .swatch-box-item:has(input:checked) span.bb-product-attribute-swatch-display {
  transform: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.page-product-detail ul.visual-swatch .sea-swatch:has(input:checked) .sea-swatch__dot::after,
body.page-product-detail ul.sea-swatch-list--visual .sea-swatch:has(input:checked) .sea-swatch__dot::after {
  content: none !important;
}

/* Visual/image swatches: kill legacy card chrome that reflows on hover */
body.page-product-detail .visual-swatch .swatch-box-content,
body.page-product-detail ul.visual-swatch .swatch-box-content,
body.page-product-detail .color-swatch .swatch-box-content {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
body.page-product-detail .visual-swatch .swatch-box-content:hover,
body.page-product-detail ul.visual-swatch .swatch-box-content:hover {
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

body.page-product-detail .sea-swatch-list--text .swatch-box-label:hover,
body.page-product-detail .text-swatch .swatch-box-label:hover {
  border-color: #94a3b8 !important;
}

body.page-product-detail .sea-swatch__img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 0.5rem !important;
  margin: 0 !important;
  display: block !important;
  border: 0 !important;
  transform: none !important;
}

body.page-product-detail .sea-swatch__text {
  font-size: 0.65rem !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  line-height: 1 !important;
}

body.page-product-detail .swatch-out-of-stock .sea-swatch__img {
  opacity: 0.55 !important;
  filter: grayscale(0.2);
}
body.page-product-detail .sea-swatch__oos {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: end center !important;
  padding: 0.35rem !important;
  background: linear-gradient(to top, rgb(127 29 29 / 78%), rgb(15 23 42 / 12%) 52%, transparent) !important;
  z-index: 2 !important;
}
body.page-product-detail .sea-swatch__oos span {
  display: inline-block !important;
  background: #7f1d1d !important;
  color: #fff !important;
  font-size: 0.62rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  padding: 0.22rem 0.42rem !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
}
body.page-product-detail .swatch-box-item.disabled {
  opacity: 0.45 !important;
}
body.page-product-detail .swatch-box-item.swatch-out-of-stock {
  opacity: 1 !important;
}

/* Hide legacy box chrome (names / tooltips / arrows) — prices stay visible */
body.page-product-detail .swatch-box-attribute-name-row,
body.page-product-detail .bb-product-attribute-swatch-item-tooltip,
body.page-product-detail .attribute-arrow-indicator,
body.page-product-detail .swatch-box-content > .swatch-box-row:not(.swatch-box-image-row):not(.swatch-box-price-row):not(.swatch-box-text-row),
body.page-product-detail .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  font-size: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Text attribute pills */
body.page-product-detail .sea-swatch-list--text .swatch-box-label,
body.page-product-detail .text-swatch .swatch-box-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-height: 2.5rem !important;
  padding: 0.45rem 0.95rem !important;
  border-radius: 0.85rem !important;
  border: 2px solid rgb(203 213 225 / 70%) !important;
  background: #fff !important;
  font-size: 0.875rem !important;
  font-weight: 800 !important;
  color: var(--foreground) !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease !important;
}

body.page-product-detail .sea-swatch-list--text .swatch-box-item:has(input:checked) .swatch-box-label,
body.page-product-detail .text-swatch .swatch-box-item input:checked + .swatch-box-content,
body.page-product-detail .text-swatch .swatch-box-item:has(input:checked) .swatch-box-label {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 18%, transparent) !important;
  color: var(--primary) !important;
}

body.page-product-detail .sea-swatch-list--text .swatch-box-attribute-name-row,
body.page-product-detail .text-swatch .swatch-box-attribute-name-row {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  clip: auto !important;
  overflow: visible !important;
  font-size: inherit !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  white-space: normal !important;
  display: block !important;
}

body.page-product-detail .sea-swatch-list--text .swatch-box-image-row,
body.page-product-detail .text-swatch .swatch-box-image-row {
  display: none !important;
}

body.page-product-detail .visual-swatch .swatch-box-price-row,
body.page-product-detail .color-swatch .swatch-box-price-row,
body.page-product-detail .sea-swatch__price,
body.page-product-detail .text-swatch .swatch-box-price-row,
body.page-product-detail .sea-swatch-list--text .swatch-box-price-row {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  clip: auto !important;
  overflow: visible !important;
  opacity: 1 !important;
  pointer-events: none !important;
  white-space: nowrap !important;
  text-align: center !important;
}

body.page-product-detail .sea-swatch__meta {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.1rem !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 0.4rem 0.3rem 0.5rem !important;
  border-top: 1px solid #f1f5f9 !important;
  background: #fff !important;
}

body.page-product-detail ul.visual-swatch .sea-swatch__name,
body.page-product-detail ul.sea-swatch-list--visual .sea-swatch__name {
  display: none !important;
}

body.page-product-detail ul.visual-swatch .sea-swatch__price,
body.page-product-detail ul.sea-swatch-list--visual .sea-swatch__price {
  display: block !important;
}

body.page-product-detail ul.visual-swatch .swatch-price-original,
body.page-product-detail ul.sea-swatch-list--visual .swatch-price-original {
  display: block !important;
}

body.page-product-detail .visual-swatch .swatch-price,
body.page-product-detail .color-swatch .swatch-price,
body.page-product-detail .sea-swatch__price .swatch-price,
body.page-product-detail .text-swatch .swatch-price,
body.page-product-detail .sea-swatch-list--text .swatch-price {
  position: static !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.1rem !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  clip: auto !important;
  overflow: visible !important;
  opacity: 1 !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  color: var(--primary) !important;
  font-variant-numeric: tabular-nums !important;
}

body.page-product-detail .swatch-price-current {
  color: var(--primary, #0077b6) !important;
  font-weight: 800 !important;
  font-size: 0.84rem !important;
  line-height: 1.2 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  order: -1 !important;
}
body.page-product-detail .swatch-box-item:has(input:checked) .swatch-price-current,
body.page-product-detail .bb-product-attribute-swatch-item:has(input:checked) .swatch-price-current {
  color: var(--primary) !important;
}

body.page-product-detail .swatch-price-original {
  color: var(--muted-foreground, #64748b) !important;
  font-size: 0.62rem !important;
  font-weight: 700 !important;
  text-decoration: line-through !important;
}

body.page-product-detail .text-swatch .swatch-box-content,
body.page-product-detail .sea-swatch-list--text .swatch-box-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.2rem !important;
}

/* —— Availability / wholesale —— */
body.page-product-detail .product-availability,
body.page-product-detail .pdp-stock-wrap,
body.page-product-detail .number-items-available {
  display: block !important;
  margin: 0 0 1rem !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}
body.page-product-detail .pdp-stock {
  display: flex !important;
  align-items: center !important;
  gap: 0.7rem !important;
  padding: 0.75rem 0.9rem !important;
  border-radius: 0.95rem !important;
  border: 1px solid transparent !important;
}
body.page-product-detail .pdp-stock--ok {
  background: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
  color: #047857 !important;
}
body.page-product-detail .pdp-stock--warn {
  background: #fffbeb !important;
  border-color: #fde68a !important;
  color: #b45309 !important;
}
body.page-product-detail .pdp-stock--oos {
  background: #fef2f2 !important;
  border-color: #fecaca !important;
  color: #991b1b !important;
}
body.page-product-detail .pdp-stock__icon {
  width: 2.15rem !important;
  height: 2.15rem !important;
  flex-shrink: 0 !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: #fff !important;
  font-size: 1.2rem !important;
}
body.page-product-detail .pdp-stock__copy {
  display: grid !important;
  gap: 0.08rem !important;
  min-width: 0 !important;
  flex: 1 !important;
}
body.page-product-detail .pdp-stock__copy strong {
  font-size: 0.95rem !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
}
body.page-product-detail .pdp-stock__copy small {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  opacity: 0.82 !important;
  line-height: 1.35 !important;
}
/* Fallback if AJAX ever injects plain Bootstrap text spans */
body.page-product-detail .number-items-available > .text-success,
body.page-product-detail .number-items-available > .text-danger,
body.page-product-detail .number-items-available > .text-warning {
  display: flex !important;
  align-items: center !important;
  gap: 0.7rem !important;
  padding: 0.75rem 0.9rem !important;
  border-radius: 0.95rem !important;
  font-size: 0.95rem !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}
body.page-product-detail .number-items-available > .text-success {
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  color: #047857 !important;
}
body.page-product-detail .number-items-available > .text-danger {
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  color: #991b1b !important;
}
body.page-product-detail .number-items-available > .text-warning {
  background: #fffbeb !important;
  border: 1px solid #fde68a !important;
  color: #b45309 !important;
}
body.page-product-detail .pdp-stock__ask {
  flex-shrink: 0 !important;
  appearance: none !important;
  border: 0 !important;
  font-family: inherit !important;
  cursor: pointer !important;
  background: #7f1d1d !important;
  color: #fff !important;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
  padding: 0.42rem 0.75rem !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
body.page-product-detail .swatch-out-of-stock-x,
body.page-product-detail .swatch-out-of-stock-label {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0.15rem 0 0 !important;
  padding: 0.15rem 0.4rem !important;
  overflow: visible !important;
  clip: auto !important;
  font-size: 0.62rem !important;
  font-weight: 900 !important;
  opacity: 1 !important;
  pointer-events: none !important;
  display: inline-block !important;
  background: #7f1d1d !important;
  color: #fff !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
}
body.page-product-detail .sea-pdp-tiers,
body.page-product-detail .variation-wholesale-pricing-section {
  margin: 0 0 1.15rem !important;
}
body.page-product-detail .sea-pdp-tiers__title {
  font-family: var(--font-heading, inherit) !important;
}
body.page-product-detail .tp-product-details-price-block .minimum-order,
body.page-product-detail .minimum-order-quantity,
body.page-product-detail [class*="min-order"],
body.page-product-detail .tp-product-details-price-block .text-muted {
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  color: var(--muted-foreground) !important;
}
/* Kill leftover red price/badge from old wholesale chrome */
body.page-product-detail .wholesale-b2b-value-badge {
  display: none !important;
}
body.page-product-detail .tp-product-details-price.new-price,
body.page-product-detail .pdp-price__current {
  color: var(--primary) !important;
}

/* —— Actions (export qty + cart row) —— */
body.page-product-detail .pdp-actions,
body.page-product-detail .tp-product-details-action-wrapper {
  display: grid !important;
  gap: 0.85rem !important;
  margin-top: 0.35rem !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
body.page-product-detail .pdp-actions__label {
  display: none !important;
}
body.page-product-detail .pdp-actions__row {
  display: none !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  gap: 1rem !important;
  margin: 0 !important;
  width: 100% !important;
}
@media (min-width: 768px) {
  body.page-product-detail .pdp-actions__row {
    display: flex !important;
  }
}
body.page-product-detail .tp-product-details-quantity,
body.page-product-detail .pdp-actions__cart-wrap {
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  float: none !important;
}
body.page-product-detail .pdp-actions__cart-wrap {
  flex: 1 1 auto !important;
  min-width: 12rem !important;
}
body.page-product-detail .pdp-qty,
body.page-product-detail .tp-product-quantity {
  display: inline-flex !important;
  align-items: center !important;
  height: 3.25rem !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--muted, #f1f5f9) !important;
  border: 1px solid rgb(203 213 225 / 55%) !important;
  border-radius: 0.85rem !important;
  overflow: hidden !important;
  width: auto !important;
}
body.page-product-detail .pdp-qty__btn,
body.page-product-detail .tp-cart-minus,
body.page-product-detail .tp-cart-plus {
  width: 3rem !important;
  height: 3.25rem !important;
  display: grid !important;
  place-items: center !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  color: var(--foreground) !important;
  cursor: pointer !important;
  line-height: 1 !important;
}
body.page-product-detail .pdp-qty__btn:disabled,
body.page-product-detail .tp-cart-minus:disabled,
body.page-product-detail .tp-cart-plus:disabled {
  opacity: 0.35 !important;
  cursor: not-allowed !important;
}
body.page-product-detail .pdp-qty__input,
body.page-product-detail .tp-cart-input,
body.page-product-detail .tp-product-details-quantity .tp-cart-input[type=number] {
  width: 3rem !important;
  height: 3.25rem !important;
  border: 0 !important;
  background: transparent !important;
  text-align: center !important;
  font-weight: 900 !important;
  font-size: 1.05rem !important;
  color: var(--foreground) !important;
  box-shadow: none !important;
  -moz-appearance: textfield;
}
body.page-product-detail .tp-cart-input::-webkit-outer-spin-button,
body.page-product-detail .tp-cart-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body.page-product-detail .pdp-actions__cart,
body.page-product-detail .tp-product-details-add-to-cart-btn {
  width: 100% !important;
  min-height: 3.25rem !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.55rem !important;
  background: var(--primary) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0.85rem !important;
  font-weight: 900 !important;
  font-size: 1.1rem !important;
  box-shadow: 0 12px 28px rgb(0 119 182 / 30%) !important;
  padding: 0.75rem 1.25rem !important;
  text-decoration: none !important;
}
body.page-product-detail .pdp-actions__cart::before,
body.page-product-detail .pdp-actions__cart::after,
body.page-product-detail .tp-product-details-add-to-cart-btn::before,
body.page-product-detail .tp-product-details-add-to-cart-btn::after,
body.page-product-detail .tp-product-details-buy-now-btn::before,
body.page-product-detail .tp-product-details-buy-now-btn::after {
  content: none !important;
  display: none !important;
  background: none !important;
  width: 0 !important;
  height: 0 !important;
}
body.page-product-detail .pdp-actions__cart.is-sea-busy .sea-busy-dot,
body.page-product-detail .pdp-actions__cart.btn-loading .sea-busy-dot,
body.page-product-detail .tp-product-details-add-to-cart-btn.is-sea-busy .sea-busy-dot,
body.page-product-detail .tp-product-details-add-to-cart-btn.btn-loading .sea-busy-dot {
  width: 1.35rem;
  height: 1.35rem;
}

body.page-product-detail .pdp-actions__buy,
body.page-product-detail .tp-product-details-buy-now-btn {
  display: none !important;
  width: 100% !important;
  min-height: 3.5rem !important;
  background: var(--secondary) !important;
  color: #0f172a !important;
  border: 0 !important;
  border-bottom: 4px solid #d97706 !important;
  border-radius: 0.85rem !important;
  font-weight: 900 !important;
  font-size: 1.1rem !important;
  box-shadow: 0 8px 18px rgb(255 183 3 / 28%) !important;
  padding: 0.85rem 1.25rem !important;
  margin: 0 !important;
}
body.page-product-detail .pdp-actions__tip {
  display: none !important;
  align-items: center !important;
  gap: 0.4rem !important;
  margin: 0 !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  color: var(--muted-foreground) !important;
}
@media (min-width: 768px) {
  body.page-product-detail .pdp-actions__buy,
  body.page-product-detail .tp-product-details-buy-now-btn {
    display: block !important;
  }
  body.page-product-detail .pdp-actions__tip {
    display: flex !important;
  }
}

body.page-product-detail .tp-product-details-action-sm {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.55rem !important;
  margin-top: 0.75rem !important;
  padding: 0 !important;
  border: 0 !important;
}
body.page-product-detail .tp-product-details-action-sm-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  background: var(--card) !important;
  border: 1px solid rgb(203 213 225 / 50%) !important;
  border-radius: 0.75rem !important;
  font-weight: 800 !important;
  color: var(--foreground) !important;
  padding: 0.55rem 0.85rem !important;
  box-shadow: none !important;
}

body.page-product-detail .tp-product-details-query {
  margin-top: 0.85rem !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: var(--muted-foreground) !important;
}

/* Perks */
body.page-product-detail .pdp-perks {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.75rem 1rem !important;
  margin-top: 1.15rem !important;
  padding-top: 1.15rem !important;
  border-top: 1px solid rgb(203 213 225 / 45%) !important;
}
body.page-product-detail .pdp-perks__item {
  display: flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
}
body.page-product-detail .pdp-perks__item iconify-icon {
  font-size: 1.25rem !important;
  color: var(--primary) !important;
  flex-shrink: 0 !important;
}

/* Matching styles */
body.page-product-detail .sea-matching-styles {
  margin-top: 1.25rem !important;
}

/* Tabs */
body.page-product-detail .pdp-details,
body.page-product-detail .sea-pdp-tabs {
  margin-top: 2.5rem !important;
}
body.page-product-detail .sea-pdp-tabs__nav {
  display: flex !important;
  overflow-x: auto !important;
  border-bottom: 1px solid rgb(203 213 225 / 55%) !important;
  margin-bottom: 1.25rem !important;
  gap: 0 !important;
}
body.page-product-detail .sea-pdp-tabs__btn {
  appearance: none !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 4px solid transparent !important;
  padding: 0.85rem 1.35rem !important;
  font-weight: 800 !important;
  color: var(--muted-foreground) !important;
  white-space: nowrap !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.page-product-detail .sea-pdp-tabs__btn.is-active {
  color: var(--primary) !important;
  border-bottom-color: var(--primary) !important;
  font-weight: 900 !important;
  background: transparent !important;
}
body.page-product-detail .sea-pdp-tabs__content {
  max-width: 48rem !important;
  font-weight: 600 !important;
  line-height: 1.8 !important;
  color: color-mix(in srgb, var(--foreground) 82%, transparent) !important;
}

/* —— Attribute missing: simple red alert —— */
@keyframes sea-attr-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}
@keyframes sea-attr-alert-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sea-attr-alert {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.65rem;
  padding: 0.5rem 0.55rem 0.5rem 0.7rem;
  border-radius: 0.7rem;
  background: #dc2626;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
  opacity: 0;
}
.sea-attr-alert.is-show {
  opacity: 1;
  animation: sea-attr-alert-in 0.22s ease-out both, sea-attr-shake 0.45s ease-in-out 0.08s 1;
}
.sea-attr-alert > iconify-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}
.sea-attr-alert span {
  flex: 1;
  min-width: 0;
}
.sea-attr-alert__close {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 18%);
  color: #fff;
  cursor: pointer;
}
.sea-attr-alert__close iconify-icon {
  font-size: 1.05rem;
}
.sea-attr-alert__close:hover {
  background: rgb(255 255 255 / 28%);
}

/* Mobile sticky — match export */
@media (max-width: 767px) {
  body.page-product-detail .pdp-actions__row,
  body.page-product-detail .pdp-actions__buy,
  body.page-product-detail .tp-product-details-buy-now-btn,
  body.page-product-detail .pdp-actions__tip {
    display: none !important;
  }
  body.page-product-detail .order-sticky {
    display: flex !important;
  }
  body.page-product-detail #main-content,
  body.page-product-detail .pdp-main {
    padding-bottom: 0.75rem !important;
  }
}

/* —— Prev / next product pager (top of PDP) —— */
body.page-product-detail .sea-pdp-pager {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 0.55rem 0.75rem !important;
  width: 100% !important;
  margin: 0 0 1rem !important;
  padding: 0.5rem !important;
  background: #fff !important;
  border: 1px solid rgb(203 213 225 / 60%) !important;
  border-radius: 1.15rem !important;
  box-shadow: 0 10px 28px rgb(2 48 71 / 6%) !important;
}
body.page-product-detail .sea-pdp-pager__link {
  display: flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding: 0.4rem 0.5rem !important;
  text-decoration: none !important;
  color: inherit !important;
  border-radius: 0.9rem !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transition: background 0.18s ease, transform 0.18s ease !important;
}
body.page-product-detail .sea-pdp-pager__link.is-next {
  justify-content: flex-end !important;
  text-align: end !important;
}
body.page-product-detail .sea-pdp-pager__link.is-disabled {
  visibility: hidden !important;
  pointer-events: none !important;
}
body.page-product-detail .sea-pdp-pager__link:hover {
  background: #f0f9ff !important;
  color: inherit !important;
  transform: translateY(-1px);
}
body.page-product-detail .sea-pdp-pager__arrow {
  width: 1.9rem !important;
  height: 1.9rem !important;
  flex-shrink: 0 !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: color-mix(in srgb, var(--primary, #0077b6) 12%, #fff) !important;
  color: var(--primary, #0077b6) !important;
  font-size: 1rem !important;
}
body.page-product-detail .sea-pdp-pager__link:hover .sea-pdp-pager__arrow {
  background: var(--primary, #0077b6) !important;
  color: #fff !important;
}
body.page-product-detail .sea-pdp-pager__thumb {
  width: 2.7rem !important;
  height: 2.7rem !important;
  flex-shrink: 0 !important;
  border-radius: 0.8rem !important;
  overflow: hidden !important;
  background: linear-gradient(145deg, #f0f9ff, #e2e8f0) !important;
  border: 1px solid rgb(203 213 225 / 55%) !important;
}
body.page-product-detail .sea-pdp-pager__thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
body.page-product-detail .sea-pdp-pager__text {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.1rem !important;
  min-width: 0 !important;
}
body.page-product-detail .sea-pdp-pager__label {
  display: block !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  color: var(--primary, #0077b6) !important;
  line-height: 1.2 !important;
}
body.page-product-detail .sea-pdp-pager__name {
  display: -webkit-box !important;
  -webkit-line-clamp: 1 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  color: #0f172a !important;
}
body.page-product-detail .sea-pdp-pager__all {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.35rem !important;
  flex-shrink: 0 !important;
  padding: 0.5rem 0.95rem !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  font-size: 0.75rem !important;
  font-weight: 900 !important;
  color: #fff !important;
  background: linear-gradient(135deg, #0077b6, #00b4d8) !important;
  box-shadow: 0 8px 18px rgb(0 119 182 / 22%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
body.page-product-detail .sea-pdp-pager__all:hover {
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgb(0 119 182 / 28%) !important;
}
body.page-product-detail .sea-pdp-pager__all iconify-icon {
  font-size: 1rem !important;
  color: #fff !important;
}
@media (max-width: 720px) {
  body.page-product-detail .sea-pdp-pager {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.45rem !important;
  }
  body.page-product-detail .sea-pdp-pager__all {
    grid-column: 1 / -1 !important;
    order: -1 !important;
    width: 100% !important;
  }
  body.page-product-detail .sea-pdp-pager__name {
    font-size: 0.74rem !important;
  }
  body.page-product-detail .sea-pdp-pager__thumb {
    width: 2.4rem !important;
    height: 2.4rem !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-product-detail .sea-pdp-pager__link:hover,
  body.page-product-detail .sea-pdp-pager__all:hover {
    transform: none !important;
  }
}

/* —— PDP sticky purchase bar (desktop + mobile) —— */
body.page-product-detail .sea-pdp-sticky.order-sticky {
  position: fixed !important;
  inset-inline: 0 !important;
  bottom: 0 !important;
  z-index: 420 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0.7rem 0.85rem calc(0.7rem + env(safe-area-inset-bottom, 0px)) !important;
  background: rgb(255 255 255 / 96%) !important;
  border: 0 !important;
  border-top: 1px solid rgb(203 213 225 / 65%) !important;
  border-radius: 0 !important;
  backdrop-filter: blur(18px) saturate(1.15) !important;
  box-shadow: 0 -14px 36px rgb(2 48 71 / 10%) !important;
}
body.page-product-detail main,
body.page-product-detail #main-content,
body.page-product-detail .pdp-main,
body.page-product-detail .sea-shell {
  padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px)) !important;
}
body.page-product-detail .sea-pdp-sticky__cart {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  min-width: 0 !important;
  flex: 0 1 10.5rem !important;
  padding: 0.35rem 0.55rem 0.35rem 0.35rem !important;
  text-decoration: none !important;
  color: inherit !important;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe) !important;
  border: 1px solid rgb(125 211 252 / 55%) !important;
  border-radius: 999px !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease !important;
}
body.page-product-detail .sea-pdp-sticky__cart:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgb(0 119 182 / 14%) !important;
  color: inherit !important;
}
body.page-product-detail .sea-pdp-sticky__cart.is-empty .sea-pdp-sticky__cart-text strong {
  display: none !important;
}
body.page-product-detail .sea-pdp-sticky__cart-icon {
  position: relative !important;
  width: 2.45rem !important;
  height: 2.45rem !important;
  flex-shrink: 0 !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: linear-gradient(145deg, #0077b6, #00b4d8) !important;
  color: #fff !important;
  font-size: 1.2rem !important;
  box-shadow: 0 6px 14px rgb(0 119 182 / 28%) !important;
}
body.page-product-detail .sea-pdp-sticky__badge {
  position: absolute !important;
  top: -0.2rem !important;
  inset-inline-end: -0.2rem !important;
  min-width: 1.15rem !important;
  height: 1.15rem !important;
  padding: 0 0.28rem !important;
  border-radius: 999px !important;
  background: #ffb703 !important;
  color: #0f172a !important;
  font-size: 0.65rem !important;
  font-weight: 900 !important;
  line-height: 1.15rem !important;
  text-align: center !important;
  box-shadow: 0 2px 6px rgb(15 23 42 / 18%) !important;
}
body.page-product-detail .sea-pdp-sticky__cart-text {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.05rem !important;
  min-width: 0 !important;
  padding-inline-end: 0.2rem !important;
}
body.page-product-detail .sea-pdp-sticky__cart-text small {
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  color: #0369a1 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
body.page-product-detail .sea-pdp-sticky__cart-text strong {
  font-size: 0.85rem !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}
body.page-product-detail .sea-pdp-sticky__divider {
  width: 1px !important;
  align-self: stretch !important;
  margin-block: 0.35rem !important;
  background: rgb(203 213 225 / 70%) !important;
  flex-shrink: 0 !important;
}
body.page-product-detail .sea-pdp-sticky__price {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.05rem !important;
  min-width: 0 !important;
  flex: 0 1 auto !important;
}
body.page-product-detail .sea-pdp-sticky__price small {
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  color: #64748b !important;
}
body.page-product-detail .sea-pdp-sticky__price-value,
body.page-product-detail .sea-pdp-sticky__price .new-price,
body.page-product-detail .sea-pdp-sticky__price [data-bb-value="product-price"] {
  font-size: 1rem !important;
  font-weight: 900 !important;
  color: var(--primary, #0077b6) !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}
body.page-product-detail .sea-pdp-sticky__price .old-price,
body.page-product-detail .sea-pdp-sticky__price s,
body.page-product-detail .sea-pdp-sticky__price del,
body.page-product-detail .sea-pdp-sticky__price .pdp-price__save,
body.page-product-detail .sea-pdp-sticky__price .pdp-price__moq {
  display: none !important;
}
body.page-product-detail .sea-pdp-sticky__wish {
  width: 2.65rem !important;
  height: 2.65rem !important;
  flex-shrink: 0 !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgb(203 213 225 / 70%) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #64748b !important;
  padding: 0 !important;
  cursor: pointer !important;
}
body.page-product-detail .sea-pdp-sticky__wish.is-active,
body.page-product-detail .sea-pdp-sticky__wish.active {
  color: #ef476f !important;
  border-color: rgb(239 71 111 / 35%) !important;
  background: #fff1f2 !important;
}
body.page-product-detail .sea-pdp-sticky__qty {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  height: 2.75rem !important;
  border-radius: 0.85rem !important;
  border: 1.5px solid rgb(203 213 225 / 70%) !important;
  background: #f1f5f9 !important;
  overflow: hidden !important;
}
body.page-product-detail .sea-pdp-sticky__qty-btn {
  display: grid !important;
  place-items: center !important;
  width: 2rem !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #0f172a !important;
  font-size: 1.05rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  cursor: pointer !important;
}
body.page-product-detail .sea-pdp-sticky__qty-btn:hover {
  background: rgb(0 119 182 / 10%) !important;
  color: var(--primary, #0077b6) !important;
}
body.page-product-detail .sea-pdp-sticky__qty-input {
  width: 2.35rem !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-inline: 1px solid rgb(203 213 225 / 55%) !important;
  background: #fff !important;
  color: #0f172a !important;
  font-size: 0.9rem !important;
  font-weight: 900 !important;
  text-align: center !important;
  -moz-appearance: textfield !important;
}
body.page-product-detail .sea-pdp-sticky__qty-input::-webkit-outer-spin-button,
body.page-product-detail .sea-pdp-sticky__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
body.page-product-detail .sea-pdp-sticky__add,
body.page-product-detail .sea-pdp-sticky__buy {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.4rem !important;
  min-height: 2.75rem !important;
  padding: 0.55rem 1rem !important;
  border: 0 !important;
  border-radius: 0.95rem !important;
  font-size: 0.88rem !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}
body.page-product-detail .sea-pdp-sticky__add {
  flex: 1 1 auto !important;
  background: var(--primary, #0077b6) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgb(0 119 182 / 28%) !important;
}
body.page-product-detail .sea-pdp-sticky__buy {
  flex: 0 0 auto !important;
  background: #ffb703 !important;
  color: #0f172a !important;
  box-shadow: 0 8px 18px rgb(255 183 3 / 35%) !important;
}
body.page-product-detail .sea-pdp-sticky__add iconify-icon,
body.page-product-detail .sea-pdp-sticky__buy iconify-icon {
  font-size: 1.2rem !important;
}
body.page-product-detail .sea-pdp-sticky__cart.is-bounce {
  animation: sea-pdp-cart-bounce 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
body.page-product-detail .sea-pdp-sticky__cart.is-bounce .sea-pdp-sticky__cart-icon {
  animation: sea-pdp-cart-wiggle 0.55s ease;
}
@keyframes sea-pdp-cart-bounce {
  0% { transform: scale(1); }
  35% { transform: scale(1.08) translateY(-2px); }
  100% { transform: scale(1); }
}
@keyframes sea-pdp-cart-wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-12deg); }
  55% { transform: rotate(10deg); }
}
@media (min-width: 768px) {
  body.page-product-detail .sea-pdp-sticky.order-sticky {
    inset-inline: max(1rem, calc(50% - 34rem)) !important;
    bottom: 1rem !important;
    padding: 0.65rem 0.75rem !important;
    border: 1px solid rgb(203 213 225 / 55%) !important;
    border-radius: 1.35rem !important;
    box-shadow: 0 18px 44px rgb(2 48 71 / 14%) !important;
  }
  body.page-product-detail main,
  body.page-product-detail #main-content,
  body.page-product-detail .pdp-main,
  body.page-product-detail .sea-shell {
    padding-bottom: 6.5rem !important;
  }
}
@media (max-width: 560px) {
  body.page-product-detail .sea-pdp-sticky__divider,
  body.page-product-detail .sea-pdp-sticky__wish {
    display: none !important;
  }
  body.page-product-detail .sea-pdp-sticky__qty {
    height: 2.55rem !important;
  }
  body.page-product-detail .sea-pdp-sticky__qty-btn {
    width: 1.7rem !important;
  }
  body.page-product-detail .sea-pdp-sticky__qty-input {
    width: 1.85rem !important;
    font-size: 0.82rem !important;
  }
  body.page-product-detail .sea-pdp-sticky__cart {
    flex: 0 1 7.25rem !important;
    max-width: 7.5rem !important;
    padding-inline-end: 0.45rem !important;
  }
  body.page-product-detail .sea-pdp-sticky__cart-text small {
    font-size: 0.62rem !important;
  }
  body.page-product-detail .sea-pdp-sticky__cart-text strong {
    font-size: 0.75rem !important;
  }
  body.page-product-detail .sea-pdp-sticky__price {
    display: none !important;
  }
  body.page-product-detail .sea-pdp-sticky__add {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding-inline: 0.75rem !important;
    font-size: 0.82rem !important;
  }
  body.page-product-detail .sea-pdp-sticky__buy {
    flex: 0 0 auto !important;
    min-width: 2.85rem !important;
    padding-inline: 0.7rem !important;
  }
  body.page-product-detail .sea-pdp-sticky__buy span {
    display: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-product-detail .sea-pdp-sticky__cart.is-bounce,
  body.page-product-detail .sea-pdp-sticky__cart.is-bounce .sea-pdp-sticky__cart-icon {
    animation: none !important;
  }
}
