/* ===== Product Page Styles ===== */

/* Base reset (shared with main site) */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  scroll-behavior: smooth;
  background: #fff;
}

body {
  width: 100%;
  min-height: 100%;
  font-family: 'Inter', sans-serif;
  color: #111;
  background: #fff;
  overflow-x: hidden;
}

/* ===== Nav ===== */
.pp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(30px, 5vw, 80px);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pp-nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 500;
  color: #111;
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 1;
}

.pp-nav-logo .mb-text {
  display: inline;
  vertical-align: baseline;
}

.pp-nav-logo .mb-flask-wrap {
  display: inline-block;
  position: relative;
  width: 0.58em;
  height: 1em;
  vertical-align: baseline;
}

.pp-nav-logo .mb-a-letter {
  position: absolute;
  left: 0;
  bottom: 0;
  line-height: 1;
  opacity: 0;
}

.pp-nav-logo .mb-flask {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  height: 0.82em;
  width: auto;
  opacity: 1;
}

.pp-nav-logo .flask-body {
  stroke-dasharray: none;
  stroke-dashoffset: 0;
}

.pp-nav-logo .flask-rim {
  opacity: 1;
}

.pp-nav-logo .flask-liquid {
  opacity: 0.85;
}

.pp-nav-logo .mb-tagline {
  display: block;
  font-family: 'Caveat', cursive;
  font-weight: 400;
  font-size: 0.55em;
  color: #2ecc71;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  margin-top: 2px;
  white-space: nowrap;
}

.pp-nav-links {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
}

.pp-nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 400;
  color: #555;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.pp-nav-links a:hover {
  color: #111;
}

/* ===== Section Label ===== */
.pp-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: clamp(11px, 0.85vw, 13px);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2ecc71;
  margin-bottom: 14px;
}

/* ===== Hero Section ===== */
.pp-hero {
  padding: clamp(80px, 10vh, 140px) clamp(40px, 6vw, 100px) clamp(60px, 8vh, 100px);
  max-width: 1400px;
  margin: 0 auto;
}

.pp-hero .pp-label {
  margin-bottom: 20px;
}

.pp-product-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #111;
  line-height: 1;
  margin-bottom: 28px;
}

.pp-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #111;
  margin-bottom: 24px;
  max-width: 900px;
}

.pp-hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 300;
  line-height: 1.8;
  color: #444;
  max-width: 800px;
  margin-bottom: 20px;
}

.pp-client-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: clamp(11px, 0.85vw, 13px);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #2ecc71;
  padding: 6px 16px;
  border: 1px solid rgba(46, 204, 113, 0.3);
  border-radius: 20px;
  margin-top: 8px;
}

/* ===== Content Sections ===== */
.pp-section {
  padding: clamp(60px, 8vh, 100px) clamp(40px, 6vw, 100px);
  max-width: 1400px;
  margin: 0 auto;
}

.pp-section--alt {
  background: #fafaf8;
}

.pp-section--alt .pp-section-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(60px, 8vh, 100px) clamp(40px, 6vw, 100px);
}

.pp-section h2,
.pp-section-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #111;
  margin-bottom: 24px;
  max-width: 800px;
}

.pp-section p,
.pp-section-inner p {
  font-family: 'Inter', sans-serif;
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 300;
  line-height: 1.8;
  color: #444;
  max-width: 800px;
}

.pp-section p + p,
.pp-section-inner p + p {
  margin-top: 20px;
}

/* ===== Divider ===== */
.pp-divider {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(40px, 6vw, 100px);
}

.pp-divider hr {
  border: none;
  height: 1px;
  background: #e0e0e0;
}

/* ===== Tech Section (Under the Hood) ===== */
.pp-tech {
  border-left: 3px solid #2ecc71;
  padding-left: clamp(20px, 2vw, 32px);
  margin-top: 32px;
}

.pp-tech p {
  font-size: clamp(14px, 1vw, 16px);
}

/* ===== Back CTA ===== */
.pp-back-section {
  padding: clamp(60px, 8vh, 100px) clamp(40px, 6vw, 100px);
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.pp-back-link {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 500;
  color: #fff;
  background: #111;
  padding: 14px 36px;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s ease;
}

.pp-back-link:hover {
  background: #333;
}

.pp-contact-link {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 500;
  color: #2ecc71;
  padding: 14px 36px;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.02em;
  border: 1px solid #2ecc71;
  margin-left: 16px;
  transition: background 0.2s ease, color 0.2s ease;
}

.pp-contact-link:hover {
  background: #2ecc71;
  color: #fff;
}

/* ===== Footer ===== */
.pp-footer {
  margin-top: clamp(40px, 5vh, 60px);
  padding: clamp(30px, 4vh, 50px) clamp(40px, 6vw, 100px);
  border-top: 1px solid #e0e0e0;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.pp-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

.pp-footer-links {
  display: flex;
  gap: clamp(16px, 2vw, 32px);
}

.pp-footer-links a {
  font-family: 'Inter', sans-serif;
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 400;
  color: #555;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pp-footer-links a:hover {
  color: #111;
}

.pp-footer-email {
  font-family: 'Inter', sans-serif;
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 400;
  color: #555;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pp-footer-email:hover {
  color: #111;
}

.pp-footer-copy {
  font-family: 'Inter', sans-serif;
  font-size: clamp(11px, 0.8vw, 13px);
  font-weight: 300;
  color: #999;
}

/* ===== Scroll Animations ===== */
.pp-fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.pp-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Hamburger Button (hidden on desktop) ===== */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 120;
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111;
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Responsive: Tablets & Phones (768px) ===== */
@media (max-width: 768px) {
  /* --- Nav: hamburger menu --- */
  .hamburger-btn {
    display: block;
    margin-left: auto;
  }

  .pp-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 20px 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    gap: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  }

  .pp-nav-links.open {
    display: flex;
  }

  .pp-nav-links a {
    font-size: 15px;
    padding: 4px 0;
  }

  .pp-nav {
    padding: 16px 20px;
  }

  /* --- Nav logo shrink --- */
  .pp-nav-logo {
    font-size: 20px;
  }

  .pp-nav-logo .mb-tagline {
    font-size: 0.5em;
  }

  /* --- Hero --- */
  .pp-hero {
    padding: 48px 20px 40px;
  }

  .pp-product-name {
    font-size: clamp(32px, 8vw, 56px);
  }

  .pp-hero h1 {
    font-size: clamp(24px, 5.5vw, 40px);
  }

  /* --- Sections --- */
  .pp-section {
    padding: 40px 20px;
  }

  .pp-section--alt .pp-section-inner {
    padding: 40px 20px;
  }

  .pp-section h2,
  .pp-section-inner h2 {
    font-size: clamp(22px, 5vw, 36px);
  }

  /* --- Back CTA --- */
  .pp-back-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px 20px;
  }

  .pp-contact-link {
    margin-left: 0;
  }

  /* --- Footer --- */
  .pp-footer {
    padding: 30px 20px;
  }

  .pp-footer-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .pp-footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  /* --- Divider --- */
  .pp-divider {
    padding: 0 20px;
  }
}

/* ===== Responsive: Small Phones (480px) ===== */
@media (max-width: 480px) {
  .pp-product-name {
    font-size: clamp(28px, 8vw, 44px);
  }

  .pp-hero h1 {
    font-size: clamp(22px, 5vw, 32px);
  }
}
