:root {
  --bg: #08090b;
  --panel: #151619;
  --green: #cb1f2d;
  --muted: #d0d1d4;
  --line: #414348;
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(ellipse at 50% -20%, rgba(188, 28, 40, .16), transparent 55%),
    linear-gradient(180deg, #0d0e10 0%, var(--bg) 42%, #050506 100%);
  color: #f7f7f8;
  font-family: "Segoe UI", Arial, sans-serif;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: 16px;
  padding-bottom: 16px;
  background: linear-gradient(180deg, #292a2d 0%, #17181a 48%, #0c0d0e 100%);
  border-bottom: 1px solid #66696f;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
}

.brand {
  display: block;
  width: min(320px, 100%);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

nav a {
  padding: 8px 4px;
  transition: color .18s ease;
}

nav a:hover,
nav a:focus-visible {
  color: #ff626c;
}

main {
  max-width: 1180px;
}

.hero {
  padding: 58px 0 44px;
}

.hero h1 {
  max-width: 760px;
  background: linear-gradient(180deg, #fff 8%, #d7d8da 55%, #92959a 100%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -.035em;
}

.tag {
  letter-spacing: .12em;
}

.btn {
  background: linear-gradient(135deg, #ed3441 0%, #bf1422 52%, #8e0d18 100%);
  border: 1px solid #f46a73;
  box-shadow: inset 0 1px rgba(255, 255, 255, .25), 0 5px 16px rgba(139, 10, 22, .24);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.btn:hover:not(:disabled) {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: inset 0 1px rgba(255, 255, 255, .3), 0 8px 22px rgba(139, 10, 22, .32);
}

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #ff7780;
  outline-offset: 3px;
}

.btn:disabled {
  cursor: not-allowed;
  filter: grayscale(.5);
  opacity: .65;
}

.secondary {
  background: linear-gradient(135deg, #393b3f, #191a1c 70%);
  border-color: #757980;
  box-shadow: inset 0 1px rgba(255, 255, 255, .18);
}

.notice {
  background: linear-gradient(115deg, rgba(113, 18, 27, .38), rgba(20, 20, 22, .95) 65%);
  border-color: #8d2932;
  box-shadow: inset 0 1px rgba(255, 255, 255, .04);
}

.grid {
  gap: 18px;
}

.product,
.panel {
  background: linear-gradient(145deg, #1d1e21 0%, #131416 58%, #101113 100%);
  border-color: #3c3e43;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22), inset 0 1px rgba(255, 255, 255, .035);
}

.product {
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.product:hover {
  transform: translateY(-3px);
  border-color: #85313a;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .32), 0 0 0 1px rgba(203, 31, 45, .12);
}

.photo {
  background: linear-gradient(135deg, #292b2f, #111214);
  color: #e9e9eb;
}

.product-photo {
  background: linear-gradient(135deg, #292b2f, #111214);
  border: 1px solid #484b51;
}

.product-photo-pending {
  display: grid;
  place-items: center;
  padding: 16px;
}

.product-photo-label {
  color: #e9e9eb;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.product-photo img {
  border-radius: 4px;
}

.photo-caption {
  color: #aaaeb4;
}

.price,
.total {
  color: #ff4b57;
}

.badge {
  background: linear-gradient(135deg, #e43a46, #9e101b);
  border: 1px solid rgba(255, 151, 158, .45);
  letter-spacing: .035em;
}

input,
textarea,
select {
  background: linear-gradient(180deg, #161719, #0d0e10);
  border-color: #4a4c51;
}

input:hover,
textarea:hover,
select:hover {
  border-color: #787b81;
}

.cartrow {
  border-color: #34363a;
}

footer {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .025));
  border-color: #3d3f43;
}

@media (max-width: 600px) {
  header {
    position: static;
    padding: 16px 5vw;
  }

  nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
  }

  nav a {
    margin-right: 0;
  }

  .hero {
    padding-top: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
