:root {
  color-scheme: dark;
  --ink: #050507;
  --panel: #0d1014;
  --panel-2: #141920;
  --bone: #f4efe6;
  --muted: #a6acb5;
  --line: rgba(255, 255, 255, 0.14);
  --fire: #ff3f22;
  --ember: #ff8a2b;
  --acid: #c5ff4a;
  --cyan: #33e6ff;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 12%, rgba(51, 230, 255, 0.11), transparent 32%),
    radial-gradient(circle at 8% 28%, rgba(255, 63, 34, 0.12), transparent 30%),
    var(--ink);
  color: var(--bone);
}

body.locked,
body.modal-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px);
}

.age-gate.hidden {
  display: none;
}

.gate-shell {
  width: min(620px, 100%);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(24px, 5vw, 42px);
  background:
    linear-gradient(135deg, rgba(255, 63, 34, 0.12), transparent 38%),
    var(--panel);
  box-shadow: var(--shadow);
}

.gate-shell h1,
.hero h1,
.page-hero h1,
.checkout-header h1,
.section-title h2,
.contact-section h2 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: 0;
}

.gate-shell h1 {
  font-size: clamp(2.5rem, 8vw, 5.8rem);
}

.gate-shell p,
.hero p,
.section-title p,
.country-card p,
.assurance-section p,
.page-hero p,
.checkout-header p,
.order-card p,
.secure-note,
.site-footer span {
  color: var(--muted);
  line-height: 1.65;
}

.kicker {
  margin: 0 0 12px;
  color: var(--acid);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gate-check,
.confirm-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
  font-weight: 800;
}

.gate-check {
  margin-top: 22px;
}

.gate-actions,
.hero-actions,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 0 18px;
  font-weight: 950;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.btn.wide {
  width: 100%;
}

.btn-fire {
  background: linear-gradient(135deg, var(--fire), var(--ember));
  color: white;
  box-shadow: 0 18px 34px rgba(255, 63, 34, 0.24);
}

.btn-glass,
.btn-quiet {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.07);
  color: var(--bone);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  min-height: 74px;
  grid-template-columns: minmax(220px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: 18px;
  padding: 12px clamp(16px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 7, 0.82);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.brand-seal {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(197, 255, 74, 0.45);
  border-radius: 5px;
  background: rgba(197, 255, 74, 0.08);
  color: var(--acid);
  font-weight: 950;
}

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

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

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-weight: 850;
}

.nav-links a:hover {
  color: var(--bone);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.lang-select,
.cart-button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--bone);
  font-weight: 950;
}

.lang-select {
  padding: 0 10px;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
}

.cart-button span:first-child {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
  color: #111;
}

.hero {
  position: relative;
  min-height: clamp(690px, 92vh, 940px);
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 120px clamp(16px, 4vw, 54px) 64px;
}

.hero-art,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 5, 7, 0.98), rgba(5, 5, 7, 0.68) 42%, rgba(5, 5, 7, 0.18)),
    linear-gradient(0deg, rgba(5, 5, 7, 0.98), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(4rem, 13vw, 10rem);
}

.hero p {
  max-width: 650px;
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.country-card {
  position: absolute;
  right: clamp(16px, 4vw, 54px);
  bottom: 64px;
  z-index: 2;
  width: min(360px, calc(100% - 32px));
  border: 1px solid rgba(197, 255, 74, 0.38);
  border-radius: 10px;
  padding: 24px;
  background: rgba(7, 9, 12, 0.78);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.country-card span {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--acid);
  color: #101;
  font-weight: 950;
}

.country-card strong {
  display: block;
  font-size: 1.45rem;
}

.legal-strip {
  display: flex;
  gap: 8px;
  padding: 16px clamp(16px, 4vw, 54px);
  border-block: 1px solid rgba(255, 255, 255, 0.16);
  background: #e7f2ff;
  color: #101418;
  line-height: 1.5;
}

.section,
.page-shell {
  padding: 82px clamp(16px, 4vw, 54px);
}

.section-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: clamp(24px, 6vw, 72px);
  align-items: end;
  margin-bottom: 30px;
}

.section-title h2,
.contact-section h2,
.page-hero h1,
.checkout-header h1 {
  font-size: clamp(2.4rem, 6vw, 5.4rem);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 20px;
}

.filters {
  position: sticky;
  top: 96px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.filter {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-weight: 900;
  text-align: left;
  padding: 0 14px;
}

.filter.active {
  border-color: rgba(197, 255, 74, 0.6);
  background: rgba(197, 255, 74, 0.11);
  color: var(--bone);
}

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

.product-card {
  display: grid;
  min-height: 430px;
  grid-template-rows: 170px 1fr auto;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    var(--panel);
}

.product-mark {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 34%, transparent), transparent 40%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.13), transparent 48%),
    #090a0c;
}

.product-mark::before {
  content: "";
  width: 34px;
  height: 130px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), #15171b 74%);
  box-shadow:
    22px 22px 0 rgba(255, 255, 255, 0.08),
    -24px 28px 0 rgba(255, 255, 255, 0.05);
  transform: rotate(29deg);
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 1.28rem;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.product-foot,
.panel-head,
.summary-lines div,
.checkout-step,
.mini-reservation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price {
  color: var(--acid);
  font-size: 1.45rem;
  font-weight: 950;
}

.add-btn,
.qty-btn {
  border: 0;
  border-radius: 5px;
  background: var(--bone);
  color: #111;
  font-weight: 950;
}

.add-btn {
  min-height: 42px;
  padding: 0 13px;
}

.assurance-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.assurance-section article,
.cart-main,
.order-card,
.checkout-form,
.checkout-summary,
.contact-grid a,
.mini-reservation {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.assurance-section article {
  padding: 22px;
}

.assurance-section span {
  color: var(--acid);
  font-weight: 950;
}

.assurance-section h3 {
  margin: 14px 0 8px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1fr);
  gap: clamp(24px, 6vw, 70px);
  align-items: start;
}

.contact-grid {
  display: grid;
  gap: 14px;
}

.contact-grid a {
  display: grid;
  gap: 6px;
  padding: 20px;
}

.contact-grid span {
  color: var(--muted);
}

.contact-grid strong {
  font-size: clamp(1.05rem, 3vw, 1.55rem);
}

.page-shell {
  min-height: calc(100vh - 150px);
}

.page-hero.compact,
.checkout-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: clamp(20px, 5vw, 58px);
  align-items: end;
  margin-bottom: 32px;
}

.cart-page-grid,
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 20px;
  align-items: start;
}

.cart-main,
.order-card,
.checkout-form,
.checkout-summary {
  padding: clamp(18px, 3vw, 28px);
}

.panel-head {
  margin-bottom: 18px;
}

.panel-head h2,
.checkout-summary h2 {
  margin: 0;
}

.panel-head a {
  color: var(--acid);
  font-weight: 900;
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.cart-line strong,
.cart-line small {
  display: block;
}

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

.qty-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 32px;
  height: 32px;
}

.empty-state {
  color: var(--muted);
}

.order-card {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.order-number {
  overflow-wrap: anywhere;
  color: var(--acid);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 950;
}

.timer-ring {
  display: grid;
  width: 156px;
  height: 156px;
  place-items: center;
  justify-self: center;
  border: 2px solid rgba(197, 255, 74, 0.45);
  border-radius: 50%;
  background: rgba(197, 255, 74, 0.07);
}

.timer-ring span {
  font-size: 2rem;
  font-weight: 950;
}

.timer-ring small {
  color: var(--muted);
  margin-top: -42px;
}

.summary-lines {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.summary-lines span {
  color: var(--muted);
}

.summary-lines strong {
  color: var(--bone);
}

.grand-total {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-size: 1.25rem;
}

.grand-total strong {
  color: var(--acid);
}

.mini-reservation {
  display: grid;
  justify-items: start;
  padding: 18px;
}

.mini-reservation span,
.mini-reservation small {
  color: var(--muted);
}

.mini-reservation strong {
  color: var(--acid);
  font-size: 1.5rem;
  overflow-wrap: anywhere;
}

.checkout-grid {
  align-items: start;
}

.checkout-form.real {
  display: grid;
  gap: 20px;
  background: rgba(7, 8, 10, 0.86);
  box-shadow: var(--shadow);
}

.checkout-step {
  justify-content: flex-start;
}

.checkout-step span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
  color: #111;
  font-weight: 950;
}

.checkout-step h2 {
  margin: 0;
}

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

.checkout-form label {
  display: grid;
  gap: 8px;
  color: #e3e7ec;
  font-weight: 850;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #050608;
  color: var(--bone);
  padding: 13px;
  outline: none;
}

.checkout-form textarea {
  resize: vertical;
}

.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
  border-color: rgba(197, 255, 74, 0.68);
}

.method-field {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: stretch;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.method-field legend {
  padding: 0 8px;
  color: var(--muted);
  font-weight: 900;
}

.checkout-form .method-option {
  display: flex;
  align-items: center;
  min-height: 48px;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
}

.method-option input {
  width: auto;
  margin: 0;
  accent-color: var(--fire);
}

.method-option span {
  line-height: 1;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--acid);
  font-weight: 850;
}

.checkout-summary {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.compact-list .cart-line {
  grid-template-columns: 1fr;
}

.compact-list .qty-tools {
  display: none;
}

.secure-note {
  margin: 0;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(14px);
}

.modal[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: min(780px, 100%);
  max-height: 92dvh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(18px, 3vw, 30px);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.modal-close,
.icon-btn {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--bone);
  font-weight: 950;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

#receiptCanvas {
  width: 100%;
  height: auto;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  transform: translateY(20px);
  opacity: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--panel-2);
  color: var(--bone);
  box-shadow: var(--shadow);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.toast.visible {
  transform: translateY(0);
  opacity: 1;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(16px, 4vw, 54px);
  border-top: 1px solid var(--line);
}

@media (max-width: 1120px) {
  .product-grid,
  .assurance-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .country-card {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 1;
    margin-top: 28px;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 760px;
    align-items: end;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(5, 5, 7, 0.98), rgba(5, 5, 7, 0.78) 62%, rgba(5, 5, 7, 0.25)),
      linear-gradient(90deg, rgba(5, 5, 7, 0.94), transparent);
  }

  .section-title,
  .catalog-layout,
  .contact-section,
  .page-hero.compact,
  .checkout-header,
  .cart-page-grid,
  .checkout-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .product-grid,
  .assurance-section {
    grid-template-columns: 1fr;
  }

  .order-card,
  .checkout-summary {
    position: static;
  }

  .site-footer,
  .legal-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 470px) {
  .hero h1 {
    font-size: 3.7rem;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand small {
    font-size: 0.75rem;
  }

  .cart-button span:last-child {
    display: none;
  }

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

  .cart-line {
    grid-template-columns: 1fr;
  }
}
