:root {
  --bg: #f6f2ea;
  --surface: #ffffff;
  --text: #1b1b1b;
  --muted: #5f5a52;
  --accent: #0f766e;
  --accent-2: #d97706;
  --border: #e3d6c5;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(15, 118, 110, 0.18), transparent 45%),
    radial-gradient(circle at 90% 10%, rgba(217, 119, 6, 0.18), transparent 45%),
    radial-gradient(circle at 80% 90%, rgba(15, 118, 110, 0.1), transparent 50%);
  z-index: -2;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px clamp(20px, 4vw, 48px) 64px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.35);
}

.brand-name {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
}

.brand-tagline {
  margin: 4px 0 0;
  color: var(--muted);
}

.header-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
  gap: 24px;
  padding: 20px 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
}

.hero-copy h1 {
  margin: 8px 0 8px;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 38px);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  color: var(--muted);
}

.hero-subtitle {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 16px;
}

.hero-pills {
  display: grid;
  gap: 10px;
  align-content: start;
}

.hero-pills span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 600;
  font-size: 13px;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-button {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.2);
}

.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(15, 118, 110, 0.28);
}

.ghost-button {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.6);
}

.ghost-button:hover {
  transform: translateY(-1px);
}

.layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 32px;
}

.sidebar {
  position: sticky;
  top: 24px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--muted);
}

.count {
  background: rgba(15, 118, 110, 0.12);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
}

.product-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-item {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  color: var(--text);
  display: grid;
  gap: 6px;
  transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  animation: navIn 0.5s ease both;
}

.nav-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.08);
}

.nav-item.active {
  border-color: var(--accent);
  box-shadow: 0 18px 32px rgba(15, 118, 110, 0.16);
}

.nav-title {
  font-weight: 600;
}

.nav-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.nav-badge {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15, 118, 110, 0.1);
  color: var(--accent);
  white-space: nowrap;
}

.nav-subtitle {
  color: var(--muted);
  font-size: 14px;
}

.sidebar-footer {
  padding: 16px;
  border-radius: 18px;
  border: 1px dashed var(--border);
  color: var(--muted);
}

.text-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.content {
  background: var(--surface);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: 380px;
}

.content.animate-in {
  animation: contentIn 0.5s ease;
}

.content-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.content h2 {
  margin: 0;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(26px, 4vw, 36px);
}

.tagline {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.badge {
  background: var(--accent-2);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 20px;
}

.price {
  font-size: 26px;
  font-weight: 600;
}

.price-note {
  color: var(--muted);
}

.cta-row {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-sub {
  color: var(--muted);
}

.summary {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.6;
}

.product-image {
  margin-top: 20px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f9f6f1;
}

.product-image img {
  display: block;
  width: 100%;
  height: auto;
}

.image-caption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: #fff;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.detail-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(250, 248, 244, 0.9);
}

.detail-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.detail-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.updated {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.faq {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--border);
}

.section-title {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 24px;
  margin-bottom: 16px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.faq-card {
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
}

.faq-card h3 {
  margin: 0 0 8px;
}

.faq-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  flex-wrap: wrap;
}

.footer-right {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@keyframes contentIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes navIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .product-nav {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .nav-item {
    min-width: 220px;
  }
}

@media (max-width: 600px) {
  .header-actions {
    width: 100%;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
