/**
 * Online product PDP — modern gallery, tabs, related carousel.
 */

.wh-online-product {
  background:
    radial-gradient(1100px 420px at 8% -8%, rgba(200, 16, 46, 0.05), transparent 55%),
    linear-gradient(180deg, #f6f6f4 0%, #fff 30%, #fff 100%);
  padding-bottom: 72px;
  overflow-x: clip;
  max-width: 100%;
}

.wh-online-hero {
  padding: 20px 0 8px;
  max-width: 100%;
  min-width: 0;
}

.wh-online-hero .container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
  box-sizing: border-box;
  min-width: 0;
}

/* --------------------------------------------------------------------------
   Product crumb bar — product photo backdrop
   -------------------------------------------------------------------------- */
.wh-online-crumbbar {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 88px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(900px 180px at 12% 0%, rgba(200, 16, 46, 0.22), transparent 55%),
    linear-gradient(105deg, #141414 0%, #1f1f1f 48%, #2a1216 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wh-online-crumbbar__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.wh-online-crumbbar__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transform: scale(1.04);
  filter: saturate(0.92) contrast(1.05);
}

.wh-online-crumbbar__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.82) 0%, rgba(10, 10, 10, 0.55) 42%, rgba(10, 10, 10, 0.72) 100%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.25) 0%, rgba(10, 10, 10, 0.55) 100%);
  pointer-events: none;
}

.wh-online-crumbbar.has-media .wh-online-crumbbar__veil {
  background:
    linear-gradient(105deg, rgba(8, 8, 8, 0.78) 0%, rgba(8, 8, 8, 0.42) 45%, rgba(20, 8, 10, 0.7) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.wh-online-crumbbar__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px 28px;
  box-sizing: border-box;
}

.wh-online-crumbbar .i3d-crumbs {
  margin: 0;
  max-width: 100%;
}

.wh-online-crumbbar .i3d-crumbs__list {
  justify-content: flex-start;
}

.wh-online-crumbbar .i3d-crumbs__item,
.wh-online-crumbbar .i3d-crumbs__item a,
.wh-online-crumbbar .i3d-crumbs__item span,
.wh-online-crumbbar .i3d-crumbs a,
.wh-online-crumbbar .i3d-crumbs.woocommerce-breadcrumb,
.wh-online-crumbbar .i3d-crumbs.woocommerce-breadcrumb a {
  color: #fff !important;
}

.wh-online-crumbbar .i3d-crumbs__sep {
  color: rgba(255, 255, 255, 0.55) !important;
  opacity: 1;
}

.wh-online-crumbbar .i3d-crumbs__item a:hover {
  color: #fff !important;
  text-decoration-color: rgba(255, 255, 255, 0.7);
}

.wh-online-crumbbar .i3d-crumbs__item.is-current span {
  color: #fff !important;
  opacity: 0.92;
  font-weight: 700;
}

.wh-online-crumbs {
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 12px;
  color: #6b7280;
}

.wh-online-crumbs a {
  color: #374151;
  text-decoration: none;
  font-weight: 600;
}

.wh-online-crumbs a:hover { color: var(--tx-accent, #c8102e); }

.wh-online-crumbs .is-current {
  color: #111;
  font-weight: 600;
  max-width: 32ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wh-online-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: start;
  min-width: 0;
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   Vertical gallery
   -------------------------------------------------------------------------- */
.wh-online-gallery {
  position: sticky;
  top: calc(var(--tx-header-offset, 88px) + 12px);
  min-width: 0;
  max-width: 100%;
}

.wh-gallery {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.wh-gallery__rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  min-width: 0;
  max-width: 100%;
  max-height: min(560px, 100%);
  align-self: start;
}

.wh-gallery__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 36px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #fff;
  color: #111;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.wh-gallery__nav:hover {
  background: var(--tx-accent, #c8102e);
  border-color: var(--tx-accent, #c8102e);
  color: #fff;
  transform: translateY(-1px);
}

.wh-gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 520px;
  overflow-y: auto;
  padding: 3px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  min-width: 0;
}

.wh-gallery__thumb {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 1.5px solid #e8e8e6;
  border-radius: 14px;
  overflow: hidden;
  background: #f4f4f2;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.wh-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  display: block;
  background: #f4f4f2;
}

.wh-gallery__thumb:hover {
  border-color: #c4c4c4;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(10, 10, 10, 0.08);
}

.wh-gallery__thumb.is-active {
  border-color: var(--tx-accent, #c8102e);
  box-shadow: 0 0 0 2px rgba(200, 16, 46, 0.18), 0 10px 24px rgba(10, 10, 10, 0.1);
}

.wh-gallery__stage {
  position: relative;
  margin: 0;
  background:
    radial-gradient(ellipse at 50% 30%, #fff 0%, #f4f4f2 70%),
    #f7f7f5;
  border: 1px solid #ececec;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  min-height: 0;
  max-height: min(640px, 100%);
  min-width: 0;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.07);
  cursor: crosshair;
}

.wh-gallery__stage.is-magnifying {
  cursor: none;
}

.wh-gallery__image {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center;
  display: block;
  cursor: inherit;
  transition: opacity 0.25s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.wh-gallery__lens {
  position: absolute;
  width: min(42%, 220px);
  height: min(42%, 220px);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.18),
    0 14px 36px rgba(15, 23, 42, 0.28);
  background-repeat: no-repeat;
  background-color: #fff;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  z-index: 3;
  transition: opacity 0.12s ease;
}

.wh-gallery__stage.is-magnifying .wh-gallery__lens {
  opacity: 1;
}

.wh-gallery__hint {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.wh-gallery__stage:hover .wh-gallery__hint {
  opacity: 1;
  transform: translateY(0);
}

.wh-gallery__stage.is-magnifying .wh-gallery__hint {
  opacity: 0;
}

.wh-gallery__zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  min-height: 40px;
  padding: 0 14px 0 12px;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #111;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tx-font-body, Manrope, sans-serif);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.02em;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.wh-gallery__zoom:hover {
  background: #111;
  color: #fff;
  transform: scale(1.04);
}

/* --------------------------------------------------------------------------
   Summary / buy box
   -------------------------------------------------------------------------- */
.wh-online-summary { padding: 4px 0 0; min-width: 0; max-width: 100%; }

.wh-online-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wh-online-kicker {
  margin: 0 0 10px;
  font-family: var(--tx-font-heading, Syne, sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tx-accent, #c8102e);
}

.wh-online-title {
  margin: 0 0 12px;
  font-family: var(--tx-font-heading, Syne, sans-serif);
  font-size: clamp(1.45rem, 5.2vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #111;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  max-width: 100%;
}

.wh-online-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}

.wh-online-stars {
  display: inline-flex;
  gap: 2px;
  color: #d1d5db;
  font-size: 14px;
  letter-spacing: 1px;
}

.wh-online-stars .is-on { color: #111; }

.wh-online-rating__meta {
  font-size: 13px;
  color: #6b7280;
  font-weight: 600;
}

.wh-online-excerpt {
  margin: 0 0 18px;
  color: var(--tx-lead, #4b5563);
  font-size: 15px;
  line-height: 1.7;
}

.wh-online-excerpt p { margin: 0 0 0.65em; }
.wh-online-excerpt p:last-child { margin-bottom: 0; }

.wh-online-excerpt--hero {
  margin-bottom: 20px;
}

.wh-online-product.is-variable .wh-online-excerpt--hero {
  margin-top: 2px;
  padding-top: 18px;
  border-top: 1px solid var(--tx-border, #ececec);
}

.wh-online-model-name {
  margin: -4px 0 14px;
  font-size: 15px;
  font-weight: 600;
  color: #374151;
}

.wh-model-picker {
  margin: 0 0 0;
}

.wh-model-picker__label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
}

.wh-model-picker__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wh-model-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border: 1.5px solid #e5e5e5;
  border-radius: 16px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  color: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.wh-model-card:hover {
  border-color: #111;
  transform: translateY(-1px);
}

.wh-model-card.is-active {
  border-color: #111;
  box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.18);
}

.wh-model-card__media {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background: #f6f6f4;
}

.wh-model-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.wh-model-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.wh-model-card__code {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
}

.wh-model-card__pretty {
  font-family: var(--tx-font-heading, Syne, sans-serif);
  font-size: 14px;
  font-weight: 700;
  color: #111;
  line-height: 1.25;
}

.wh-model-card__price {
  font-size: 13px;
  font-weight: 700;
  color: #111;
}

.wh-model-card__price del {
  color: #9ca3af;
  font-weight: 600;
  margin-right: 4px;
}

.wh-model-card__price ins {
  text-decoration: none;
  color: var(--tx-accent, #c8102e);
}

.wh-online-product.is-variable .wh-online-cart table.variations,
.wh-online-product.is-variable .reset_variations,
.wh-online-product.is-variable .woocommerce-variation-description,
.wh-online-product.is-variable .woocommerce-variation-price {
  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;
}

.wh-online-product.is-variable .wh-online-cart form.cart,
.wh-online-product.is-variable .woocommerce-variation-add-to-cart {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  position: relative;
}

.wh-online-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin: 0 0 14px;
  padding: 16px 18px;
  background: #fafafa;
  border: 1px solid #ececec;
  border-radius: 14px;
}

.wh-online-price {
  margin: 0;
  font-family: var(--tx-font-heading, Syne, sans-serif);
  font-size: clamp(1.7rem, 2.4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #111;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
}

.wh-online-price del {
  opacity: 0.5;
  font-size: 0.75em;
  margin-right: 0;
}

.wh-online-price ins {
  text-decoration: none;
  color: var(--tx-accent, #c8102e);
}

.wh-online-sku {
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
}

.wh-online-sku span {
  font-weight: 700;
  color: #374151;
}

.wh-online-stock .stock {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.wh-online-stock .in-stock {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.wh-online-stock .out-of-stock {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Keep a single stock badge (near price) — hide Woo defaults in the cart form */
.wh-online-cart .stock,
.wh-online-cart .availability,
.wh-online-summary form.cart > .stock,
.wh-online-summary .woocommerce-variation-availability {
  display: none !important;
}

.wh-online-cart form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 18px;
  padding: 14px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
}

.wh-online-cart .quantity {
  margin: 0;
  flex: 0 0 auto;
}

.wh-online-cart .quantity .qty {
  width: 72px !important;
  min-width: 72px;
  max-width: 72px;
  min-height: 52px !important;
  height: 52px !important;
  padding: 0 8px !important;
  border: 1.5px solid #d1d5db !important;
  border-radius: 12px !important;
  text-align: center;
  font-size: 16px !important;
  font-weight: 700;
  line-height: 1 !important;
  background: #fff !important;
  box-sizing: border-box;
  color: #111;
}

.wh-online-cart .single_add_to_cart_button,
.wh-online-cart .button,
body.single-product .wh-online-product .wh-online-cart button.single_add_to_cart_button.button,
body.single-product .wh-online-product .wh-online-cart button.single_add_to_cart_button.alt {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0;
  min-height: 52px !important;
  height: 52px !important;
  max-height: 52px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #111 !important;
  color: #fff !important;
  font-family: var(--tx-font-heading, Syne, sans-serif);
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
  text-transform: none !important;
  line-height: 1 !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.wh-online-cart .single_add_to_cart_button:hover,
.wh-online-cart .button:hover,
body.single-product .wh-online-product .wh-online-cart button.single_add_to_cart_button.button:hover,
body.single-product .wh-online-product .wh-online-cart button.single_add_to_cart_button.alt:hover {
  background: var(--tx-accent, #c8102e) !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(200, 16, 46, 0.22);
}

.wh-online-cart .single_add_to_cart_button.loading,
.wh-online-cart .button.loading {
  opacity: 0.72;
  pointer-events: none;
}

.wh-online-cart .variations {
  width: 100%;
  margin: 0 0 8px;
}

.wh-online-cart .variations td,
.wh-online-cart .variations th {
  padding: 6px 0;
  border: 0;
}

.wh-online-cart .variations select {
  width: 100%;
  min-height: 46px;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  padding: 0 12px;
  background: #fff;
}

.wh-online-assurance {
  margin-top: 2px;
}

.wh-online-ship {
  margin: 0 0 14px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.55;
}

.wh-online-trust {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: #f7f7f5;
  border: 1px solid #ececec;
  border-radius: 16px;
  overflow: hidden;
}

.wh-online-trust li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 0;
  padding: 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  transition: background 0.15s ease;
}

.wh-online-trust li + li {
  border-top: 1px solid #e8e8e6;
  border-radius: 0;
}

.wh-online-trust li:hover {
  background: #fff;
}

.wh-online-trust__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e8e8e6;
  color: var(--tx-accent, #c8102e);
  flex-shrink: 0;
}

.wh-online-trust__copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding-top: 2px;
}

.wh-online-trust strong,
.wh-online-trust__copy strong {
  font-size: 13.5px;
  font-weight: 750;
  color: #111;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.wh-online-trust span,
.wh-online-trust__copy span {
  font-size: 12.5px;
  color: #6b7280;
  font-weight: 500;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Tabs: Parameter / Details / Company
   -------------------------------------------------------------------------- */
.wh-online-info {
  padding: 40px 0 8px;
}

.wh-online-tabs {
  background: #fff;
  border: 1px solid #e8e8e6;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.04);
}

.wh-online-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid #ececec;
  background: #fafafa;
  padding: 0 8px;
}

.wh-online-tabs__tab {
  appearance: none;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 16px 18px 14px;
  cursor: pointer;
  color: #9ca3af;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.wh-online-tabs__num {
  font-family: var(--tx-font-heading, Syne, sans-serif);
  font-size: 13px;
  font-weight: 800;
  color: inherit;
}

.wh-online-tabs__label {
  font-family: var(--tx-font-heading, Syne, sans-serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.wh-online-tabs__tab:hover {
  color: #374151;
}

.wh-online-tabs__tab.is-active {
  color: #111;
  border-bottom-color: var(--tx-accent, #c8102e);
}

.wh-online-tabs__tab.is-active .wh-online-tabs__num {
  color: var(--tx-accent, #c8102e);
}

.wh-online-tabs__panels {
  padding: 0;
}

.wh-online-tabs__panel {
  padding: 0;
}

.wh-online-tabs__panel[hidden] {
  display: none !important;
}

.wh-online-specs__table-wrap {
  overflow: hidden;
}

.wh-online-specs__table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.wh-online-specs__table th,
.wh-online-specs__table td {
  padding: 15px 22px;
  text-align: left;
  border-bottom: 1px solid #efefef;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.5;
}

.wh-online-specs__table tr:last-child th,
.wh-online-specs__table tr:last-child td {
  border-bottom: 0;
}

.wh-online-specs__table th {
  width: 28%;
  font-weight: 700;
  color: #111;
  background: #f7f7f5;
}

.wh-online-specs__table td {
  color: #374151;
  background: #fff;
}

.wh-online-specs__table tr:hover td {
  background: #fcfcfb;
}

.wh-online-prose {
  padding: 24px 26px 30px;
  color: #374151;
  line-height: 1.75;
  font-size: 15px;
}

.wh-online-prose p { margin: 0 0 1em; }

.wh-online-company-link {
  color: var(--tx-accent, #c8102e);
  font-weight: 700;
  text-decoration: none;
}

.wh-online-company-link:hover { text-decoration: underline; }

.wh-online-tabs__empty {
  margin: 0;
  padding: 28px 26px;
  color: #6b7280;
}

.wh-online-section-kicker {
  margin: 0 0 8px;
  font-family: var(--tx-font-heading, Syne, sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tx-accent, #c8102e);
}

/* --------------------------------------------------------------------------
   Related carousel
   -------------------------------------------------------------------------- */
.wh-online-related {
  padding: 48px 0 0;
}

.wh-online-related__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.wh-online-related__head h2 {
  margin: 0;
  font-family: var(--tx-font-heading, Syne, sans-serif);
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  color: #111;
}

.wh-online-related__nav {
  display: inline-flex;
  gap: 8px;
}

.wh-online-related__btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.wh-online-related__btn:hover:not(:disabled) {
  background: #111;
  border-color: #111;
  color: #fff;
}

.wh-online-related__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.wh-online-related__viewport {
  --related-gap: 20px;
  --related-cols: 4;
  overflow: hidden;
  width: 100%;
}

.wh-online-related__track {
  display: flex;
  gap: var(--related-gap);
  width: 100%;
  padding: 4px 0 8px;
  align-items: stretch;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.wh-related-card {
  position: relative;
  flex: 0 0 calc((100% - (var(--related-cols) - 1) * var(--related-gap)) / var(--related-cols));
  width: calc((100% - (var(--related-cols) - 1) * var(--related-gap)) / var(--related-cols));
  max-width: calc((100% - (var(--related-cols) - 1) * var(--related-gap)) / var(--related-cols));
  min-width: 0;
  height: auto;
  background: #fff;
  border: 1px solid #e8e8e6;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.wh-related-card.is-warm { background: #f7f4ef; border-color: #ebe4d8; }
.wh-related-card.is-soft { background: #fafafa; border-color: #ececec; }

.wh-related-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  outline: none;
}

.wh-related-card__link:focus-visible {
  box-shadow: inset 0 0 0 2px var(--tx-accent, #c8102e);
}

.wh-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
  background: var(--tx-accent, #c8102e);
  border-color: var(--tx-accent, #c8102e);
}

.wh-related-card:hover .wh-related-card__title,
.wh-related-card:hover .wh-related-card__stars,
.wh-related-card:hover .wh-related-card__stars .is-on,
.wh-related-card:hover .wh-related-card__price,
.wh-related-card:hover .wh-related-card__price .amount,
.wh-related-card:hover .wh-related-card__price del,
.wh-related-card:hover .wh-related-card__price del .amount,
.wh-related-card:hover .wh-related-card__price ins {
  color: #fff !important;
}

.wh-related-card:hover .wh-related-card__price del {
  opacity: 0.72;
}

.wh-related-card:hover .wh-related-card__quick {
  background: #fff;
  color: #111;
  transform: scale(1.06);
}

.wh-related-card__quick {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.1);
  transition: transform 0.18s ease, background 0.18s ease;
}

.wh-related-card__media {
  display: block;
  aspect-ratio: 1 / 1;
  width: 100%;
  padding: 18px;
  background: transparent;
}

.wh-related-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.wh-related-card:hover .wh-related-card__media img {
  transform: scale(1.05);
}

.wh-related-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: 0 16px 18px;
  text-align: center;
  min-height: 0;
}

.wh-related-card__stars {
  display: flex;
  justify-content: center;
  gap: 2px;
  color: #d1d5db;
  font-size: 13px;
  line-height: 1;
  min-height: 16px;
}

.wh-related-card__stars .is-on { color: #111; }

.wh-related-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  min-height: calc(1.35em * 3);
  font-family: var(--tx-font-heading, Syne, sans-serif);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  color: #111;
}

.wh-related-card__price {
  display: block;
  margin-top: auto;
  padding-top: 4px;
  font-weight: 800;
  color: #111;
  font-size: 14px;
  line-height: 1.3;
}

.wh-related-card__price del {
  margin-right: 6px;
  color: #94a3b8;
  font-weight: 600;
  font-size: 12px;
}

.wh-related-card__price ins {
  text-decoration: none;
}

/* Lightbox */
.wh-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(6, 6, 6, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px 24px 28px;
  backdrop-filter: blur(6px);
}

.wh-lightbox[hidden] { display: none !important; }

.wh-lightbox__stage {
  position: relative;
  width: min(1200px, 96vw);
  height: min(86vh, 900px);
  overflow: hidden;
  border-radius: 14px;
  background: #0a0a0a;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
  cursor: grab;
  touch-action: none;
}

.wh-lightbox__stage.is-dragging {
  cursor: grabbing;
}

.wh-lightbox img,
.wh-lightbox__stage img {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.12s ease-out;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.wh-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.wh-lightbox__tools {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.wh-lightbox__tool {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.wh-lightbox__tool:hover {
  background: var(--tx-accent, #c8102e);
  color: #fff;
}

body.wh-lightbox-open { overflow: hidden; }

.wh-header-cart { position: relative; }

.wh-header-cart .cart-count {
  position: absolute;
  top: -5px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--tx-accent, #c8102e);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 14px;
  text-align: center;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
  box-sizing: border-box;
}

.wh-header-cart .cart-count[hidden] { display: none !important; }

@media (max-width: 960px) {
  .wh-online-crumbbar {
    min-height: 72px;
  }

  .wh-online-crumbbar__inner {
    padding: 16px 20px;
  }

  .wh-online-crumbbar .i3d-crumbs__list {
    justify-content: flex-start;
  }

  .wh-gallery__lens,
  .wh-gallery__hint {
    display: none !important;
  }

  .wh-gallery__stage {
    cursor: zoom-in;
  }

  .wh-gallery__zoom span {
    display: none;
  }

  .wh-gallery__zoom {
    width: 40px;
    padding: 0;
  }

  .wh-lightbox {
    padding: 64px 12px 16px;
  }

  .wh-lightbox__stage {
    width: 100%;
    height: min(78vh, 720px);
    border-radius: 10px;
  }

  .wh-online-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .wh-online-gallery { position: static; }

  .wh-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .wh-gallery__rail {
    flex-direction: row;
    align-items: center;
    order: 2;
    width: 100%;
    max-width: 100%;
  }

  .wh-gallery__nav {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
  }

  .wh-gallery__nav--prev svg { transform: rotate(-90deg); }
  .wh-gallery__nav--next svg { transform: rotate(-90deg); }

  .wh-gallery__thumbs {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .wh-gallery__thumbs::-webkit-scrollbar { display: none; }

  .wh-gallery__thumb {
    width: 96px;
    flex: 0 0 96px;
  }

  .wh-gallery__thumb img {
    padding: 8px;
  }

  .wh-gallery__stage {
    order: 1;
    aspect-ratio: 1 / 1;
    min-height: 0;
    max-height: none;
  }

  .wh-gallery__image {
    max-height: 100%;
  }

  .wh-online-cart form.cart {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
  }

  .wh-model-picker__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .wh-online-cart .quantity {
    flex: 0 0 auto;
  }

  .wh-online-cart .quantity .qty {
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
  }

  .wh-online-cart .single_add_to_cart_button {
    flex: 1 1 auto !important;
    width: auto !important;
    min-height: 52px !important;
    height: 52px !important;
    max-height: 52px !important;
  }

  .wh-online-specs__table th,
  .wh-online-specs__table td {
    display: block;
    width: 100%;
  }

  .wh-online-specs__table th {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .wh-online-specs__table td {
    padding-top: 0;
    padding-bottom: 16px;
  }
}

@media (max-width: 1100px) {
  .wh-online-related__viewport {
    --related-cols: 3;
    --related-gap: 16px;
  }
}

@media (max-width: 820px) {
  .wh-online-related__viewport {
    --related-cols: 2;
    --related-gap: 14px;
  }

  .wh-related-card__title {
    min-height: calc(1.35em * 2);
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 640px) {
  .wh-online-tabs__tab {
    flex: 1 1 auto;
    justify-content: center;
    padding: 14px 10px 12px;
  }

  .wh-online-tabs__label { font-size: 12px; }

  .wh-online-related__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .wh-online-related__viewport {
    --related-gap: 12px;
  }

  .wh-related-card__media {
    padding: 12px;
  }

  .wh-related-card__body {
    padding: 0 12px 14px;
  }
}

@media (max-width: 420px) {
  .wh-online-related__viewport {
    --related-cols: 1;
  }
}

/* Product video styles live in product-page.css (.wh-product-video--pdp) for all PDPs. */
