:root {
  --black: #050505;
  --black-elevated: #0c0c0c;
  --gold: #d4af37;
  --gold-soft: #e8c76b;
  --gold-dim: rgba(212, 175, 55, 0.12);
  --white: #f7f4ee;
  --muted: #a39e94;
  --border: rgba(212, 175, 55, 0.22);
  --glow: 0 0 28px rgba(212, 175, 55, 0.35);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--white);
  background: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

.smoke-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(212, 175, 55, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(212, 175, 55, 0.06), transparent 50%),
    radial-gradient(ellipse 50% 35% at 10% 90%, rgba(255, 255, 255, 0.03), transparent 45%),
    linear-gradient(180deg, #080808 0%, #000 40%, #030303 100%);
}

main,
header,
footer {
  position: relative;
  z-index: 1;
}

.brand-mark {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  padding: 1.15rem 1.35rem 1.15rem 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.6vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  text-decoration: none;
  background: linear-gradient(120deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.55) 70%, transparent 100%);
  border-bottom-right-radius: 14px;
  border: 1px solid transparent;
  border-right-color: rgba(212, 175, 55, 0.12);
  border-bottom-color: rgba(212, 175, 55, 0.12);
  backdrop-filter: blur(8px);
  transition: color 0.3s ease, text-shadow 0.3s ease, border-color 0.3s ease;
}

.brand-mark:hover,
.brand-mark:focus-visible {
  color: #fff8e6;
  text-shadow: 0 0 24px rgba(212, 175, 55, 0.35);
  border-right-color: rgba(212, 175, 55, 0.28);
  border-bottom-color: rgba(212, 175, 55, 0.28);
  outline: none;
}

.brand-mark-light {
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.14em;
  color: rgba(232, 199, 107, 0.72);
  text-transform: none;
  margin: 0 0.12em;
}

.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5.25rem 1.5rem 4rem;
  text-align: center;
}

.hero-inner {
  max-width: 560px;
}

.hero-logo {
  width: min(72vw, 320px);
  height: auto;
  display: block;
  margin: 0 auto 1.75rem;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.65));
  object-fit: contain;
}

.tagline {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 2.25rem;
  font-weight: 400;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 1rem 2.25rem;
  cursor: pointer;
  transition: color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease, transform 0.25s ease, border-color 0.35s ease;
  background: transparent;
  color: var(--gold);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
  color: var(--gold-soft);
  border-color: rgba(212, 175, 55, 0.45);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: var(--glow);
  border-color: var(--gold);
  color: #fff8e6;
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--muted);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-ghost:hover {
  color: var(--gold-soft);
  border-color: var(--border);
}

.btn-block {
  width: 100%;
  margin-top: 1.5rem;
}

.btn-icon {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border-radius: 10px;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--gold);
  background: var(--black-elevated);
}

.btn-icon:hover,
.btn-icon:focus-visible {
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.25);
  border-color: var(--gold);
}

.btn-icon:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}

.section {
  padding: 4rem 1.5rem;
  max-width: 920px;
  margin: 0 auto;
}

.section-menu {
  max-width: 1080px;
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.75rem;
}

.section-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 36rem;
  margin-inline: auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.35rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.25rem 1.5rem;
  background: linear-gradient(160deg, rgba(20, 20, 20, 0.96), rgba(6, 6, 6, 0.98));
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.product-card:hover {
  border-color: rgba(212, 175, 55, 0.42);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.06), 0 20px 56px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

.product-visual {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: radial-gradient(ellipse at 50% 30%, rgba(212, 175, 55, 0.08), transparent 55%), #000;
}

.product-img-btn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  font: inherit;
  border-radius: inherit;
  transition: box-shadow 0.3s ease;
}

.product-img-btn:hover .product-img,
.product-img-btn:focus-visible .product-img {
  transform: scale(1.02);
}

.product-img-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.product-img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 58%;
  transition: transform 0.35s ease;
}

.product-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--white);
  margin: 1.1rem 0 0.25rem;
}

.product-sizes {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.85rem;
}

.size-block-card {
  padding: 0.85rem 0.35rem 0.65rem;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
}

.size-block-card-mini {
  border-top-color: rgba(212, 175, 55, 0.08);
}

.size-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.size-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.size-label.mini-label {
  color: var(--gold-soft);
}

.size-block-head .size-price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold);
}

.qty-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.qty-val {
  min-width: 2rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
  color: var(--white);
}

.summary-card,
.order-card,
.contact-card {
  background: var(--black-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  max-width: 520px;
  margin: 0 auto;
}

.summary-lines {
  font-size: 0.95rem;
  color: var(--muted);
  min-height: 4rem;
  white-space: pre-line;
  line-height: 1.75;
}

.summary-lines .empty {
  color: rgba(163, 158, 148, 0.65);
  font-style: italic;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.summary-total strong {
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  font-weight: 600;
}

.toggle-group {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.toggle {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle:hover {
  color: var(--gold-soft);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.12);
}

.toggle.active {
  color: var(--black);
  background: linear-gradient(135deg, var(--gold), #b4922b);
  border-color: transparent;
}

.order-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field-address-wrap.hidden {
  display: none;
}

.field span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12), 0 0 24px rgba(212, 175, 55, 0.15);
}

.contact-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-link {
  color: var(--gold-soft);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.04em;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.contact-link:hover {
  color: #fff8e6;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.45);
}

.footer {
  text-align: center;
  padding: 3rem 1rem 4rem;
  color: rgba(163, 158, 148, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
}

.lightbox-overlay.hidden {
  display: none;
}

.lightbox-img {
  max-width: min(96vw, 920px);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(212, 175, 55, 0.15);
}

.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 151;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(12, 12, 12, 0.85);
  color: var(--gold-soft);
  cursor: pointer;
  transition: color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  color: #fff8e6;
  border-color: var(--gold);
  box-shadow: var(--glow);
  outline: none;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
  display: none;
}

.modal {
  width: min(100%, 440px);
  background: linear-gradient(160deg, #121212, #060606);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65), var(--glow);
}

.modal h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold);
  margin: 0 0 1rem;
  text-align: center;
  letter-spacing: 0.06em;
}

.modal-body {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  white-space: pre-line;
  max-height: 45vh;
  overflow-y: auto;
  margin-bottom: 1.5rem;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
}

.modal-actions .btn {
  flex: 1;
}

.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  pointer-events: none;
  background: rgba(18, 18, 18, 0.95);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-soft);
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  font-size: 0.85rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  animation: toast-in 0.4s ease forwards;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fade-in 1.2s ease forwards;
}

.fade-in-up {
  opacity: 0;
  animation: fade-in-up 0.9s ease forwards;
}

.fade-in-up.visible {
  opacity: 1;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-in,
  .fade-in-up,
  .toast {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
