:root {
  --bg: #000;
  --panel: #050505;
  --panel-2: #0a0a0a;
  --text: #f1f1f1;
  --muted: #a3a3a3;
  --muted-2: #707070;
  --line: #252525;
  --line-strong: #3d3d3d;
  --accent: #f3364c;
  --white: #fff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  overflow-x: hidden;
}

body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "TheSansMonoSCd", "SFMono-Regular", "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
  font-weight: 600;
  line-height: 1.55;
}

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

button {
  font: inherit;
}

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

.merch-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #000;
  border-bottom: 1px solid var(--line);
}

.merch-nav {
  width: min(1360px, calc(100% - 40px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.merch-brand {
  min-width: 190px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 8px 6px 0;
}

.merch-brand-mark {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.12));
}

.merch-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.merch-brand-text strong,
.merch-footer strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.merch-brand-text span {
  display: block;
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.merch-main-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.merch-main-nav ul {
  margin: 0;
  padding: 5px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 3px;
  max-width: 100%;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #000;
}

.merch-main-nav a,
.merch-shop-link {
  position: relative;
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 8px 9px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1;
  white-space: nowrap;
  transition: color 140ms ease, background 140ms ease, border-color 140ms ease;
}

.merch-main-nav a:hover,
.merch-main-nav a[aria-current="page"],
.merch-shop-link:hover {
  color: var(--text);
  background: #141414;
  border-color: var(--line-strong);
}

.merch-shop-link {
  flex: 0 0 auto;
  border-color: rgba(255, 255, 255, 0.16);
  background: #000;
}

.merch-nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.lang-switch {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #000;
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 8px 10px;
  cursor: pointer;
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.06em;
  transition: color 140ms ease, background 140ms ease;
}

.lang-switch button:hover,
.lang-switch button:focus-visible {
  color: var(--text);
  background: #141414;
}

.lang-switch button.active {
  color: var(--text);
  background: #000;
  font-weight: 700;
}

.merch-mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #000;
  color: var(--text);
  cursor: pointer;
}

.merch-hero {
  min-height: calc(78svh - 88px);
  display: grid;
  align-items: center;
  padding: 70px max(28px, calc((100vw - var(--max)) / 2)) 90px;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.72) 35%, rgba(0, 0, 0, 0.18) 74%),
    url("/merch/Zelimdaverujem1.png");
  background-size: cover;
  background-position: center 38%;
  border-bottom: 1px solid var(--line);
}

.merch-hero-copy {
  width: min(610px, 100%);
}

.merch-kicker {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.merch-hero h1 {
  margin: 0;
  max-width: 10ch;
  font-size: 4.6rem;
  line-height: 0.95;
}

.merch-lead {
  margin: 24px 0 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.04rem;
}

.merch-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.merch-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border: 1px solid var(--line-strong);
  background: #000;
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.1;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.merch-button:hover,
.merch-button:focus-visible {
  background: #141414;
  border-color: var(--white);
  transform: translateY(-1px);
}

.merch-button-primary {
  background: var(--white);
  color: #000;
  border-color: var(--white);
}

.merch-button-primary:hover,
.merch-button-primary:focus-visible {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.merch-section,
.merch-story,
.merch-final-cta {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.merch-section {
  padding: 74px 0 38px;
}

.merch-section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.merch-products-section .merch-section-head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.merch-section-head h2,
.merch-story h2,
.merch-final-cta h2 {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.06;
}

.merch-section-head p:last-child,
.merch-story p,
.merch-final-cta p,
.merch-footer p {
  color: var(--muted);
}

.merch-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  justify-content: center;
  max-width: 980px;
  margin: 0 auto;
}

.merch-product {
  border: 1px solid var(--line);
  background: var(--panel);
}

.merch-product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #020202;
  border-bottom: 1px solid var(--line);
}

.merch-product-media picture,
.merch-product-media img {
  width: 100%;
  height: 100%;
}

.merch-product-media img {
  object-fit: cover;
  transition: transform 240ms ease, opacity 240ms ease;
}

.merch-product:hover .merch-product-media img,
.merch-product:focus-within .merch-product-media img {
  transform: scale(1.025);
  opacity: 0.7;
}

.merch-product-cta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--white);
  background: var(--white);
  color: #000;
  font-size: 0.86rem;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, background 140ms ease, color 140ms ease;
}

.merch-product:hover .merch-product-cta,
.merch-product:focus-within .merch-product-cta {
  opacity: 1;
  transform: translateY(0);
}

.merch-product-cta:hover,
.merch-product-cta:focus-visible {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.merch-product-copy {
  padding: 18px;
}

.merch-product-copy span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted-2);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.merch-product-copy h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.15;
}

.merch-product-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.merch-story {
  max-width: 980px;
  padding: 86px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  justify-content: center;
}

.merch-story-copy {
  padding-bottom: 0;
}

.merch-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  max-width: 520px;
  margin: 0 auto;
}

.merch-detail-grid figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--panel);
}

.merch-detail-grid picture {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.merch-detail-grid figure:last-child picture {
  aspect-ratio: 1 / 1;
}

.merch-detail-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.merch-detail-grid figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.82rem;
  border-top: 1px solid var(--line);
}

.merch-final-cta {
  margin-top: 52px;
  margin-bottom: 72px;
  min-height: 340px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 34px;
  border: 1px solid var(--line);
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.56)),
    url("/merch/balkanufomajica2.png");
  background-size: cover;
  background-position: center;
}

.merch-final-cta p {
  max-width: 560px;
  margin-bottom: 0;
}

.merch-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.merch-footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.merch-footer p {
  max-width: 48ch;
  margin: 8px 0 0;
  font-size: 0.82rem;
}

.merch-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  color: var(--muted);
  font-size: 0.86rem;
}

.merch-footer-links a:hover {
  color: var(--text);
}

@media (max-width: 1060px) {
  .merch-shop-link {
    display: none;
  }

  .merch-hero h1 {
    font-size: 3.6rem;
  }
}

@media (max-width: 860px) {
  .merch-nav {
    min-height: 76px;
  }

  .merch-brand {
    min-width: 0;
  }

  .merch-brand-mark {
    width: 54px;
    height: 54px;
  }

  .merch-mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .merch-main-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: none;
    border: 1px solid var(--line);
    background: #000;
  }

  .merch-main-nav.open {
    display: block;
  }

  .merch-main-nav ul {
    display: grid;
    border: 0;
  }

  .merch-main-nav a {
    width: 100%;
    min-height: 44px;
  }

  .merch-hero {
    min-height: calc(74svh - 76px);
    padding-top: 56px;
    padding-bottom: 72px;
    background-image:
      linear-gradient(180deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.62) 52%, rgba(0, 0, 0, 0.22) 100%),
      url("/merch/Zelimdaverujem2.png");
    background-position: center top;
  }

  .merch-hero h1 {
    font-size: 3rem;
  }

  .merch-product-grid,
  .merch-story,
  .merch-final-cta {
    grid-template-columns: 1fr;
  }

  .merch-product-cta {
    opacity: 1;
    transform: none;
  }

  .merch-story {
    padding-top: 68px;
  }

  .merch-detail-grid {
    grid-template-columns: 1fr;
  }

  .merch-final-cta {
    align-items: start;
  }

  .merch-footer-inner {
    display: grid;
  }

  .merch-footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .merch-nav,
  .merch-section,
  .merch-story,
  .merch-final-cta,
  .merch-footer-inner {
    width: min(var(--max), calc(100% - 28px));
  }

  .merch-brand-text strong {
    max-width: 124px;
    font-size: 0.78rem;
  }

  .merch-brand {
    gap: 10px;
  }

  .merch-brand-mark {
    width: 48px;
    height: 48px;
  }

  .merch-brand-text span {
    font-size: 0.66rem;
  }

  .merch-nav-actions {
    gap: 6px;
  }

  .lang-switch {
    gap: 2px;
    padding: 3px;
  }

  .lang-switch button {
    padding: 7px 8px;
    font-size: 0.72rem;
  }

  .merch-mobile-toggle {
    width: 38px;
    height: 38px;
  }

  .merch-hero {
    min-height: calc(72svh - 76px);
    padding-left: 14px;
    padding-right: 14px;
    justify-items: center;
  }

  .merch-hero-copy,
  .merch-hero-actions,
  .merch-section-head,
  .merch-product,
  .merch-story-copy,
  .merch-detail-grid,
  .merch-final-cta > div {
    width: 100%;
    min-width: 0;
  }

  .merch-hero h1 {
    max-width: 9ch;
    font-size: 2.42rem;
  }

  .merch-lead {
    font-size: 0.94rem;
  }

  .merch-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .merch-button {
    width: 100%;
  }

  .merch-product-cta {
    left: 14px;
    right: 14px;
    width: auto;
  }

  .merch-section {
    padding-top: 56px;
  }

  .merch-section-head h2,
  .merch-story h2,
  .merch-final-cta h2 {
    font-size: 1.86rem;
  }

  .merch-product-copy,
  .merch-final-cta {
    padding: 18px;
  }
}
