/* ============================================================================
   ONEEXISTS — Single Product page (WooCommerce override)
   Loaded on is_product() only.
   ============================================================================ */

/* Kill Astra breadcrumb + title on our custom product page */
.single-product .ast-breadcrumbs-wrapper,
.single-product .astra-breadcrumbs,
.single-product .ast-single-post-order,
.single-product .entry-header,
.single-product .entry-title {
  display: none !important;
}

/* Kill sidebar */
.single-product #primary { max-width: 100% !important; width: 100% !important; padding: 0 !important; }
.single-product #secondary { display: none !important; }

/* WooCommerce default wrappers */
.oe-product-main {
  background: rgb(var(--oe-bg)) !important;
  color: rgb(var(--oe-text)) !important;
}

/* ---------- HERO SPLIT ---------- */
.oe-product-hero .oe-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--oe-gap-xl);
  align-items: start;
}
@media (min-width: 64rem) {
  .oe-product-hero .oe-split {
    grid-template-columns: 1.1fr 1fr;
    gap: var(--oe-gap-2xl);
  }
}

.oe-product-hero__gallery {
  display: flex;
  flex-direction: column;
  gap: var(--oe-gap-sm);
}
.oe-product-hero__main {
  overflow: hidden;
  background: rgb(var(--oe-black));
  border: 1px solid rgb(var(--oe-hairline) / 0.15);
}
.oe-product-hero__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.oe-product-hero__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.oe-product-hero__thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgb(var(--oe-black));
  border: 1px solid rgb(var(--oe-hairline) / 0.15);
  cursor: pointer;
  transition: border-color .2s ease;
}
.oe-product-hero__thumb:hover { border-color: rgb(var(--oe-hairline) / 0.4); }
.oe-product-hero__thumb img { width:100%; height:100%; object-fit:cover; }

/* Copy stack */
.oe-product-hero__copy { color: rgb(var(--oe-white)); }
.oe-product-hero__title {
  font-weight: 700 !important;
  color: rgb(var(--oe-white)) !important;
  letter-spacing: var(--oe-ls-extra-tight);
  line-height: var(--oe-lh-tight);
  margin: 0.75rem 0 1rem;
}
.oe-product-hero__lede {
  color: rgb(var(--oe-white)) !important;
  opacity: 0.95;
  font-weight: 400 !important;
  font-size: var(--oe-fs-body-lg);
  line-height: 1.55;
}
.oe-product-hero__lede p { color: rgb(var(--oe-white)) !important; margin: 0 0 0.75em; }

/* Passport spec table on dark */
.oe-product-hero__spec {
  display: grid;
  grid-template-columns: 8em 1fr;
  gap: 0.6rem 1.5rem;
  padding-top: 1.5rem;
  margin: 0.5rem 0;
  border-top: 1px solid rgb(var(--oe-hairline) / 0.2);
  font-family: var(--oe-font-mono);
  font-size: var(--oe-fs-small);
  letter-spacing: var(--oe-ls-normal);
}
.oe-product-hero__spec dt {
  color: rgb(var(--oe-silver)) !important;
  text-transform: uppercase;
  letter-spacing: var(--oe-ls-wide);
  font-size: var(--oe-fs-caption);
  font-weight: 500;
  opacity: 0.85;
}
.oe-product-hero__spec dd {
  color: rgb(var(--oe-white)) !important;
  margin: 0;
  font-weight: 500;
}

/* CTA cluster */
.oe-product-hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

/* Note badge */
.oe-product-hero__note {
  color: rgb(var(--oe-silver)) !important;
  opacity: 0.75 !important;
  font-family: var(--oe-font-mono);
  font-size: var(--oe-fs-caption);
  letter-spacing: var(--oe-ls-wide);
  padding-top: 1rem;
  border-top: 1px solid rgb(var(--oe-hairline) / 0.15);
  margin: 1.5rem 0 0;
}

/* ---------- STORY (long description) ---------- */
.oe-product-story .oe-section-head {
  text-align: left;
  max-width: 60rem;
  margin-bottom: 3rem;
}
.oe-product-story__body {
  max-width: 44em;
  color: rgb(var(--oe-white)) !important;
  font-size: var(--oe-fs-body-lg);
  line-height: 1.7;
}
.oe-product-story__body p {
  color: rgb(var(--oe-white)) !important;
  margin: 0 0 1.25em;
}
.oe-product-story__body h2, .oe-product-story__body h3 {
  color: rgb(var(--oe-white)) !important;
  font-weight: 700 !important;
  margin-top: 2em;
}

/* Kill related products default styling — we handle it elsewhere */
.woocommerce-tabs, .related.products, .upsells.products { display: none !important; }

/* WooCommerce shop archive keeps its own class in body but we override product-single here only */
