:root {
  --black: #171717;
  --paper: #f7f4ee;
  --cream: #efe0c2;
  --red: #d43d2f;
  --muted: #b9b0a3;
  --line: rgba(255, 255, 255, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #fff;
  background: var(--black);
  font-family: "Aptos", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

.topbar {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 18px;
  padding: 0 clamp(18px, 3vw, 46px);
  color: var(--cream);
  background: #191919;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.topbar a:nth-child(3) {
  text-align: right;
}

.topbar-right,
.language-switcher {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.language-switcher {
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(239, 224, 194, 0.24);
  border-radius: 5px;
}

.language-switcher button {
  min-width: 34px;
  min-height: 30px;
  border: 0;
  border-radius: 3px;
  color: var(--cream);
  background: transparent;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.language-switcher button.is-active {
  color: #171717;
  background: var(--cream);
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: start;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 48%, rgba(212, 61, 47, 0.28), transparent 28%),
    radial-gradient(circle at 18% 22%, rgba(239, 224, 194, 0.11), transparent 30%),
    linear-gradient(135deg, #101010 0%, #1b1b1b 58%, #241412 100%),
    #171717;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -42% 48%;
  width: 62vw;
  aspect-ratio: 1;
  border: 1px solid rgba(239, 224, 194, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.logo-band {
  position: relative;
  min-height: 120px;
  display: grid;
  place-items: center;
  background: var(--paper);
}

.logo-band img {
  width: clamp(130px, 14vw, 190px);
  height: auto;
  margin-bottom: -46px;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.34));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 100px 0 96px;
}

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

.hero-content p,
.eyebrow {
  margin: 0 0 10px;
  color: var(--cream);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 26px;
  font-size: clamp(48px, 7.4vw, 98px);
  line-height: 0.96;
  text-transform: uppercase;
}

.hero-content span {
  display: block;
  max-width: 560px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.38;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--red);
  border-radius: 4px;
  padding: 0 22px;
  color: #fff;
  background: var(--red);
  font-weight: 800;
}

.btn.dark {
  margin-top: 18px;
  background: #111;
  border-color: rgba(255, 255, 255, 0.22);
}

.btn.light {
  border-color: rgba(0, 0, 0, 0.16);
  color: #171717;
  background: #fff;
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.hero-visual {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 7% 2% 3%;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  filter: blur(28px);
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  height: auto;
  aspect-ratio: 1;
  border: 10px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.hero-badge {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 34px;
  min-width: 132px;
  padding: 16px 18px;
  border: 1px solid rgba(239, 224, 194, 0.24);
  border-radius: 6px;
  color: #fff;
  background: rgba(17, 17, 17, 0.78);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
}

.hero-badge strong,
.hero-badge span {
  display: block;
}

.hero-badge strong {
  color: var(--red);
  font-size: 30px;
  line-height: 1;
}

.hero-badge span {
  margin-top: 5px;
  color: var(--cream);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-section,
.list-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
  text-align: center;
}

.menu-section h2,
.list-section h2,
.footer-brand h2 {
  margin-bottom: 34px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1;
  text-transform: uppercase;
}

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

.product-card {
  display: grid;
  align-content: start;
  gap: 12px;
  color: #fff;
}

.product-card button {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 0;
  padding: 0;
  background: #222;
  cursor: zoom-in;
}

.product-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 180ms ease, filter 180ms ease;
}

.product-card button:hover img {
  transform: scale(1.035);
  filter: brightness(1.08);
}

.product-card h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1;
  text-transform: uppercase;
}

.product-card p {
  min-height: 58px;
  margin: 0;
  color: #cfc8c0;
  font-size: 15px;
  line-height: 1.35;
}

.price {
  color: var(--red);
  font-size: 22px;
  font-weight: 900;
}

.old-price {
  margin-right: 8px;
  color: var(--red);
  text-decoration: line-through;
  opacity: 0.8;
}

.list-section {
  color: #111;
  background: var(--paper);
  width: 100%;
  padding-inline: max(16px, calc((100vw - 1120px) / 2));
  text-align: left;
}

.list-section h2 {
  margin-bottom: 28px;
  color: #050505;
  text-transform: none;
}

.price-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(0, 0, 0, 0.16);
}

.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.16);
  font-size: 19px;
}

.price-list small {
  display: block;
  margin-top: 9px;
  color: #6f6256;
  font-size: 14px;
}

.contact-band {
  min-height: 420px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 44px;
  align-items: center;
  padding: 70px clamp(18px, 5vw, 72px);
  background:
    repeating-radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 54px),
    #1a1a1a;
}

.contact-band p {
  color: var(--muted);
  line-height: 1.6;
}

.contact-band .eyebrow {
  color: var(--red);
}

.footer-brand {
  text-align: center;
}

.footer-brand h2 {
  max-width: 430px;
  margin-inline: auto;
  font-size: clamp(28px, 3vw, 44px);
}

.footer-brand img {
  width: min(220px, 42vw);
  height: auto;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(920px, 92vw);
  max-height: 72vh;
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

.lightbox div {
  width: min(720px, 92vw);
  margin-top: 18px;
  text-align: center;
}

.lightbox h3 {
  margin-bottom: 8px;
  font-size: 28px;
  text-transform: uppercase;
}

.lightbox p {
  color: #d7d0c8;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  font-size: 30px;
  cursor: pointer;
}

.admin-page {
  color: #181818;
  background: #f4f1e8;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px clamp(16px, 4vw, 40px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(247, 244, 238, 0.96);
  backdrop-filter: blur(14px);
}

.admin-topbar h1,
.admin-panel h2 {
  margin: 0;
  color: #111;
}

.admin-actions,
.admin-tabs,
.form-grid,
.admin-rows {
  display: flex;
  gap: 10px;
}

.admin-actions {
  align-items: center;
  flex-wrap: wrap;
}

.admin-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 70px;
}

.admin-tabs {
  position: sticky;
  top: 88px;
  z-index: 10;
  margin-bottom: 14px;
  padding: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(12px);
}

.tab-btn {
  min-height: 40px;
  flex: 1;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #655d55;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.tab-btn.is-active {
  color: #fff;
  background: #171717;
}

.admin-panel {
  display: none;
  padding: 22px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  background: #fffdf8;
}

.admin-panel.is-active {
  display: block;
}

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

.form-grid label,
.admin-row label {
  display: grid;
  gap: 6px;
  color: #6f6256;
  font-size: 12px;
  font-weight: 700;
}

.form-grid .wide {
  grid-column: 1 / -1;
}

input,
textarea,
select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 6px;
  padding: 10px 12px;
  color: #111;
  background: #fff;
  font: inherit;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.admin-row {
  display: grid;
  grid-template-columns: 110px 1fr 130px 42px;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  background: #fff;
}

.admin-row.product-row {
  grid-template-columns: 120px 1fr 130px 130px 42px;
}

.admin-row .wide {
  grid-column: 1 / -1;
}

.admin-row img {
  width: 110px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
}

.admin-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.status {
  color: #257a4b;
  font-weight: 800;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--red);
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 900px) {
  .topbar,
  .contact-band {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .topbar a:nth-child(3),
  .topbar-right {
    text-align: center;
    justify-content: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 82px 0 62px;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
    text-align: center;
  }

  .hero-content span {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: 330px;
  }

  .hero-visual img {
    width: min(380px, 86vw);
  }

  .hero-badge {
    right: max(6px, 10vw);
    bottom: 14px;
  }

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

  .form-grid,
  .admin-row,
  .admin-row.product-row {
    grid-template-columns: 1fr;
  }

  .admin-row img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 560px) {
  .topbar {
    padding-block: 14px;
    font-size: 10px;
  }

  .logo-band {
    min-height: 96px;
  }

  .logo-band img {
    width: 124px;
    margin-bottom: -34px;
  }

  h1 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 270px;
  }

  .hero-badge {
    right: 10px;
    bottom: 6px;
    min-width: 116px;
    padding: 13px 14px;
  }

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

  .product-card p {
    min-height: 0;
  }

  .price-list li {
    font-size: 17px;
  }
}
