/* ============================================================
   STAND SMITHS — Product Detail Page Styles
   Big, prominent image gallery + product info layout
   ============================================================ */

.pdp-hero {
  padding: 140px 0 40px;
  border-bottom: 1px solid var(--border);
}
.pdp-breadcrumb {
  font-size: 0.82rem;
  color: var(--silver-dim);
  margin-bottom: 8px;
}
.pdp-breadcrumb a { color: var(--silver-dim); transition: color var(--transition); }
.pdp-breadcrumb a:hover { color: var(--yellow); }
.pdp-breadcrumb span { margin: 0 8px; }

.pdp-section { padding: 56px 0 96px; }

.pdp-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ── Gallery ───────────────────────────────────────────────────── */
.pdp-gallery-wrap {
  position: sticky;
  top: 100px;
}

.pdp-main-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card2);
  border: 1px solid var(--border);
}
.pdp-main-image--svg {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.pdp-main-image--svg svg {
  width: 80%;
  height: 80%;
  filter: drop-shadow(0 12px 32px rgba(255,215,0,0.2));
}

.pdp-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.pdp-slide {
  flex: 0 0 100%;
  height: 100%;
}
.pdp-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pdp-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  border: 1px solid var(--border);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
  backdrop-filter: blur(4px);
}
.pdp-arrow:hover { background: var(--yellow); color: #000; border-color: var(--yellow); }
.pdp-arrow--prev { left: 16px; }
.pdp-arrow--next { right: 16px; }

.pdp-counter {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0,0,0,0.6);
  color: var(--white);
  font-size: 0.8rem;
  font-family: var(--font-heading);
  padding: 6px 14px;
  border-radius: 20px;
  z-index: 2;
  backdrop-filter: blur(4px);
}

/* Big, clearly visible thumbnails */
.pdp-thumbs {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.pdp-thumb {
  width: 96px;
  height: 96px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  opacity: 0.65;
  transition: var(--transition);
  flex-shrink: 0;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumb:hover { opacity: 0.9; border-color: rgba(255,215,0,0.4); }
.pdp-thumb.active { border-color: var(--yellow); opacity: 1; }

/* ── Info Panel ────────────────────────────────────────────────── */
.pdp-info h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 12px;
}
.pdp-price {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 20px;
}
.pdp-desc {
  font-size: 1rem;
  color: var(--silver);
  line-height: 1.75;
  margin-bottom: 28px;
}

.pdp-qty {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.pdp-qty span:last-child { font-size: 0.85rem; color: var(--silver-dim); }

.pdp-add-btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 16px;
}

.pdp-trust {
  font-size: 0.82rem;
  color: var(--silver-dim);
  text-align: center;
}

.pdp-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--silver);
  margin-top: 32px;
  transition: color var(--transition);
}
.pdp-back-link:hover { color: var(--yellow); }

@media (max-width: 900px) {
  .pdp-layout { grid-template-columns: 1fr; gap: 40px; }
  .pdp-gallery-wrap { position: static; }
  .pdp-thumb { width: 76px; height: 76px; }
  .pdp-arrow { width: 44px; height: 44px; font-size: 1.3rem; }
}

/* ── Color Variant Swatches ──────────────────────────────────── */
.pdp-color-select {
  margin: 4px 0 20px;
}
.pdp-color-select__label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 10px;
}
.pdp-color-select__label span {
  color: var(--white);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 700;
}
.pdp-color-swatches {
  display: flex;
  gap: 12px;
}
.color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.color-swatch:hover { transform: scale(1.08); }
.color-swatch.active {
  border-color: var(--yellow);
  box-shadow: 0 0 0 2px rgba(255,215,0,0.25);
}
.color-swatch.active::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
