/* TEA JAPAN — главная: блоки + футер */

:root {
  --tj-red: #d10000;
  --tj-red-hover: #b00000;
  --tj-dropdown-sep: rgba(0, 0, 0, 0.18);
  --tj-dark: #2b2b2b;
  --tj-white: #ffffff;
  --tj-muted: #4d4d4d;
  --tj-nav-text: #4a4a4a;
  --tj-icon: #5cb85c;
  --tj-gray-text: #666666;
  --tj-border: #e0e0e0;
  --tj-bg-soft: #f4f4f4;
  --tj-sale: #2d8a54;
  --tj-about-accent: #a50000;
  --tj-about-text: #4a4a4a;
  --tj-about-title: #000000;
  --tj-font-ui: "Roboto", sans-serif;
  --tj-font-logo: "Roboto", sans-serif;
  --tj-header-h: 88px;
  --tj-topbar-h: 40px;
  --tj-container: 1320px;
  --tj-footer-bg: #1a1d23;
  --tj-footer-text: #a0aec0;
  --tj-footer-heading: #ffffff;
  --tj-footer-border: rgba(255, 255, 255, 0.08);
  --tj-float-vk: #5c9ce6;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  font-family: var(--tj-font-ui);
}

body {
  margin: 0;
  font-family: var(--tj-font-ui);
  font-size: 15px;
  line-height: 1.45;
  color: var(--tj-muted);
  background: var(--tj-white);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: var(--tj-font-ui);
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.tj-page {
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* ---------- Top bar ---------- */
.tj-topbar {
  background: var(--tj-dark);
  color: var(--tj-white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-height: var(--tj-topbar-h);
}

.tj-topbar__inner {
  max-width: var(--tj-container);
  margin: 0 auto;
  padding: 8px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px 16px;
}

.tj-topbar__social {
  display: flex;
  align-items: center;
}

.tj-topbar__social a {
  display: flex;
  color: var(--tj-icon);
  transition: opacity 0.2s;
}

.tj-topbar__social a:hover {
  opacity: 0.85;
}

.tj-topbar__msg {
  margin: 0;
  text-align: center;
  justify-self: center;
  padding: 0 8px;
}

.tj-topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-weight: 600;
  text-transform: none;
}

.tj-topbar__phone svg {
  flex-shrink: 0;
  color: var(--tj-icon);
}

/* ---------- Header ---------- */
.tj-header {
  background: var(--tj-white);
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
}

.tj-header__inner {
  max-width: var(--tj-container);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--tj-header-h);
}

.tj-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-right: auto;
  align-self: center;
  padding: 10px 0;
}

.tj-logo__mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--tj-red);
  color: var(--tj-white);
  font-family: var(--tj-font-logo);
  font-size: 22px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.tj-logo__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tj-logo__title {
  font-family: var(--tj-font-logo);
  font-size: clamp(28px, 4vw, 36px);
  line-height: 0.95;
  letter-spacing: 0.06em;
  color: var(--tj-red);
  text-transform: uppercase;
}

.tj-logo__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tj-dark);
}

/* Mobile menu toggle */
.tj-nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tj-burger {
  display: none;
  position: relative;
  z-index: 102;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  align-self: center;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  background: var(--tj-white);
}

.tj-burger__lines {
  width: 22px;
  height: 16px;
  position: relative;
}

.tj-burger__lines span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--tj-dark);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.2s, top 0.25s;
}

.tj-burger__lines span:nth-child(1) {
  top: 0;
}

.tj-burger__lines span:nth-child(2) {
  top: 7px;
}

.tj-burger__lines span:nth-child(3) {
  top: 14px;
}

.tj-nav-toggle:focus-visible + .tj-burger {
  outline: 2px solid var(--tj-red);
  outline-offset: 2px;
}

.tj-nav-toggle:checked + .tj-burger .tj-burger__lines span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}

.tj-nav-toggle:checked + .tj-burger .tj-burger__lines span:nth-child(2) {
  opacity: 0;
}

.tj-nav-toggle:checked + .tj-burger .tj-burger__lines span:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

.tj-scrim {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: pointer;
}

.tj-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 0;
  overflow: visible;
}

.tj-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  align-self: stretch;
  justify-content: flex-end;
  gap: 0;
  overflow: visible;
  min-height: 100%;
}

.tj-nav__list > li {
  display: flex;
  align-items: stretch;
}

.tj-nav__link {
  display: flex;
  align-items: center;
  align-self: stretch;
  padding: 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tj-nav-text);
  border-radius: 0;
  transition: background 0.2s, color 0.2s;
}

.tj-nav__link:not(.tj-nav__link--active):hover {
  background: var(--tj-red);
  color: var(--tj-white);
}

.tj-nav__link--active {
  background: var(--tj-red);
  color: var(--tj-white);
}

.tj-nav__link--active:hover {
  color: var(--tj-white);
  background: var(--tj-red-hover);
}

/* Выпадающее меню «Листовой чай» */
.tj-nav__item--dropdown {
  position: relative;
}

.tj-nav__sub {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 120;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  min-width: 0;
  background: var(--tj-red);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-2px);
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}

.tj-nav__sub::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.tj-nav__item--dropdown:hover > .tj-nav__sub,
.tj-nav__item--dropdown:focus-within > .tj-nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.tj-nav__sub a {
  display: block;
  padding: 11px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tj-white);
  border-bottom: 1px solid var(--tj-dropdown-sep);
  transition: background 0.15s ease;
}

.tj-nav__sub li:last-child a {
  border-bottom: none;
}

.tj-nav__sub a:hover {
  background: rgba(0, 0, 0, 0.12);
  color: var(--tj-white);
}

/* ---------- Hero cards ---------- */
.tj-hero {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  min-height: min(70vh, 520px);
}

.tj-hero-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 20px 40px;
  color: var(--tj-white);
}

.tj-hero-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 0.5s ease;
}

.tj-hero-card:hover .tj-hero-card__bg {
  transform: scale(1.06);
}

.tj-hero-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
}

.tj-hero-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  max-width: 100%;
  padding: 16px;
}

.tj-hero-card__panel {
  width: min(72%, 300px);
  max-width: 320px;
  aspect-ratio: 1 / 1;
  max-height: min(48vw, 280px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px 16px;
  background: rgba(0, 0, 0, 0.48);
  text-align: center;
}

.tj-hero-card__title {
  margin: 0;
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
}

.tj-hero-card__line {
  width: 48px;
  height: 2px;
  background: var(--tj-white);
  opacity: 0.95;
}

.tj-hero-card__btn {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tj-white);
  border: 1px solid var(--tj-white);
  background: transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.tj-hero-card__btn:hover {
  background: var(--tj-white);
  color: var(--tj-dark);
}

@media (max-width: 1024px) and (min-width: 769px) {
  .tj-nav__link {
    padding: 0 10px;
    font-size: 10px;
  }
}

@media (max-width: 900px) {
  .tj-topbar__inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .tj-topbar__social {
    order: 1;
  }

  .tj-topbar__msg {
    order: 2;
  }

  .tj-topbar__phone {
    order: 3;
  }
}

/* ---------- Mobile: burger + drawer ---------- */
@media (max-width: 768px) {
  :root {
    --tj-header-h: 72px;
  }

  .tj-logo__mark {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .tj-burger {
    display: flex;
  }

  .tj-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 88vw);
    max-width: 100%;
    background: var(--tj-white);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: calc(var(--tj-topbar-h) + var(--tj-header-h) + 16px) 20px 24px;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 100;
  }

  .tj-nav-toggle:checked ~ .tj-nav {
    transform: translateX(0);
  }

  .tj-header__inner {
    position: relative;
    z-index: 101;
    align-items: center;
    padding: 8px 16px;
  }

  .tj-nav {
    align-self: auto;
  }

  .tj-nav__list {
    align-self: auto;
    min-height: 0;
  }

  .tj-nav__list > li {
    display: block;
  }

  .tj-nav__list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }

  .tj-nav__list > li {
    width: 100%;
  }

  .tj-nav__item--dropdown {
    position: static;
  }

  .tj-nav__sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    width: 100%;
    margin: 0 0 4px;
    box-shadow: none;
  }

  .tj-nav__sub::before {
    display: none;
  }

  .tj-nav__sub a {
    padding: 12px 4px 12px 12px;
  }

  .tj-nav__link {
    display: block;
    padding: 14px 0;
    font-size: 12px;
    border-bottom: 1px solid #eee;
    border-radius: 0;
  }

  .tj-nav__link--active {
    border-radius: 4px;
    border-bottom-color: transparent;
    margin-bottom: 4px;
  }

  .tj-scrim {
    display: block;
  }

  .tj-nav-toggle:checked ~ .tj-scrim {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .tj-hero {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    overflow-x: visible;
    min-height: unset;
  }

  .tj-hero-card {
    flex: unset;
    min-height: 260px;
    scroll-snap-align: unset;
  }

  body:has(#tj-nav-open:checked) {
    overflow: hidden;
  }
}

/* ---------- Tablet: горизонтальный скролл карточек ---------- */
@media (max-width: 1024px) and (min-width: 769px) {
  .tj-hero {
    display: flex;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    min-height: min(55vh, 440px);
  }

  .tj-hero-card {
    flex: 0 0 min(42vw, 360px);
    min-height: 320px;
    scroll-snap-align: start;
  }
}.tj-block2 {
  padding: 32px 16px 48px;
}

.tj-block2__inner {
  max-width: var(--tj-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  gap: 32px 40px;
  align-items: start;
}

/* ---------- Sidebar ---------- */
.tj-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.tj-sidebar__section {
  border-bottom: 1px solid var(--tj-border);
  padding-bottom: 20px;
}

.tj-sidebar__section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.tj-sidebar__title {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tj-dark);
}

.tj-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tj-sidebar__list li {
  border-top: 1px solid var(--tj-border);
}

.tj-sidebar__list li:first-child {
  border-top: none;
}

.tj-sidebar__list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tj-gray-text);
  transition: color 0.2s, padding-left 0.2s;
}

.tj-sidebar__list a:hover {
  color: var(--tj-red);
}

.tj-sidebar__arrow {
  flex-shrink: 0;
  color: var(--tj-gray-text);
  transition: color 0.2s;
}

.tj-sidebar__list a:hover .tj-sidebar__arrow {
  color: var(--tj-red);
}

.tj-sidebar__promo {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px;
  background: var(--tj-bg-soft);
  border: 1px solid var(--tj-border);
}

.tj-sidebar__promo-icon {
  flex-shrink: 0;
  color: var(--tj-red);
}

.tj-sidebar__promo-title {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tj-dark);
}

.tj-sidebar__promo-note {
  margin: 0;
  font-size: 12px;
  color: var(--tj-gray-text);
}

/* ---------- Main: лидеры продаж ---------- */
.tj-leaders__title {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tj-dark);
}

.tj-leaders__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: var(--tj-dark);
  margin-top: 10px;
}

.tj-leaders__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ---------- Product card ---------- */
.tj-pcard {
  border: 1px solid var(--tj-border);
  background: var(--tj-white);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tj-pcard__media {
  display: grid;
  grid-template-columns: 1fr 52px;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid var(--tj-border);
}

.tj-pcard__main {
  position: relative;
  background: var(--tj-bg-soft);
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tj-pcard__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 200px;
  padding: 8px;
}

.tj-pcard__badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 6px 10px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tj-white);
  background: var(--tj-sale);
  border-radius: 999px;
  line-height: 1.2;
  max-width: calc(100% - 16px);
  text-align: center;
}

.tj-pcard__thumbs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tj-pcard__thumb {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border: 1px solid var(--tj-border);
  background: var(--tj-white);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s;
}

.tj-pcard__thumb:hover,
.tj-pcard__thumb:focus-visible {
  border-color: var(--tj-red);
  outline: none;
}

.tj-pcard__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tj-pcard__body {
  padding: 14px 12px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.tj-pcard__name {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--tj-dark);
}

.tj-pcard__name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.tj-pcard__name a:hover {
  color: var(--tj-red);
}

.tj-pcard__prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
}

.tj-pcard__price {
  font-size: 16px;
  font-weight: 800;
  color: var(--tj-dark);
}

.tj-pcard__price-old {
  font-size: 14px;
  font-weight: 600;
  color: #9a9a9a;
  text-decoration: line-through;
}

.tj-pcard__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.tj-pcard__cart {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tj-white);
  background: var(--tj-red);
  border-radius: 2px;
  transition: background 0.2s;
}

.tj-pcard__cart:hover {
  background: var(--tj-red-hover);
}

.tj-pcard__wish {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9a9a9a;
  border: 1px solid var(--tj-border);
  border-radius: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.tj-pcard__wish:hover,
.tj-pcard__wish[aria-pressed="true"] {
  color: var(--tj-red);
  border-color: var(--tj-red);
}

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .tj-leaders__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tj-leaders__grid .tj-pcard:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    justify-self: center;
  }
}

@media (max-width: 900px) {
  .tj-block2__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tj-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
  }

  .tj-sidebar__promo {
    grid-column: 1 / -1;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .tj-block2 {
    padding: 24px 12px 36px;
  }

  .tj-sidebar {
    grid-template-columns: 1fr;
  }

  .tj-leaders__grid {
    grid-template-columns: 1fr;
  }

  .tj-leaders__grid .tj-pcard:last-child {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }

  .tj-pcard__media {
    grid-template-columns: 1fr 48px;
  }

  .tj-pcard__thumb {
    width: 48px;
    height: 48px;
  }
}

/* ---------- Блок 3: японский чай — текст + фото ---------- */
.tj-about-jp {
  padding: 56px 16px 64px;
  background: var(--tj-white);
}

.tj-about-jp__inner {
  max-width: var(--tj-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
  align-items: center;
}

.tj-about-jp__col--text {
  padding-left: clamp(0, 2vw, 24px);
  padding-right: clamp(12px, 4vw, 56px);
}

.tj-about-jp__heading {
  margin: 0 0 24px;
  font-family: var(--tj-font-ui);
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tj-about-jp__heading-line {
  display: block;
  color: var(--tj-about-title);
}

.tj-about-jp__heading-line--accent {
  color: var(--tj-about-accent);
}

.tj-about-jp__lead {
  margin: 0 0 16px;
  font-family: var(--tj-font-ui);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--tj-about-text);
}

.tj-about-jp__lead:last-of-type {
  margin-bottom: 28px;
}

.tj-about-jp__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-family: var(--tj-font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tj-about-accent);
  border: 1px solid var(--tj-about-accent);
  background: transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.tj-about-jp__btn:hover {
  color: var(--tj-white);
  background: var(--tj-about-accent);
  border-color: var(--tj-about-accent);
}

.tj-about-jp__figure {
  margin: 0;
  height: 100%;
  min-height: 280px;
  overflow: hidden;
}

.tj-about-jp__figure img {
  width: 100%;
  height: 100%;
  min-height: min(52vw, 420px);
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 900px) {
  .tj-about-jp {
    padding: 40px 16px 48px;
  }

  .tj-about-jp__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tj-about-jp__col--visual {
    order: -1;
  }

  .tj-about-jp__col--text {
    padding-left: 0;
    padding-right: 0;
  }

  .tj-about-jp__figure img {
    min-height: 240px;
    max-height: 360px;
  }
}

/* ---------- Распродажа (после блока 3; только товары со скидкой) ---------- */
.tj-sale {
  padding: 40px 16px 48px;
  background: var(--tj-bg-soft);
}

.tj-sale__wrap {
  max-width: var(--tj-container);
  margin: 0 auto;
}

.tj-sale__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 24px;
}

.tj-sale__intro {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tj-sale__title {
  margin: 0;
  font-family: var(--tj-font-ui);
  font-size: clamp(14px, 2.2vw, 17px);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #000000;
  line-height: 1.2;
}

.tj-sale__note {
  margin: 0;
  font-family: var(--tj-font-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--tj-gray-text);
}

.tj-sale__all {
  font-family: var(--tj-font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--tj-red);
  white-space: nowrap;
  transition: opacity 0.2s;
}

.tj-sale__all:hover {
  opacity: 0.85;
  text-decoration: underline;
}

.tj-sale__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1100px) {
  .tj-sale__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .tj-sale {
    padding: 32px 12px 40px;
  }

  .tj-sale__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .tj-sale__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Блок 4: блог ---------- */
.tj-blog {
  padding: 40px 16px 56px;
  background: var(--tj-white);
}

.tj-blog__wrap {
  max-width: var(--tj-container);
  margin: 0 auto;
}

.tj-blog__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 28px;
}

.tj-blog__title {
  margin: 0;
  font-family: var(--tj-font-ui);
  font-size: clamp(14px, 2.2vw, 17px);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #000000;
  line-height: 1.25;
}

.tj-blog__all {
  font-family: var(--tj-font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--tj-red);
  white-space: nowrap;
  transition: opacity 0.2s;
}

.tj-blog__all:hover {
  opacity: 0.85;
  text-decoration: underline;
}

.tj-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tj-blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--tj-white);
  border: 1px solid var(--tj-border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.tj-blog-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.tj-blog-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--tj-bg-soft);
}

.tj-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.tj-blog-card:hover .tj-blog-card__media img {
  transform: scale(1.04);
}

.tj-blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 16px 20px;
}

.tj-blog-card__meta {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tj-gray-text);
}

.tj-blog-card__title {
  margin: 0 0 10px;
  font-family: var(--tj-font-ui);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #111111;
}

.tj-blog-card__title a {
  color: inherit;
  transition: color 0.2s;
}

.tj-blog-card__title a:hover {
  color: var(--tj-red);
}

.tj-blog-card__excerpt {
  margin: 0;
  flex: 1;
  font-family: var(--tj-font-ui);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--tj-gray-text);
}

.tj-blog-card__more {
  margin-top: 16px;
  align-self: flex-start;
  font-family: var(--tj-font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #222222;
  transition: color 0.2s;
}

.tj-blog-card__more::after {
  content: " →";
  font-weight: 700;
}

.tj-blog-card__more:hover {
  color: var(--tj-red);
}

@media (max-width: 900px) {
  .tj-blog__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .tj-blog__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .tj-blog__grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
    margin: 0;
  }
}

/* ---------- Блок 5: FAQ ---------- */
.tj-faq {
  padding: 32px 16px 64px;
  background: var(--tj-white);
}

.tj-faq__wrap {
  max-width: var(--tj-container);
  margin: 0 auto;
}

.tj-faq__head {
  margin-bottom: 24px;
}

.tj-faq__title {
  margin: 0;
  font-family: var(--tj-font-ui);
  font-size: clamp(14px, 2.2vw, 17px);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #000000;
  line-height: 1.25;
}

.tj-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tj-faq__item {
  margin: 0;
  border: 1px solid var(--tj-border);
  border-radius: 10px;
  background: var(--tj-white);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.tj-faq__item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.tj-faq__item[open] {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.tj-faq__q {
  position: relative;
  list-style: none;
  padding: 18px 48px 18px 18px;
  font-family: var(--tj-font-ui);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: #111111;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}

.tj-faq__q::-webkit-details-marker {
  display: none;
}

.tj-faq__q::marker {
  content: "";
}

.tj-faq__q:hover,
.tj-faq__item[open] .tj-faq__q {
  color: var(--tj-red);
}

.tj-faq__q:focus {
  outline: none;
}

.tj-faq__q:focus-visible {
  outline: 2px solid var(--tj-red);
  outline-offset: 2px;
}

.tj-faq__q::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid #666666;
  border-bottom: 2px solid #666666;
  transform: rotate(45deg);
  transition: transform 0.25s ease, border-color 0.2s;
}

.tj-faq__item[open] .tj-faq__q::after {
  margin-top: -2px;
  transform: rotate(225deg);
  border-color: var(--tj-red);
}

.tj-faq__q:hover::after {
  border-color: var(--tj-red);
}

.tj-faq__a {
  padding: 0 18px 18px;
  border-top: 1px solid var(--tj-border);
}

.tj-faq__a p {
  margin: 14px 0 0;
  font-family: var(--tj-font-ui);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--tj-gray-text);
}

.tj-faq__a p:first-child {
  margin-top: 16px;
}

@media (max-width: 640px) {
  .tj-faq__q {
    padding-right: 44px;
    font-size: 14px;
  }

  .tj-faq__q::after {
    right: 16px;
  }
}

/* ---------- Отзывы о товарах (слайдер на главной) ---------- */
.tj-reviews {
  padding: 48px 16px 64px;
  background: var(--tj-bg-soft);
}

.tj-reviews__wrap {
  max-width: var(--tj-container);
  margin: 0 auto;
}

.tj-reviews__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 28px;
}

.tj-reviews__title {
  margin: 0;
  font-family: var(--tj-font-ui);
  font-size: clamp(14px, 2.2vw, 17px);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #000000;
  line-height: 1.25;
}

.tj-reviews__subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--tj-gray-text);
  max-width: 520px;
}

.tj-reviews__arrows {
  display: flex;
  gap: 8px;
}

.tj-reviews__arrow {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tj-border);
  border-radius: 4px;
  color: var(--tj-muted);
  background: var(--tj-white);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.tj-reviews__arrow:hover:not(:disabled) {
  color: var(--tj-red);
  border-color: var(--tj-red);
}

.tj-reviews__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.tj-reviews__viewport {
  overflow: hidden;
}

.tj-reviews__track {
  display: flex;
  gap: 20px;
  transition: transform 0.35s ease;
}

.tj-reviews__slide {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 0;
}

.tj-review-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 20px;
  border: 1px solid var(--tj-border);
  border-radius: 10px;
  background: var(--tj-white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.tj-review-card__product {
  margin-bottom: 10px;
}

.tj-review-card__product a {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #000000;
  text-decoration: none;
  transition: color 0.2s;
}

.tj-review-card__product a:hover {
  color: var(--tj-red);
}

.tj-review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
  color: var(--tj-red);
}

.tj-review-card__text {
  margin: 0;
  flex: 1;
  border: none;
  padding: 0;
  font-style: normal;
}

.tj-review-card__text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--tj-muted);
}

.tj-review-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--tj-border);
  font-size: 13px;
  color: var(--tj-gray-text);
}

.tj-review-card__author {
  font-weight: 600;
  color: var(--tj-dark);
}

@media (max-width: 1024px) {
  .tj-reviews__slide {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 640px) {
  .tj-reviews {
    padding: 36px 16px 48px;
  }

  .tj-reviews__head {
    align-items: flex-start;
  }

  .tj-reviews__slide {
    flex: 0 0 100%;
    max-width: 420px;
    margin: 0 auto;
  }
}

/* ---------- Футер ---------- */
.tj-footer {
  background: var(--tj-footer-bg);
  color: var(--tj-footer-text);
  font-family: var(--tj-font-ui);
}

.tj-footer__main {
  padding: 56px 16px 40px;
}

.tj-footer__inner {
  max-width: var(--tj-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(200px, 1.2fr) repeat(3, 1fr);
  gap: 40px 36px;
  align-items: start;
}

.tj-footer__col--brand {
  max-width: 320px;
}

.tj-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.tj-footer-logo__mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--tj-red);
  color: var(--tj-white);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

.tj-footer-logo__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tj-footer-logo__title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tj-footer-heading);
  line-height: 1;
}

.tj-footer-logo__tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--tj-footer-text);
}

.tj-footer__about {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--tj-footer-text);
}

.tj-footer__heading {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tj-footer-heading);
}

.tj-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tj-footer__list li {
  margin-bottom: 10px;
}

.tj-footer__list li:last-child {
  margin-bottom: 0;
}

.tj-footer__list a {
  font-size: 14px;
  color: var(--tj-footer-text);
  transition: color 0.2s;
}

.tj-footer__list a:hover {
  color: var(--tj-footer-heading);
}

.tj-footer__contacts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tj-footer__contacts li {
  margin-bottom: 12px;
}

.tj-footer__contacts li:last-child {
  margin-bottom: 0;
}

.tj-footer__contact {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--tj-footer-text);
  transition: color 0.2s;
}

.tj-footer__contact:hover {
  color: var(--tj-footer-heading);
}

.tj-footer__contact--static {
  cursor: default;
}

.tj-footer__contact--static:hover {
  color: var(--tj-footer-text);
}

.tj-footer__contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.9;
}

.tj-footer__bottom {
  border-top: 1px solid var(--tj-footer-border);
  padding: 20px 16px 28px;
}

.tj-footer__bottom-inner {
  max-width: var(--tj-container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.tj-footer__copy {
  margin: 0;
  font-size: 13px;
  color: var(--tj-footer-text);
}

.tj-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.tj-footer__legal a {
  font-size: 12px;
  color: var(--tj-footer-text);
  transition: color 0.2s;
}

.tj-footer__legal a:hover {
  color: var(--tj-footer-heading);
}

@media (max-width: 900px) {
  .tj-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .tj-footer__col--brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .tj-footer__main {
    padding: 40px 16px 32px;
  }

  .tj-footer__inner {
    grid-template-columns: 1fr;
  }

  .tj-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Плавающие кнопки */
.tj-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tj-float__btn {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

.tj-float__btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.tj-float__btn--vk {
  background: var(--tj-float-vk);
  color: var(--tj-white);
}

.tj-float__btn--cart {
  background: var(--tj-white);
  color: #555555;
}

.tj-float__badge {
  position: absolute;
  top: -2px;
  left: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--tj-red);
  color: var(--tj-white);
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}
