:root {
  --bg: #060607;
  --bg-soft: #0d0d10;
  --panel: #151419;
  --panel-strong: #1d1b22;
  --ink: #f8efe1;
  --muted: #b9aa98;
  --soft: #76685c;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #e4b85d;
  --gold-strong: #f3ca77;
  --rose: #b84e67;
  --green: #71927a;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 0%, rgba(228, 184, 93, 0.16), transparent 32rem),
    radial-gradient(circle at 86% 16%, rgba(184, 78, 103, 0.14), transparent 34rem),
    linear-gradient(180deg, #08080a 0%, #060607 44%, #0b0a0d 100%);
  font-family:
    Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial,
    sans-serif;
}

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

body.lightbox-open {
  overflow: hidden;
}

body img {
  cursor: zoom-in;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(320px, 1fr) minmax(90px, 160px);
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 6, 7, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 270px;
}

.brand-logo {
  width: 76px;
  height: 50px;
  border: 1px solid rgba(228, 184, 93, 0.38);
  border-radius: 8px;
  object-fit: cover;
  background: #000;
  box-shadow: 0 0 26px rgba(228, 184, 93, 0.14);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 34px);
  color: var(--muted);
  font-size: 15px;
}

.main-nav a {
  padding: 8px 0;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--gold-strong);
}

.header-login-button {
  justify-self: end;
  min-height: 40px;
  padding: 9px 16px;
  border: 1px solid rgba(228, 184, 93, 0.42);
  border-radius: 8px;
  color: #17110a;
  background: var(--gold);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.header-login-button:hover,
.header-login-button:focus-visible {
  background: var(--gold-strong);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: clamp(24px, 5vw, 70px) clamp(18px, 5vw, 64px) 34px;
}

.hero-media {
  position: relative;
  min-height: 0;
}

.hero-media img {
  height: min(68svh, 690px);
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  min-width: 150px;
  padding: 14px 16px;
  border: 1px solid rgba(228, 184, 93, 0.4);
  border-radius: 8px;
  background: rgba(10, 9, 10, 0.78);
  backdrop-filter: blur(14px);
}

.hero-note span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.hero-note strong {
  color: var(--gold-strong);
  font-size: 22px;
}

.hero-content {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(46px, 6vw, 86px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
}

.hero-content p:not(.eyebrow),
.feature-band p,
.order-copy > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.primary {
  color: #17110a;
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  box-shadow: 0 16px 35px rgba(228, 184, 93, 0.24);
}

.ghost {
  border-color: rgba(228, 184, 93, 0.34);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 64px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.quick-info article {
  min-height: 142px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), transparent),
    var(--panel);
}

.metric {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 34px;
  font-weight: 950;
  line-height: 1;
}

.quick-info strong {
  display: block;
  font-size: 18px;
}

.quick-info p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.section {
  padding: clamp(68px, 9vw, 120px) clamp(18px, 5vw, 64px);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

.filters {
  display: flex;
  max-width: 100%;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.filter {
  min-height: 38px;
  padding: 9px 14px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.filter.is-active {
  color: #17110a;
  background: var(--gold);
}

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

.product-card {
  display: flex;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  flex-direction: column;
}

.product-image {
  position: relative;
  overflow: hidden;
  background: #111;
}

.product-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.035);
}

.product-card.is-tall img {
  object-position: center 56%;
}

.floating-tag {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(6, 6, 7, 0.74);
  color: var(--gold-strong);
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
}

.product-body p {
  color: var(--muted);
  line-height: 1.5;
}

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

.product-details span {
  color: var(--soft);
  font-size: 13px;
  line-height: 1.35;
}

.product-details strong {
  color: var(--gold-strong);
  font-size: 18px;
  white-space: nowrap;
}

.pick-button {
  width: 100%;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
  padding: clamp(54px, 8vw, 88px) clamp(18px, 5vw, 64px);
  border-block: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(228, 184, 93, 0.13), transparent 46%),
    var(--panel-strong);
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.2fr;
  gap: 12px;
  padding: 12px clamp(18px, 5vw, 64px) 0;
}

.gallery img {
  height: 380px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.gallery img:nth-child(2) {
  object-position: center 64%;
}

.order-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(24px, 6vw, 86px);
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 8px;
  max-width: 360px;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.contact-card span {
  color: var(--muted);
  font-size: 13px;
}

.contact-card a {
  color: var(--gold-strong);
  font-weight: 900;
}

.order-form {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 4vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), transparent),
    var(--panel);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.25);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(228, 184, 93, 0.2);
  border-color: var(--gold);
}

.form-button {
  width: 100%;
}

.form-result {
  display: none;
  padding: 14px;
  border: 1px solid rgba(113, 146, 122, 0.36);
  border-radius: 8px;
  color: #cce4d0;
  background: rgba(113, 146, 122, 0.14);
  line-height: 1.5;
  white-space: pre-line;
}

.form-result.is-visible {
  display: block;
}

.reviews-section {
  padding-top: clamp(52px, 7vw, 92px);
}

.section-note {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
}

.review-form {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 16px;
  padding: clamp(18px, 4vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(228, 184, 93, 0.08), transparent),
    var(--panel);
  box-shadow: var(--shadow);
}

.rating-field {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.rating-field legend {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.rating-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.rating-options label {
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-size: 13px;
}

.rating-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rating-options label:has(input:checked) {
  border-color: rgba(228, 184, 93, 0.68);
  color: #17110a;
  background: var(--gold);
}

.review-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.review-cancel {
  width: auto;
}

.reviews-list {
  display: grid;
  gap: 14px;
}

.review-card,
.empty-reviews {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), transparent),
    var(--panel);
}

.review-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.review-top h3 {
  margin-bottom: 6px;
}

.review-stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 0;
}

.review-card p,
.empty-reviews p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.review-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.review-card-actions button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.review-card-actions button:hover,
.review-card-actions button:focus-visible {
  border-color: rgba(228, 184, 93, 0.5);
  color: var(--gold-strong);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #050506;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 34px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.auth-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(228, 184, 93, 0.16), transparent 30rem),
    rgba(0, 0, 0, 0.82);
}

.auth-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(480px, 100%);
  gap: 16px;
  padding: clamp(20px, 5vw, 32px);
  border: 1px solid rgba(228, 184, 93, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(228, 184, 93, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    var(--panel);
  box-shadow: var(--shadow);
}

.auth-intro {
  display: grid;
  gap: 6px;
  padding-right: 34px;
}

.auth-intro strong {
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.05;
}

.auth-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.auth-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.auth-tab {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.auth-tab.is-active {
  color: #17110a;
  background: var(--gold);
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form[hidden] {
  display: none;
}

.auth-logout {
  width: 100%;
}

.auth-message {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.auth-message[data-type="success"] {
  color: #cce4d0;
}

.auth-message[data-type="warning"] {
  color: var(--gold-strong);
}

.auth-message[data-type="error"] {
  color: #ffb4b4;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.86);
  cursor: zoom-out;
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: min(1120px, 96vw);
  max-height: 92vh;
  gap: 12px;
}

.lightbox-panel img {
  width: auto;
  max-width: min(1120px, 96vw);
  max-height: 82vh;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  object-fit: contain;
  background: #050506;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
  cursor: zoom-out;
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(228, 184, 93, 0.42);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(12, 11, 13, 0.96);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.lightbox-caption {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 1080px) {
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .filters {
    overflow-x: auto;
    width: 100%;
  }
}

@media (max-width: 980px) {
  .hero,
  .feature-band,
  .order-section,
  .reviews-layout {
    grid-template-columns: 1fr;
  }

  .review-form {
    position: static;
  }

  .hero {
    min-height: auto;
  }

  .hero-media img {
    height: 52svh;
  }

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

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

  .gallery img:last-child {
    grid-column: 1 / -1;
  }
}

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

  .site-header {
    display: flex;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
  }

  .header-login-button {
    width: 100%;
  }

  h1 {
    font-size: 42px;
  }

  .hero-media img {
    min-height: 320px;
  }

  .quick-info,
  .product-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .filter {
    flex: 0 0 auto;
  }

  .gallery img,
  .gallery img:last-child {
    grid-column: auto;
    height: 300px;
  }

  .rating-options {
    grid-template-columns: 1fr;
  }

  .review-top,
  .review-actions {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .review-card-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 66px;
    height: 46px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .main-nav {
    font-size: 14px;
  }

  .lightbox-close {
    top: 8px;
    right: 8px;
  }
}
