/* ── PRODUSE PAGE ──────────────────────────────────────────────────────────── */

/* ── WRAPPER ──────────────────────────────── */
.prod-wrapper {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

/* ── HERO ─────────────────────────────────── */
.prod-hero {
  position: relative;
  background: #1C1C1E;
  padding: 80px 40px 40px;
  overflow: hidden;
}

.prod-hero__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.35;
  pointer-events: none;
}

.prod-hero__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
}

.prod-hero__eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d0b608;
  margin-bottom: 20px;
}

.prod-hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.prod-hero__title em {
  font-style: italic;
  color: #d0b608;
}

.prod-hero__sub {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  color: rgba(255,255,255,0.45);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 52px;
}

@media screen and (max-width: 600px) {
  .prod-hero__sub {
    margin-bottom: 20px;
    max-width: none;
  }
}

/* ── PILLS ────────────────────────────────── */
.prod-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.prod-pill {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.prod-pill:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

.prod-pill.active {
  background: #d0b608;
  border-color: #d0b608;
  color: #1C1C1E;
  font-weight: 700;
}

/* ── VIDEO PANEL ──────────────────────────── */
.prod-panel {
  position: relative;
  flex: 1;
  background: #1C1C1E;
  overflow: hidden;
}

#prod-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── FADE OVERLAY ─────────────────────────── */
.prod-fade {
  position: absolute;
  inset: 0;
  background: #1C1C1E;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.prod-fade.visible {
  opacity: 1;
}

/* ── PRODUCT OVERLAYS ─────────────────────── */
.prod-overlay {
  position: absolute;
  bottom: 72px;
  left: 60px;
  max-width: 460px;
  z-index: 2;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.prod-overlay.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.prod-overlay__eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d0b608;
  margin-bottom: 16px;
}

.prod-overlay__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.prod-overlay__title em {
  font-style: italic;
  color: #d0b608;
}

.prod-overlay__body {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 380px;
}

.prod-overlay__cta {
  display: inline-block;
  padding: 13px 32px;
  background: #d0b608;
  color: #1C1C1E;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.prod-overlay__cta:hover {
  background: #ffe25b;
  transform: translateY(-2px);
}

/* ── DETAILS SECTIONS ──────────────────────── */
.prod-detalii {
  background: #ebebeb;
}

/* ── INTRO TEXT BLOCK ──────────────────────── */
.prod-detalii__intro {
  padding: 100px 40px 80px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.prod-detalii__intro-inner {
  max-width: 720px;
  margin: 0 auto;
}

.prod-detalii__intro-inner p {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  color: #5A5A5A;
  line-height: 1.85;
  margin-bottom: 18px;
}

.prod-detalii__eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d0b608;
  margin-bottom: 16px;
}

.prod-detalii__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 700;
  color: #1C1C1E;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

.prod-detalii__title em {
  font-style: italic;
  color: #d0b608;
}

.prod-detalii__cta {
  display: inline-block;
  margin-top: 12px;
  padding: 13px 32px;
  background: #1C1C1E;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  border: none;
  transition: background 0.2s;
}

.prod-detalii__cta:hover {
  background: #d0b608;
  color: #1C1C1E;
}

/* ── DIAGRAM SECTION ───────────────────────── */
.prod-detalii__diagram-wrap {
  padding: 80px 40px 0;
}

.prod-detalii__diagram-label {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.3);
  text-align: center;
  margin-bottom: 48px;
}

/* ── ANNOTATION DIAGRAM ────────────────────── */
.prod-annot {
  position: relative;
  max-width: 1100px;
  height: 660px;
  margin: 0 auto;
}

.prod-annot__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.prod-annot__line {
  fill: none;
  stroke: rgba(0,0,0,0.18);
  stroke-width: 1.5;
}

.prod-annot__dot {
  fill: #d0b608;
}

.prod-annot__img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: auto;
  display: block;
}

/* annotation cards - white, same style as hero-card */
.prod-annot__card {
  position: absolute;
  width: 220px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.07);
  padding: 20px 24px;
}

.prod-annot__card--l1 { top:  50px; left: 20px; }
.prod-annot__card--l2 { top: 350px; left: 20px; }
.prod-annot__card--l3 { display: none; }
.prod-annot__card--r1 { top: 210px; right: 20px; }
.prod-annot__card--r2 { display: none; }

.prod-annot__card-label {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d0b608;
  margin-bottom: 6px;
}

.prod-annot__card-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: #1C1C1E;
  line-height: 1.2;
  margin-bottom: 8px;
}

.prod-annot__card-body {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: #5A5A5A;
}

@media (max-width: 1024px) {
  .prod-annot__svg,
  .prod-annot__card {
    display: none !important;
  }

  .prod-annot {
    display: block;
    height: auto;
  }

  .prod-annot__img {
    position: static;
    transform: none;
    left: auto;
    height: auto;
    width: 100%;
    max-width: 500px;
    display: block;
    margin: 0 auto;
  }

  .prod-detalii__diagram-wrap {
    padding-bottom: 0;
  }
}

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 768px) {
  .prod-hero {
    padding: 80px 24px 10px;
  }

  .prod-overlay {
    left: 24px;
    right: 24px;
    bottom: 48px;
    max-width: none;
  }

  .prod-overlay__body {
    max-width: none;
  }

  /* Show diagram on mobile but image-only */
  .prod-detalii__diagram-wrap {
    display: block;
    padding: 40px 24px 0;
  }

  .prod-annot {
    display: block;
    height: auto;
  }

  .prod-annot__svg,
  .prod-annot__card {
    display: none !important;
  }

  .prod-annot__img {
    position: static;
    transform: none;
    left: auto;
    height: auto;
    width: 100%;
    max-width: 380px;
    display: block;
    margin: 0 auto;
  }

}

/* ── GARAJ CARDS ───────────────────────────── */
.prod-garaj-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto 32px;
}

.prod-garaj-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: var(--card-shadow);
}

/* ── GARAJ IMAGES ──────────────────────────── */
.prod-garaj-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.prod-garaj-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Always show garaj diagram-wrap, even on tablet */
#detalii-usa-garaj .prod-detalii__diagram-wrap {
  display: block !important;
}

@media (max-width: 768px) {
  .prod-garaj-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .prod-garaj-images {
    grid-template-columns: 1fr;
  }
  .prod-garaj-img {
    height: 260px;
  }
}
