:root {
  --bg-main: #050505;
  --bg-chip: #1b1b1b;
  --accent: #05FFEE;
  --text-main: #ffffff;
  --text-muted: #a0a0a0;
  --radius-lg: 999px;
  --radius-card: 18px;
  --shadow-card: 0 14px 30px rgba(0, 0, 0, 0.6);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Roboto",
    sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block; /* чтобы вёл себя как блок/карточка */
}


.logo img {
  height: 40px;
  width: auto;
}

.page {
  min-height: 100vh;
}

/* HEADER */

.header {
  padding: 20px 40px 10px;
  border-bottom: 1px solid #1b1b1b;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.03em;
  color: var(--accent);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: 24px;
  font-size: 15px;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-main);
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  cursor: pointer;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.header-link {
  text-decoration: none;
  color: var(--text-main);
  font-size: 14px;
}

.header-link:hover {
  color: var(--accent);
}

/* HERO SLIDER */

.hero-slider {
  position: relative;
  min-height: 540px;
  color: #ffffff;
  overflow: hidden;
}

/* фон баннера */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  transform: scale(1.03);
  transform-origin: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.4) 35%,
      rgba(0, 0, 0, 0) 70%
    );
}

/* центрированный текст */
.hero-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 150px 40px 80px;
  text-align: center;
  z-index: 2;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
}

/* нижний слайдер */
.hero-slider-bar {
  position: relative;
  max-width: 1280px;
  margin: 0 auto 26px;
  padding: 0 70px 30px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-thumbs-wrapper {
  overflow: visible;
  flex: 1;
}

.hero-thumbs {
  display: flex;
  gap: 16px;
  padding: 0 4px;
}

.hero-thumb {
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease, outline 0.2s ease;
}

.hero-thumb img {
  display: block;
  width: 260px;
  height: 150px;
  object-fit: cover;
}

.hero-thumb.is-active {
  transform: translateY(-6px);
  outline: 3px solid var(--accent);
}

.hero-thumb:hover {
  transform: translateY(-4px);
}

/* стрелки */
.hero-nav {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-nav:hover {
  background: rgba(0, 0, 0, 0.9);
}

/* CONTENT */

.content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 40px 40px;
}

.filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.filters-left,
.filters-right {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.chip-select {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-chip);
  border-radius: var(--radius-lg);
  font-size: 14px;
  cursor: pointer;
}

.chip-select .arrow {
  margin-left: 4px;
  border: solid var(--text-muted);
  border-width: 0 1.5px 1.5px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
}

.filter-toggle {
  padding: 10px 16px;
  border-radius: var(--radius-lg);
  background: var(--bg-chip);
  font-size: 14px;
  cursor: pointer;
  border: none;
  color: var(--text-main);
}

.filter-toggle--active {
  background: var(--accent);
  color: #000;
}

.filters-reset {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
}

.filters-reset-x {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid var(--text-muted);
  position: relative;
}

.filters-reset-x::before,
.filters-reset-x::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 1px;
  background: var(--text-muted);
}

.filters-reset-x::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.filters-reset-x::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.sort-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  font-size: 14px;
}

.sort-row span.label-muted {
  color: var(--text-muted);
}

.sort-row .chip-select {
  background: none;
  padding-inline: 0;
}

.sort-row .chip-select-text {
  padding: 4px 6px;
}

/* CARDS */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #222;
  box-shadow: var(--shadow-card);
  min-height: 260px;
  display: flex;
}

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

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.card-title {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
  .cards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .content {
    padding-inline: 20px;
  }

  .filters-row {
    align-items: flex-start;
  }

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

/* адаптив для hero slider */

@media (max-width: 900px) {
  .hero-inner {
    padding: 120px 16px 60px;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-slider-bar {
    padding: 0 46px 24px;
  }

  .hero-thumb img {
    width: 210px;
    height: 130px;
  }
}

@media (max-width: 640px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header {
    padding-inline: 20px;
  }

  .hero-inner {
    padding: 110px 12px 40px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-slider-bar {
    padding: 0 40px 20px;
  }

  .hero-nav {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }

  .hero-thumb img {
    width: 180px;
    height: 110px;
  }
}

/* FOOTER */

.footer {
  border-top: 1px solid #1b1b1b;
  padding: 40px 40px 32px;
  background: var(--bg-main);
  font-size: 14px;
  color: var(--text-muted);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* верхние ссылки: "Подарочный сертификат" и т.п. */
.footer-top-links,
.footer-channels,
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.footer-top-links a,
.footer-channels a,
.footer-legal-links a {
  text-decoration: none;
  color: var(--text-main);
  opacity: 0.8;
  white-space: nowrap;
}

.footer-legal-links a {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-top-links a:hover,
.footer-channels a:hover,
.footer-legal-links a:hover {
  color: var(--accent);
  opacity: 1;
}

/* текстовой блок с описанием и правовой ссылкой */
.footer-disclaimer {
  max-width: 980px;
  margin: 10px auto 0;
  line-height: 1.5;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-disclaimer .footer-legal-link {
  color: var(--text-main);
  text-decoration: none;
  margin-left: 4px;
}

.footer-disclaimer .footer-legal-link:hover {
  color: var(--accent);
}

.footer-copy {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

/* адаптив футера */

@media (max-width: 900px) {
  .footer {
    padding: 32px 20px 24px;
  }

  .footer-top-links,
  .footer-channels,
  .footer-legal-links {
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 28px 16px 20px;
  }

  .footer-legal-links {
    gap: 12px;
  }

  .footer-disclaimer {
    font-size: 11px;
  }

  .footer-copy {
    font-size: 11px;
  }
}

/* INFO BLOCK */

.info-block {
  padding: 40px 40px 60px;
  background: var(--bg-main);
}

.info-inner {
  max-width: 960px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-main);
}

.info-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
}

.info-inner h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 10px;
}

.info-inner p {
  margin-bottom: 14px;
  color: var(--text-main);
}

.info-inner ul {
  margin: 0 0 18px 20px;
  padding-left: 0;
}

.info-inner li {
  margin-bottom: 6px;
}

/* картинка внутри блока */

.info-figure {
  margin: 22px 0 26px;
  text-align: center;
}

.info-figure img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  display: block;
  margin: 0 auto 8px;
}

.info-figure figcaption {
  font-size: 13px;
  color: var(--text-muted);
}

/* адаптив */

@media (max-width: 900px) {
  .info-block {
    padding: 32px 20px 48px;
  }

  .info-title {
    font-size: 22px;
  }
}

@media (max-width: 640px) {
  .info-block {
    padding: 28px 16px 40px;
  }

  .info-inner {
    font-size: 14px;
  }

  .info-inner h3 {
    font-size: 16px;
  }
}
