/* ══════════════════════════════════════════════════════
   SINGLE PRODUCT  —  Premium Dark  (matches site theme)
══════════════════════════════════════════════════════ */

/* ── Breadcrumb ── */
.spg-crumb {
  background: #080812;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.spg-crumb .woocommerce-breadcrumb {
  font-size: .7rem;
  letter-spacing: .05em;
  color: rgba(255, 255, 255, .2);
  margin: 0;
}

.spg-crumb .woocommerce-breadcrumb a {
  color: rgba(255, 255, 255, .3);
  text-decoration: none;
  transition: color .15s;
}

.spg-crumb .woocommerce-breadcrumb a:hover {
  color: #f05a28;
}

/* ── 2-column grid wrapper ── */
.spg-grid {
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: start;
  background: #0d0d18;
}

/* ═══════════════════════════════
   IMAGE PANEL  (left, sticky)
═══════════════════════════════ */
.spg-img-panel {
  position: sticky;
  top: 72px;
  /* below fixed header */
  height: calc(100vh - 72px);
  background: #0d0d18;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, .04);
}

/* Large atmospheric peach orb — same intensity as shop hero + about hero */
.spg-orb-main {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(240, 90, 40, .28) 0%, rgba(240, 90, 40, .08) 45%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.spg-orb-secondary {
  position: absolute;
  width: 38%;
  aspect-ratio: 1;
  bottom: 8%;
  right: 6%;
  background: radial-gradient(circle, rgba(100, 80, 240, .14) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Floating product image — same animation as about-logo-img */
.spg-img-floater {
  position: relative;
  z-index: 1;
  animation: spgFloat 7s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}

@keyframes spgFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}

.spg-img-floater:hover {
  animation-play-state: paused;
}

.spg-product-img {
  max-height: 68vh;
  max-width: 82%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 36px 72px rgba(0, 0, 0, .9)) drop-shadow(0 0 48px rgba(240, 90, 40, .18));
  position: relative;
  z-index: 1;
  transition: opacity .12s ease;
}

.spg-img-placeholder {
  width: 200px;
  height: 280px;
  background: linear-gradient(145deg, #1a1a2e, #0f0f1c);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .1);
  font-size: 3rem;
  position: relative;
  z-index: 1;
}

/* Holographic shimmer — same gradient as product-card hover */
.spg-holo {
  position: absolute;
  inset: -8%;
  background: linear-gradient(115deg,
      transparent 22%,
      rgba(255, 200, 130, .18) 38%,
      rgba(240, 90, 40, .18) 48%,
      rgba(130, 180, 255, .18) 58%,
      transparent 76%);
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
  transition: opacity .4s ease;
}

.spg-img-floater:hover .spg-holo {
  opacity: 1;
}

/* Stock pill — top-right corner of panel */
.spg-stock-pill {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(8, 8, 18, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(74, 222, 128, .22);
  color: #4ade80;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

.spg-stock-pill--out {
  border-color: rgba(239, 68, 68, .22);
  color: #f87171;
}

.spg-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: spgPilse 2.2s ease-in-out infinite;
}

.spg-stock-pill--out .spg-pill-dot {
  animation: none;
}

@keyframes spgPilse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .15;
  }
}

/* Thumbnail strip — bottom of panel */
.spg-thumbs {
  position: absolute;
  bottom: 26px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.spg-thumb {
  width: 42px;
  height: 58px;
  object-fit: cover;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, .1);
  cursor: pointer;
  opacity: .4;
  flex-shrink: 0;
  transition: opacity .15s, border-color .15s, transform .15s;
}

.spg-thumb:hover {
  opacity: .8;
  transform: translateY(-2px);
}

.spg-thumb.active {
  border-color: #f05a28;
  opacity: 1;
}

/* ═══════════════════════════════
   INFO PANEL  (right, scrolls)
═══════════════════════════════ */
.spg-info {
  background: #080812;
  border-left: 1px solid rgba(255, 255, 255, .04);
  padding: 64px 56px 100px;
  display: flex;
  flex-direction: column;
}

/* Category */
.spg-category {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #f05a28;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 14px;
  transition: opacity .15s;
}

.spg-category:hover {
  opacity: .7;
}

/* Product title */
.spg-name {
  font-size: clamp(2rem, 2.6vw, 3rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.05em;
  color: #f5f5f7;
  margin: 0 0 18px;
}

/* Short description */
.spg-short-desc {
  font-size: .875rem;
  line-height: 1.82;
  color: rgba(255, 255, 255, .38);
  margin-bottom: 32px;
}

.spg-short-desc p {
  margin: 0 0 6px;
}

.spg-short-desc p:last-child {
  margin: 0;
}

/* Thin rule */
.spg-rule {
  height: 1px;
  background: rgba(255, 255, 255, .06);
  border: none;
  margin: 0 0 32px;
}

/* ── Price ── */
.spg-price-eyebrow {
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .2);
  margin-bottom: 8px;
}

.spg-price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* WooCommerce price output */
.spg-price-row .price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.spg-price-row .price del {
  text-decoration: none;
}

.spg-price-row .price del .woocommerce-Price-amount {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .22);
  font-weight: 400;
  text-decoration: line-through;
}

.spg-price-row .price ins {
  text-decoration: none;
}

.spg-price-row .price ins .woocommerce-Price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: #f5f5f7;
  letter-spacing: -.04em;
  line-height: 1;
}

.spg-price-row .woocommerce-Price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: #f5f5f7;
  letter-spacing: -.04em;
  line-height: 1;
}

.spg-sale-pill {
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: rgba(240, 90, 40, .12);
  border: 1px solid rgba(240, 90, 40, .35);
  color: #f05a28;
  padding: 4px 11px;
  border-radius: 5px;
  align-self: center;
  flex-shrink: 0;
}

/* ── Attribute cards (matching about-stat-card pattern) ── */
.spg-attrs {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.spg-attr {
  position: relative;
  flex: 1;
  min-width: 100px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 12px;
  padding: 14px 18px;
  overflow: hidden;
}

/* Glowing top accent line — same as about-stat-card::before */
.spg-attr::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 90, 40, .55), transparent);
}

.spg-attr-lbl {
  font-size: .54rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .22);
  margin-bottom: 5px;
}

.spg-attr-val {
  font-size: .82rem;
  font-weight: 600;
  color: #f5f5f7;
}

/* ── Quantity ── */
.spg-qty-label {
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .22);
  margin-bottom: 10px;
}

.spg-qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
  align-self: flex-start;
}

.qty-btn {
  width: 44px;
  height: 52px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, .38);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .15s, background .15s;
  line-height: 1;
}

.qty-btn:hover {
  color: #f5f5f7;
  background: rgba(255, 255, 255, .05);
}

.qty-input {
  width: 56px;
  height: 52px;
  text-align: center;
  background: transparent;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, .08);
  border-right: 1px solid rgba(255, 255, 255, .08);
  color: #f5f5f7;
  font-size: .95rem;
  font-weight: 700;
  outline: none;
  -moz-appearance: textfield;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ── Add to Cart — matches site's btn-primary but full-width ── */
.spg-atc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 58px;
  background: #f05a28;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: .98rem;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(240, 90, 40, .38);
  transition: background .15s, transform .18s, box-shadow .18s;
  margin-bottom: 10px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.spg-atc::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .15);
  opacity: 0;
  transition: opacity .15s;
}

.spg-atc:hover::after {
  opacity: 1;
}

.spg-atc:hover {
  background: #d94818;
  box-shadow: 0 12px 44px rgba(240, 90, 40, .52);
  transform: translateY(-2px);
}

.spg-atc:active {
  transform: none;
}

/* ── Buy Now ghost button ── */
.spg-buynow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
  margin-bottom: 36px;
}

.spg-buynow:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .22);
  color: #f5f5f7;
}

/* ── Sold out block ── */
.spg-soldout {
  background: rgba(239, 68, 68, .04);
  border: 1px solid rgba(239, 68, 68, .16);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  margin-bottom: 28px;
}

.spg-soldout p {
  font-size: .875rem;
  color: rgba(255, 255, 255, .38);
  margin-bottom: 16px;
}

/* ── Trust rows ── */
.spg-trust {
  border-top: 1px solid rgba(255, 255, 255, .05);
  padding-top: 6px;
}

.spg-trust-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
}

.spg-trust-row:last-child {
  border-bottom: none;
}

.spg-trust-ico {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, .24);
}

.spg-trust-txt {
  font-size: .77rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .3);
}

.spg-trust-txt strong {
  color: rgba(255, 255, 255, .58);
  font-weight: 600;
}

/* ═══════════════════════════════
   DESCRIPTION SECTION
═══════════════════════════════ */
.spg-desc-sect {
  background: #0d0d18;
  padding: 88px 0 104px;
  border-top: 1px solid rgba(255, 255, 255, .05);
  position: relative;
  overflow: hidden;
}

/* Subtle orb in description background */
.spg-desc-orb {
  position: absolute;
  width: 50vw;
  height: 50vw;
  top: -15%;
  right: -8%;
  background: radial-gradient(circle, rgba(240, 90, 40, .06) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.spg-desc-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.spg-desc-label-txt {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #f05a28;
  margin-bottom: 12px;
}

.spg-desc-heading {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: #f5f5f7;
  line-height: 1.16;
  margin-bottom: 12px;
}

.spg-desc-sub {
  font-size: .8rem;
  color: rgba(255, 255, 255, .22);
  line-height: 1.7;
}

.spg-desc-content {
  border-left: 2px solid rgba(240, 90, 40, .22);
  padding-left: 36px;
}

.spg-desc-body {
  color: rgba(255, 255, 255, .45);
  font-size: .9rem;
  line-height: 1.92;
}

.spg-desc-body p {
  margin: 0 0 18px;
}

.spg-desc-body p:last-child {
  margin: 0;
}

.spg-desc-body ul,
.spg-desc-body ol {
  margin: 0 0 18px;
  padding-left: 20px;
}

.spg-desc-body li {
  margin-bottom: 7px;
}

.spg-desc-body strong {
  color: rgba(255, 255, 255, .75);
  font-weight: 600;
}

.spg-desc-body h2,
.spg-desc-body h3,
.spg-desc-body h4 {
  color: #f5f5f7;
  font-weight: 700;
  margin: 28px 0 12px;
}

.spg-desc-empty {
  color: rgba(255, 255, 255, .2);
  font-style: italic;
  font-size: .875rem;
}

/* ═══════════════════════════════
   RELATED PRODUCTS
═══════════════════════════════ */
.spg-related-sect {
  background: #080812;
  padding: 72px 0 88px;
  border-top: 1px solid rgba(255, 255, 255, .05);
}

.spg-related-sect .section-label {
  color: #f05a28;
}

.spg-related-sect .section-title {
  color: #f5f5f7;
}

.spg-related-sect .section-header {
  margin-bottom: 36px;
}

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 1080px) {
  .spg-info {
    padding: 52px 40px 80px;
  }
}

@media (max-width: 860px) {
  .spg-grid {
    grid-template-columns: 1fr;
  }

  .spg-img-panel {
    position: relative;
    top: auto;
    height: 62vw;
    min-height: 300px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
  }

  .spg-info {
    border-left: none;
    padding: 40px 24px 64px;
  }

  .spg-desc-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .spg-desc-content {
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width: 600px) {
  .spg-img-panel {
    height: 76vw;
  }

  .spg-name {
    font-size: 1.9rem;
  }

  .spg-info {
    padding: 28px 20px 56px;
  }

  .spg-price-row .price ins .woocommerce-Price-amount,
  .spg-price-row .woocommerce-Price-amount {
    font-size: 2.2rem;
  }

  .spg-attrs {
    flex-direction: column;
    gap: 8px;
  }

  .spg-attr {
    min-width: unset;
  }

  .spg-desc-sect {
    padding: 56px 0 72px;
  }
}