:root {
  --bg: #1e1e1e;
  --bg-soft: #242322;
  --line: #38352f;
  --white: #f4f1ec;
  --muted: #a8a49c;
  --gold: #b4864f;
  --gold-light: #d9b47e;
  --silver: #c9c9c9;
  --silver-dark: #8f8f8f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

/* ---------- Navbar ---------- */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 132px;
  padding: 0 clamp(20px, 4vw, 56px);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.navbar__logo {
  height: 86px;
  width: auto;
}

/* ---------- Catalog ---------- */

.catalog {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 64px) clamp(20px, 4vw, 56px) 40px;
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: clamp(16px, 2.4vw, 28px) 0;
  position: relative;
}

.product + .product {
  border-top: 1px solid transparent;
  background-image: linear-gradient(to right, transparent, var(--silver-dark) 20%, var(--gold) 50%, var(--silver-dark) 80%, transparent);
  background-position: top;
  background-repeat: no-repeat;
  background-size: 100% 1px;
}

.product__image-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  position: relative;
}

.product__image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.product__image-wrap:hover::after {
  opacity: 1;
}

.product__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product__image-wrap:hover .product__image {
  transform: scale(1.08);
}

.product__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.product__name {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(30px, 3vw, 42px);
  letter-spacing: 0.04em;
  margin: 0;
  color: var(--white);
}

.product__description {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 300;
  letter-spacing: 0.01em;
  margin: 0;
  max-width: 46ch;
}

.product__more {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: -2px 0 0;
}

.product__more[hidden] {
  display: none;
}

.product__more p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 300;
  letter-spacing: 0.01em;
  margin: 0;
  max-width: 52ch;
}

.product__toggle {
  appearance: none;
  border: none;
  background: none;
  padding: 0;
  margin-top: -4px;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.product__toggle:hover {
  color: var(--white);
  border-bottom-color: var(--gold);
}

.product__price {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  margin: 6px 0 4px;
}

.product__button {
  appearance: none;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 38px;
  cursor: pointer;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.product__button:hover {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-light) 45%, var(--silver) 75%, var(--gold) 100%);
  border-color: var(--gold-light);
  color: #1e1e1e;
  box-shadow: 0 4px 18px rgba(180, 134, 79, 0.25);
}

/* ---------- Footer ---------- */

.site-footer {
  text-align: center;
  padding: 28px 20px 40px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-footer p.site-footer__disclaimer {
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 12px;
  line-height: 1.6;
  max-width: 52ch;
  margin: 0 auto 14px;
  opacity: 0.75;
}

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .product {
    grid-template-columns: 1fr;
  }

  .product__info {
    align-items: flex-start;
  }
}
