/* ============================================================
   PRODUCT PAGE — product.css
   Page-specific styles for the skin detail / buy page.
   Design tokens live in style.css.
   ============================================================ */


/* ── BREADCRUMB ─────────────────────────────────────────── */
.prod-breadcrumb {
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 0;
}

.prod-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.prod-breadcrumb__link {
  font-size: 13px;
  color: rgba(255, 255, 255, .38);
  text-decoration: none;
  transition: color .2s;
}
.prod-breadcrumb__link:hover { color: var(--c-green-light); }

.prod-breadcrumb__sep {
  color: rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
}

.prod-breadcrumb__current {
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
  font-weight: 500;
}


/* ── HERO LAYOUT ────────────────────────────────────────── */
.prod-hero {
  padding-top: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

.prod-hero__inner {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  min-height: calc(100vh - var(--header-h) - 120px);
}


/* ── VISUAL STAGE ───────────────────────────────────────── */
.prod-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.prod-visual__stage {
  position: relative;
  background: #161616;
  border: 1px solid rgba(255, 255, 255, .07);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(340px, 40vw, 520px);
  overflow: hidden;
  cursor: crosshair;
}

/* Animated glow orbs — exceedingly rare (magenta/pink) */
.prod-visual__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0;
  animation: glowPulse 6s ease-in-out infinite;
}

.prod-visual__glow--1 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(211, 44, 230, .55) 0%, transparent 70%);
  top: -60px;
  left: -80px;
  animation-delay: 0s;
}

.prod-visual__glow--2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(153, 44, 230, .4) 0%, transparent 70%);
  bottom: -60px;
  right: -40px;
  animation-delay: 3s;
}

@keyframes glowPulse {
  0%, 100% { opacity: .55; transform: scale(1);    }
  50%       { opacity: .85; transform: scale(1.12); }
}

/* Grid texture overlay */
.prod-visual__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
}

/* Rarity pill */
.prod-rarity-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.prod-rarity-pill--exceedingly {
  background: rgba(211, 44, 230, .12);
  border-color: rgba(211, 44, 230, .3);
  color: #e060ef;
}

.prod-rarity-pill--inline {
  position: static;
  display: inline-flex;
}

/* Wishlist shortcut in visual */
.prod-visual__wish {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.prod-visual__wish:hover {
  background: rgba(255, 255, 255, .15);
  color: #fff;
}

.prod-visual__wish.active {
  background: rgba(192, 57, 43, .2);
  border-color: rgba(192, 57, 43, .4);
  color: #e74c3c;
}

.prod-visual__wish.active svg { fill: currentColor; }

/* Main skin image */
.prod-visual__img {
  position: relative;
  z-index: 5;
  max-width: 82%;
  max-height: clamp(220px, 32vw, 420px);
  object-fit: contain;
  filter: drop-shadow(0 8px 40px rgba(0, 0, 0, .7)) drop-shadow(0 0 80px rgba(211, 44, 230, .25));
  animation: skinFloat 5s ease-in-out infinite;
  user-select: none;
}

@keyframes skinFloat {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50%       { transform: translateY(-12px) rotate(-3deg); }
}


/* ── FLOAT BAR ──────────────────────────────────────────── */
.prod-float {
  padding: 16px 20px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
}

.prod-float__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.prod-float__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
}

.prod-float__val {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--c-green-light);
  letter-spacing: .04em;
}

.prod-float__track {
  position: relative;
  height: 8px;
  margin-bottom: 8px;
}

.prod-float__zones {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
  gap: 2px;
}

.prod-float__zone {
  flex: 1;
  height: 100%;
}

.prod-float__zone--fn { background: linear-gradient(90deg, #00d46a, #6ecf3c); }
.prod-float__zone--mw { background: linear-gradient(90deg, #6ecf3c, #c8d43c); }
.prod-float__zone--ft { background: linear-gradient(90deg, #c8d43c, #e08c20); }
.prod-float__zone--ww { background: linear-gradient(90deg, #e08c20, #e05520); }
.prod-float__zone--bs { background: linear-gradient(90deg, #e05520, #d32727); }

.prod-float__marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: left .4s cubic-bezier(.34, 1.56, .64, 1);
}

.prod-float__marker-pin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #111;
  box-shadow: 0 0 8px rgba(255, 255, 255, .6), 0 2px 6px rgba(0, 0, 0, .5);
}

.prod-float__legend {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255, 255, 255, .25);
  font-weight: 500;
  letter-spacing: .04em;
}


/* ── PURCHASE PANEL ─────────────────────────────────────── */
.prod-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Name */
.prod-panel__head {
  margin-bottom: 20px;
}

.prod-panel__type {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
  margin-bottom: 8px;
}

.prod-panel__name {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.5vw, 72px);
  line-height: .92;
  letter-spacing: .03em;
  color: var(--c-white);
}

.prod-panel__name em {
  color: var(--c-green);
  font-style: normal;
}

/* Condition tabs */
.prod-cond {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
}

.prod-cond__btn {
  flex: 1;
  height: 38px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-right: none;
  color: rgba(255, 255, 255, .4);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}

.prod-cond__btn:last-child { border-right: 1px solid rgba(255, 255, 255, .1); }

.prod-cond__btn:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.prod-cond__btn--active {
  background: rgba(153, 238, 45, .12);
  border-color: rgba(153, 238, 45, .4);
  color: var(--c-green-light);
  border-right: 1px solid rgba(153, 238, 45, .4);
  position: relative;
  z-index: 1;
}

.prod-cond__btn--active + .prod-cond__btn {
  border-left: none;
}

/* Price block */
.prod-price {
  margin-bottom: 16px;
}

.prod-price__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.prod-price__old {
  font-size: 16px;
  color: rgba(255, 255, 255, .3);
  text-decoration: line-through;
  font-family: var(--font-body);
}

.prod-price__badge {
  padding: 3px 8px;
  background: rgba(192, 57, 43, .2);
  border: 1px solid rgba(192, 57, 43, .4);
  font-size: 12px;
  font-weight: 700;
  color: #ff7070;
  letter-spacing: .04em;
}

.prod-price__current {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 60px);
  line-height: 1;
  letter-spacing: .02em;
  color: var(--c-white);
}

/* FOMO strip */
.prod-fomo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
  margin-bottom: 22px;
  font-size: 13px;
}

.prod-fomo__viewers {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #f15d09;
}

.prod-fomo__viewers svg { flex-shrink: 0; }

.prod-fomo__sep {
  color: rgba(255, 255, 255, .2);
}

.prod-fomo__stock {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, .6);
}

.prod-fomo__stock svg { flex-shrink: 0; color: #f15d09; }

.prod-fomo__stock strong {
  color: #fff;
  font-weight: 700;
}

/* PRIMARY CTA */
.prod-cta {
  width: 100%;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--c-green);
  color: #111;
  clip-path: var(--clip-lg);
  border: none;
  cursor: pointer;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  filter: drop-shadow(0 0 20px rgba(153, 238, 45, .35));
  transition: filter .2s ease, transform .15s ease;
}

.prod-cta:hover {
  filter: drop-shadow(0 0 36px rgba(153, 238, 45, .65)) brightness(1.07);
}

.prod-cta:active { transform: scale(.97); }

/* CTA shimmer sweep */
.prod-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, .25) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: none;
}

.prod-cta:hover::before {
  transform: translateX(100%);
  transition: transform .55s ease;
}

.prod-cta__label {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: .06em;
}

.prod-cta__price {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: .06em;
  opacity: .75;
}

.prod-cta__price::before { content: '— '; }

.prod-cta__arrow { flex-shrink: 0; }

/* Wishlist text button */
.prod-wish {
  width: 100%;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .4);
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 24px;
  transition: background .2s, border-color .2s, color .2s;
}

.prod-wish:hover {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .75);
}

.prod-wish.active {
  background: rgba(192, 57, 43, .1);
  border-color: rgba(192, 57, 43, .35);
  color: #e74c3c;
}

.prod-wish.active svg { fill: currentColor; }

/* Trust row */
.prod-trust {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, .06);
}

.prod-trust__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 8px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .38);
  border-right: 1px solid rgba(255, 255, 255, .06);
}

.prod-trust__item:last-child { border-right: none; }

.prod-trust__item svg {
  color: var(--c-green);
  flex-shrink: 0;
}


/* ── STICKY BUY BAR ─────────────────────────────────────── */
.prod-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: rgba(17, 17, 17, .96);
  border-top: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.32, 0, .67, 0);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, .5);
}

.prod-sticky.is-visible {
  transform: translateY(0);
  transition: transform .35s cubic-bezier(.33, 1, .68, 1);
}

.prod-sticky__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 12px;
}

.prod-sticky__left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.prod-sticky__thumb {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(211, 44, 230, .3));
  flex-shrink: 0;
}

.prod-sticky__name {
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prod-sticky__prices {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
}

.prod-sticky__old {
  font-size: 13px;
  color: rgba(255, 255, 255, .3);
  text-decoration: line-through;
}

.prod-sticky__price {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--c-green-light);
  line-height: 1;
}

.prod-sticky__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 40px 0 28px;
  background: var(--c-green);
  color: #111;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: .04em;
  border: none;
  cursor: pointer;
  clip-path: var(--clip-sm);
  filter: drop-shadow(0 0 12px rgba(153, 238, 45, .3));
  transition: filter .2s, transform .15s;
  white-space: nowrap;
}

.prod-sticky__cta:hover {
  filter: drop-shadow(0 0 24px rgba(153, 238, 45, .6)) brightness(1.07);
}

.prod-sticky__cta:active { transform: scale(.97); }


/* ── SKIN DETAILS ───────────────────────────────────────── */
.prod-details {
  padding-block: clamp(48px, 6vw, 80px);
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.prod-details__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
}

.prod-details__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 30px);
  letter-spacing: .04em;
  color: var(--c-white);
  margin-bottom: 18px;
}

.prod-details__text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 12px;
}

.prod-details__text strong { color: rgba(255, 255, 255, .8); }

.prod-details__dl {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.prod-details__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  font-size: 14px;
}

.prod-details__row:last-child { border-bottom: none; }

.prod-details__row dt {
  color: rgba(255, 255, 255, .35);
  font-weight: 500;
  flex-shrink: 0;
}

.prod-details__row dd {
  color: rgba(255, 255, 255, .75);
  text-align: right;
}


/* ── RELATED SKINS ──────────────────────────────────────── */
.prod-related {
  padding-block: clamp(40px, 5vw, 64px);
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.prod-related__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: .04em;
  color: var(--c-white);
  margin-bottom: clamp(20px, 3vw, 32px);
}

.prod-related__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}


/* ── PRODUCT CARD — hover panel (related skins) ─────────── */
.product-card__hover-panel {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.85) 30%);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
  pointer-events: none;
  z-index: 6;
}

.product-card:hover .product-card__hover-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.product-card__micro {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(255,255,255,.45);
}

.product-card__micro svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: var(--c-green);
}

.product-card__micro--urgent,
.product-card__micro--urgent svg { color: #f59e0b; }

.product-card__buy-btn {
  width: 100%;
  height: 34px;
  background: var(--c-green);
  color: #111;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  border: none;
  cursor: pointer;
  clip-path: var(--clip-sm);
  transition: background .2s;
}

.product-card__buy-btn:hover { background: var(--c-green-light); }


/* ── PRICE FLASH ANIMATION ──────────────────────────────── */
@keyframes priceFlash {
  0%   { opacity: 1; transform: scale(1);    }
  40%  { opacity: .6; transform: scale(.96); }
  100% { opacity: 1; transform: scale(1);    }
}
.price-flash { animation: priceFlash .35s ease; }

/* CTA add confirmation */
@keyframes ctaAdded {
  0%   { filter: drop-shadow(0 0 20px rgba(153,238,45,.35)) brightness(1);   }
  40%  { filter: drop-shadow(0 0 48px rgba(153,238,45,.9))  brightness(1.15); }
  100% { filter: drop-shadow(0 0 20px rgba(153,238,45,.35)) brightness(1);   }
}
.prod-cta--added { animation: ctaAdded .7s ease; }


/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .prod-hero__inner {
    grid-template-columns: 1fr 380px;
    gap: 40px;
  }

  .prod-related__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .prod-hero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
  }

  .prod-visual__stage {
    min-height: 280px;
  }

  .prod-details__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .prod-related__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .prod-sticky__name { display: none; }

  .prod-panel__name { font-size: 52px; }
}

@media (max-width: 480px) {
  .prod-related__grid { grid-template-columns: 1fr 1fr; }

  .prod-cta { height: 52px; }
  .prod-cta__label, .prod-cta__price { font-size: 19px; }

  .prod-sticky__thumb { width: 40px; height: 40px; }
  .prod-sticky__price { font-size: 17px; }
}


/* ════════════════════════════════════════════════════════════
   LAYOUT REBUILD — single product page (body.single-product)
   CSS-only. Elementor template 92 hero is a flex row
   [ visual 50% | purchase 50% ]. Rebuilt to a CENTERED single
   column (not full width): image → float → all info, then details.
   Restyled in the front-page look: accent #cde738, dark gradient
   surfaces, glossy inset shadows, everything ROUNDED incl. buttons.
   Markup / Elementor data untouched (targeted via widget type + :has()).
════════════════════════════════════════════════════════════ */

/* Front-page accent on the whole product page */
body.single-product {
  --c-green: #cde738;
  --c-green-light: #d9f04b;
}

/* ── Remove clutter: fake-urgency FOMO line + FN/MW/FT/WW/BS labels
   (condition selector buttons AND the wear-bar legend). The float bar
   itself stays — it still shows the numeric float value. ── */
body.single-product .prod-fomo,
body.single-product .prod-cond,
body.single-product .prod-float__legend {
  display: none !important;
}

/* ── Hero → one centered, narrow column: image, then float + info ── */
body.single-product .e-con-inner:has(> .elementor-element > .elementor-widget-product_visual_widget):has(> .elementor-element > .elementor-widget-product_purchase_widget) {
  flex-direction: column !important;
  align-items: stretch !important;
  max-width: 720px;
  margin-inline: auto;
  gap: 24px !important;
}

body.single-product .elementor-element:has(> .elementor-widget-product_visual_widget),
body.single-product .elementor-element:has(> .elementor-widget-product_purchase_widget) {
  width: 100% !important;
}

/* ── Visual stage → SAME look & background as a product card (.product-card):
   faceted per-rarity weapon PNG layered over the dark green card gradient,
   rounded corners, card border + inset gloss. Files in /img (typos kept:
   anciant=ancient, mmortal=immortal). ── */
body.single-product .prod-visual__stage {
  border-radius: 32px;
  background-color: #060a04;
  background-image:
    url('../img/card-weapon.png'),
    linear-gradient(180deg, rgba(15, 32, 20, 1) 0%, rgba(3, 4, 1, 1) 100%);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  border: 1px solid rgba(205, 231, 56, .12);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .08),
    inset 0 12px 31px -1px rgba(255, 255, 255, .06);
}

body.single-product .prod-visual__stage.card-bg--rare        { background-image: url('../img/Card-weapon-rare.png'),        linear-gradient(180deg, rgba(15,32,20,1), rgba(3,4,1,1)); }
body.single-product .prod-visual__stage.card-bg--ancient     { background-image: url('../img/Card-weapon-anciant.png'),     linear-gradient(180deg, rgba(15,32,20,1), rgba(3,4,1,1)); }
body.single-product .prod-visual__stage.card-bg--legendary   { background-image: url('../img/Card-weapon-legendary.png'),   linear-gradient(180deg, rgba(15,32,20,1), rgba(3,4,1,1)); }
body.single-product .prod-visual__stage.card-bg--common      { background-image: url('../img/Card-weapon-common.png'),      linear-gradient(180deg, rgba(15,32,20,1), rgba(3,4,1,1)); }
body.single-product .prod-visual__stage.card-bg--uncommon    { background-image: url('../img/Card-weapon-uncommon.png'),    linear-gradient(180deg, rgba(15,32,20,1), rgba(3,4,1,1)); }
body.single-product .prod-visual__stage.card-bg--exceedingly { background-image: url('../img/Card-weapon-exceedingly.png'), linear-gradient(180deg, rgba(15,32,20,1), rgba(3,4,1,1)); }
body.single-product .prod-visual__stage.card-bg--immortal    { background-image: url('../img/Card-weapon-mmortal.png'),     linear-gradient(180deg, rgba(15,32,20,1), rgba(3,4,1,1)); }

/* Drop the grid-line texture on the stage (matches the card system) */
body.single-product .prod-visual__grid { display: none !important; }

/* ── Float (wear) bar → rounded ── */
body.single-product .prod-float {
  border-radius: 18px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .07);
  margin-bottom: 18px;
}

body.single-product .prod-float__track,
body.single-product .prod-float__zones { border-radius: 999px; overflow: hidden; }

/* ── Info / buy panel → rounded glossy card ── */
body.single-product .prod-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 28px;
  padding: clamp(22px, 2.4vw, 30px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .06);
}

/* Condition selector → separate accent pills */
body.single-product .prod-cond { gap: 8px; }

body.single-product .prod-cond__btn {
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  background: rgba(255, 255, 255, .05);
}

body.single-product .prod-cond__btn--active {
  background: var(--c-green);
  color: #0c1202;
  border-color: var(--c-green) !important;
  box-shadow: inset 0 6px 14px -2px rgba(255, 255, 255, .5);
}

/* Price discount badge + FOMO strip → rounded */
body.single-product .prod-price__badge { border-radius: 999px; }
body.single-product .prod-fomo { border-radius: 14px; }

/* ── PRIMARY CTA → round pill, front-page gloss ── */
body.single-product .prod-cta {
  clip-path: none !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #d9f04b 0%, #cde738 100%);
  color: #0c1202;
  filter: none;
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, .55),
    inset 0 12px 26px -6px rgba(255, 255, 255, .5),
    0 8px 22px rgba(0, 0, 0, .3);
  transition: transform .15s ease, box-shadow .2s ease;
}

body.single-product .prod-cta:hover {
  filter: none;
  transform: translateY(-2px);
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, .55),
    inset 0 12px 26px -6px rgba(255, 255, 255, .5),
    0 10px 30px rgba(197, 255, 0, .32);
}

/* Wishlist button → round pill */
body.single-product .prod-wish { border-radius: 999px !important; }

/* ── Sticky bottom bar CTA → round pill ── */
body.single-product .prod-sticky__cta {
  clip-path: none !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #d9f04b 0%, #cde738 100%);
  color: #0c1202;
  filter: none;
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, .5);
}

body.single-product .prod-sticky__cta:hover { filter: none; transform: translateY(-1px); }

/* ── Details → centered narrow single column ── */
body.single-product .prod-details__grid {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin-inline: auto;
  gap: 28px;
}

body.single-product .prod-details__col:has(.prod-details__row) {
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 22px;
  padding: clamp(18px, 2vw, 26px);
}

/* ── Related skins → FULL-WIDTH section, content inside the site container
   (not the narrow 720px hero column). A normal responsive 4-col grid. ── */
body.single-product .prod-related {
  /* break out of the centered hero column to span the full viewport width */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

body.single-product .prod-related > .container {
  max-width: var(--container-w, 1280px);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

body.single-product .prod-related__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: none;
  margin-inline: 0;
  overflow: visible;
}

body.single-product .prod-related__grid > * {
  flex: initial;
}

/* Related card hover-buy button → round */
body.single-product .product-card__buy-btn {
  clip-path: none !important;
  border-radius: 999px !important;
}

/* ════════════════════════════════════════════════════════════
   COMPACT SPECIFICATIONS  (replaces old About + long spec table)
   Rendered by [skin_specs]; centered glossy card, short list.
════════════════════════════════════════════════════════════ */
.prod-details--specs { padding-block: clamp(32px, 4vw, 56px); }

.prod-specs {
  max-width: 720px;
  margin-inline: auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 24px;
  padding: clamp(20px, 2.4vw, 30px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .06);
}

.prod-specs__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: .04em;
  color: var(--c-white);
  text-transform: uppercase;
  margin: 0 0 12px;
}

.prod-specs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.prod-specs__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-size: 14px;
}

.prod-specs__item:last-child { border-bottom: none; }

.prod-specs__key { color: rgba(255, 255, 255, .4); font-weight: 500; }
.prod-specs__val { color: rgba(255, 255, 255, .82); font-weight: 500; text-align: right; }

.prod-specs__pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ── Single-product responsive (related is now a full-width grid) ── */
@media (max-width: 1024px) {
  body.single-product .prod-related__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  body.single-product .prod-related__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  body.single-product .prod-visual__stage { min-height: 280px; border-radius: 26px; }
  .prod-specs { border-radius: 20px; }
}

@media (max-width: 480px) {
  body.single-product .prod-related__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  body.single-product .prod-related > .container { padding-inline: 14px; }
  body.single-product .prod-panel { border-radius: 22px; padding: 20px; }
  .prod-specs__item { font-size: 13px; }
}

@media (max-width: 360px) {
  body.single-product .prod-related__grid { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════════════════════════════════
   CS-PDP — Single product reference card (CrystalSkins redesign)
   Everything scoped under .cs-pdp so nothing leaks site-wide.
   Left column  = .cs-pdp__visual  (image + float + info-row)
   Right column = .cs-pdp__buy     (name + price + CTA + trust)
   ════════════════════════════════════════════════════════════════════ */

.cs-pdp,
.cs-pdp * { box-sizing: border-box; }

.cs-pdp {
  --rarity: #B0C3D9;
  font-family: var(--font-body);
  color: var(--c-white);
}

/* ── VISUAL COLUMN ──────────────────────────────────────────────────── */
.cs-pdp__visual {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cs-pdp__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(320px, 38vw, 480px);
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 8%, color-mix(in srgb, var(--rarity) 16%, transparent) 0%, transparent 60%),
    linear-gradient(180deg, #14171a 0%, #0a0c0e 100%);
  border: 1px solid rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 90px rgba(0, 0, 0, .55);
}

/* rarity glow behind the item */
.cs-pdp__glow {
  position: absolute;
  width: 62%;
  height: 62%;
  top: 12%;
  left: 19%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--rarity) 55%, transparent) 0%, transparent 70%);
  filter: blur(70px);
  opacity: .55;
  pointer-events: none;
  animation: csPdpGlow 6s ease-in-out infinite;
}
@keyframes csPdpGlow {
  0%, 100% { opacity: .5;  transform: scale(1);    }
  50%      { opacity: .8;  transform: scale(1.08); }
}

.cs-pdp__stage-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}

.cs-pdp__img {
  position: relative;
  z-index: 3;
  max-width: 80%;
  max-height: clamp(210px, 30vw, 400px);
  object-fit: contain;
  filter: drop-shadow(0 10px 34px rgba(0, 0, 0, .7))
          drop-shadow(0 0 60px color-mix(in srgb, var(--rarity) 30%, transparent));
  animation: csPdpFloat 5s ease-in-out infinite;
  user-select: none;
}
@keyframes csPdpFloat {
  0%, 100% { transform: translateY(0)     rotate(-4deg); }
  50%      { transform: translateY(-12px) rotate(-3deg); }
}

/* rarity badge (top-left) */
.cs-pdp__rarity {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  color: var(--rarity);
  background: color-mix(in srgb, var(--rarity) 14%, rgba(0, 0, 0, .35));
  border: 1px solid color-mix(in srgb, var(--rarity) 45%, transparent);
}
.cs-pdp__rarity svg { color: var(--rarity); }

/* wishlist heart (top-right) */
.cs-pdp__wish {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 6;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .42);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .6);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.cs-pdp__wish:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.cs-pdp__wish.is-active {
  background: rgba(231, 76, 60, .18);
  border-color: rgba(231, 76, 60, .45);
  color: #ff5b4c;
}
.cs-pdp__wish.is-active svg { fill: currentColor; }
.cs-pdp__wish:active { transform: scale(.9); }

/* ── FLOAT PANEL ────────────────────────────────────────────────────── */
.cs-pdp__float {
  background: rgba(255, 255, 255, .028);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 16px;
  padding: 16px 18px 14px;
}
.cs-pdp__float-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 13px;
}
.cs-pdp__float-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .42);
}
.cs-pdp__float-num {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: .03em;
  color: var(--c-green);
  line-height: 1;
}

.cs-pdp__float-bar {
  position: relative;
  display: flex;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
}
.cs-pdp__fz { display: block; height: 100%; }
.cs-pdp__fz--fn { width: 7%;  background: linear-gradient(90deg, #00d46a, #5fce3d); }
.cs-pdp__fz--mw { width: 8%;  background: linear-gradient(90deg, #5fce3d, #c8d43c); }
.cs-pdp__fz--ft { width: 23%; background: linear-gradient(90deg, #c8d43c, #e69a24); }
.cs-pdp__fz--ww { width: 7%;  background: linear-gradient(90deg, #e69a24, #e5591f); }
.cs-pdp__fz--bs { width: 55%; background: linear-gradient(90deg, #e5591f, #d32727); }

.cs-pdp__float-marker {
  position: absolute;
  top: -4px;
  width: 4px;
  height: 18px;
  border-radius: 3px;
  background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .5), 0 0 8px rgba(255, 255, 255, .7);
}
.cs-pdp__float-marker::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: #fff;
}

.cs-pdp__float-legend {
  display: flex;
  margin-top: 9px;
}
.cs-pdp__float-legend span {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: left;
}
.cs-pdp__float-legend span:nth-child(1) { width: 7%;  }
.cs-pdp__float-legend span:nth-child(2) { width: 8%;  }
.cs-pdp__float-legend span:nth-child(3) { width: 23%; }
.cs-pdp__float-legend span:nth-child(4) { width: 7%;  }
.cs-pdp__float-legend span:nth-child(5) { width: 55%; }
.cs-pdp__float-legend b {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .7);
}
.cs-pdp__float-legend i {
  font-size: 9px;
  font-style: normal;
  color: rgba(255, 255, 255, .3);
  white-space: nowrap;
}

/* ── INFO ROW (Type / Exterior / StatTrak) ──────────────────────────── */
.cs-pdp__info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.cs-pdp__info-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 14px 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .028);
  border: 1px solid rgba(255, 255, 255, .07);
}
.cs-pdp__info-cell svg { color: rgba(255, 255, 255, .38); }
.cs-pdp__info-k {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
}
.cs-pdp__info-v {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
}
.cs-pdp__info-cell.is-on svg { color: #ff8a3c; }
.cs-pdp__info-cell.is-on .cs-pdp__info-v { color: #ff8a3c; }

/* ── BUY COLUMN ─────────────────────────────────────────────────────── */
.cs-pdp__buy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cs-pdp__eyebrow {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: .14em;
  color: var(--c-green);
  margin-bottom: 6px;
}

.cs-pdp__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(46px, 6vw, 76px);
  line-height: .92;
  letter-spacing: .01em;
  color: var(--c-white);
  margin: 0 0 10px;
}

.cs-pdp__subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, .62);
  margin: 0 0 22px;
}
.cs-pdp__stattrak { color: #ff8a3c; font-weight: 700; }
.cs-pdp__souvenir { color: #f2c94c; font-weight: 700; }
.cs-pdp__dot { color: rgba(255, 255, 255, .3); }

.cs-pdp__price-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.cs-pdp__price {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.4vw, 54px);
  line-height: 1;
  color: var(--c-green);
}
/* price html comes from WooCommerce/csgoapi — neutralise its inline styles */
.cs-pdp__price .woocommerce-Price-amount,
.cs-pdp__price bdi { color: var(--c-green) !important; font-weight: 400; }
.cs-pdp__price ins { text-decoration: none; }

/* Discount output from zzz-discounts.php (.cs-disc-*): keep the green badge,
   but tidy it inside the big display price — struck old price sits small &
   muted, the new price stays the big lime number, and the "-N%" reads as a
   compact green pill (not scaled up to the 54px price font). */
.cs-pdp__price .cs-disc-price { gap: 12px; }
.cs-pdp__price del,
.cs-pdp__price .cs-disc-old {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  color: rgba(255, 255, 255, .34) !important;
  text-decoration: line-through;
  line-height: 1;
}
.cs-pdp__price .cs-disc-old bdi,
.cs-pdp__price .cs-disc-old .woocommerce-Price-amount {
  color: rgba(255, 255, 255, .34) !important;
}
.cs-pdp__price .cs-disc-badge {
  align-self: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
}

.cs-pdp__bestprice {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-green);
  background: rgba(153, 238, 45, .12);
  border: 1px solid rgba(153, 238, 45, .32);
}

.cs-pdp__fomo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 22px;
}
.cs-pdp__fomo-view { display: inline-flex; align-items: center; gap: 6px; }
.cs-pdp__fomo-view svg { color: var(--c-green); }
.cs-pdp__fomo-stock strong { color: rgba(255, 255, 255, .8); }

/* BUY NOW — normal rounded pill CTA matching the site's checkout / footer
   subscribe buttons: 14px radius, top-to-bottom lime gloss gradient, inset
   highlight + soft drop shadow, lift on hover. No angled clip-path. */
.cs-pdp__cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 58px;
  padding: 0 26px;
  margin-bottom: 12px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  background: linear-gradient(180deg, #d9f04b 0%, #cde738 100%);
  color: #0c1202;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: .04em;
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, .55),
    inset 0 12px 26px -6px rgba(255, 255, 255, .5),
    0 8px 22px rgba(0, 0, 0, .3);
  transition: transform .16s ease, box-shadow .2s ease, filter .2s ease;
}
.cs-pdp__cta:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, .55),
    inset 0 12px 26px -6px rgba(255, 255, 255, .5),
    0 10px 30px rgba(197, 255, 0, .32);
}
.cs-pdp__cta:active { transform: translateY(0) scale(.99); }
.cs-pdp__cta[disabled] {
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .45);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.cs-pdp__cta-price .woocommerce-Price-amount,
.cs-pdp__cta-price bdi { color: #0c1202 !important; font-weight: 400; }
/* on the button, show only the live/current price — hide struck old + badge */
.cs-pdp__cta-price del,
.cs-pdp__cta-price .cs-disc-old,
.cs-pdp__cta-price .cs-disc-badge { display: none; }
.cs-pdp__cta-price ins { text-decoration: none; }
.cs-pdp__cta-price .cs-disc-price { gap: 0; }
.cs-pdp__cta-price::before { content: "— "; }
.cs-pdp__cta.is-added {
  background: linear-gradient(180deg, #bfe63f 0%, #a9d81f 100%);
}

/* ADD TO WISHLIST (outline) — rounded to match the CTA / site buttons */
.cs-pdp__wishbtn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  margin-bottom: 26px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  background: rgba(255, 255, 255, .02);
  color: rgba(255, 255, 255, .78);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: .06em;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.cs-pdp__wishbtn:hover { border-color: rgba(255, 255, 255, .34); color: #fff; }
.cs-pdp__wishbtn.is-active {
  border-color: rgba(231, 76, 60, .5);
  color: #ff5b4c;
  background: rgba(231, 76, 60, .08);
}
.cs-pdp__wishbtn.is-active svg { fill: currentColor; }

/* ── TRUST ROW ──────────────────────────────────────────────────────── */
.cs-pdp__trust {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
/* carded trust cells, matching the info-row / site trust-badge language */
.cs-pdp__trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  padding: 14px 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(255, 255, 255, .06);
}
.cs-pdp__trust-item svg { color: var(--c-green); margin-bottom: 2px; }
.cs-pdp__trust-t {
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, .88);
  letter-spacing: .02em;
}
.cs-pdp__trust-s {
  font-size: 11px;
  color: rgba(255, 255, 255, .4);
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cs-pdp__name { font-size: clamp(42px, 8vw, 60px); }
}
@media (max-width: 768px) {
  .cs-pdp__stage { min-height: 300px; border-radius: 20px; }
  .cs-pdp__buy { margin-top: 26px; }
}
@media (max-width: 480px) {
  .cs-pdp__info { grid-template-columns: 1fr; }
  .cs-pdp__float-legend i { display: none; }
  .cs-pdp__cta { height: 54px; font-size: 21px; }
  .cs-pdp__price { font-size: 40px; }
}
