:root {
  color-scheme: dark;
  --ink: #f7f2e7;
  --muted: #c8c0b2;
  --gold: #d4af37;
  --gold-soft: #ecd98f;
  --night: #080705;
  --panel: #11100d;
  --panel-2: #171510;
  --line: rgba(212, 175, 55, 0.36);
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--night);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -16%, rgba(212, 175, 55, 0.16), transparent 36rem),
    linear-gradient(180deg, #0d0b08 0%, var(--night) 52%, #050403 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 4px;
  border-radius: 4px;
}

.site-header,
.site-footer,
.page-shell {
  width: min(100% - 32px, 720px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 92px;
  padding: 20px 0 16px;
}

.brand-link {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  display: block;
  width: min(250px, 72vw);
  height: auto;
}

.page-shell {
  padding-bottom: 40px;
}

.perfume-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(23, 21, 16, 0.98), rgba(13, 12, 9, 0.99));
  box-shadow: var(--shadow);
}

.hero-image {
  position: relative;
  height: 150px;
  overflow: hidden;
  background: #17140f;
}

.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 53%;
  filter: saturate(0.82) contrast(1.06) brightness(0.74);
}

.hero-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(8, 7, 5, 0.06), rgba(8, 7, 5, 0.78)),
    linear-gradient(90deg, rgba(8, 7, 5, 0.2), transparent 45%, rgba(8, 7, 5, 0.2));
}

.content {
  padding: 0 24px 26px;
}

.product-head {
  position: relative;
  z-index: 1;
  margin-top: -34px;
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(12, 11, 8, 0.96);
  text-align: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 11vw, 3.65rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0.015em;
  text-wrap: balance;
}

.product-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  min-height: 32px;
  margin-top: 14px;
  padding: 6px 12px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status.available {
  color: #f0e4a4;
}

.profile {
  margin: 24px 0 0;
  padding: 20px;
  border-left: 2px solid var(--gold);
  background: rgba(212, 175, 55, 0.06);
}

.section-label {
  display: block;
  margin-bottom: 7px;
  color: var(--gold-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.profile p {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  line-height: 1.35;
}

.notes-section {
  padding: 28px 0 8px;
}

.notes-section > h2,
.facts-section > h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.notes-grid {
  display: grid;
  gap: 12px;
}

.note-block {
  padding: 16px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.note-block h3 {
  margin-bottom: 8px;
  color: var(--gold-soft);
  font-size: 0.83rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.note-list {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.note-list li {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.065);
  color: #eee9df;
}

.facts-section {
  padding: 20px 0 4px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.fact {
  padding: 14px;
  border-top: 1px solid var(--line);
}

.fact dt {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fact dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-weight: 620;
}

.product-foot {
  display: flex;
  margin-top: 24px;
  padding-top: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
}

.price {
  margin: 0;
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.shop-link {
  display: inline-flex;
  min-height: 44px;
  padding: 10px 15px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold-soft);
  font-weight: 700;
  text-decoration: none;
}

.shop-link:hover {
  background: rgba(212, 175, 55, 0.11);
}

.site-footer {
  padding: 0 0 32px;
  color: #aaa294;
  font-size: 0.82rem;
  text-align: center;
}

.site-footer p {
  margin-bottom: 0;
}

.directory-intro {
  padding: 8px 0 24px;
  text-align: center;
}

.directory-intro h1 {
  font-size: clamp(2rem, 9vw, 3.4rem);
}

.directory-intro p {
  max-width: 38rem;
  margin: 0 auto;
  color: var(--muted);
}

.directory-section {
  margin-bottom: 28px;
}

.directory-section h2 {
  margin-bottom: 12px;
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.directory-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.directory-list a {
  display: flex;
  min-height: 56px;
  padding: 12px 14px;
  align-items: center;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  font-weight: 650;
  text-decoration: none;
}

.directory-list a:hover {
  border-color: rgba(212, 175, 55, 0.62);
  background: rgba(212, 175, 55, 0.07);
}

.not-found {
  padding: 48px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  text-align: center;
}

.not-found h1 {
  font-size: 2.6rem;
}

@media (min-width: 640px) {
  .site-header {
    min-height: 110px;
  }

  .content {
    padding-inline: 40px;
    padding-bottom: 38px;
  }

  .hero-image {
    height: 190px;
  }

  .notes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .directory-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  .site-header,
  .site-footer,
  .page-shell {
    width: min(100% - 20px, 720px);
  }

  .content {
    padding-inline: 16px;
  }

  .product-head {
    padding-inline: 14px;
  }

  .product-foot {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .directory-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
