/* Общие стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  scroll-behavior: smooth;
  font-family: "Montserrat", sans-serif;
}

 .page-main-wrapper {
  flex: 1 0 auto;
}

/* Топ-панель (контакты и соцсети) */
.topline {
  background-color: #1180FF;
  padding: 12px 0;
  color: white;
  font-family: Arial, sans-serif;
  width: 100%;
}

.topline__container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  box-sizing: border-box;
}

.topline__group {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.topline__text {
  font-size: 15px;
  line-height: 1.4;
  white-space: nowrap;
}

.topline__phone {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
  font-weight: 600;
}

.topline__phone:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.topline__socials {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topline__social-link {
  color: white;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.topline__social-link:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

@media (max-width: 992px) {
  .topline__group {
    gap: 20px;
  }

  .topline__socials {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .topline__container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 15px;
  }

  .topline__group {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .topline__text {
    white-space: normal;
    width: 100%;
  }

  .topline__socials {
    justify-content: center;
    margin-top: 10px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .topline__text {
    font-size: 14px;
  }

  .topline__phone {
    display: block;
    margin-top: 3px;
  }

  .topline__social-link {
    font-size: 18px;
  }
}

/* Шапка сайта (логотип, меню, телефон) */
.header {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: relative;
  width: 100%;
}

.header__container {
  max-width: 1340px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  flex: 0 0 auto;
  max-width: 250px;
}

.header__logo-img {
  max-width: 100%;
  height: auto;
  display: block;
}

.header__menu {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.header__menu-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.header__menu-item {
  padding: 5px 0;
}

.header__menu-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.header__menu-link:hover {
  color: #06c;
}

.header__phone {
  flex: 0 0 auto;
  text-align: right;
}

.header__phone-link {
  text-decoration: none;
  color: #333;
  font-size: 24px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.3s;
}

.header__phone-link:hover {
  color: #06c;
}

.header__burger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 5;
}

.header__burger span {
  position: absolute;
  background-color: #333;
  width: 100%;
  height: 2px;
  left: 0;
  top: 9px;
  transition: all 0.3s;
}

.header__burger::before,
.header__burger::after {
  content: '';
  background-color: #333;
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  transition: all 0.3s;
}

.header__burger::before {
  top: 0;
}

.header__burger::after {
  bottom: 0;
}

@media (max-width: 992px) {
  .header__menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: white;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 80px;
    transition: left 0.3s;
    z-index: 10;
  }

  .header__menu.active {
    left: 0;
  }

  .header__menu-list {
    flex-direction: column;
    padding: 0 20px;
    gap: 15px;
  }

  .header__burger {
    display: block;
    order: 1;
    z-index: 5;
  }

  .header__logo {
    order: 2;
    text-align: center;
    flex: 1;
  }

  .header__phone {
    order: 3;
    text-align: right;
  }

  .header__close-btn {
    display: none;
    position: absolute;
    top: 25px;
    right: 25px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 11;
  }

  .header__menu.active .header__close-btn {
    display: block;
  }

  .header__close-btn::before,
  .header__close-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #333;
  }

  .header__close-btn::before {
    transform: rotate(45deg);
  }

  .header__close-btn::after {
    transform: rotate(-45deg);
  }
}

@media (max-width: 576px) {
  .header__phone-link {
    font-size: 18px;
  }
}

/* Герой-секция (баннер с формой) */
.hero {
  position: relative;
  padding: 120px 0;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #2c3e50;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/3232.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(221, 221, 221, 0.801);
  z-index: 1;
}

.hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  align-items: center;
}

.hero__content {
  flex: 1 1 calc(50% - 80px);
  color: #fff;
  min-width: 500px;
}

.hero__title {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 90px;
  font-weight: 700;
  color: black;
}

.hero__text {
  font-size: 20px;
  color: rgba(29, 28, 28, 0.9);
  margin-top: 20px;
  margin-bottom: 30px;
  max-width: 90%;
  font-weight: 600;
}

.hero__form {
  flex: 0 1 450px;
  background-color: rgba(255, 255, 255, 0.527);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.form__field {
  margin-bottom: 20px;
}

.form__input {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  transition: border-color 0.3s;
}

.form__input:focus {
  border-color: #06f;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.2);
}

.form__agree {
  display: flex;
  align-items: flex-start;
  margin: 25px 0;
}

.form__checkbox {
  margin-right: 12px;
  margin-top: 3px;
}

.form__label {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}

.form__link {
  color: #06f;
  text-decoration: none;
  transition: color 0.2s;
}

.form__link:hover {
  color: #04c;
  text-decoration: underline;
}

.form__submit-wrap {
  text-align: center;
  margin-top: 10px;
}

.form__submit {
  display: inline-block;
  padding: 16px 50px;
  background-color: #06f;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 3px 10px rgba(0, 102, 255, 0.3);
}

.form__submit:hover {
  background-color: #05d;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 102, 255, 0.4);
}

.form__message {
  margin-top: 15px;
  font-size: 16px;
  text-align: center;
  line-height: 1.4;
}

.form__message.success {
  color: #28a745;
}

.form__message.error {
  color: #dc3545;
}

@keyframes zoomEffect {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}

@media (max-width: 1340px) {
  .hero__container {
    gap: 60px;
  }

  .hero__content {
    min-width: 400px;
  }
}

@media (max-width: 1200px) {
  .hero {
    padding: 100px 0;
    min-height: 600px;
  }

  .hero__title {
    font-size: 36px;
  }
}

@media (max-width: 992px) {
  .hero {
    background-attachment: scroll;
  }

  .hero::before {
    background-attachment: scroll;
    animation: none;
  }

  .hero__content {
    flex: 1 1 100%;
    min-width: auto;
    margin-bottom: 40px;
  }

  .hero__text {
    max-width: 100%;
  }

  .hero__form {
    flex: 1 1 100%;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 0;
    min-height: 500px;
  }

  .hero__title {
    font-size: 32px;
  }

  .hero__text {
    font-size: 18px;
  }

  .hero__form {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 60px 0;
    min-height: auto;
  }

  .hero__title {
    font-size: 28px;
    margin-top: 60px;
  }

  .hero__text {
    font-size: 18px;
    margin-top: 8px;
  }

  .hero__form {
    padding: 25px;
  }

  .form__submit {
    padding: 14px 40px;
    width: 100%;
    max-width: 250px;
  }
}

@media (max-width: 400px) {
  .hero__title {
    font-size: 24px;
  }

  .hero__text {
    font-size: 18px;
    margin-top: 80px;
  }

  .hero__form {
    padding: 20px;
  }

  .hero__container {
    padding: 0 15px;
  }
}

/* Секция "Места" */
.mesta {
  padding: 30px 15px;
  font-family: 'Arial', sans-serif;
  background-color: #fff;
  box-sizing: border-box;
  min-height: 600px;
}

.mesta__container {
  max-width: 1340px;
  margin: 0 auto;
  width: 100%;
  padding-bottom: 70px;
}

.mesta__title {
  text-align: center;
  font-size: 32px;
  margin: 0 0 40px 0;
  font-weight: 700;
  color: #222;
  position: relative;
  padding-top: 80px;
  padding-bottom: 12px;
}

.mesta__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 2px;
  background-color: #4CAF50;
}

.mesta__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  justify-items: center;
}

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

@media (max-width: 499px) {
  .mesta {
    padding: 20px 10px;
  }

  .mesta__title {
    font-size: 24px;
    margin-bottom: 30px;
    padding-bottom: 8px;
  }

  .mesta__title::after {
    width: 50px;
  }

  .mesta__grid {
    gap: 15px;
  }

  .mesta__image {
    width: calc(50vw - 30px);
    height: calc(50vw - 30px);
    max-width: 160px;
    max-height: 160px;
    min-width: 120px;
    min-height: 120px;
  }

  .mesta__text {
    font-size: 14px;
    margin-top: 10px;
  }
}

.mesta__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
  width: 100%;
}

.mesta__image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  object-fit: cover;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.mesta__text {
  margin-top: 15px;
  font-weight: 600;
  text-align: center;
  color: #444;
  font-size: 16px;
  line-height: 1.3;
  padding: 0 5px;
}

@media (hover: hover) {
  .mesta__item:hover {
    transform: scale(1.05);
  }

  .mesta__item:hover .mesta__image {
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mesta__item,
  .mesta__image {
    transition: none;
  }
}

@media (max-width: 499px) {
  .mesta {
    padding: 15px 8px;
  }

  .mesta__title {
    font-size: clamp(18px, 6vw, 24px);
    margin-bottom: 20px;
    padding-bottom: 6px;
  }

  .mesta__title::after {
    width: 40px;
    height: 1.5px;
  }

  .mesta__grid {
    gap: 10px;
  }

  .mesta__image {
    width: calc(50vw - 25px);
    height: calc(50vw - 25px);
    max-width: 140px;
    max-height: 140px;
    min-width: 80px;
    min-height: 80px;
    border-width: 0.8px;
  }

  .mesta__text {
    font-size: clamp(12px, 3.2vw, 14px);
    margin-top: 6px;
    line-height: 1.2;
    padding: 0 2px;
  }
}

@media (max-width: 363px) {
  .mesta__image {
    width: calc(50vw - 20px);
    height: calc(50vw - 20px);
    min-width: 70px;
    min-height: 70px;
  }

  .mesta__text {
    font-size: clamp(11px, 3vw, 12px);
  }

  .mesta__grid {
    gap: 8px;
  }
}

/* FAQ (часто задаваемые вопросы) */
.faq {
  padding: 40px 16px;
  background-color: #f8f9fa;
  font-family: 'Segoe UI', Roboto, sans-serif;
}

.faq__container {
  max-width: 1000px;
  margin: 0 auto;
}

.faq__title {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 32px 0;
  text-align: center;
  color: #2c3e50;
}

.accordion {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.accordion__item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.accordion__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.accordion__header:hover {
  background-color: #f5f7fa;
}

.accordion__question {
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  color: #2c3e50;
  margin: 0;
  padding-right: 16px;
}

.accordion__icon {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.accordion__icon::before,
.accordion__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background-color: #2c3e50;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.accordion__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion__content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion__answer {
  padding-bottom: 20px;
}

.accordion__answer p {
  margin: 0 0 16px 0;
  font-size: 16px;
  line-height: 1.5;
  color: #4a5568;
}

.accordion__answer ol,
.accordion__answer ul {
  margin: 0 0 16px 0;
  padding-left: 24px;
}

.accordion__answer li {
  margin-bottom: 8px;
  padding-left: 4px;
  line-height: 1.5;
  color: #4a5568;
}

.accordion__answer strong {
  font-weight: 600;
  color: #2c3e50;
}

.accordion__item.active {
  border-color: #d1d9e6;
}

.accordion__item.active .accordion__header {
  background-color: #f5f7fa;
}

.accordion__item.active .accordion__icon::after {
  transform: translate(-50%, -50%) rotate(0);
}

.accordion__item.active .accordion__content {
  max-height: 1000px;
  padding-top: 4px;
  padding-bottom: 16px;
}

@media (max-width: 600px) {
  .faq {
    padding: 32px 12px;
  }

  .faq__title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .accordion__header {
    padding: 14px 16px;
  }

  .accordion__question {
    font-size: 16px;
  }

  .accordion__content {
    padding: 0 16px;
  }

  .accordion__answer {
    padding-bottom: 16px;
  }

  .accordion__answer p,
  .accordion__answer ol,
  .accordion__answer ul {
    margin-bottom: 12px;
    font-size: 15px;
  }

  .accordion__answer li {
    margin-bottom: 6px;
  }
}

/* Производители кондиционеров */
.conditioners {
  min-height: 350px;
  padding: 40px 20px;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
}

.conditioners__container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

.conditioners__title {
  font-size: 28px;
  margin-bottom: 30px;
  text-align: center;
  color: #333;
}

.conditioners__brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
}

.conditioners__logo {
  max-width: 150px;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.conditioners__logo:hover {
  filter: grayscale(0%);
}

@media (max-width: 768px) {
  .conditioners__brands {
    gap: 15px;
    justify-content: center;
  }

  .conditioners__logo {
    max-width: 120px;
  }

  .conditioners__title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .conditioners {
    padding: 30px 15px;
    min-height: 300px;
  }

  .conditioners__container {
    padding: 0 10px;
  }

  .conditioners__logo {
    max-width: 80px;
  }

  .conditioners__title {
    font-size: 20px;
    margin-bottom: 20px;
  }
}

/* Подвал */
.footer {
  flex-shrink: 0;
  background-color: #222;
  padding: 50px 0 30px;
  font-family: 'Arial', sans-serif;
  color: #ccc;
}

.footer__container {
  max-width: 1340px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.footer__columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer__column {
  flex: 1;
  min-width: 200px;
  margin-bottom: 25px;
  padding: 0 15px;
  box-sizing: border-box;
}

.footer__logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 20px;
  display: block;
}

.footer__description {
  color: #aaa;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer__copyright {
  color: #777;
  font-size: 12px;
}

.footer__social-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #eee;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer__social-list {
  display: flex;
  gap: 15px;
}

.footer__social-link {
  color: #aaa;
  font-size: 20px;
  transition: all 0.3s ease;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__social-link:hover {
  color: #fff;
  background: #444;
  transform: translateY(-2px);
}

.footer__contacts-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #eee;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer__contact-item {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.footer__contact-link {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.footer__contact-link:hover {
  color: #fff;
}

.footer__contact-icon {
  margin-right: 12px;
  font-size: 16px;
  color: #777;
  min-width: 20px;
  text-align: center;
}

.footer__bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer__copyright-bottom {
  color: #666;
  font-size: 12px;
}

.footer__counter {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
}

.yandex-metrika {
  width: 88px;
  height: 31px;
  background-color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 10px;
  border-radius: 3px;
}

@media (max-width: 900px) {
  .footer__column {
    flex: 0 0 50%;
  }

  .footer__column--empty {
    display: none;
  }
}

@media (max-width: 600px) {
  .footer__column {
    flex: 0 0 100%;
    text-align: center;
    padding: 0 10px 20px;
  }

  .footer__social-list {
    justify-content: center;
  }

  .footer__contact-item {
    justify-content: center;
  }

  .footer__logo {
    margin-left: auto;
    margin-right: auto;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer__counter {
    justify-content: center;
    width: 100%;
  }
}

/* Списки */
ul {
  list-style-type: disc;
  margin: 1em 0;
  padding-left: 40px;
}

ol {
  list-style-type: decimal;
  margin: 1em 0;
  padding-left: 40px;
}

dl {
  margin: 1em 0;
}

dt {
  font-weight: 700;
}

dd {
  margin-left: 20px;
  margin-bottom: 10px;
}

/* Как мы работаем */
.work-steps {
  padding: 40px 20px;
  font-family: 'Arial', sans-serif;
  max-width: 1000px;
  margin: 0 auto;
}

.work-steps__title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #333;
}

.steps-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.step__header {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 15px 20px;
  background: white;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s;
}

.step__header:hover {
  background-color: #f5f5f5;
}

.step__header[aria-expanded="true"] {
  background-color: #f0f4ff;
}

.step__header[aria-expanded="true"] .step__icon {
  transform: rotate(180deg);
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: #4a6bff;
  border-radius: 50%;
  color: white;
  font-weight: 700;
  font-size: 14px;
  margin-right: 15px;
  flex-shrink: 0;
}

.step__title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-right: auto;
}

.step__icon {
  width: 20px;
  height: 20px;
  margin-left: 10px;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.step__content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: white;
}

.step__content p {
  margin: 0;
  padding: 0 0 20px;
  color: #555;
  line-height: 1.5;
  font-size: 14px;
}

.step__header[aria-expanded="true"] + .step__content {
  max-height: 500px;
  padding: 0 20px 10px;
}

@media (max-width: 768px) {
  .work-steps {
    padding: 30px 15px;
  }

  .work-steps__title {
    font-size: 24px;
  }

  .step__header {
    padding: 12px 15px;
  }

  .step__title {
    font-size: 15px;
  }

  .step__content p {
    font-size: 13px;
  }
}

/* Как заказать */
.how-to-order {
  min-height: 550px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.how-to-order-container {
  max-width: 1000px;
  width: 100%;
  padding: 40px;
}

.how-to-order-title {
  font-size: 28px;
  margin-bottom: 25px;
  color: #333;
  text-align: center;
}

.how-to-order-steps {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  padding-left: 20px;
}

.how-to-order-steps li {
  margin-bottom: 15px;
}

.how-to-order-note {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

/* Галерея */
.gallery-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.gallery-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #333;
  font-weight: 600;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.gallery-item {
  width: calc(33.333% - 10px);
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gallery-item img:hover {
  transform: scale(1.03);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Прайс */
.price {
  background-color: #f9f9f9;
  padding: 40px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin: 30px auto;
}

.price__title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #222;
}

.price__container {
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.price-table th,
.price-table td {
  padding: 14px 20px;
  text-align: left;
  border: 1px solid #e0e0e0;
}

.price-table th {
  background-color: #2c3e50;
  color: white;
  font-weight: 600;
}

.price-table tr:nth-child(even) {
  background-color: #f5f7fa;
}

.price-table tr:hover {
  background-color: #ebf5ff;
}

@media (max-width: 768px) {
  .price {
    padding: 25px 15px;
  }

  .price__title {
    font-size: 24px;
  }

  .price-table {
    display: block;
    border: 0;
  }

  .price-table thead {
    display: none;
  }

  .price-table tr {
    display: block;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
  }

  .price-table td {
    display: block;
    text-align: right;
    padding-left: 50%;
    position: relative;
    border-bottom: 1px solid #eee;
  }

  .price-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 20px;
    width: 45%;
    text-align: left;
    font-weight: 700;
    color: #2c3e50;
  }
}

/* Другие секции */
.other1 {
  padding: 60px 0;
}

.other1__container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.other1__column {
  flex: 1;
  min-width: 0;
}

.other1__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

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

.other1__item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.5;
  color: #444;
}

.other1__item:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #007bff;
  font-size: 20px;
}

.other1__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

@media (max-width: 991px) {
  .other1 {
    padding: 40px 0;
  }

  .other1__container {
    flex-direction: column;
    gap: 30px;
  }

  .other1__title {
    font-size: 20px;
  }

  .other1__item {
    font-size: 15px;
    margin-bottom: 12px;
  }
}

@media (max-width: 767px) {
  .other1 {
    padding: 30px 0;
  }

  .other1__container {
    padding: 0 15px;
  }

  .other1__title {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .other1__item {
    font-size: 14px;
    margin-bottom: 10px;
  }
}

/* Политика конфиденциальности */
.privacy {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  background-color: #f5f5f5;
  min-height: 100vh;
}

.privacy__container {
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.privacy__title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  line-height: 1.2;
  text-align: center;
}

.privacy__content {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

.privacy__content p {
  margin-bottom: 20px;
}

.privacy__content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .privacy {
    padding: 30px 15px;
  }

  .privacy__title {
    font-size: 24px;
  }

  .privacy__content {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .privacy {
    padding: 20px 10px;
  }

  .privacy__title {
    font-size: 20px;
  }

  .privacy__content {
    font-size: 13px;
  }

  .privacy__content p {
    margin-bottom: 15px;
  }

  .privacy__content ul {
    margin-bottom: 15px;
    padding-left: 15px;
  }
}

/* Кнопка обратного звонка */
.callback-btn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #00cc66, #00b359);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 204, 102, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse 2s infinite ease-in-out;
}

.callback-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 25px rgba(0, 204, 102, 0.5), 0 3px 10px rgba(0, 0, 0, 0.25);
}

.callback-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.callback-btn__icon svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 6px 20px rgba(0, 204, 102, 0.4);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(0, 204, 102, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 6px 20px rgba(0, 204, 102, 0.4);
  }
}

.callback-form {
  position: fixed;
  bottom: 120px;
  right: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 999;
  overflow: hidden;
}

.callback-form.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.callback-form__inner {
  padding: 25px;
  max-width: 320px;
  width: 100%;
}

.callback-form__title {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.4;
}

.callback-form__field {
  margin-bottom: 20px;
}

.callback-form__input {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #f9f9f9;
  font-family: monospace;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.callback-form__input:focus {
  border-color: #0c6;
  box-shadow: 0 0 0 3px rgba(0, 204, 102, 0.15);
  outline: none;
  background: #fff;
}

.callback-form__submit-wrap {
  text-align: center;
}

.callback-form__submit {
  display: inline-block;
  padding: 14px 50px;
  background: linear-gradient(135deg, #00cc66, #00b359);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 204, 102, 0.3);
}

.callback-form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 204, 102, 0.5);
  background: linear-gradient(135deg, #00b359, #00994d);
}

.callback-form__submit:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 204, 102, 0.3);
}

.callback-form__message {
  margin-top: 15px;
  font-size: 15px;
  text-align: center;
  line-height: 1.4;
}

.callback-form__message.success {
  color: #28a745;
}

.callback-form__message.error {
  color: #dc3545;
}

@media (max-width: 768px) {
  .callback-btn {
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
  }

  .callback-btn__icon svg {
    width: 24px;
    height: 24px;
  }

  .callback-form {
    bottom: 100px;
    right: 30px;
  }

  .callback-form__inner {
    padding: 20px;
    max-width: 280px;
  }

  .callback-form__title {
    font-size: 18px;
  }

  .callback-form__input {
    padding: 12px 15px;
    font-size: 15px;
  }

  .callback-form__submit {
    padding: 12px 40px;
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .callback-btn {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .callback-btn__icon svg {
    width: 20px;
    height: 20px;
  }

  .callback-form {
    bottom: 80px;
    right: 20px;
  }

  .callback-form__inner {
    padding: 15px;
    max-width: 250px;
  }

  .callback-form__title {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .callback-form__input {
    padding: 10px 12px;
    font-size: 14px;
  }

  .callback-form__submit {
    padding: 10px 30px;
    font-size: 14px;
  }

  .callback-form__message {
    font-size: 13px;
  }
}

/* Бренды */
.brands {
  padding: 40px 0;
  min-height: 550px;
}

.brands__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.brands__title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 30px;
  color: #333;
}

.brands__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.brands__item {
  flex: 0 1 calc(25% - 15px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brands__card {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.brands__card:hover {
  transform: scale(1.05);
}

.brands__logo {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 100px;
  height: auto;
  object-fit: contain;
}

.brands__caption {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 400;
  color: #333;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}

.brands__caption:hover {
  color: #007bff;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal__content {
  background: #fff;
  max-width: 600px;
  width: 90%;
  padding: 30px;
  position: relative;
  border-radius: 8px;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  box-sizing: border-box;
  max-height: 90vh;
  overflow-y: auto;
}

.modal.active .modal__content {
  transform: translateY(0);
  opacity: 1;
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  border: none;
  background: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__title {
  margin: 0 0 20px;
  font-size: 24px;
}

.modal__text {
  margin: 0;
  line-height: 1.5;
  font-size: 16px;
}

@media (max-width: 991px) {
  .brands__item {
    flex: 0 1 calc(50% - 10px);
  }

  .brands__card {
    height: 250px;
  }

  .brands__logo {
    max-width: 80px;
    bottom: 6px;
  }

  .brands__caption {
    font-size: 14px;
    margin-top: 8px;
    margin-bottom: 8px;
    text-underline-offset: 2.5px;
  }

  .brands__title {
    font-size: 28px;
    margin-bottom: 25px;
  }
}

@media (max-width: 767px) {
  .brands__item {
    flex: 0 1 calc(50% - 10px);
  }

  .brands__card {
    height: 200px;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .brands__logo {
    max-width: 60px;
    bottom: 5px;
  }

  .brands__caption {
    font-size: 12px;
    margin-top: 6px;
    margin-bottom: 6px;
    text-underline-offset: 2px;
  }

  .brands__title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .modal__content {
    width: 95%;
    padding: 20px;
    max-height: 85vh;
    border-radius: 4px;
  }

  .modal__title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .modal__text {
    font-size: 14px;
    line-height: 1.4;
  }

  .modal__close {
    font-size: 20px;
    width: 36px;
    height: 36px;
  }
}

/* Страница */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page__container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
}

.page__header {
  padding: 20px 0;
  margin-bottom: 30px;
}

.page__title {
  font-size: 2rem;
  color: #333;
  text-align: left;
}

.page__content {
  background: #fff;
  padding: 30px;
  border-radius: 5px;
}

/* Производители */
.manufacturers {
  padding: 50px 0;
  background-color: #fff;
}

.manufacturers__container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 15px;
  height: auto;
  margin-bottom: 50px;
}

.manufacturers__title {
  font-size: 36px;
  font-weight: 600;
  text-align: left;
  color: #1a1a1a;
  margin-bottom: 70px;
}

.manufacturers__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.manufacturer-card {
  flex: 0 1 calc(20% - 16px);
  min-width: 180px;
  height: 200px;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.manufacturer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.manufacturer-card__image-wrapper {
  width: 100%;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

.manufacturer-card__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.manufacturer-card__catalog {
  display: block;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  padding: 10px 0;
  background-color: #f9f9f9;
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.manufacturer-card__catalog:hover {
  color: #007bff;
  background-color: #e0e0e0;
}

@media (max-width: 900px) {
  .manufacturer-card {
    flex: 0 1 calc(50% - 10px);
  }
}

@media (max-width: 600px) {
  .manufacturer-card {
    flex: 0 1 calc(50% - 10px);
    min-width: 150px;
    height: 150px;
  }

  .manufacturer-card__image-wrapper {
    height: 75%;
  }

  .manufacturer-card__catalog {
    font-size: 14px;
    padding: 8px 0;
  }

  .manufacturers__title {
    font-size: 28px;
  }
}

/* Прайс на товар */
.product-price {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.product-price__card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  padding: 30px;
}

.product-price__title {
  font-size: 32px;
  font-weight: 700;
  color: #222;
  margin-bottom: 30px;
  text-align: center;
}

.product-price__content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.product-price__image-wrapper {
  flex: 1 1 400px;
  max-width: 100%;
}

.product-price__gallery {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.product-price__main-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.product-price__thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.product-price__thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.3s;
  border: 2px solid transparent;
}

.product-price__thumbnail.active,
.product-price__thumbnail:hover {
  border-color: #4CAF50;
  opacity: 0.8;
}

.product-price__info {
  flex: 1 1 500px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-price__subtitle {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin: 10px 0;
}

.product-price__label {
  font-weight: 600;
  color: #555;
  margin-right: 8px;
}

.product-price__value {
  color: #222;
}

.product-price__text {
  line-height: 1.6;
  color: #444;
}

.product-price__features-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.product-price__feature-item {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}

.product-price__feature-item:before {
  content: "•";
  color: #4CAF50;
  font-weight: 700;
  display: inline-block;
  width: 20px;
}

.product-price__action {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.product-price__price {
  font-size: 24px;
}

.product-price__price .product-price__value {
  font-weight: 700;
  color: #d32f2f;
}

.product-price__button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-weight: 600;
}

.product-price__button:hover {
  background-color: #388E3C;
}

@media (max-width: 768px) {
  .product-price__content {
    flex-direction: column;
    gap: 30px;
  }

  .product-price__title {
    font-size: 28px;
  }

  .product-price__action {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-price__main-image {
    max-height: 300px;
  }

  .product-price__thumbnail {
    width: 60px;
    height: 60px;
  }
}

/* Категория товаров */
.category1 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.category1__title {
  font-size: 32px;
  font-weight: 700;
  color: #222;
  margin-bottom: 40px;
  text-align: center;
}

.category1__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.product-card__image-wrapper {
  position: relative;
  padding-top: 75%;
  overflow: hidden;
}

.product-card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__image {
  transform: scale(1.03);
}

.product-card__content {
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card__header {
  margin-bottom: 15px;
}

.product-card__title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 10px;
  line-height: 1.4;
}

.product-card__desc {
  font-size: 14px;
  color: #666;
  margin: 0 0 20px;
  line-height: 1.5;
  flex-grow: 1;
}

.product-card__price {
  font-size: 20px;
  font-weight: 700;
  color: #d32f2f;
  margin: 15px 0 20px;
}

.product-card__footer {
  margin-top: auto;
}

.product-card__button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #4CAF50;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 15px;
}

.product-card__button:hover {
  background-color: #388E3C;
}

.category1__pagination {
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .category1__grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .category1__title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .product-card__content {
    padding: 20px 15px;
  }

  .product-card__button {
    padding: 10px 20px;
  }
}
 /* ==========================================================================
   Страница продукта (Полная версия)
   ========================================================================== */

.page-product {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #333;
  line-height: 1.6;
  padding: 40px 0;
  background-color: #f8f9fa;
}

.page-product__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-product__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #1a1a1a;
  text-align: center;
}

/* ==========================================================================
   ГЛАВНЫЙ БЛОК: Галерея и Инфо
   ========================================================================== */

.page-product__main {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.page-product__gallery-wrapper {
  flex: 1;
  min-width: 320px;
}

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

.page-product__gallery-main {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  background: #fff;
}

.page-product__gallery-main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.page-product__gallery-main-image:hover {
  transform: scale(1.05);
}

.page-product__gallery-thumbnails {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 10px 0;
}

.page-product__gallery-thumbnail {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: #fff;
}

.page-product__gallery-thumbnail.active,
.page-product__gallery-thumbnail:hover {
  border-color: #007bff;
}

.page-product__gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

/* ==========================================================================
   ИНФОРМАЦИОННАЯ ПАНЕЛЬ (Краткое описание)
   ========================================================================== */

.page-product__info {
  flex: 1;
  min-width: 320px;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-product__manufacturer {
  color: #888;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1.2px;
  margin-bottom: 5px;
  display: block;
}

.page-product__series {
  font-size: 1rem;
  color: #495057;
  margin-bottom: 15px;
  display: block;
  font-weight: 500;
}

/* Краткое описание: Текст меньше, отступы плотнее */
.page-product__description {
  margin-bottom: 20px;
  font-size: 0.95rem; /* Уменьшен размер текста */
  line-height: 1.5;   /* Более плотный межстрочный интервал */
  color: #555;
}

.page-product__description p {
  margin-bottom: 8px; /* Уменьшен отступ между абзацами */
}

.page-product__description ul, 
.page-product__description ol {
  list-style: none;
  padding: 0;
  margin: 10px 0; /* Уменьшен внешний отступ списка */
}

.page-product__description li {
  padding: 2px 0; /* Минимальный отступ между пунктами характеристик */
  display: flex;
  align-items: baseline;
  border: none; /* Убраны разделительные линии для чистоты списка */
}

.page-product__description li b, 
.page-product__description li strong {
  color: #333;
  font-weight: 600;
  margin-right: 6px;
}

/* Цена и кнопка */
.page-product__footer {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.page-product__price {
  font-size: 1.8rem;
  font-weight: 800;
  color: #e44d26;
}

.page-product__button {
  display: inline-block;
  padding: 12px 28px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.page-product__button:hover {
  background-color: #0056b3;
  transform: translateY(-1px);
}

/* ==========================================================================
   ВКЛАДКИ (ТАБЫ)
   ========================================================================== */

.page-product__tabs {
  margin-bottom: 40px;
}

.page-product__tabs-nav {
  display: flex;
  border-bottom: 2px solid #e9ecef;
}

.page-product__tab-button {
  padding: 15px 25px;
  font-size: 1rem;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  color: #6c757d;
  position: relative;
  transition: color 0.3s ease;
}

.page-product__tab-button--active {
  color: #007bff;
}

.page-product__tab-button--active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #007bff;
}

.page-product__tab-content {
  background: #fff;
  padding: 40px;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: none;
}

.page-product__tab-content--active {
  display: block;
}

.page-product__specs-table {
  width: 100%;
  border-collapse: collapse;
}

.page-product__specs-table tr:nth-child(even) {
  background-color: #fafafa;
}

.page-product__specs-table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
}

.page-product__specs-table td:first-child {
  font-weight: 500;
  color: #888;
  width: 40%;
  position: relative;
  overflow: hidden;
}

.page-product__specs-table td:first-child::after {
  content: "....................................................................................................";
  position: absolute;
  margin-left: 8px;
  color: #ddd;
}

.page-product__specs-table td:last-child {
  font-weight: 600;
  color: #1a1a1a;
  background: inherit;
  position: relative;
  z-index: 1;
  padding-left: 15px;
}

.page-product__tab-content ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  list-style: none;
}

.page-product__tab-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: #007bff;
  border-radius: 50%;
}

/* ==========================================================================
   АДАПТИВНОСТЬ
   ========================================================================== */

@media (max-width: 768px) {
  .page-product__main { flex-direction: column; }
  .page-product__title { font-size: 1.8rem; }
}

@media (max-width: 600px) {
  .page-product__specs-table td {
    display: block;
    width: 100% !important;
    padding: 8px 0;
    border: none;
  }
  .page-product__specs-table td:first-child::after { display: none; }
  .page-product__specs-table td:last-child {
    padding-left: 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
  }
}

.page-product__legal-notice {
  font-size: 0.85rem;
  color: #999;
  text-align: center;
  margin-top: 30px;
  padding: 20px;
}
/* Производители (альтернативная секция) */
.manufacturer {
  padding: 60px 0;
}

.manufacturer__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.manufacturer__title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  color: #333;
  font-weight: 600;
}

.manufacturer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.manufacturer__card {
  height: 160px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.manufacturer__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
  .manufacturer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .manufacturer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .manufacturer__card {
    height: 140px;
  }
}

@media (max-width: 480px) {
  .manufacturer {
    padding: 40px 0;
  }

  .manufacturer__title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .manufacturer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .manufacturer__card {
    height: 120px;
  }
}

 /* ==========================================================================
   Каталог товаров (Category Shop)
   ========================================================================== */

.products {
  padding: 60px 0;
  background: #f8fafc;
}

.products__container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.products__title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: #1a1a1a;
}

/* Фильтр */
.products__filter {
  margin-bottom: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 20px;
}

.products__filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.products__filter-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
}

.products__filter-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  padding: 12px 0;
}

.products__filter-checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 1rem;
  color: #333;
  position: relative;
  padding-left: 34px;
  min-height: 24px;
  transition: color 0.2s ease;
}

.products__filter-checkbox-label:hover {
  color: #1976d2;
}

.products__filter-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 0;
  height: 0;
}

.products__filter-checkbox-custom {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: 2px solid #b0bec5;
  border-radius: 6px;
  background: #fff;
  transition: all 0.3s ease;
}

.products__filter-checkbox:checked + .products__filter-checkbox-custom {
  background: #1976d2;
  border-color: #1976d2;
}

.products__filter-checkbox:checked + .products__filter-checkbox-custom::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.products__filter-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.products__filter-submit {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  background: #1976d2;
  color: #fff;
  border: none;
  transition: all 0.3s ease;
}

.products__filter-submit:hover {
  background: #1565c0;
}

.products__filter-reset {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.95rem;
  background: #f5f5f5;
  color: #333;
  border: 1px solid #d1d5db;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}

/* Сетка товаров */
.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.products__card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.products__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.products__card-link {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-decoration: none;
  color: inherit;
}

.products__card-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 66.67%;
  margin-bottom: 16px;
}

.products__card-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.products__card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.4;
}

/* НОВОЕ: Стили для Серии и Площади */
.products__card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.products__card-series, 
.products__card-area {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.products__card-series {
  background: #f1f5f9;
  color: #4b5563;
}

.products__card-area {
  background: #eff6ff; /* Легкий синий фон */
  border-color: #dbeafe;
  color: #1976d2; /* Синий текст */
  font-weight: 500;
}

.products__card-meta strong {
  margin-right: 4px;
  color: #1a1a1a;
}

/* Детали: Цена и Описание */
.products__card-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 12px;
}

.products__card-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #d32f2f;
}

.products__card-description {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 10px;
  /* Убираем жесткое ограничение строк, так как в редакторе может быть список или таблица */
  display: block; 
}

/* Стили для контента из редактора (списки, параграфы) */
.products__card-description p { margin-bottom: 8px; }
.products__card-description ul { padding-left: 18px; margin-bottom: 8px; }

.products__card-button {
  margin-top: auto;
  padding: 12px;
  background: #1976d2;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.products__card-button:hover {
  background: #1565c0;
}

/* Пагинация */
.products__pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.products__pagination .page-numbers {
  padding: 10px 16px;
  margin: 0 6px;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  color: #1a1a1a;
  text-decoration: none;
  transition: all 0.3s ease;
}

.products__pagination .page-numbers.current {
  background: #1976d2;
  color: #fff;
  border-color: #1976d2;
}

/* Адаптивность */
@media (max-width: 768px) {
  .products__filter-toggle { display: block; }
  .products__filter-checkboxes { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  .products__filter[aria-expanded="false"] .products__filter-checkboxes { display: none; }
}

@media (max-width: 576px) {
  .products__title { font-size: 2rem; }
  .products__grid { justify-content: center; }
  .products__card { max-width: 340px; }
}
.preimeshestvo__container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
}

.preimeshestvo__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
}

.preimeshestvo__image {
  width: 650px;
  height: 650px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  border: 2px solid #e6e8eb;
}

.preimeshestvo__text-block {
  flex: 1;
}

.preimeshestvo__title {
  font-size: 36px;
  font-weight: 700;
  color: #1f2a44;
  margin-bottom: 30px;
  line-height: 1;
  letter-spacing: 0.8px;
}

.preimeshestvo__text {
  font-size: 20px;
  line-height: 1.2;
  color: #2d3748;
  margin-bottom: 25px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.preimeshestvo__list {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.preimeshestvo__list-item {
  font-size: 20px;
  line-height: 1.2;
  color: #2d3748;
  position: relative;
  padding-left: 40px;
  margin-bottom: 15px;
  font-weight: 400;
}

.preimeshestvo__list-item--cross svg,
.preimeshestvo__list-item--check svg {
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
}

.preimeshestvo__list-item--cross::before,
.preimeshestvo__list-item--check::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
}

.preimeshestvo__list-item--cross::before {
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 6L18 18M18 6L6 18" stroke="%23ff4d4f" stroke-width="2" stroke-linecap="round"/></svg>');
}

.preimeshestvo__list-item--check::before {
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5 13L9 17L19 7" stroke="%232ecc71" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

.preimeshestvo__highlight {
  font-size: 22px;
  font-weight: 600;
  color: #1f2a44;
  margin-top: 30px;
  line-height: 1.1;
  letter-spacing: 0.4px;
}

/* Подарочный сертификат */
.gift-certificate {
  padding: 80px 20px;
  background-color: #f8fafc;
  font-family: 'Roboto', sans-serif;
}

.gift-certificate__container {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
}

.gift-certificate__text-block {
  flex: 1;
}

.gift-certificate__title {
  font-size: 36px;
  font-weight: 700;
  color: #1f2a44;
  margin-bottom: 30px;
  line-height: 1;
  letter-spacing: 0.8px;
}

.gift-certificate__text {
  font-size: 20px;
  line-height: 1.2;
  color: #2d3748;
  margin-bottom: 25px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.gift-certificate__list {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.gift-certificate__list-item {
  font-size: 20px;
  line-height: 1.2;
  color: #2d3748;
  position: relative;
  padding-left: 40px;
  margin-bottom: 15px;
  font-weight: 400;
}

.gift-certificate__list-item--check svg {
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
}

.gift-certificate__list-item--check::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5 13L9 17L19 7" stroke="%232ecc71" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
}

.gift-certificate__highlight {
  font-size: 22px;
  font-weight: 600;
  color: #1f2a44;
  margin-top: 30px;
  margin-bottom: 25px;
  line-height: 1.1;
  letter-spacing: 0.4px;
}

.gift-certificate__buttons {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.gift-certificate__button {
  display: inline-flex;
  align-items: center;
  padding: 24px 48px;
  font-size: 32px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  border-radius: 16px;
  transition: background-color 0.3s ease;
}

.gift-certificate__button--call {
  background-color: #1f2a44;
}

.gift-certificate__button--call:hover {
  background-color: #2d3748;
}

.gift-certificate__button--whatsapp {
  background-color: #25d366;
}

.gift-certificate__button--whatsapp:hover {
  background-color: #20b858;
}

.gift-certificate__button i {
  margin-right: 16px;
  font-size: 40px;
}

.gift-certificate__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
}

.gift-certificate__image {
  width: 650px;
  height: 650px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  border: 2px solid #e6e8eb;
}

@media (max-width: 768px) {
  .preimeshestvo {
    padding: 60px 15px;
  }

  .preimeshestvo__container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .preimeshestvo__image-block,
  .preimeshestvo__text-block {
    flex: none;
    width: 100%;
  }

  .preimeshestvo__image {
    width: 350px;
    height: 350px;
  }

  .preimeshestvo__title {
    font-size: 30px;
    line-height: 1;
    margin-bottom: 20px;
  }

  .preimeshestvo__text,
  .preimeshestvo__list-item {
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .preimeshestvo__highlight {
    font-size: 20px;
    line-height: 1.1;
  }
}

@media (max-width: 480px) {
  .preimeshestvo {
    padding: 40px 10px;
  }

  .preimeshestvo__image {
    width: 200px;
    height: 200px;
  }

  .preimeshestvo__title {
    font-size: 26px;
    line-height: 1;
  }

  .preimeshestvo__text,
  .preimeshestvo__list-item {
    font-size: 16px;
    line-height: 1.2;
  }

  .preimeshestvo__highlight {
    font-size: 18px;
    line-height: 1.1;
  }
}

@media (max-width: 768px) {
  .gift-certificate {
    padding: 60px 15px;
    margin-top: 40px;
  }

  .gift-certificate__container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .gift-certificate__text-block,
  .gift-certificate__image-block {
    flex: none;
    width: 100%;
  }

  .gift-certificate__image {
    width: 350px;
    height: 350px;
  }

  .gift-certificate__title {
    font-size: 30px;
    line-height: 1;
    margin-bottom: 20px;
  }

  .gift-certificate__text,
  .gift-certificate__list-item {
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .gift-certificate__highlight {
    font-size: 20px;
    line-height: 1.1;
  }

  .gift-certificate__buttons {
    justify-content: center;
    gap: 20px;
  }

  .gift-certificate__button {
    padding: 20px 40px;
    font-size: 24px;
    border-radius: 12px;
  }

  .gift-certificate__button i {
    margin-right: 12px;
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .gift-certificate {
    padding: 40px 10px;
    margin-top: 30px;
  }

  .gift-certificate__image {
    width: 200px;
    height: 200px;
  }

  .gift-certificate__title {
    font-size: 26px;
    line-height: 1;
  }

  .gift-certificate__text,
  .gift-certificate__list-item {
    font-size: 16px;
    line-height: 1.2;
  }

  .gift-certificate__highlight {
    font-size: 18px;
    line-height: 1.1;
  }

  .gift-certificate__button {
    padding: 16px 32px;
    font-size: 20px;
    border-radius: 10px;
  }

  .gift-certificate__button i {
    margin-right: 10px;
    font-size: 28px;
  }
}

/* Галерея 55 */
.gallery55 {
  padding: 40px 0;
}

.gallery55__title {
  font-size: 36px;
  line-height: 1.2;
  text-align: center;
  margin: 0 0 40px 0;
  font-weight: 700;
}

.gallery55__container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Монтаж */
.montazh {
  padding: 40px 20px;
  background-color: #f5f5f5;
}

.montazh__container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.montazh__item {
  flex: 1 1 300px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.montazh__image {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.montazh__image:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.montazh__title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 20px;
  color: #333;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.montazh__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: linear-gradient(135deg, #007bff 0%, #00b7eb 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 48px;
  width: 100%;
  max-width: 200px;
}

.montazh__button:hover {
  background: linear-gradient(135deg, #0056b3 0%, #0099cc 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
}

.montazh__button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.montazh__button:hover::after {
  width: 200px;
  height: 200px;
}

@media (max-width: 768px) {
  .montazh__container {
    gap: 30px;
  }

  .montazh__image {
    width: 200px;
    height: 200px;
  }

  .montazh__title {
    font-size: 20px;
    min-height: 50px;
  }

  .montazh__button {
    padding: 10px 20px;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    min-height: 40px;
    max-width: 180px;
  }
}

@media (max-width: 500px) {
  .montazh {
    padding: 20px 10px;
  }

  .montazh__container {
    gap: 20px;
  }

  .montazh__item {
    flex: 1 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }

  .montazh__image {
    width: 120px;
    height: 120px;
  }

  .montazh__title {
    font-size: 16px;
    min-height: 40px;
  }

  .montazh__button {
    padding: 8px 16px;
    font-size: 12px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    min-height: 36px;
    max-width: 120px;
  }
}

@media (max-width: 360px) {
  .montazh__image {
    width: 100px;
    height: 100px;
  }

  .montazh__title {
    font-size: 14px;
    min-height: 36px;
  }

  .montazh__button {
    padding: 6px 12px;
    font-size: 11px;
    min-height: 32px;
    max-width: 100px;
  }
}

 /* ==========================================================================
   1. ОБЩАЯ СТРУКТУРА СЕКЦИИ
   ========================================================================== */
.category-manuf {
  padding: 3.5rem 0;
  background-color: #f8fafc;
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  color: #1e293b;
}

.category-manuf__container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  gap: 2rem;
}

/* ==========================================================================
   2. САЙДБАР (ФИЛЬТРЫ)
   ========================================================================== */
.category-manuf__sidebar {
  flex: 0 0 280px;
  position: sticky;
  top: 1.5rem;
  height: fit-content;
}

.category-manuf__sidebar-inner {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.category-manuf__sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #0f172a;
}

.category-manuf__filter-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background-color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.1em;
  transition: border-color 0.2s;
}

.category-manuf__filter-select:focus {
  outline: none;
  border-color: #2563eb;
}

/* ==========================================================================
   3. СЕТКА ТОВАРОВ
   ========================================================================== */
.category-manuf__content {
  flex: 1;
}

.category-manuf__title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: #0f172a;
}

.category-manuf__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* ==========================================================================
   4. КАРТОЧКА ТОВАРА
   ========================================================================== */
.category-manuf__card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  height: 100%; /* Чтобы все карточки в ряду были одной высоты */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.category-manuf__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: #bfdbfe;
}

.category-manuf__card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* --- Изображение (Видно полностью) --- */
.category-manuf__card-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%; /* Соотношение сторон 4:3 */
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

.category-manuf__card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* Картинка вписывается полностью */
  padding: 1.25rem; /* Отступы, чтобы товар не касался краев */
}

/* --- Контент карточки --- */
.category-manuf__card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Растягивает блок контента */
}

/* Заголовок (Без обрезки) */
.category-manuf__card-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  color: #0f172a;
  margin-bottom: 1rem;
  display: block; /* Позволяет тексту занимать любое кол-во строк */
}

/* Теги (Серия + Площадь м2) */
.category-manuf__card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.tag--series {
  background: #eff6ff;
  color: #2563eb;
}

.tag--area {
  background: #f0fdf4;
  color: #16a34a;
}

/* Описание (150 символов) */
.category-manuf__card-description {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  /* Ограничение высоты для аккуратности ряда */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Футер карточки (Прижат к низу) --- */
.category-manuf__card-footer {
  margin-top: auto; /* Главный секрет ровных кнопок */
  padding-top: 1.25rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-manuf__card-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
}

.category-manuf__card-more {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2563eb;
  transition: color 0.2s;
}

/* ==========================================================================
   5. АДАПТИВНОСТЬ
   ========================================================================== */
@media (max-width: 1024px) {
  .category-manuf__container { flex-direction: column; }
  .category-manuf__sidebar { width: 100%; position: static; margin-bottom: 2rem; }
}

@media (max-width: 640px) {
  .category-manuf__grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 0.75rem; 
  }
  .category-manuf__card-content { padding: 1rem; }
  .category-manuf__card-image { padding: 0.75rem; }
  .category-manuf__card-title { font-size: 1rem; }
  .category-manuf__card-description { display: none; } /* Экономим место на моб. */
  .category-manuf__card-price { font-size: 1.15rem; }
  .tag { font-size: 0.65rem; padding: 0.25rem 0.5rem; }
}

@media (max-width: 480px) {
  .category-manuf__grid { grid-template-columns: 1fr; }
}

/* Общий контейнер пагинации */
.category-manuf__pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

/* Список пагинации */
.category-manuf__pagination ul.page-numbers {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px; /* Расстояние между кнопками */
}

/* Стили для каждой кнопки (ссылки и текущей страницы) */
.category-manuf__pagination .page-numbers li a,
.category-manuf__pagination .page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #111827;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Стили для ссылок "Назад" и "Вперед" */
.category-manuf__pagination .page-numbers li a.prev,
.category-manuf__pagination .page-numbers li a.next {
    min-width: 100px;
}

/* Активная страница */
.category-manuf__pagination .page-numbers li span.current {
    background-color: #2563eb; /* Ваш основной синий */
    color: #ffffff;
    border-color: #2563eb;
    cursor: default;
}

/* Ховер эффект для ссылок */
.category-manuf__pagination .page-numbers li a:hover {
    background-color: #f3f4f6;
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-2px);
}

/* Точки (многоточие) */
.category-manuf__pagination .page-numbers li span.dots {
    border: none;
    background: transparent;
    cursor: default;
}

/* Адаптивность для мобильных */
@media (max-width: 576px) {
    .category-manuf__pagination .page-numbers li a,
    .category-manuf__pagination .page-numbers li span {
        min-width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }
    
    .category-manuf__pagination .page-numbers li a.prev,
    .category-manuf__pagination .page-numbers li a.next {
        min-width: 70px;
    }
}

.page-stat {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.125rem; /* 18px */
    line-height: 1.7;
    color: #222;
}

/* === ОСНОВНОЙ ЗАГОЛОВОК СТРАНИЦЫ === */
.page-stat .page-title {
    font-size: 2.75rem;        /* 44px — крупный и доминирующий */
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 2.5rem 0;
    color: #0f172a;
    letter-spacing: -0.02em;
    padding-bottom: 1rem;
    border-bottom: 2px solid #eee; /* лёгкое визуальное отделение */
}

/* === ЗАГОЛОВКИ ВНУТРИ КОНТЕНТА (h2–h6) === */
/* Они НЕ должны быть такими же крупными, как .page-title */

.page-stat h2,
.page-stat h3,
.page-stat h4,
.page-stat h5,
.page-stat h6 {
    font-weight: 700;
    margin-top: 2.25em;
    margin-bottom: 1em;
    line-height: 1.35;
    color: #1e293b;
}

.page-stat h2 {
    font-size: 1.875rem; /* 30px — заметно меньше, чем h1 */
}

.page-stat h3 {
    font-size: 1.5rem; /* 24px */
}

.page-stat h4 {
    font-size: 1.25rem; /* 20px */
}

.page-stat h5 {
    font-size: 1.125rem; /* 18px */
}

.page-stat h6 {
    font-size: 1rem; /* 16px */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    font-weight: 600;
}

/* Параграфы и прочее — без изменений или по вашему вкусу */
.page-stat p {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

/* Адаптивность для заголовков */
@media (max-width: 768px) {
    .page-stat .page-title {
        font-size: 2.25rem; /* 36px */
        margin-bottom: 2rem;
    }

    .page-stat h2 {
        font-size: 1.625rem; /* 26px */
    }

    .page-stat h3 {
        font-size: 1.375rem; /* 22px */
    }
}

@media (max-width: 480px) {
    .page-stat .page-title {
        font-size: 2rem; /* 32px */
    }

    .page-stat h2 {
        font-size: 1.5rem; /* 24px */
    }
}