:root {
  --bg: #120f12;
  --bg-2: #071513;
  --panel: rgba(24, 21, 25, 0.78);
  --panel-solid: #19151b;
  --surface: rgba(255, 255, 255, 0.075);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.14);
  --text: #fff8ef;
  --muted: #c9c0b6;
  --soft: #efe0c5;
  --amber: #ffbf3f;
  --amber-2: #ffe08a;
  --coral: #ff6b4a;
  --berry: #d94c89;
  --green: #52d681;
  --blue: #55bdf7;
  --danger: #ff7777;
  --ink: #211206;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(145deg, rgba(255, 107, 74, 0.14) 0%, transparent 28%),
    linear-gradient(215deg, rgba(82, 214, 129, 0.12) 0%, transparent 32%),
    linear-gradient(180deg, #170f12 0%, #111218 42%, #071513 100%);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(12, 10, 13, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}

.top-strip {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(90deg, rgba(255, 107, 74, 0.92), rgba(255, 191, 63, 0.9), rgba(82, 214, 129, 0.84));
  color: #201106;
}

.top-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 36px;
  font-size: 0.84rem;
  font-weight: 800;
}

.top-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 224, 138, 0.58);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffbf3f, #ff6b4a 62%, #d94c89);
  color: #231000;
  font-size: 0.88rem;
  box-shadow: 0 10px 26px rgba(255, 107, 74, 0.2);
}

.brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-copy strong {
  line-height: 1.08;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.site-nav a {
  padding: 9px 13px;
  border-radius: 6px;
  color: var(--soft);
  font-size: 0.91rem;
  font-weight: 800;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.11);
  color: #ffffff;
}

.cart-button,
.icon-btn,
.btn,
.bottom-menu button {
  border: 0;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-button,
.account-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 900;
}

.account-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.account-button:hover {
  background: rgba(255, 255, 255, 0.13);
}

.cart-button {
  background: linear-gradient(135deg, var(--green), var(--amber));
  color: #201106;
  box-shadow: 0 12px 28px rgba(82, 214, 129, 0.18);
}

.cart-button strong,
.bottom-menu strong {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: #201106;
  color: #ffe08a;
  font-size: 0.74rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 900;
  letter-spacing: 0;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--amber), var(--coral));
  color: #251006;
  box-shadow: 0 14px 28px rgba(255, 107, 74, 0.23);
}

.btn-primary:hover {
  box-shadow: 0 18px 34px rgba(255, 107, 74, 0.32);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.btn-light {
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(255, 248, 239, 0.92);
  color: #201106;
}

.btn-xl {
  min-height: 54px;
  padding: 0 22px;
}

.btn-full {
  width: 100%;
}

.btn-compact {
  min-height: 40px;
  padding: 0 13px;
  font-size: 0.9rem;
}

.icon-btn {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--amber-2);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-footer {
  margin-top: 86px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 107, 74, 0.08), rgba(82, 214, 129, 0.07)),
    rgba(9, 9, 12, 0.86);
  padding: 38px 0 96px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.9fr 1fr;
  gap: 28px;
}

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

.site-footer a:hover {
  color: var(--amber-2);
}

.site-footer h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.footer-brand p {
  max-width: 390px;
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.payment-badges span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 900;
}

.bottom-menu {
  position: fixed;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 45;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 13, 17, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.bottom-menu a,
.bottom-menu button {
  position: relative;
  display: inline-flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 52px;
  border-radius: 6px;
  background: transparent;
  color: var(--soft);
  font-size: 0.73rem;
  font-weight: 800;
}

.bottom-menu a:hover,
.bottom-menu button:hover {
  background: rgba(255, 255, 255, 0.09);
}

.bottom-menu i {
  font-size: 1rem;
}

.bottom-menu strong {
  position: absolute;
  top: 3px;
  right: calc(50% - 25px);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 80;
  max-width: min(370px, calc(100% - 32px));
  padding: 12px 14px;
  border: 1px solid rgba(255, 224, 138, 0.35);
  border-radius: 8px;
  background: rgba(28, 21, 15, 0.96);
  box-shadow: var(--shadow);
  color: var(--text);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

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

@media (max-width: 960px) {
  .top-strip-inner {
    justify-content: center;
  }

  .top-strip-inner span:nth-child(2) {
    display: none;
  }

  .site-nav {
    display: none;
  }

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

@media (max-width: 780px) {
  html {
    scroll-padding-top: 92px;
  }

  .container {
    width: min(100% - 24px, 1200px);
  }

  .top-strip-inner {
    min-height: 32px;
    font-size: 0.75rem;
  }

  .top-strip-inner span:last-child {
    display: none;
  }

  .header-inner {
    min-height: 64px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-copy small {
    display: none;
  }

  .cart-button span,
  .account-button span {
    display: none;
  }

  .cart-button,
  .account-button {
    min-width: 42px;
    padding: 0 11px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .bottom-menu {
    display: grid;
  }

  .toast {
    right: 12px;
    bottom: 86px;
  }
}
