:root {
  --bg: #090806;
  --bg-elev: #14110d;
  --panel: rgba(19, 16, 12, 0.88);
  --panel-soft: rgba(24, 20, 15, 0.78);
  --text: #f4efe6;
  --muted: #b4a893;
  --line: rgba(255, 255, 255, 0.1);
  --gold: #d0aa69;
  --gold-strong: #b98c47;
  --danger: #df5858;
  --ok: #6ccf8f;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
  --radius: 18px;
}

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

html,
body {
  min-height: 100%;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 520px at 20% -8%, rgba(208, 170, 105, 0.18), transparent 65%),
    radial-gradient(900px 440px at 90% 5%, rgba(133, 94, 55, 0.18), transparent 60%),
    linear-gradient(180deg, #090806, #0d0b09 45%, #090806 100%);
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.34;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

main,
header,
footer,
.top-strip {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.1;
  letter-spacing: 0.2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6vw;
  backdrop-filter: blur(12px);
  background: rgba(9, 8, 6, 0.84);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 0.85rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 0.74rem;
  font-weight: 700;
  position: relative;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--text);
}

.site-nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--gold);
}

.top-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 11px 6vw;
  font-size: 0.88rem;
  color: #d7cbb7;
  background: linear-gradient(130deg, rgba(208, 170, 105, 0.22), rgba(20, 16, 12, 0.9));
  border-bottom: 1px solid var(--line);
}

.top-strip a {
  color: var(--gold);
  font-weight: 700;
}

.btn,
.btn-ghost,
.btn-outline {
  border-radius: 12px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn-ghost:hover,
.btn-outline:hover {
  transform: translateY(-1px);
}

.btn {
  background: linear-gradient(120deg, var(--gold), var(--gold-strong));
  color: #1a1308;
  padding: 11px 20px;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn-ghost,
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(208, 170, 105, 0.45);
  padding: 11px 20px;
}

main {
  width: min(1200px, 100% - 40px);
  margin: 0 auto;
  padding: 34px 0 70px;
}

.page {
  display: none;
  animation: fade-in 0.35s ease;
}

.page.active {
  display: block;
}

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

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.panel,
.home-cards article,
.home-cta,
.product-card,
.site-footer,
.content-grid .panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 32px;
}

.hero-copy h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  margin: 8px 0 14px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2.3px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-copy p {
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.metrics {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.metrics div {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 12px;
}

.metrics strong {
  display: block;
  font-size: 1.15rem;
}

.metrics small {
  color: var(--muted);
}

.hero-visual {
  position: relative;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.hero-tag {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: rgba(6, 5, 4, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.8rem;
}

.home-cards {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-cards article {
  padding: 20px;
}

.home-cards h2 {
  font-size: 1.55rem;
  margin-bottom: 8px;
}

.home-cards p {
  color: var(--muted);
}

.home-cta {
  margin-top: 24px;
  padding: 26px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(130deg, rgba(208, 170, 105, 0.12), rgba(21, 17, 13, 0.92));
}

.home-cta h2 {
  margin: 7px 0 10px;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

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

.section-head {
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-top: 8px;
}

.section-head p {
  color: var(--muted);
  max-width: 760px;
}

.shop-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.product-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-card h3 {
  font-size: 1.5rem;
}

.product-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.product-image-switch {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.22));
  aspect-ratio: 1 / 1;
}

.product-image-switch img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.product-image-switch .back {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.product-image-switch:hover .back,
.product-image-switch:focus-within .back {
  opacity: 1;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.stock-pill {
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.stock-pill.in {
  background: rgba(108, 207, 143, 0.18);
  color: #89dca5;
}

.stock-pill.out {
  background: rgba(223, 88, 88, 0.18);
  color: #ff9c9c;
}

.size-select {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

select,
input,
textarea {
  width: 100%;
  background: rgba(10, 8, 7, 0.9);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

select:focus,
input:focus,
textarea:focus,
button:focus,
a:focus {
  outline: 2px solid rgba(208, 170, 105, 0.45);
  outline-offset: 2px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 700;
}

.product-detail {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
}

.product-gallery {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 12px;
}

.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 10px;
}

.gallery-slide {
  min-width: 100%;
  scroll-snap-align: center;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  cursor: zoom-in;
}

.gallery-slide img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 10px;
}

.gallery-controls {
  margin-top: 10px;
  display: flex;
  gap: 8px;
}

.gallery-controls .ghost {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}

.panel {
  padding: 20px;
}

.panel h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.panel p,
.panel li {
  color: var(--muted);
}

.checkout-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: 0.85rem;
  color: #cbc0ae;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

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

.field + .field {
  margin-top: 12px;
}

.form-message {
  min-height: 22px;
  margin-bottom: 8px;
  color: #f3d192;
  font-size: 0.88rem;
}

.hp-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

.order-grid div {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.content-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plain-list {
  margin-top: 8px;
  list-style: none;
  display: grid;
  gap: 8px;
}

.plain-list li {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.02);
}

.site-footer {
  margin: 30px auto 24px;
  width: min(1200px, 100% - 40px);
  padding: 20px;
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 16px;
}

.site-footer h4 {
  font-size: 1.3rem;
  margin-bottom: 7px;
}

.site-footer a,
.site-footer p {
  color: var(--muted);
  display: block;
}

.image-zoom {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(4, 3, 2, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.image-zoom.is-active {
  display: flex;
}

.image-zoom img {
  max-width: min(980px, 100%);
  max-height: 85vh;
  object-fit: contain;
}

.zoom-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .hero,
  .product-detail,
  .checkout-layout,
  .contact-layout,
  .content-grid,
  .site-footer,
  .home-cards {
    grid-template-columns: 1fr;
  }

  .hero-visual img {
    min-height: 340px;
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px 14px;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .field-row,
  .field-row.three,
  .metrics,
  .order-grid {
    grid-template-columns: 1fr;
  }

  .home-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
