/*
Theme Name: GT-MOTORS
Theme URI: https://gt-motors.local
Author: GT-MOTORS
Description: Тема интернет-магазина автотоваров ТД GT-MOTORS
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: gt-motors
*/

:root {
  --gt-red: #e31e24;
  --gt-red-dark: #c41920;
  --gt-black: #1a1a1a;
  --gt-dark: #111111;
  --gt-grey: #4a4a4a;
  --gt-muted: #8a8a8a;
  --gt-light: #f5f5f5;
  --gt-border: #e8e8e8;
  --gt-white: #ffffff;
  --gt-radius: 8px;
  --gt-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --gt-container: 1180px;
  --gt-font: "Montserrat", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--gt-font);
  color: var(--gt-black);
  background: var(--gt-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar {
  min-height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {
  body.admin-bar {
    min-height: calc(100vh - 46px);
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gt-container {
  width: min(100% - 32px, var(--gt-container));
  margin-inline: auto;
}

.gt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: none;
  border-radius: var(--gt-radius);
  background: var(--gt-red);
  color: var(--gt-white);
  font: 600 15px/1.2 var(--gt-font);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.gt-btn:hover {
  background: var(--gt-red-dark);
  transform: translateY(-1px);
}

.gt-btn--lg {
  padding: 16px 28px;
  font-size: 16px;
}

.gt-section-title {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gt-section-sub {
  margin: 0;
  color: var(--gt-muted);
  font-size: 15px;
}

/* ========== HEADER ========== */
.gt-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gt-border);
}

.gt-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.gt-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 180px;
}

.gt-logo__name {
  font-size: 22px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 1;
}

.gt-logo__name span {
  color: var(--gt-red);
}

.gt-logo__tag {
  font-size: 10px;
  color: var(--gt-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.gt-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.gt-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--gt-grey);
  transition: color 0.2s ease;
}

.gt-nav a:hover {
  color: var(--gt-red);
}

.gt-header__contacts {
  display: flex;
  align-items: center;
  gap: 20px;
}

.gt-header__phone-block {
  text-align: right;
}

.gt-header__phone {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
}

.gt-header__hours {
  margin-top: 2px;
  font-size: 12px;
  color: var(--gt-muted);
}

.gt-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.gt-burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gt-border);
  border-radius: 8px;
  background: var(--gt-white);
  cursor: pointer;
}

.gt-burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--gt-black);
}

/* ========== HERO ========== */
.gt-hero {
  position: relative;
  color: var(--gt-white);
  background: #1a1a1a;
  overflow: hidden;
}

/* Высота баннера = высота фото (без обрезки и без полос) */
.gt-hero__photo {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.gt-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(10, 10, 10, 0.82) 0%,
    rgba(10, 10, 10, 0.45) 48%,
    rgba(10, 10, 10, 0.3) 100%
  );
}

/* Тот же .gt-container, что у логотипа и «Наши поставщики» */
.gt-hero__inner {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(100% - 32px, var(--gt-container));
  margin: 0;
  transform: translateX(-50%);
  padding-block: 48px;
  box-sizing: border-box;
}

.gt-hero__content {
  flex: 0 1 640px;
  width: 100%;
  max-width: 640px;
  margin: 0;
  margin-right: auto;
  text-align: left;
}

.gt-hero__title {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.gt-hero__text {
  margin: 0 0 28px;
  max-width: 480px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
}

.gt-hero__cta-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.gt-hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.gt-hero__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
}

.gt-hero__feature-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.gt-hero__cats {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 18px;
  margin-left: auto;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}

.gt-hero__cats span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  padding-left: 12px;
  border-left: 3px solid var(--gt-red);
}

/* ========== SUPPLIERS ========== */
.gt-suppliers {
  padding: 72px 0 40px;
  background: var(--gt-white);
}

.gt-suppliers__head {
  margin-bottom: 32px;
}

.gt-suppliers__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.gt-supplier-banner {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  line-height: 0;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.gt-supplier-banner:hover {
  box-shadow: var(--gt-shadow);
  transform: translateY(-2px);
}

.gt-supplier-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  vertical-align: top;
}

.gt-supplier-banner__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 120px;
  color: var(--gt-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  background: linear-gradient(135deg, #f8f8f8 0%, #eeeeee 100%);
}

.gt-supplier-banner__placeholder svg {
  opacity: 0.45;
}

/* ========== PRODUCTS ========== */
.gt-products {
  padding: 56px 0 72px;
  background: var(--gt-white);
}

.gt-products__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.gt-products__link {
  color: var(--gt-red);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

.gt-products__link:hover {
  text-decoration: underline;
}

.gt-products__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.gt-product-card {
  display: flex;
  flex-direction: column;
  background: var(--gt-light);
  border-radius: var(--gt-radius);
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gt-product-card:hover {
  border-color: var(--gt-border);
  box-shadow: var(--gt-shadow);
}

.gt-product-card__img {
  position: relative;
  display: block;
  aspect-ratio: 1;
  background: #fff;
  overflow: hidden;
  border-bottom: 1px solid var(--gt-border);
}

.gt-product-card__img img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.gt-product-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  flex: 1;
}

.gt-product-card__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  min-height: 2.7em;
}

.gt-product-card .gt-btn {
  width: 100%;
  margin-top: auto;
  padding: 10px 12px;
  font-size: 13px;
}

/* ========== CONTACTS ========== */
.gt-contacts {
  padding: 72px 0;
  background: var(--gt-light);
}

.gt-contacts__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.8fr);
  gap: 28px;
  align-items: stretch;
}

.gt-contacts__info .gt-section-sub {
  margin-bottom: 28px;
}

.gt-contacts__block--map {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.gt-contacts__block h3 {
  margin: 0 0 18px;
  font-size: 18px;
}

.gt-contacts__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gt-contacts__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--gt-grey);
}

.gt-contacts__item strong {
  display: block;
  color: var(--gt-black);
  font-size: 15px;
  margin-bottom: 2px;
}

.gt-contacts__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gt-white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--gt-red);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.gt-messengers {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.gt-messenger {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  transition: transform 0.2s ease;
}

.gt-messenger:hover {
  transform: scale(1.06);
}

.gt-messenger--wa { background: #25d366; }
.gt-messenger--tg { background: #2aabee; }
.gt-messenger--vb { background: #7360f2; }

.gt-messenger__img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.gt-map {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: var(--gt-radius);
  overflow: hidden;
  background: #ddd;
  border: 1px solid var(--gt-border);
}

.gt-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
}

/* ========== FOOTER ========== */
.gt-footer {
  margin-top: auto;
  background: #121417;
  color: rgba(255, 255, 255, 0.88);
  padding: 36px 0;
}

.gt-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
}

.gt-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 220px;
}

.gt-footer .gt-logo__name {
  color: #fff;
}

.gt-footer .gt-logo__tag {
  color: rgba(255, 255, 255, 0.7);
  white-space: normal;
}

.gt-footer__copy {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.4;
}

.gt-footer__dev {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  margin: 0;
  max-width: 180px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1;
  text-align: right;
}

.gt-footer__dev-logo {
  display: block;
  height: 28px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  object-position: right center;
}

.gt-footer__policy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gt-footer__policy:hover {
  color: #fff;
}

.gt-footer__nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}

.gt-footer__nav a {
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s ease;
}

.gt-footer__nav a:hover {
  color: var(--gt-red);
}

.gt-footer__connect {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.gt-footer__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.gt-footer__phone:hover {
  color: var(--gt-red);
}

.gt-footer__socials {
  display: flex;
  gap: 8px;
  margin-top: 0;
}

.gt-footer__social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  transition: transform 0.2s ease, filter 0.2s ease;
  overflow: hidden;
}

.gt-footer__social svg {
  width: 20px;
  height: 20px;
}

.gt-footer__social .gt-messenger__img {
  width: 22px;
  height: 22px;
}

.gt-footer__social--wa { background: #25d366; }
.gt-footer__social--tg { background: #2aabee; }
.gt-footer__social--vb { background: #7360f2; }

.gt-footer__social:hover {
  transform: scale(1.06);
  filter: brightness(1.08);
}

/* ========== COOKIE CONSENT ========== */
.gt-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  padding: 16px;
  background: rgba(18, 20, 23, 0.96);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.25);
}

.gt-cookie[hidden] {
  display: none !important;
}

.gt-cookie__inner {
  width: min(100%, var(--gt-container));
  margin-inline: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.gt-cookie__text {
  flex: 1;
  min-width: 0;
}

.gt-cookie__text p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.gt-cookie__text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gt-cookie__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}

.gt-cookie__check input {
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--gt-red);
}

.gt-cookie__btn {
  flex-shrink: 0;
  min-width: 140px;
}

.gt-cookie__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 700px) {
  .gt-cookie__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .gt-cookie__btn {
    width: 100%;
  }
}

/* ========== PAGE: CONTACTS ========== */
.gt-page-contacts {
  padding: 56px 0 72px;
  background: var(--gt-light);
  flex: 1;
}

.gt-page-contacts__head {
  margin-bottom: 32px;
}

.gt-page-contacts__top {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.25fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.gt-page-contacts__info,
.gt-page-contacts__form-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--gt-white);
  border-radius: var(--gt-radius);
  padding: 28px;
  border: 1px solid var(--gt-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.gt-contact-form {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gt-page-contacts__subtitle {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 700;
}

.gt-page-contacts__messengers {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--gt-border);
}

.gt-contact-form__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.gt-contact-form__row {
  margin-bottom: 16px;
}

.gt-contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.gt-contact-form__label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gt-grey);
}

.gt-contact-form__label span {
  color: var(--gt-red);
}

.gt-contact-form__input,
.gt-contact-form__textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gt-border);
  border-radius: var(--gt-radius);
  font: 400 15px/1.4 var(--gt-font);
  color: var(--gt-black);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gt-contact-form__input:focus,
.gt-contact-form__textarea:focus {
  outline: none;
  border-color: var(--gt-red);
  box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.12);
}

.gt-contact-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.gt-contact-form__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: auto 0 20px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--gt-grey);
  cursor: pointer;
}

.gt-contact-form__consent input {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--gt-red);
}

.gt-contact-form__consent a {
  color: var(--gt-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gt-contact-form__submit {
  width: 100%;
}

.gt-form-notice {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--gt-radius);
  font-size: 14px;
}

.gt-form-notice--ok {
  background: #e8f7ee;
  color: #1b6b3a;
  border: 1px solid #b7e4c7;
}

.gt-form-notice--error {
  background: #fdecea;
  color: #9b1c1c;
  border: 1px solid #f5c2c0;
}

.gt-page-contacts__map .gt-map--page {
  min-height: 420px;
  height: 420px;
}

.gt-page-contacts__map .gt-map--page iframe {
  min-height: 420px;
}

.gt-page-contacts__content {
  margin-top: 28px;
  padding: 24px 28px;
  background: var(--gt-white);
  border-radius: var(--gt-radius);
  border: 1px solid var(--gt-border);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .gt-products__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gt-hero__cats {
    display: none;
  }
}

@media (max-width: 900px) {
  .gt-header__inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .gt-nav {
    display: none;
    width: 100%;
    order: 3;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0 4px;
  }

  .gt-nav.is-open {
    display: flex;
  }

  .gt-burger {
    display: block;
  }

  .gt-header__contacts .gt-btn {
    display: none;
  }

  /*
   * Мобильный hero: фото отдельно сверху (целиком),
   * текст и кнопка — в тёмном блоке под ним (читаемо, без наложения).
   */
  .gt-hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #111;
  }

  .gt-hero__photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    flex: 0 0 auto;
  }

  .gt-hero__shade {
    display: none;
  }

  .gt-hero__inner {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    transform: none;
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 0;
    padding: 28px 20px 36px;
    z-index: 2;
    box-sizing: border-box;
    background: #111;
  }

  .gt-hero__content {
    max-width: none;
    width: 100%;
  }

  .gt-hero__title {
    font-size: clamp(26px, 7vw, 34px);
    margin-bottom: 12px;
  }

  .gt-hero__text {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 20px;
    max-width: none;
    color: rgba(255, 255, 255, 0.78);
  }

  .gt-hero__cta-note {
    margin-top: 10px;
    text-align: center;
  }

  .gt-hero__features {
    margin-top: 28px;
    padding-top: 22px;
    gap: 14px;
    border-top-color: rgba(255, 255, 255, 0.12);
  }

  .gt-hero__feature {
    font-size: 14px;
  }

  .gt-hero__feature-icon {
    width: 36px;
    height: 36px;
  }

  .gt-suppliers__grid {
    grid-template-columns: 1fr;
  }

  .gt-contacts__grid {
    grid-template-columns: 1fr;
  }

  .gt-page-contacts__top {
    grid-template-columns: 1fr;
  }

  .gt-contact-form__grid {
    grid-template-columns: 1fr;
  }

  .gt-page-contacts__map .gt-map--page {
    min-height: 300px;
    height: 300px;
  }

  .gt-map {
    min-height: 280px;
  }

  .gt-footer__inner {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .gt-footer__nav {
    gap: 18px;
  }

  .gt-footer__dev {
    align-items: flex-start;
    text-align: left;
    max-width: none;
  }

  .gt-footer__dev-logo {
    object-position: left center;
  }
}

@media (max-width: 640px) {
  .gt-logo {
    min-width: 0;
    flex: 1;
  }

  .gt-logo__name {
    font-size: 18px;
  }

  .gt-logo__tag {
    white-space: normal;
    max-width: 210px;
    line-height: 1.25;
    font-size: 9px;
  }

  .gt-header__inner {
    min-height: 64px;
    gap: 12px;
  }

  .gt-hero__inner {
    padding: 24px 16px 32px;
  }

  .gt-hero__features {
    flex-direction: column;
    gap: 12px;
  }

  .gt-btn--lg {
    width: 100%;
    justify-content: center;
  }

  .gt-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .gt-footer__nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .gt-products__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gt-products__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .gt-header__phone-block {
    display: none;
  }

  .gt-section-title {
    font-size: 24px;
  }
}

@media (max-width: 420px) {
  .gt-products__grid {
    grid-template-columns: 1fr;
  }
}

/* ========== CATALOG ========== */
.gt-catalog-hero {
  position: relative;
  color: #fff;
  background: #1a1a1a;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
}

.gt-catalog-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gt-catalog-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10,10,10,.88) 0%, rgba(10,10,10,.45) 55%, rgba(10,10,10,.3) 100%);
}

.gt-catalog-hero__inner {
  position: relative;
  z-index: 2;
  padding: 56px 0;
}

.gt-catalog-hero__title {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.gt-catalog-hero__title span { color: var(--gt-red); }

.gt-catalog-hero__text {
  margin: 0 0 28px;
  max-width: 520px;
  color: rgba(255,255,255,.85);
}

.gt-catalog-hero__features {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.gt-catalog {
  padding: 32px 0 72px;
  background: #f7f7f7;
  flex: 1;
}

.gt-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--gt-muted);
}

.gt-breadcrumbs a:hover { color: var(--gt-red); }

.gt-catalog__layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.gt-catalog-cats {
  background: #fff;
  border: 1px solid var(--gt-border);
  border-radius: var(--gt-radius);
  overflow: hidden;
  margin-bottom: 16px;
}

.gt-catalog-cats__head {
  background: var(--gt-red);
  color: #fff;
  font-weight: 700;
  padding: 14px 16px;
}

.gt-catalog-cats__list { list-style: none; margin: 0; padding: 0; }

.gt-catalog-cats__list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--gt-border);
  font-size: 14px;
  color: var(--gt-grey);
}

.gt-catalog-cats__list a:hover,
.gt-catalog-cats__list a.is-active {
  color: var(--gt-red);
  background: #fff5f5;
}

.gt-catalog-cats__child a {
  padding-left: 22px;
  font-size: 13px;
}

.gt-catalog-cats__list span {
  color: var(--gt-muted);
  font-size: 12px;
}

.gt-catalog-filters {
  background: #fff;
  border: 1px solid var(--gt-border);
  border-radius: var(--gt-radius);
  padding: 18px 16px;
}

.gt-catalog-filters__title {
  margin: 0 0 14px;
  font-size: 16px;
}

.gt-catalog-filters__label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gt-grey);
}

.gt-catalog-filters select,
.gt-catalog-search input[type="search"],
.gt-catalog-sort select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--gt-border);
  border-radius: 8px;
  font: 400 14px/1.3 var(--gt-font);
  background: #fff;
}

.gt-catalog-filters__apply { width: 100%; margin-bottom: 10px; }

.gt-catalog-filters__reset {
  display: block;
  text-align: center;
  color: var(--gt-red);
  font-size: 13px;
  font-weight: 600;
}

.gt-catalog-search {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.gt-catalog-search input { flex: 1; }

.gt-catalog__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}

.gt-catalog__heading { margin: 0 0 4px; font-size: 24px; }
.gt-catalog__count { margin: 0; color: var(--gt-muted); font-size: 14px; }

.gt-catalog__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gt-product-card--catalog {
  background: #fff;
  border: 1px solid var(--gt-border);
  border-radius: var(--gt-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.gt-product-card--catalog .gt-product-card__img {
  padding: 0;
  background: #fff;
}

.gt-product-card--catalog .gt-product-card__body {
  padding: 14px;
  gap: 10px;
}

.gt-product-card--catalog .gt-product-card__title {
  min-height: 0;
  font-size: 14px;
}

.gt-product-card--catalog .gt-product-card__title a:hover { color: var(--gt-red); }

.gt-product-card__meta {
  font-size: 12px;
  color: var(--gt-muted);
}

.gt-product-card__more {
  display: block;
  text-align: center;
  margin-top: auto;
  padding: 10px 12px;
  border-radius: 8px;
  background: #ececec;
  font-size: 13px;
  font-weight: 600;
  color: var(--gt-black);
}

.gt-product-card__more:hover {
  background: var(--gt-red);
  color: #fff;
}

.gt-catalog__pagination { margin-top: 28px; }
.gt-catalog__pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.gt-catalog__pagination a,
.gt-catalog__pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--gt-border);
  font-size: 14px;
}
.gt-catalog__pagination .current {
  background: var(--gt-red);
  border-color: var(--gt-red);
  color: #fff;
}

.gt-catalog__empty {
  padding: 40px;
  background: #fff;
  border-radius: var(--gt-radius);
  border: 1px solid var(--gt-border);
}

.gt-catalog-hero--compact {
  min-height: 180px;
}

.gt-catalog-hero--compact .gt-catalog-hero__inner {
  padding: 36px 0;
}

.gt-product-single {
  padding: 28px 0 72px;
  background: #f7f7f7;
  flex: 1;
}

.gt-product-single__top {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.25fr);
  gap: 28px;
  background: #fff;
  border: 1px solid var(--gt-border);
  border-radius: var(--gt-radius);
  padding: 28px;
  margin-bottom: 24px;
}

.gt-product-single__gallery {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: start;
}

.gt-product-single__gallery:not(:has(.gt-product-single__thumbs)) {
  grid-template-columns: 1fr;
}

.gt-product-single__thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gt-product-single__thumb {
  width: 72px;
  height: 72px;
  padding: 4px;
  border: 1px solid var(--gt-border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}

.gt-product-single__thumb.is-active,
.gt-product-single__thumb:hover {
  border-color: var(--gt-red);
}

.gt-product-single__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gt-product-single__media {
  background: #fff;
  border: 1px solid var(--gt-border);
  border-radius: var(--gt-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 0;
}

.gt-product-single__media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  object-position: center;
}

.gt-product-single__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.gt-product-single__cat {
  font-size: 13px;
  color: var(--gt-muted);
  margin-bottom: 6px;
}

.gt-product-single__title {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.gt-product-single__brand {
  color: var(--gt-grey);
  font-size: 14px;
}

.gt-product-single__brand--logo {
  margin-top: 8px;
}

.gt-product-single__brand--logo img {
  display: block;
  width: auto;
  height: 28px;
  max-width: 160px;
  object-fit: contain;
  object-position: left center;
}

.gt-product-single__sku {
  font-size: 13px;
  color: var(--gt-muted);
  white-space: nowrap;
  padding-top: 4px;
}

.gt-product-single__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 16px 0;
}

.gt-product-single__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gt-grey);
}

.gt-product-single__badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff5f5;
  color: var(--gt-red);
  flex-shrink: 0;
}

.gt-product-single__lead {
  margin: 0 0 18px;
  color: var(--gt-grey);
  line-height: 1.55;
  font-size: 15px;
}

.gt-product-single__chars {
  margin-bottom: 20px;
  border: 1px solid var(--gt-border);
  border-radius: var(--gt-radius);
  overflow: hidden;
}

.gt-product-single__chars table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.gt-product-single__chars th,
.gt-product-single__chars td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--gt-border);
}

.gt-product-single__chars tr:nth-child(odd) {
  background: #f7f7f7;
}

.gt-product-single__chars tr:last-child th,
.gt-product-single__chars tr:last-child td {
  border-bottom: 0;
}

.gt-product-single__chars th {
  width: 38%;
  color: var(--gt-muted);
  font-weight: 500;
}

.gt-product-single__chars td {
  color: var(--gt-black);
  font-weight: 600;
}

.gt-product-single__chars--wide th { width: 30%; }

.gt-product-single__desc {
  margin: 0 0 8px;
  line-height: 1.65;
  color: var(--gt-grey);
}

.gt-product-single__subtitle {
  margin: 0 0 14px;
  font-size: 18px;
}

.gt-product-single__table-wrap {
  overflow-x: auto;
  margin-bottom: 8px;
}

.gt-product-single__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.gt-product-single__table th,
.gt-product-single__table td {
  border: 1px solid var(--gt-border);
  padding: 10px 12px;
  text-align: left;
}

.gt-product-single__table th { background: #f5f5f5; }

.gt-product-single__cta {
  margin-top: 8px;
}

.gt-product-single__cta p {
  color: var(--gt-muted);
  margin: 0 0 12px;
}

.gt-product-single__back {
  display: inline-block;
  margin-left: 16px;
  color: var(--gt-red);
  font-weight: 600;
}

.gt-product-tabs {
  background: #fff;
  border: 1px solid var(--gt-border);
  border-radius: var(--gt-radius);
  margin-bottom: 36px;
  overflow: hidden;
}

.gt-product-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--gt-border);
  background: #fafafa;
}

.gt-product-tabs__btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 14px 20px;
  font: 600 14px/1.2 var(--gt-font);
  color: var(--gt-grey);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.gt-product-tabs__btn.is-active {
  color: var(--gt-red);
  border-bottom-color: var(--gt-red);
  background: #fff;
}

.gt-product-tabs__panel {
  padding: 24px 28px 28px;
}

.gt-product-tabs__panel[hidden] {
  display: none !important;
}

.gt-product-single__file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gt-product-single__file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--gt-border);
  background: #fff;
  max-width: 100%;
}

.gt-product-single__file:hover { border-color: var(--gt-red); }

.gt-product-single__file-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--gt-red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.gt-product-single__file-name {
  font-size: 13px;
  color: var(--gt-grey);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 280px;
}

.gt-product-single__empty {
  color: var(--gt-muted);
  margin: 0;
}

.gt-related {
  margin-top: 8px;
}

.gt-related .gt-section-title {
  margin-bottom: 18px;
}

.gt-related__grid {
  margin-top: 0;
}

@media (max-width: 1100px) {
  .gt-catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .gt-catalog__layout { grid-template-columns: 1fr; }
  .gt-catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gt-product-single__top { grid-template-columns: 1fr; }
  .gt-product-single__gallery { grid-template-columns: 1fr; }
  .gt-product-single__thumbs {
    flex-direction: row;
    order: 2;
  }
}

@media (max-width: 640px) {
  .gt-catalog__toolbar { flex-direction: column; align-items: flex-start; }
  .gt-catalog-search { flex-direction: column; }
  .gt-catalog__grid { grid-template-columns: 1fr; }
  .gt-product-single__head { flex-direction: column; }
  .gt-product-tabs__panel { padding: 18px 16px 22px; }
  .gt-product-single__back { display: block; margin: 14px 0 0; }
}
