:root {
  --bg: #0a0a0a;
  --text: #ececec;
  --muted: #9a9a9a;
  --line: #2c2c2c;
  --line-strong: #404040;
  --card-bg: #0f0f0f;
  --surface: #141414;
  --surface-raised: #1a1a1a;
  --accent: #c8c8c8;
  --accent-dim: rgba(255, 255, 255, 0.14);
  --font-display: "Orbitron", "Inter", sans-serif;
  --header-height: 80px;
  --footer-muted: #8a8a8a;
  --footer-muted-hover: #cecece;
  --footer-accent: #9eb8a8;
  --footer-accent-hover: #dcebe4;
  --preorder-hint: #5ee396;
  --preorder-hint-glow: rgba(94, 227, 150, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background-color: #030303;
  background-image: linear-gradient(
    118deg,
    #000000 0%,
    #1c1c1c 18%,
    #5a5a5a 38%,
    #2a2a2a 55%,
    #6b6b6b 72%,
    #0a0a0a 88%,
    #000000 100%
  );
  background-size: 320% 320%;
  animation: bg-gray-black 22s ease-in-out infinite alternate;
  padding-top: var(--header-height);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main * {
  min-width: 0;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

body.has-motion .reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px) scale(0.992);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

body.has-motion .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.page-shell {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
}

main {
  flex: 1 1 auto;
  width: 100%;
}

@keyframes bg-gray-black {
  0% {
    background-position: 0% 40%;
  }
  50% {
    background-position: 100% 60%;
  }
  100% {
    background-position: 0% 40%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
    background-size: 100% 100%;
    background-image: linear-gradient(160deg, #2a2a2a 0%, #0d0d0d 45%, #000000 100%);
  }

  .logo-wordmark,
  .main-nav a,
  .main-nav a::after,
  .icon-btn,
  .product-card,
  .product-media img {
    transition: none;
  }

  .product-card:hover {
    transform: none;
  }

  .product-card:hover .product-media img {
    transform: scale(1.02);
  }

  body.has-motion .reveal-on-scroll,
  body.has-motion .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  max-width: 100%;
  height: var(--header-height);
  display: block;
  color: #f0f0f0;
  background: rgba(8, 8, 8, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
  border-color: #353535;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(20px);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-wordmark {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #f4f4f4;
  padding: 8px 4px 8px 2px;
  margin-right: 4px;
  border-radius: 10px;
  transition:
    color 0.3s ease,
    text-shadow 0.3s ease,
    transform 0.25s ease;
}

.logo-wordmark:hover {
  color: #ffffff;
  text-shadow:
    0 0 20px rgba(255, 255, 255, 0.12),
    0 0 40px rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.logo-wordmark:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px rgba(255, 255, 255, 0.35);
}

.logo {
  display: inline-flex;
  align-items: center;
  width: 76px;
  color: #f7f7f7;
}

.logo svg {
  width: 100%;
  height: auto;
}

.logo path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
  padding: 5px 6px;
  border-radius: 999px;
  background: linear-gradient(165deg, rgba(28, 28, 28, 0.92) 0%, rgba(12, 12, 12, 0.88) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 12px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
}

.main-nav a {
  position: relative;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  font-style: normal;
  font-synthesis: none;
  color: #b8b8b8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  background-color: transparent;
  box-shadow: none;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  transition:
    color 0.28s ease,
    background-color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.32s ease,
    transform 0.22s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(-50%);
  opacity: 0;
  transition:
    width 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.22s ease;
}

.main-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.main-nav a:hover::after {
  opacity: 1;
  width: 42%;
}

.main-nav a.is-active {
  color: #ffffff;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.03) 100%);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 0 0 1px rgba(0, 0, 0, 0.35) inset,
    0 6px 20px rgba(0, 0, 0, 0.4),
    0 0 28px rgba(94, 227, 150, 0.08);
}

.main-nav a.is-active::after {
  opacity: 0;
  width: 0;
}

.main-nav a.is-active:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 0 0 1px rgba(0, 0, 0, 0.3) inset,
    0 8px 26px rgba(0, 0, 0, 0.45),
    0 0 32px rgba(94, 227, 150, 0.12);
}

.main-nav a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px rgba(255, 255, 255, 0.35);
}

.main-nav a.is-active:focus-visible {
  box-shadow:
    0 0 0 2px var(--bg),
    0 0 0 4px rgba(94, 227, 150, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 6px 20px rgba(0, 0, 0, 0.4);
}

.header-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

.icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, rgba(28, 28, 28, 0.95) 0%, rgba(14, 14, 14, 0.9) 100%);
  color: #f0f0f0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 10px 28px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.28s ease,
    background 0.25s ease;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #f0f0f0;
  color: #111;
  border: 1px solid rgba(0, 0, 0, 0.55);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.cart-badge.is-hidden {
  display: none;
}

.cart-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2600;
  max-width: min(420px, calc(100% - 24px));
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(20, 20, 24, 0.99);
  color: #ffffff;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.55),
    0 0 32px rgba(94, 227, 150, 0.34);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.cart-toast.is-hidden {
  display: none;
}

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

.icon-btn:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 14px 36px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(255, 255, 255, 0.06);
}

.icon-btn.has-items {
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 12px 30px rgba(0, 0, 0, 0.46),
    0 0 20px rgba(255, 255, 255, 0.09);
}

.icon-btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px var(--bg),
    0 0 0 4px rgba(255, 255, 255, 0.35),
    0 10px 28px rgba(0, 0, 0, 0.4);
}

.btn {
  border: none;
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease, opacity 0.28s ease,
    background-color 0.28s ease;
}

.catalog {
  padding: 40px 0 74px;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.catalog .container {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.category-tabs {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 0;
  margin-bottom: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(12, 12, 12, 0.88);
  position: sticky;
  top: 96px;
}

.filter-title {
  margin: 0 0 4px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.category-pill {
  position: relative;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  font-style: normal;
  font-synthesis: none;
  line-height: 1.25;
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
  appearance: none;
  -webkit-appearance: none;
  text-align: left;
  width: 100%;
  border: 1px solid #383838;
  background: var(--surface);
  color: #ebebeb;
  border-radius: 8px;
  text-transform: uppercase;
  padding: 12px 22px;
  min-height: 40px;
  cursor: pointer;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  box-shadow: none;
  isolation: isolate;
  transition:
    background-color 0.42s ease,
    color 0.34s ease,
    border-color 0.34s ease,
    box-shadow 0.42s ease,
    transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-pill.is-active,
.category-pill:hover {
  background: #d8d8d8;
  color: #111111;
}

.category-pill:hover {
  transform: translate3d(0, 0, 0) scale(1.02);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 14px 2px rgba(255, 255, 255, 0.1),
    0 0 28px rgba(255, 255, 255, 0.07);
}

.category-pill[data-category="tee"] {
  border-color: rgba(166, 142, 88, 0.4);
  color: #f1e3bf;
  background: rgba(213, 182, 121, 0.16);
}

.category-pill[data-category="tee"].is-active,
.category-pill[data-category="tee"]:hover {
  background: rgba(230, 196, 126, 0.96);
  color: #131313;
  border-color: rgba(228, 194, 120, 0.9);
  box-shadow:
    0 3px 12px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(228, 194, 120, 0.28),
    0 0 22px rgba(228, 194, 120, 0.18);
}

.category-pill[data-category="hoodie"] {
  border-color: rgba(106, 126, 168, 0.42);
  color: #dfe8ff;
  background: rgba(137, 164, 218, 0.16);
}

.category-pill[data-category="hoodie"].is-active,
.category-pill[data-category="hoodie"]:hover {
  background: rgba(145, 174, 232, 0.96);
  color: #101724;
  border-color: rgba(145, 174, 232, 0.9);
  box-shadow:
    0 3px 12px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(145, 174, 232, 0.28),
    0 0 20px rgba(145, 174, 232, 0.18);
}

.catalog-topbar {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 92px;
  padding: 22px 26px;
  margin-bottom: 50px;
  background: rgba(12, 12, 12, 0.88);
  margin-bottom: 22px;
}

.sort-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.sort-label {
  font-size: 10px;
  color: #838383;
  letter-spacing: 0.1em;
}

.sort-select {
  min-width: 160px;
  height: 44px;
  -webkit-appearance: none;
  appearance: none;
  background: #0d0d0d;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10l5 5 5-5' stroke='%23bdbdbd' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px 14px;
  color: #f0f0f0;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  padding: 0 40px 0 14px;
  cursor: pointer;
  transition: box-shadow 0.28s ease, border-color 0.28s ease;
}

.sort-select:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 18px rgba(255, 255, 255, 0.06);
}

.sort-select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 18px rgba(255, 255, 255, 0.06);
}

.sort-select:focus-visible {
  outline: none;
}

.catalog-count {
  margin: 0;
  font-size: 14px;
  color: #bdbdbd;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #333333;
  background: rgba(10, 10, 10, 0.92);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card.is-filtered-out {
  display: none;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #5a5a5a;
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 36px rgba(94, 227, 150, 0.07);
}

.product-card--featured {
  border-color: rgba(166, 142, 88, 0.48);
  background:
    linear-gradient(160deg, rgba(42, 34, 19, 0.28) 0%, rgba(12, 12, 12, 0.95) 46%),
    rgba(10, 10, 10, 0.92);
  box-shadow:
    0 0 0 1px rgba(197, 170, 105, 0.18) inset,
    0 14px 34px rgba(0, 0, 0, 0.5);
}

.product-card--featured:hover {
  border-color: rgba(214, 184, 114, 0.72);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(214, 184, 114, 0.24) inset,
    0 0 34px rgba(214, 184, 114, 0.14);
}

.product-card--featured .product-title {
  color: #f4e7c7;
  text-shadow: 0 0 16px rgba(214, 184, 114, 0.18);
}

.product-card--featured .product-desc {
  color: #a8a29a;
}

.product-card--featured .product-price span {
  color: #f3e6bf;
}

.product-card--featured .product-badge {
  background: linear-gradient(130deg, #d5b679 0%, #efd8aa 100%);
  color: #151515;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.product-card--hoodie-featured {
  border-color: rgba(106, 126, 168, 0.48);
  background:
    linear-gradient(162deg, rgba(23, 31, 49, 0.36) 0%, rgba(12, 12, 12, 0.95) 52%),
    rgba(10, 10, 10, 0.92);
  box-shadow:
    0 0 0 1px rgba(123, 151, 204, 0.16) inset,
    0 14px 34px rgba(0, 0, 0, 0.52);
}

.product-card--hoodie-featured:hover {
  border-color: rgba(135, 162, 219, 0.76);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(135, 162, 219, 0.24) inset,
    0 0 30px rgba(135, 162, 219, 0.16);
}

.product-card--hoodie-featured .product-title {
  color: #dce6ff;
  text-shadow: 0 0 14px rgba(135, 162, 219, 0.18);
}

.product-card--hoodie-featured .product-desc {
  color: #9fa9bb;
}

.product-card--hoodie-featured .product-price span {
  color: #d5e3ff;
}

.product-card--hoodie-featured .product-badge:not(.product-badge--empty) {
  background: linear-gradient(130deg, #89a4da 0%, #c4d3f3 100%);
  color: #111722;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.42);
}

.product-card:has(.product-link:focus-visible) {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.5),
    0 0 0 2px var(--bg),
    0 0 0 4px rgba(94, 227, 150, 0.35);
}

.product-link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  cursor: pointer;
}

.product-link:focus-visible {
  outline: none;
}

.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.8 / 1;
  border-bottom: 1px solid #2a2a2a;
  background: radial-gradient(circle at 50% 28%, #4a4a4a, #2a2a2a 55%, #121212 100%);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.35s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #d4d4d4;
  color: #111111;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 5px 11px;
}

.product-badge--empty {
  display: none;
}

.product-info {
  padding: 12px 14px 13px;
  border-bottom: 1px solid #2a2a2a;
  flex: 1;
}

.product-category {
  margin: 0 0 8px;
  font-size: 10px;
  color: #7a7a7a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-title {
  margin: 0 0 9px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #f0f0f0;
}

.product-desc {
  margin: 0 0 10px;
  font-size: 10px;
  color: #6f6f6f;
}

.product-price {
  margin: 0;
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: 16px;
  color: #e9e9e9;
  letter-spacing: 0.03em;
}

.product-price span {
  font-weight: 600;
}

.product-price s {
  font-size: 12px;
  color: #5f5f5f;
  text-decoration-thickness: 1px;
}

.product-actions {
  padding: 12px 14px 14px;
}

.btn-card {
  width: 100%;
  background: transparent;
  color: #f0f0f0;
  border: 1px solid #4a4a4a;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.14em;
  padding: 9px 10px;
  transform: translate3d(0, 0, 0) scale(1);
  backface-visibility: hidden;
  box-shadow: none;
  transition:
    color 0.28s ease,
    background-color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.32s ease,
    transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-card:hover {
  color: #ffffff;
  background: #222222;
  border-color: rgba(255, 255, 255, 0.28);
  transform: translate3d(0, 0, 0) scale(1.02);
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 24px rgba(255, 255, 255, 0.06);
}

.catalog.is-hidden {
  display: none;
}

.about-page {
  padding: 32px 0 74px;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.about-page.is-hidden {
  display: none;
}

.about-page-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-hero {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(12, 12, 12, 0.9);
  padding: 26px 30px;
}

.about-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a9a9a;
}

.about-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 36px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f3f3f3;
}

.about-lead {
  margin: 0;
  color: #c7c7c7;
  font-size: 15px;
  line-height: 1.6;
}

.about-story {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 10, 10, 0.9);
  padding: 26px 30px;
}

.about-story p {
  margin: 0 0 14px;
  color: #bcbcbc;
  font-size: 15px;
  line-height: 1.72;
}

.about-story p strong {
  color: #e9e9e9;
}

.about-story p:last-of-type {
  margin-bottom: 0;
}

.about-quote {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-left: 3px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.03);
  color: #ececec;
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contacts-page {
  padding: 32px 0 74px;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.contacts-page.is-hidden {
  display: none;
}

.contacts-page-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contacts-hero {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(12, 12, 12, 0.9);
  padding: 26px 30px;
}

.contacts-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a9a9a;
}

.contacts-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 36px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f3f3f3;
}

.contacts-lead {
  margin: 0;
  color: #c7c7c7;
  font-size: 15px;
  line-height: 1.6;
}

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

.contact-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 10, 10, 0.9);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f0f0f0;
}

.contact-card p {
  margin: 0;
  color: #a5a5a5;
  line-height: 1.55;
  font-size: 14px;
}

.contact-card a,
.contact-card span {
  font-size: 16px;
  color: #e6e6e6;
  word-break: break-word;
}

.contact-telegram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #3a3a3a;
  border-radius: 10px;
  background: #121212;
  color: #ececec;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.contact-telegram-link:hover {
  border-color: #5a5a5a;
  color: #fff;
  background: #1c1c1c;
}

.cart-page {
  padding: 28px 0 74px;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.cart-page.is-hidden {
  display: none;
}

.cart-page-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-hero {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(12, 12, 12, 0.88);
  padding: 26px 30px;
  text-align: center;
}

.cart-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 42px);
  letter-spacing: 0.18em;
  color: #f2f2f2;
}

.cart-subtitle {
  margin: 0;
  color: #a8a8a8;
  font-size: 14px;
}

.cart-empty {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 10, 10, 0.88);
  padding: 48px 24px 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.cart-empty.is-hidden {
  display: none;
}

.cart-empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid #3a3a3a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 2px;
}

.cart-empty-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-empty-text {
  margin: 0;
  color: #9a9a9a;
  max-width: 52ch;
}

.cart-empty-btn {
  margin-top: 8px;
}

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

.cart-layout.is-hidden {
  display: none;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.cart-item-media {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #2a2a2a;
  aspect-ratio: 0.85 / 1;
}

.cart-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-item-category {
  margin: 0 0 8px;
  color: #767676;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-item-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cart-item-size {
  margin: 0 0 12px;
  color: #9f9f9f;
  font-size: 12px;
}

.cart-item-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #404040;
  border-radius: 999px;
  padding: 4px;
}

.cart-qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid #4a4a4a;
  border-radius: 50%;
  background: #151515;
  color: #eee;
  cursor: pointer;
}

.cart-qty-value {
  min-width: 20px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 12px;
}

.cart-item-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.cart-item-price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
}

.cart-remove-btn {
  border: none;
  background: transparent;
  color: #999;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-summary {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: rgba(12, 12, 12, 0.92);
  position: sticky;
  top: 96px;
}

.cart-summary-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: #c7c7c7;
}

.cart-summary-row strong {
  font-family: var(--font-display);
  color: #f0f0f0;
}

.cart-checkout-btn {
  width: 100%;
  margin-top: 14px;
}

.cart-checkout-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.cart-summary-note {
  margin: 10px 0 0;
  color: #8f8f8f;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.checkout-page {
  padding: 32px 0 74px;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.checkout-page.is-hidden {
  display: none;
}

.checkout-page-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.checkout-hero {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(12, 12, 12, 0.9);
  padding: 22px 26px;
}

.checkout-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.8vw, 32px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.checkout-subtitle {
  margin: 0;
  color: #b0b0b0;
  line-height: 1.6;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 16px;
  align-items: start;
}

.checkout-form {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 10, 10, 0.9);
  padding: 20px;
  display: grid;
  gap: 12px;
}

.checkout-field {
  display: grid;
  gap: 7px;
}

.checkout-field.is-hidden {
  display: none;
}

.checkout-field > span {
  font-size: 12px;
  color: #c8c8c8;
  letter-spacing: 0.04em;
}

.checkout-field input,
.checkout-field select,
.checkout-field textarea {
  width: 100%;
  border: 1px solid #3b3b3b;
  border-radius: 10px;
  background: #111214;
  color: #f0f0f0;
  padding: 12px 14px;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-field input:focus,
.checkout-field select:focus,
.checkout-field textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.checkout-city-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 40;
  border: 1px solid #3b3b3b;
  border-radius: 10px;
  background: #0f1012;
  max-height: 210px;
  overflow-y: auto;
  padding: 4px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

.checkout-city-suggest.is-hidden {
  display: none;
}

.checkout-city-option {
  width: 100%;
  border: none;
  border-radius: 8px;
  padding: 8px 10px;
  background: transparent;
  color: #e6e6e6;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.checkout-city-option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.checkout-city-option small {
  display: block;
  color: #8f8f8f;
  font-size: 11px;
  margin-top: 2px;
}

#checkoutPickupSearch {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  padding: 11px 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  color: #f1f1f1;
  font-size: 13px;
  line-height: 1.2;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

#checkoutPickupSearch::placeholder {
  color: #8f8f8f;
}

#checkoutPickupSearch:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
}

#checkoutPickupSearch:focus-visible {
  outline: none;
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12);
}

#checkoutPickupSearch:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  color: #a7a7a7;
}

.checkout-city-field {
  position: relative;
}

.checkout-delivery-box {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.015);
  padding: 10px 12px;
  display: grid;
  gap: 4px;
}

.checkout-delivery-label {
  margin: 0;
  font-size: 11px;
  color: #9c9c9c;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.checkout-delivery-main {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: #f0f0f0;
  line-height: 1.2;
}

.checkout-delivery-sub {
  margin: 0;
  color: #8a8a8a;
  font-size: 12px;
  line-height: 1.35;
}

.checkout-pickup-section {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.015);
}

.checkout-pickup-section.is-hidden {
  display: none;
}

.checkout-pickup-title {
  margin: 0;
  font-size: 12px;
  color: #c8c8c8;
  letter-spacing: 0.04em;
}

.checkout-pickup-selected {
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #e8e8e8;
  font-size: 12px;
  line-height: 1.35;
}

.checkout-pickup-selected.is-hidden {
  display: none;
}

.checkout-pickup-list {
  border: 1px solid #303030;
  border-radius: 10px;
  background: #0f1011;
  max-height: 280px;
  overflow-y: auto;
}

.checkout-pickup-empty {
  margin: 0;
  padding: 10px 12px;
  color: #9a9a9a;
  font-size: 12px;
}

.checkout-pvz-item {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #eaeaea;
  text-align: left;
  padding: 10px 12px;
  cursor: pointer;
  display: grid;
  gap: 4px;
}

.checkout-pvz-item:last-child {
  border-bottom: none;
}

.checkout-pvz-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.checkout-pvz-item.is-active {
  background: rgba(255, 255, 255, 0.08);
}

.checkout-pvz-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.checkout-pvz-name {
  font-size: 14px;
  font-weight: 600;
}

.checkout-pvz-code {
  font-size: 11px;
  color: #8f8f8f;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 1px 7px;
}

.checkout-pvz-address {
  font-size: 12px;
  color: #b8b8b8;
}

.checkout-pvz-meta {
  font-size: 11px;
  color: #9a9a9a;
}

.checkout-hint {
  color: #8f8f8f;
  font-size: 12px;
}

.checkout-static-line {
  margin: 4px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.015);
  padding: 9px 12px;
  font-size: 12px;
  color: #a6a6a6;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.checkout-static-line strong {
  color: #efefef;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.checkout-submit-btn {
  margin-top: 4px;
}

.checkout-order .checkout-submit-btn {
  width: 100%;
  margin-top: 14px;
}

.checkout-submit-btn:disabled {
  background: #5f5f5f;
  color: #c9c9c9;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
  opacity: 0.72;
}

.checkout-submit-btn:disabled:hover {
  background: #5f5f5f;
  box-shadow: none;
  transform: none;
}

.checkout-order {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 10, 10, 0.9);
  padding: 16px;
  position: sticky;
  top: 96px;
}

.checkout-order-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.checkout-order-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-order-item {
  border: 1px solid #313131;
  border-radius: 12px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    background 0.24s ease;
}

.checkout-order-item:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
}

.checkout-order-item-media {
  width: 54px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.checkout-order-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.checkout-order-item-body {
  min-width: 0;
}

.checkout-order-item-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-bottom: 4px;
}

.checkout-order-item-title {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #ececec;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.checkout-order-item-category {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: #cfcfcf;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-order-item-meta {
  margin: 0;
  font-size: 12px;
  color: #9b9b9b;
}

.checkout-order-item-price {
  margin: 0;
  font-size: 13px;
  color: #ffffff;
  font-weight: 600;
  white-space: nowrap;
}

.checkout-order-item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.checkout-order-remove-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: #b8b8b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.checkout-order-remove-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.checkout-order-empty {
  margin: 0;
  border: 1px dashed #434343;
  border-radius: 10px;
  padding: 10px 12px;
  color: #9b9b9b;
  font-size: 12px;
}

.checkout-order-total-row {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.checkout-order-total-row strong {
  font-size: 15px;
  color: #f0f0f0;
}

.checkout-order-totals {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.checkout-order-totals .checkout-order-total-row {
  margin-top: 0;
  padding-top: 14px;
  padding-bottom: 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-order-totals .checkout-order-total-row:first-child {
  border-top: none;
}

.checkout-order-pay-row {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.checkout-order-pay-row span {
  color: #c8c8c8;
  font-size: 16px;
}

.checkout-order-pay-row strong {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.checkout-order-delivery-details {
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(7, 8, 11, 0.75);
  display: grid;
  overflow: hidden;
}

.checkout-order-delivery-details.is-hidden {
  display: none;
}

.checkout-delivery-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  font-size: 15px;
  color: #b7b7b7;
}

.checkout-delivery-detail-row + .checkout-delivery-detail-row {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-delivery-detail-row strong {
  color: #f5f5f5;
  font-size: 15px;
  font-weight: 700;
  text-align: right;
}

.product-page {
  padding: 28px 0 74px;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.product-page.is-hidden {
  display: none;
}

.product-page-inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.product-back {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d0d0d0;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  transition:
    color 0.28s ease,
    background-color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease;
}

.product-back:hover {
  color: #fff;
  background: #222;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 36px;
  align-items: start;
  padding: 28px 30px 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(12, 12, 12, 0.88);
}

.product-detail-visual {
  position: relative;
}

.product-detail-media {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 0.8 / 1;
  border: 1px solid #2a2a2a;
  background: radial-gradient(circle at 50% 28%, #4a4a4a, #2a2a2a 55%, #121212 100%);
}

.product-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-detail-visual .product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
}

.product-detail-body {
  padding-top: 6px;
}

.product-detail-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #f5f5f5;
}

.product-detail-price-row {
  margin: 0 0 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.03em;
  color: #ececec;
}

.product-detail-price-row span {
  font-weight: 600;
}

.product-detail-price-row s {
  font-size: 15px;
  color: #6a6a6a;
  text-decoration-thickness: 1px;
}

.product-detail-lead {
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.65;
  color: #b5b5b5;
  max-width: 52ch;
}

.product-detail-heading {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a9a9a;
}

.product-detail-specs {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.product-detail-specs li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: #c8c8c8;
}

.product-detail-specs li span:first-child {
  color: #7a7a7a;
  flex-shrink: 0;
}

.product-detail-lead.is-tee-lead {
  padding: 12px 0 16px;
  border-radius: 12px;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #d2d6df;
}

.product-detail-heading.is-tee-heading {
  color: #f0f0f0;
  letter-spacing: 0.12em;
}

.product-detail-specs.is-tee-specs {
  margin-bottom: 30px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.01);
}

.product-detail-specs.is-tee-specs li {
  align-items: flex-start;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.product-detail-specs.is-tee-specs li:last-child {
  border-bottom: none;
}

.product-detail-specs.is-tee-specs .product-spec-key {
  min-width: 132px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a2a6ae;
}

.product-detail-specs.is-tee-specs .product-spec-value {
  color: #e0e2e7;
  line-height: 1.55;
}

.product-detail-specs.is-tee-specs li.is-bullet .product-spec-key {
  width: 0;
  min-width: 0;
  opacity: 0;
  overflow: hidden;
}

.product-detail-specs.is-tee-specs li.is-bullet .product-spec-value {
  position: relative;
  padding-left: 16px;
}

.product-detail-specs.is-tee-specs li.is-bullet .product-spec-value::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #9ea2aa;
}

.product-preorder {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
}

.product-preorder-sizes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-preorder-label {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a7a7a;
}

.size-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.size-chip {
  flex: 1 1 auto;
  min-width: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 14px 10px;
  border-radius: 10px;
  border: 1px solid #4a4a4a;
  background: rgba(0, 0, 0, 0.35);
  color: #f2f2f2;
  cursor: pointer;
  font-family: var(--font-display);
  transition:
    border-color 0.22s ease,
    background-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.2s ease;
}

.size-chip:not(:disabled):hover {
  border-color: #6a6a6a;
  background: rgba(255, 255, 255, 0.04);
}

.size-chip.is-selected {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 20px var(--preorder-hint-glow);
}

.size-chip.is-unavailable {
  position: relative;
  opacity: 0.5;
  border-color: #333;
  background: rgba(0, 0, 0, 0.65);
  cursor: not-allowed;
  box-shadow: none;
}

.size-chip.is-unavailable::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(200, 85, 85, 0.35) 15%,
    rgba(230, 110, 110, 0.75) 50%,
    rgba(200, 85, 85, 0.35) 85%,
    transparent 100%
  );
  transform: rotate(-14deg);
  pointer-events: none;
}

.size-chip.is-unavailable .size-chip-label {
  color: #5a5a5a;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(200, 95, 95, 0.75);
}

.size-chip-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.size-hint {
  margin: 2px 0 0;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--preorder-hint);
  letter-spacing: 0.02em;
  text-shadow: 0 0 18px var(--preorder-hint-glow);
  min-height: 1.35em;
}

.size-hint:empty {
  display: none;
}

.size-hint.is-error {
  color: #ff9b9b;
  text-shadow: 0 0 16px rgba(255, 120, 120, 0.35);
}

.btn-size-chart {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #f0f0f0;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

.btn-size-chart:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}

.product-preorder-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}

.btn-preorder-primary {
  border: none;
  border-radius: 10px;
  padding: 16px 18px;
  background: #f2f2f2;
  color: #0a0a0a;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn-preorder-primary:hover {
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
}

.btn-preorder-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  padding: 16px 18px;
  border: 1px solid #4a4a4a;
  background: rgba(0, 0, 0, 0.45);
  color: #f0f0f0;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.2s ease;
}

.btn-preorder-back:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: #1a1a1a;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.product-preorder-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(22, 22, 22, 0.95);
}

.product-preorder-note-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: #6a6a6a;
}

.product-preorder-note-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #9a9a9a;
}

.product-preorder-note-text strong {
  color: #d0d0d0;
  font-weight: 600;
}

.size-chart-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.size-chart-modal.is-hidden {
  display: none;
}

.size-chart-modal-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}

.size-chart-modal-card {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: min(90vh, 640px);
  overflow: auto;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(14, 14, 14, 0.98);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

.size-chart-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.size-chart-modal-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f0f0f0;
}

.size-chart-modal-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: #ccc;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.size-chart-modal-close:hover {
  border-color: #666;
  color: #fff;
}

.size-chart-modal-body {
  padding: 18px 20px 22px;
  overflow-x: auto;
}

.size-chart-context {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.45;
  color: #9a9a9a;
}

.size-chart-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 13px;
  color: #c8c8c8;
}

.size-chart-table th,
.size-chart-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.size-chart-table th {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.size-chart-table tbody tr:last-child td {
  border-bottom: none;
}

.size-chart-table tbody tr.is-unavailable {
  opacity: 0.72;
}

.size-chart-size {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.size-chart-tag {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 125, 125, 0.45);
  background: rgba(120, 30, 30, 0.18);
  color: #ffb1b1;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.size-chart-disclaimer {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #6f6f6f;
}

.add-cart-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.34s ease, visibility 0.34s ease;
}

.add-cart-modal.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.add-cart-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.add-cart-modal-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.add-cart-modal-card {
  position: relative;
  z-index: 1;
  width: min(700px, 100%);
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background: rgba(12, 12, 12, 0.98);
  box-shadow:
    0 26px 64px rgba(0, 0, 0, 0.66),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  padding: 24px;
  transform: translateY(14px) scale(0.976);
  opacity: 0;
  transition:
    transform 0.44s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.34s ease;
}

.add-cart-modal.is-open .add-cart-modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.add-cart-modal-card::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
}

.add-cart-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.add-cart-modal-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0f0f0;
}

.add-cart-modal-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: #e8e8e8;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color 0.24s ease,
    background-color 0.24s ease,
    color 0.24s ease,
    transform 0.2s ease;
}

.add-cart-modal-close:hover {
  border-color: rgba(255, 255, 255, 0.36);
  background: #1a1a1a;
  color: #ffffff;
  transform: none;
}

.add-cart-product {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  background: rgba(16, 16, 16, 0.94);
}

.add-cart-product-media {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #2a2a2a;
  aspect-ratio: 0.82 / 1;
}

.add-cart-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.add-cart-product-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 28px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #f0f0f0;
}

.add-cart-product-price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 40px;
  letter-spacing: 0.02em;
  color: #f3f3f3;
}

.add-cart-size-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.add-cart-size-option {
  border: 1px dashed #8a8a8a;
  border-radius: 14px;
  background: rgba(16, 16, 18, 0.96);
  color: #efefef;
  min-height: 90px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.24s ease;
}

.add-cart-size-option:hover {
  border-color: #d3d3d3;
  background: rgba(28, 28, 30, 0.98);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.38);
  transform: translateY(-2px);
}

.add-cart-size-option.is-selected {
  border-style: solid;
  border-color: #f0f0f0;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 0 20px rgba(94, 227, 150, 0.16);
}

.add-cart-size-option.is-unavailable {
  opacity: 0.5;
  border-color: rgba(255, 255, 255, 0.1);
  color: #8f8f8f;
  cursor: not-allowed;
}

.add-cart-size-label {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
}

.add-cart-size-note {
  font-size: 14px;
  color: #9f9f9f;
}

.add-cart-size-option.is-selected .add-cart-size-note {
  color: rgba(245, 245, 245, 0.86);
}

.add-cart-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.add-cart-cancel-btn,
.add-cart-confirm-btn {
  border-radius: 12px;
  min-height: 54px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.add-cart-cancel-btn {
  border: 1px solid #4a4a4a;
  background: rgba(0, 0, 0, 0.45);
  color: #efefef;
  transition: border-color 0.24s ease, background-color 0.24s ease, transform 0.2s ease;
}

.add-cart-cancel-btn:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: #1a1a1a;
  transform: translateY(-1px);
}

.add-cart-confirm-btn {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: #f1f1f1;
  color: #111111;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.34);
  transition: transform 0.2s ease, box-shadow 0.24s ease, filter 0.24s ease;
}

.add-cart-confirm-btn:not(:disabled):hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
}

.add-cart-confirm-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 520px) {
  .product-preorder-cta-row {
    grid-template-columns: 1fr;
  }

  .size-chip {
    min-width: calc(33.333% - 8px);
  }

  .size-chart-modal {
    padding: 14px 10px;
  }

  .size-chart-modal-head {
    padding: 14px 14px;
  }

  .size-chart-modal-body {
    padding: 14px;
  }

  .size-chart-context {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .size-chart-table {
    min-width: 500px;
    font-size: 12px;
  }

  .size-chart-table th,
  .size-chart-table td {
    padding: 9px 10px;
  }

  .add-cart-modal-card {
    padding: 14px;
    border-radius: 14px;
  }

  .add-cart-modal-title {
    font-size: 16px;
  }

  .add-cart-modal-close {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }

  .add-cart-product {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .add-cart-product-title {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .add-cart-product-price {
    font-size: 28px;
  }

  .add-cart-size-grid {
    gap: 8px;
  }

  .add-cart-size-option {
    min-height: 76px;
    border-radius: 10px;
  }

  .add-cart-size-label {
    font-size: 26px;
  }

  .add-cart-size-note {
    font-size: 12px;
  }

  .add-cart-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.site-footer {
  flex-shrink: 0;
  border-top: 1px solid var(--line);
  background: #0a0a0a;
  margin-top: auto;
  padding: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1fr);
  gap: 36px 28px;
  padding: 48px 0 40px;
}

.footer-col--brand {
  padding-right: 12px;
}

.footer-brand {
  display: inline-block;
  color: #f2f2f2;
  margin-bottom: 20px;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center center;
  backface-visibility: hidden;
  transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-brand:hover {
  transform: translate3d(0, 0, 0) scale(1.05);
}

.footer-brand-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  background: #121212;
  color: #e0e0e0;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.footer-social-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.footer-social:hover {
  border-color: #5a5a5a;
  color: #fff;
  background: #1c1c1c;
}

.footer-heading {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0f0f0;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li {
  margin-bottom: 10px;
}

.footer-list a {
  display: inline-block;
  font-size: 13px;
  color: var(--footer-muted);
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center center;
  backface-visibility: hidden;
  transition:
    color 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-list a:hover {
  color: var(--footer-muted-hover);
  transform: translate3d(0, 0, 0) scale(1.06);
}

.footer-support {
  margin: 0 0 16px;
}

.footer-support-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--footer-accent);
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center center;
  backface-visibility: hidden;
  transition:
    color 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-support-link:hover {
  color: var(--footer-accent-hover);
  transform: translate3d(0, 0, 0) scale(1.06);
}

.footer-contacts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contacts li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--footer-muted);
}

.footer-icon-svg {
  flex-shrink: 0;
  color: #5c5c5c;
}

.footer-contacts a {
  display: inline-block;
  color: var(--footer-muted);
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center center;
  backface-visibility: hidden;
  transition:
    color 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-contacts a:hover {
  color: var(--footer-muted-hover);
  transform: translate3d(0, 0, 0) scale(1.06);
}

.footer-contacts li > span {
  display: inline-block;
  color: var(--footer-muted);
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center center;
  backface-visibility: hidden;
  cursor: default;
  transition:
    color 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-contacts li > span:hover {
  color: var(--footer-muted-hover);
  transform: translate3d(0, 0, 0) scale(1.06);
}

.footer-bar {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  padding: 20px 0;
}

.footer-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-copy {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: #8a8a8a;
}

@media (max-width: 1024px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 22px 20px 26px;
  }

  .product-detail-media {
    max-width: 420px;
    margin: 0 auto;
  }

  .product-detail-body {
    padding-top: 0;
  }

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

  .cart-summary {
    position: static;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-order {
    position: static;
  }

  .checkout-order-item {
    grid-template-columns: 50px minmax(0, 1fr);
    align-items: start;
  }

  .checkout-order-item-head {
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .checkout-order-item-side {
    grid-column: 2;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(1380px, calc(100% - 20px));
  }

  .catalog .container {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .category-tabs {
    grid-column: 1;
    grid-row: auto;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 8px;
  }

  .filter-title {
    width: 100%;
    margin: 0 0 6px;
  }

  .catalog-topbar,
  .product-grid {
    grid-column: 1;
  }

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

}

@media (max-width: 768px) {
  :root {
    --header-height: 132px;
  }

  .header-inner {
    height: auto;
    min-height: auto;
    padding: 14px 0 16px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 16px;
    row-gap: 14px;
  }

  .logo-wordmark {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: center;
    margin-right: 0;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: none;
    margin: 0;
    justify-content: center;
    flex-wrap: nowrap;
    border-radius: 16px;
    padding: 6px 8px;
  }

  .main-nav a {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    white-space: nowrap;
    padding: 9px 12px;
    letter-spacing: 0.08em;
  }

  .catalog-topbar {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 26px;
    min-height: auto;
  }

  .category-tabs {
    margin-bottom: 12px;
  }

  .sort-select {
    -webkit-appearance: none;
    appearance: none;
    padding: 0 40px 0 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10l5 5 5-5' stroke='%23bdbdbd' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px 14px;
  }

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

  .product-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "Inter", Arial, sans-serif;
    font-size: 13px;
    letter-spacing: 0.04em;
    line-height: 1;
    white-space: nowrap;
    padding: 12px 20px;
  }

  .product-title {
    font-size: 12px;
  }

  .about-hero,
  .about-story {
    padding: 18px 16px;
  }

  .about-story p {
    font-size: 14px;
    line-height: 1.65;
  }

  .about-quote {
    font-size: 12px;
    padding: 12px 14px;
  }

  .contacts-hero {
    padding: 18px 16px;
  }

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

  .contact-card {
    padding: 16px;
  }

  .contact-card p {
    font-size: 13px;
  }

  .contact-card a,
  .contact-card span {
    font-size: 15px;
  }

  .cart-hero {
    padding: 22px 16px;
  }

  .cart-title {
    letter-spacing: 0.1em;
  }

  .cart-item {
    grid-template-columns: 84px minmax(0, 1fr);
    grid-template-areas:
      "media body"
      "meta meta";
  }

  .cart-item-media {
    grid-area: media;
  }

  .cart-item-body {
    grid-area: body;
  }

  .cart-item-meta {
    grid-area: meta;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .checkout-hero {
    padding: 18px 16px;
  }

  .checkout-form {
    padding: 14px;
  }

  .checkout-order {
    padding: 14px;
  }

  .checkout-delivery-main {
    font-size: 14px;
  }

  .checkout-delivery-sub {
    font-size: 11px;
  }

  .checkout-pickup-list {
    max-height: 300px;
  }

  #checkoutPickupSearch {
    padding: 10px 11px;
    font-size: 12px;
  }

  .checkout-pickup-selected {
    font-size: 11px;
    padding: 7px 10px;
  }

  .checkout-order-title {
    margin-bottom: 10px;
    font-size: 12px;
  }

  .checkout-order-list {
    gap: 8px;
  }

  .checkout-order-item {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 8px;
    padding: 8px;
  }

  .checkout-order-item-media {
    width: 46px;
    height: 56px;
  }

  .checkout-order-item-title {
    font-size: 11px;
  }

  .checkout-order-item-meta {
    font-size: 11px;
  }

  .checkout-order-item-category {
    padding: 2px 6px;
    font-size: 9px;
  }

  .checkout-order-item-price {
    font-size: 12px;
  }

  .checkout-order-remove-btn {
    width: 24px;
    height: 24px;
    border-radius: 7px;
  }

  .checkout-order-totals .checkout-order-total-row {
    padding-top: 12px;
  }

  .checkout-order-delivery-details {
    padding: 8px 10px;
    gap: 4px;
  }

  .checkout-delivery-detail-row,
  .checkout-delivery-detail-row strong {
    font-size: 11px;
  }

  .checkout-order-pay-row span {
    font-size: 15px;
  }

  .checkout-order-pay-row strong {
    font-size: 28px;
  }

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

  .footer-col--brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }

}

@media (max-width: 520px) {
  .container {
    width: min(1280px, calc(100% - 14px));
  }

  :root {
    --header-height: 124px;
  }

  .main-nav {
    max-width: 100%;
    gap: 2px;
    padding: 5px 5px;
    border-radius: 14px;
  }

  .main-nav a {
    font-size: 8px;
    padding: 8px 6px;
    letter-spacing: 0.045em;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .icon-btn {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .cart-toast {
    right: 10px;
    left: 10px;
    bottom: 10px;
    max-width: none;
    text-align: center;
  }

  .category-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 14px;
  }

  .product-back {
    font-size: 14px;
    padding: 12px 18px;
  }

  .product-actions {
    opacity: 1;
    transform: translateY(0);
  }

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

  .product-title {
    font-size: 12px;
  }

  .product-price {
    font-size: 16px;
  }

  .product-price s {
    font-size: 12px;
  }

  .btn-card {
    font-size: 11px;
    padding: 10px 8px;
  }

  .cart-empty {
    padding: 34px 14px 38px;
  }

  .cart-empty-title {
    font-size: 19px;
  }

  .cart-item {
    padding: 10px;
    gap: 10px;
  }

  .cart-item-title {
    font-size: 12px;
  }

  .cart-summary {
    padding: 14px;
  }

  .checkout-hero {
    padding: 14px;
  }

  .checkout-form,
  .checkout-order {
    padding: 12px;
  }

  .checkout-subtitle {
    font-size: 13px;
    line-height: 1.5;
  }

  .checkout-field input,
  .checkout-field select,
  .checkout-field textarea {
    padding: 10px 12px;
    font-size: 13px;
  }

  .checkout-order-item {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 7px;
    padding: 7px;
  }

  .checkout-order-item-media {
    width: 42px;
    height: 52px;
  }

  .checkout-order-item-head {
    gap: 6px;
  }

  .checkout-order-item-title {
    font-size: 10.5px;
  }

  .checkout-order-item-meta {
    font-size: 10.5px;
  }

  .checkout-order-item-side {
    gap: 6px;
  }

  .checkout-order-item-price {
    font-size: 11.5px;
  }

  .checkout-order-remove-btn {
    width: 22px;
    height: 22px;
  }

  .checkout-order-remove-btn svg {
    width: 12px;
    height: 12px;
  }

  .checkout-order-total-row span,
  .checkout-order-total-row strong {
    font-size: 13px;
  }

  .checkout-order-pay-row {
    margin-top: 14px;
    padding-top: 14px;
  }

  .checkout-order-pay-row span {
    font-size: 14px;
  }

  .checkout-order-pay-row strong {
    font-size: 24px;
  }

  .checkout-pvz-name {
    font-size: 14px;
  }

  .checkout-pvz-address {
    font-size: 12px;
  }

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