:root {
  --cream: #f5f0e8;
  --warm-white: #fdfaf4;
  --espresso: #1c1410;
  --clay: #8b6f5e;
  --gold: #c9a96e;
  --gold-light: #e8d5a3;
  --terracota: #c17a5a;
  --text: #2a1f1a;
  --text-muted: #7a6a5e;
  --sage: #d6e0d8;
  --peach: #ead7cb;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: radial-gradient(circle at 15% 20%, #f7efe5 0%, #fdfaf4 45%), linear-gradient(140deg, rgba(234, 215, 203, 0.24), rgba(214, 224, 216, 0.22));
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  min-height: 100vh;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 22px 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.5s, padding 0.4s;
  overflow: hidden;
  isolation: isolate;
}

nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(253, 250, 244, 0.98), rgba(245, 240, 232, 0.95) 48%, rgba(233, 223, 208, 0.9));
  border-bottom: 1px solid rgba(201, 169, 110, 0.22);
  box-shadow: 0 10px 30px rgba(28, 20, 16, 0.08);
  z-index: -1;
}

nav::after {
  content: '';
  position: absolute;
  left: 60px;
  right: 60px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 169, 110, 0), rgba(201, 169, 110, 0.95), rgba(201, 169, 110, 0));
  opacity: 0.9;
}

nav.scrolled {
  background: rgba(253, 250, 244, 0.78);
  backdrop-filter: blur(12px);
  padding: 14px 54px;
  border-bottom: 1px solid rgba(201, 169, 110, 0.16);
}

nav .nav-logo {
  text-decoration: none;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  margin-right: auto;
}

nav .nav-logo img {
  height: 84px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--espresso);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s;
}

.nav-links a:hover {
  color: var(--terracota);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  color: var(--warm-white);
  text-decoration: none;
  border: 1px solid rgba(28, 20, 16, 0.08);
  background: linear-gradient(135deg, var(--gold), var(--terracota));
  padding: 10px 24px;
  box-shadow: 0 10px 24px rgba(193, 122, 90, 0.18);
  transition: background 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--espresso), #403029);
  color: var(--warm-white);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(28, 20, 16, 0.16);
}

.product-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 160px 26px 80px;
}

.product-header {
  margin-bottom: 22px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.breadcrumb a,
.breadcrumb strong,
.breadcrumb span {
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--espresso);
}

.breadcrumb strong {
  color: var(--gold);
}

.breadcrumb span {
  color: rgba(122, 106, 94, 0.52);
}

.product-main {
  display: grid;
  grid-template-columns: minmax(280px, 520px) 1fr;
  gap: 42px;
  align-items: start;
}

.product-visual-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-media-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 470px;
  width: 100%;
  background: linear-gradient(145deg, rgba(245, 232, 217, 0.9), rgba(215, 229, 218, 0.85));
  box-shadow: 0 34px 70px rgba(28, 20, 16, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.media-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 14%, rgba(255, 255, 255, 0.75), transparent 48%), radial-gradient(circle at 10% 80%, rgba(201, 169, 110, 0.3), transparent 48%);
}

.product-image {
  position: relative;
  z-index: 2;
  width: 82%;
  max-width: 410px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 20px 20px rgba(28, 20, 16, 0.22));
  animation: lift 5.8s ease-in-out infinite;
}

.quality-badge {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  background: rgba(28, 20, 16, 0.9);
  color: var(--gold-light);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 999px;
}

.product-eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.product-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5.2vw, 4.5rem);
  line-height: 1.06;
  color: var(--espresso);
  margin-bottom: 16px;
}

.product-description {
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 18px;
}

.product-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.product-meta.without-base-price {
  grid-template-columns: repeat(2, minmax(100px, 1fr));
}

.meta-item {
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.4);
}

.meta-item.is-hidden {
  display: none;
}

.meta-label {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.meta-item strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.72rem;
  color: var(--espresso);
  line-height: 1;
}

.num-glyph {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  font-size: 0.88em;
  letter-spacing: 0.01em;
  line-height: 1;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  justify-content: center;
  margin-top: 14px;
}

.pricing-panel {
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(245, 240, 232, 0.72));
  padding: 16px;
  margin: 0 0 14px;
}

.pricing-eyebrow {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.pricing-list {
  display: grid;
  gap: 8px;
}

.pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(201, 169, 110, 0.22);
}

.pricing-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.pricing-value {
  color: var(--espresso);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-note {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.tag {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(201, 169, 110, 0.2);
  color: var(--clay);
  border: 1px solid rgba(201, 169, 110, 0.36);
  padding: 8px 11px;
  border-radius: 999px;
}

.product-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.product-actions-top {
  margin-bottom: 16px;
}

.btn-primary,
.btn-secondary {
  text-decoration: none;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
  padding: 14px 22px;
  border-radius: 999px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary {
  background: var(--espresso);
  color: var(--cream);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(28, 20, 16, 0.24);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid rgba(122, 106, 94, 0.35);
}

.btn-secondary:hover {
  transform: translateY(-2px);
}

.about-piece {
  margin-top: 56px;
}

.about-card {
  border-radius: 22px;
  border: 1px solid rgba(201, 169, 110, 0.28);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.68), rgba(245, 240, 232, 0.7));
  padding: 30px;
}

.about-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.about-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--espresso);
}

.about-card p {
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 900px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes lift {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .product-main {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .product-media-wrap {
    min-height: 360px;
  }

  .product-meta {
    grid-template-columns: 1fr;
  }

  .about-card {
    padding: 22px;
  }
}

@media (max-width: 1024px) {
  nav {
    padding: 20px 24px;
  }

  nav.scrolled {
    padding: 20px 24px;
  }

  nav .nav-logo img {
    height: 78px;
  }

  .nav-links {
    display: none;
  }

  .product-page {
    padding-top: 146px;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 14px 16px;
  }

  nav.scrolled {
    padding: 14px 16px;
  }

  nav .nav-logo {
    max-width: calc(100vw - 130px);
  }

  nav .nav-logo img {
    height: clamp(52px, 12vw, 64px);
    max-width: 100%;
  }

  .nav-cta {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    line-height: 1.2;
    white-space: normal;
    text-align: center;
    width: 86px;
    padding: 8px 8px;
  }

  .product-page {
    padding-top: 126px;
  }
}

@media (max-width: 480px) {
  nav .nav-logo {
    max-width: calc(100vw - 112px);
  }

  nav .nav-logo img {
    height: clamp(44px, 11vw, 54px);
  }

  .nav-cta {
    display: none;
  }

  .product-page {
    padding-top: 112px;
  }
}

/* FOOTER */
footer {
  background: var(--espresso);
  padding: 56px 60px 32px;
  border-top: 1px solid rgba(201, 169, 110, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}

.footer-brand .nav-logo {
  display: block;
  margin-bottom: 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--cream);
  text-decoration: none;
}

.footer-brand .nav-logo span {
  color: var(--gold);
}

.footer-brand p {
  font-size: 0.94rem;
  line-height: 1.75;
  color: rgba(245, 240, 232, 0.38);
}

.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col ul li a {
  font-size: 0.94rem;
  color: rgba(245, 240, 232, 0.38);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--cream);
}

.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid rgba(201, 169, 110, 0.08);
  display: flex;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.80rem;
  color: rgba(245, 240, 232, 0.25);
}

@media (max-width: 1024px) {
  footer {
    padding: 44px 24px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 32px 16px 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
}
