/* ============================================================
 * HARDWAREXCHANGE SINGLE PRODUCT STYLES
 *
 * Scoped under #hxSingleProduct to win cascade against Hello
 * Elementor globals. Same design system as the rest.
 * ============================================================ */

#hxSingleProduct {
  --hxsp-black: #1a1a1a;
  --hxsp-orange: #E84A1C;
  --hxsp-orange-dark: #c93d14;
  --hxsp-orange-soft: #FFF0EA;
  --hxsp-green: #5BB94A;
  --hxsp-green-soft: #E8F5E5;
  --hxsp-bg: #F5F2EC;
  --hxsp-white: #ffffff;
  --hxsp-text: #1a1a1a;
  --hxsp-text-muted: #6b6b6b;
  --hxsp-border: #e5e2dc;
  --hxsp-shadow: 0 4px 16px rgba(0,0,0,0.06);
  --hxsp-shadow-strong: 0 12px 32px rgba(0,0,0,0.10);
  --hxsp-font-display: 'Bricolage Grotesque', -apple-system, sans-serif;
  --hxsp-font-body: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;

  font-family: var(--hxsp-font-body);
  color: var(--hxsp-text);
  background: var(--hxsp-bg);
}
#hxSingleProduct * { box-sizing: border-box; }

/* Error state */
.hxsp-error {
  max-width: 600px;
  margin: 80px auto;
  padding: 40px;
  text-align: center;
  background: #ffffff;
  border-radius: 14px;
  color: #6b6b6b;
}

/* ============================================================
 * BREADCRUMB
 * ============================================================ */
#hxSingleProduct .hxsp-breadcrumb {
  background: var(--hxsp-white);
  border-bottom: 1px solid var(--hxsp-border);
}
#hxSingleProduct .hxsp-breadcrumb__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--hxsp-text-muted);
}
#hxSingleProduct .hxsp-breadcrumb a,
#hxSingleProduct .hxsp-breadcrumb a:visited {
  color: var(--hxsp-text-muted) !important;
  text-decoration: none !important;
}
#hxSingleProduct .hxsp-breadcrumb a:hover { color: var(--hxsp-orange) !important; }
#hxSingleProduct .hxsp-breadcrumb__sep { opacity: 0.4; }
#hxSingleProduct .hxsp-breadcrumb__current {
  color: var(--hxsp-text) !important;
  font-weight: 500;
  /* Truncate long product names in breadcrumb */
  max-width: 480px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============================================================
 * MAIN LAYOUT
 * ============================================================ */
#hxSingleProduct .hxsp-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px 32px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* ============================================================
 * GALLERY (left column)
 * ============================================================ */
#hxSingleProduct .hxsp-gallery {
  position: sticky;
  top: 100px;
}
#hxSingleProduct .hxsp-gallery__main {
  position: relative;
  background: var(--hxsp-white);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  margin-bottom: 12px;
  border: 1px solid var(--hxsp-border);
}
#hxSingleProduct .hxsp-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  transition: opacity 0.2s;
  display: block;
}
#hxSingleProduct .hxsp-gallery__zoom {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--hxsp-border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hxsp-text);
  transition: background 0.15s, transform 0.15s;
}
#hxSingleProduct .hxsp-gallery__zoom:hover {
  background: var(--hxsp-white);
  transform: scale(1.05);
}

#hxSingleProduct .hxsp-gallery__badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}
#hxSingleProduct .hxsp-gallery__badge {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 4px;
  background: var(--hxsp-text);
  color: var(--hxsp-white);
}
#hxSingleProduct .hxsp-gallery__badge--sale { background: var(--hxsp-orange); }
#hxSingleProduct .hxsp-gallery__badge--out  { background: var(--hxsp-text-muted); }

#hxSingleProduct .hxsp-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: 8px;
}
#hxSingleProduct .hxsp-gallery__thumb {
  width: 100%;
  aspect-ratio: 1;
  background: var(--hxsp-white);
  border: 2px solid var(--hxsp-border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.15s, transform 0.15s;
}
#hxSingleProduct .hxsp-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#hxSingleProduct .hxsp-gallery__thumb:hover {
  border-color: var(--hxsp-orange);
}
#hxSingleProduct .hxsp-gallery__thumb.is-active {
  border-color: var(--hxsp-orange);
  box-shadow: 0 0 0 1px var(--hxsp-orange);
}

/* ============================================================
 * CONTENT (middle column)
 * ============================================================ */
#hxSingleProduct .hxsp-content { min-width: 0; }

#hxSingleProduct .hxsp-head {
  margin-bottom: 20px;
}
#hxSingleProduct .hxsp-head__brand {
  font-family: var(--hxsp-font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--hxsp-orange);
  margin-bottom: 10px;
}
#hxSingleProduct .hxsp-head__title {
  font-family: var(--hxsp-font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--hxsp-text);
  margin: 0 0 12px;
}
#hxSingleProduct .hxsp-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: var(--hxsp-text-muted);
}
#hxSingleProduct .hxsp-head__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
#hxSingleProduct .hxsp-head__sku {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  color: var(--hxsp-text);
  font-weight: 500;
}
#hxSingleProduct .hxsp-copy-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--hxsp-text-muted);
  padding: 2px;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s;
}
#hxSingleProduct .hxsp-copy-btn:hover { color: var(--hxsp-orange); }

/* Short description */
#hxSingleProduct .hxsp-short-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--hxsp-text);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hxsp-border);
}
#hxSingleProduct .hxsp-short-desc p { margin: 0 0 10px; }
#hxSingleProduct .hxsp-short-desc p:last-child { margin: 0; }

/* ============================================================
 * VARIATIONS
 * ============================================================ */
#hxSingleProduct .hxsp-variations {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hxsp-border);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
#hxSingleProduct .hxsp-variations__row { }
#hxSingleProduct .hxsp-variations__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--hxsp-text);
  margin-bottom: 10px;
}
#hxSingleProduct .hxsp-variations__current {
  font-weight: 400;
  color: var(--hxsp-text-muted);
  margin-left: 4px;
}
#hxSingleProduct .hxsp-variations__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Color swatch */
#hxSingleProduct .hxsp-swatch {
  width: 40px;
  height: 40px;
  padding: 3px;
  background: var(--hxsp-white);
  border: 2px solid var(--hxsp-border);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}
#hxSingleProduct .hxsp-swatch:hover {
  border-color: var(--hxsp-orange);
  transform: scale(1.05);
}
#hxSingleProduct .hxsp-swatch.is-active {
  border-color: var(--hxsp-orange);
  box-shadow: 0 0 0 1px var(--hxsp-orange);
}
#hxSingleProduct .hxsp-swatch__circle {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.08);
}

/* Finish chip */
#hxSingleProduct .hxsp-chip {
  padding: 8px 16px;
  background: var(--hxsp-white);
  border: 1px solid var(--hxsp-border);
  border-radius: 100px;
  font-family: var(--hxsp-font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--hxsp-text);
  cursor: pointer;
  transition: all 0.15s;
}
#hxSingleProduct .hxsp-chip:hover {
  border-color: var(--hxsp-orange);
  color: var(--hxsp-orange);
}
#hxSingleProduct .hxsp-chip.is-active {
  background: var(--hxsp-text);
  color: var(--hxsp-white);
  border-color: var(--hxsp-text);
}

/* ============================================================
 * INFO GRID (delivery / returns / payment cards)
 * ============================================================ */
#hxSingleProduct .hxsp-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}
#hxSingleProduct .hxsp-info-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--hxsp-white);
  border: 1px solid var(--hxsp-border);
  border-radius: 12px;
}
#hxSingleProduct .hxsp-info-card__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--hxsp-orange-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hxsp-orange);
}
#hxSingleProduct .hxsp-info-card__text {
  font-size: 12px;
  color: var(--hxsp-text-muted);
  line-height: 1.4;
}
#hxSingleProduct .hxsp-info-card__title {
  font-weight: 600;
  color: var(--hxsp-text);
  font-size: 13px;
  margin-bottom: 2px;
}

/* ============================================================
 * STICKY CTA SIDEBAR (right column)
 * ============================================================ */
#hxSingleProduct .hxsp-sidebar {
  position: sticky;
  top: 100px;
}
#hxSingleProduct .hxsp-cta {
  background: var(--hxsp-white);
  border: 1px solid var(--hxsp-border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--hxsp-shadow);
}

/* VAT toggle */
#hxSingleProduct .hxsp-cta__vat-toggle {
  display: flex;
  background: var(--hxsp-bg);
  border-radius: 8px;
  padding: 3px;
  margin-bottom: 16px;
}
#hxSingleProduct .hxsp-cta__vat-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--hxsp-font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--hxsp-text-muted);
  transition: all 0.15s;
}
#hxSingleProduct .hxsp-cta__vat-btn.is-active {
  background: var(--hxsp-white);
  color: var(--hxsp-text);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Price */
#hxSingleProduct .hxsp-cta__price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}
#hxSingleProduct .hxsp-cta__price,
#hxSingleProduct .hxsp-cta__price .woocommerce-Price-amount,
#hxSingleProduct .hxsp-cta__price bdi {
  font-family: var(--hxsp-font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--hxsp-text);
  letter-spacing: -0.02em;
  line-height: 1;
}
#hxSingleProduct .hxsp-cta__price-old {
  font-size: 16px;
  font-weight: 500;
  color: var(--hxsp-text-muted);
  text-decoration: line-through;
}
#hxSingleProduct .hxsp-cta__price-vat {
  font-size: 11px;
  color: var(--hxsp-text-muted);
  margin-bottom: 16px;
}

/* Stock */
#hxSingleProduct .hxsp-cta__stock {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  background: var(--hxsp-green-soft);
  color: var(--hxsp-text);
}
#hxSingleProduct .hxsp-cta__stock.is-out {
  background: rgba(232, 74, 28, 0.08);
  color: var(--hxsp-text);
}
#hxSingleProduct .hxsp-cta__stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hxsp-green);
  flex-shrink: 0;
}
#hxSingleProduct .hxsp-cta__stock.is-out .hxsp-cta__stock-dot {
  background: var(--hxsp-orange);
}

/* Qty + Add to cart */
#hxSingleProduct .hxsp-cta__qty-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
#hxSingleProduct .hxsp-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--hxsp-border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--hxsp-white);
  flex-shrink: 0;
}
#hxSingleProduct .hxsp-qty__btn {
  width: 36px;
  height: 44px;
  background: transparent;
  border: none;
  font-size: 18px;
  font-weight: 600;
  color: var(--hxsp-text);
  cursor: pointer;
  transition: background 0.15s;
}
#hxSingleProduct .hxsp-qty__btn:hover { background: var(--hxsp-bg); }
#hxSingleProduct .hxsp-qty__input {
  width: 44px;
  height: 44px;
  border: none;
  border-left: 1px solid var(--hxsp-border);
  border-right: 1px solid var(--hxsp-border);
  text-align: center;
  font-family: var(--hxsp-font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--hxsp-text);
  background: var(--hxsp-white);
  -moz-appearance: textfield;
}
#hxSingleProduct .hxsp-qty__input::-webkit-outer-spin-button,
#hxSingleProduct .hxsp-qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
#hxSingleProduct .hxsp-qty__input:focus { outline: none; }

#hxSingleProduct .hxsp-cta__add {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--hxsp-orange);
  color: var(--hxsp-white);
  border: none;
  padding: 12px 16px;
  border-radius: 10px;
  font-family: var(--hxsp-font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
#hxSingleProduct .hxsp-cta__add:hover:not(:disabled) {
  background: var(--hxsp-orange-dark);
}
#hxSingleProduct .hxsp-cta__add:disabled {
  background: var(--hxsp-border);
  color: var(--hxsp-text-muted);
  cursor: not-allowed;
}

/* Quote button */
#hxSingleProduct .hxsp-cta__quote,
#hxSingleProduct .hxsp-cta__quote:visited {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  background: var(--hxsp-white);
  color: var(--hxsp-text) !important;
  border: 1px solid var(--hxsp-text);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  margin-bottom: 16px;
  transition: background 0.15s, color 0.15s;
}
#hxSingleProduct .hxsp-cta__quote:hover {
  background: var(--hxsp-text);
  color: var(--hxsp-white) !important;
}

/* Trust badges */
#hxSingleProduct .hxsp-cta__trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--hxsp-border);
}
#hxSingleProduct .hxsp-cta__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--hxsp-text);
}
#hxSingleProduct .hxsp-cta__trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hxsp-green);
  flex-shrink: 0;
}

/* ============================================================
 * TABS
 * ============================================================ */
#hxSingleProduct .hxsp-tabs {
  margin-top: 16px;
}
#hxSingleProduct .hxsp-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--hxsp-border);
  margin-bottom: 24px;
}
#hxSingleProduct .hxsp-tab {
  padding: 12px 18px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--hxsp-font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--hxsp-text-muted);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  margin-bottom: -1px;
}
#hxSingleProduct .hxsp-tab:hover { color: var(--hxsp-text); }
#hxSingleProduct .hxsp-tab.is-active {
  color: var(--hxsp-text);
  border-bottom-color: var(--hxsp-orange);
}

#hxSingleProduct .hxsp-tab-panel {
  display: none;
  padding: 8px 0;
}
#hxSingleProduct .hxsp-tab-panel.is-active { display: block; }

/* Description body */
#hxSingleProduct .hxsp-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--hxsp-text);
  max-width: 800px;
}
#hxSingleProduct .hxsp-desc p { margin: 0 0 14px; }
#hxSingleProduct .hxsp-desc h2,
#hxSingleProduct .hxsp-desc h3 {
  font-family: var(--hxsp-font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 24px 0 12px;
}
#hxSingleProduct .hxsp-desc ul { padding-left: 22px; margin: 0 0 14px; }
#hxSingleProduct .hxsp-desc ul li { margin-bottom: 4px; }

/* Specs grouped */
#hxSingleProduct .hxsp-specs__group {
  margin-bottom: 32px;
}
#hxSingleProduct .hxsp-specs__group-title {
  font-family: var(--hxsp-font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hxsp-text);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--hxsp-orange);
  display: inline-block;
}
#hxSingleProduct .hxsp-specs__table {
  max-width: 720px;
}
#hxSingleProduct .hxsp-specs__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--hxsp-border);
  font-size: 14px;
}
#hxSingleProduct .hxsp-specs__row:last-child { border-bottom: none; }
#hxSingleProduct .hxsp-specs__label {
  color: var(--hxsp-text-muted);
}
#hxSingleProduct .hxsp-specs__value {
  color: var(--hxsp-text);
  font-weight: 500;
}

/* Text block (garantie / livraison) */
#hxSingleProduct .hxsp-text-block {
  max-width: 720px;
  font-size: 15px;
  line-height: 1.7;
}
#hxSingleProduct .hxsp-text-block h3 {
  font-family: var(--hxsp-font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 22px 0 10px;
  color: var(--hxsp-text);
}
#hxSingleProduct .hxsp-text-block h3:first-child { margin-top: 0; }
#hxSingleProduct .hxsp-text-block p { margin: 0 0 14px; color: var(--hxsp-text); }
#hxSingleProduct .hxsp-text-block a,
#hxSingleProduct .hxsp-text-block a:visited { color: var(--hxsp-orange); }

/* Video tab */
#hxSingleProduct .hxsp-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  max-width: 800px;
}
#hxSingleProduct .hxsp-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Empty state */
#hxSingleProduct .hxsp-empty {
  padding: 40px;
  text-align: center;
  color: var(--hxsp-text-muted);
  font-size: 14px;
}

/* ============================================================
 * RELATED PRODUCTS
 * ============================================================ */
#hxSingleProduct .hxsp-related {
  background: var(--hxsp-white);
  border-top: 1px solid var(--hxsp-border);
}
#hxSingleProduct .hxsp-related__body {
  max-width: 1440px;
  margin: 0 auto;
  padding: 56px 32px;
}
#hxSingleProduct .hxsp-related__title {
  font-family: var(--hxsp-font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--hxsp-text);
  margin: 0 0 28px;
}
#hxSingleProduct .hxsp-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
#hxSingleProduct .hxsp-related__card,
#hxSingleProduct .hxsp-related__card:visited {
  text-decoration: none !important;
  color: var(--hxsp-text) !important;
  background: var(--hxsp-white);
  border: 1px solid var(--hxsp-border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
#hxSingleProduct .hxsp-related__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--hxsp-shadow-strong);
  border-color: var(--hxsp-orange);
}
#hxSingleProduct .hxsp-related__img-wrap {
  aspect-ratio: 1 / 1;
  background: var(--hxsp-bg);
  overflow: hidden;
}
#hxSingleProduct .hxsp-related__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
#hxSingleProduct .hxsp-related__card:hover .hxsp-related__img {
  transform: scale(1.05);
}
#hxSingleProduct .hxsp-related__name {
  padding: 12px 14px 4px;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--hxsp-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#hxSingleProduct .hxsp-related__price {
  padding: 4px 14px 14px;
  font-family: var(--hxsp-font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--hxsp-text);
}
#hxSingleProduct .hxsp-related__price .woocommerce-Price-amount,
#hxSingleProduct .hxsp-related__price bdi {
  color: var(--hxsp-text);
  font-family: var(--hxsp-font-display);
}

/* ============================================================
 * LIGHTBOX
 * ============================================================ */
#hxSingleProduct .hxsp-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
#hxSingleProduct .hxsp-lightbox.is-open { display: flex; }
#hxSingleProduct .hxsp-lightbox__img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
}
#hxSingleProduct .hxsp-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--hxsp-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
#hxSingleProduct .hxsp-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}
#hxSingleProduct .hxsp-lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--hxsp-white);
  font-size: 13px;
  opacity: 0.7;
}

/* ============================================================
 * TOAST
 * ============================================================ */
#hxSingleProduct .hxsp-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--hxsp-text);
  color: var(--hxsp-white);
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  z-index: 9000;
  box-shadow: var(--hxsp-shadow-strong);
}
#hxSingleProduct .hxsp-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
 * RESPONSIVE
 * ============================================================ */
@media (max-width: 1200px) {
  #hxSingleProduct .hxsp-main {
    grid-template-columns: 1fr 1fr;
  }
  #hxSingleProduct .hxsp-sidebar {
    grid-column: 1 / -1;
    position: static;
  }
}
@media (max-width: 768px) {
  #hxSingleProduct .hxsp-main {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px 16px 60px;
  }
  #hxSingleProduct .hxsp-gallery,
  #hxSingleProduct .hxsp-sidebar {
    position: static;
  }
  #hxSingleProduct .hxsp-head__title {
    font-size: 24px;
  }
  #hxSingleProduct .hxsp-cta__price,
  #hxSingleProduct .hxsp-cta__price .woocommerce-Price-amount,
  #hxSingleProduct .hxsp-cta__price bdi {
    font-size: 28px;
  }
  #hxSingleProduct .hxsp-related__body {
    padding: 36px 16px;
  }
  #hxSingleProduct .hxsp-related__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  #hxSingleProduct .hxsp-tab {
    padding: 10px 14px;
    font-size: 13px;
  }
  #hxSingleProduct .hxsp-specs__row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
