@charset "UTF-8";
/* Base */ /* Reset and base styles  */
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
* {
  padding: 0px;
  margin: 0px;
  border: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Links */
a, a:link, a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Common */
aside, nav, footer, header, section, main {
  display: block;
}

h1, h2, h3, h4, h5, h6, p {
  font-size: inherit;
  font-weight: inherit;
}

ul, ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

img, svg {
  max-width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

/* Form */
input, textarea, button, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

input::-ms-clear {
  display: none;
}

button, input[type=submit] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

input:focus, input:active,
button:focus, button:active {
  outline: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

label {
  cursor: pointer;
}

legend {
  display: block;
}

:root {
  --container-width: 1200px;
  --container-padding: 15px;
  --font-main: "Manrope", sans-serif;
  --font-accent: "Manrope", sans-serif;
  --page-bg: #fff;
  --text-color: #333;
  --accent: #f56818;
  --color-dark: #1a1a1a;
  --color-white: #ffffff;
  --laptop-size: 1199px;
  --tablet-size: 959px;
  --mobile-size: 599px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--page-bg);
  color: var(--text-color);
  font-family: var(--font-main);
}
body a {
  color: var(--text-color);
  transition: all 0.2s ease;
}

.btn-accent-border {
  background: var(--accent);
  color: #fff;
}

.none {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.no-scroll {
  overflow-y: hidden;
}

.container {
  padding: 0 var(--container-padding);
  max-width: var(--container-width);
  margin: 0 auto;
}

.container-right {
  /* overflow-x: hidden; */
  padding-left: calc((100% - var(--container-width)) / 2 + var(--container-padding));
}
@media (max-width: var(--laptop-size)) {
  .container-right {
    padding-left: var(--container-padding);
  }
}

.container-left {
  /* overflow-x: hidden; */
  padding-right: calc((100% - var(--container-width)) / 2 + var(--container-padding));
}
@media (max-width: var(--laptop-size)) {
  .container-left {
    padding-right: var(--container-padding);
  }
}

/* Blocks */
/* --- About Us Section --- */
.about-us-section {
  padding: 60px 0 100px;
  background-color: #fff;
}

/* Вступление */
.about-intro {
  max-width: 800px;
  margin: 0 auto 80px;
}

.about-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 25px;
}

.about-greeting {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 15px;
}

.about-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  opacity: 0.9;
}

/* Общие стили для заголовков секций */
.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 50px;
}

/* Как мы работаем (Сетка преимуществ) */
.how-we-work-section {
  max-width: 1000px;
  margin: 0 auto 100px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 40px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--text-color);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-color);
}

.feature-content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-color);
  opacity: 0.8;
  margin: 0;
}

/* Наша команда */
.team-section {
  max-width: 1200px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.team-member {
  display: flex;
  flex-direction: column;
}

.member-photo {
  width: 100%;
  aspect-ratio: 1/1; /* Квадратные фото как в референсе */
  background-color: #f5f5f5;
  margin-bottom: 20px;
  overflow: hidden;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-member:hover .member-photo img {
  transform: scale(1.03);
}

.member-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.member-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-color);
  margin: 0;
}

.member-role {
  font-weight: 400;
  font-size: 14px;
  opacity: 0.6;
}

.member-bio {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-color);
  opacity: 0.8;
  margin: 0;
}

/* Адаптив */
@media (max-width: 900px) {
  .features-grid {
    gap: 40px;
  }
}
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .about-title {
    font-size: 28px;
  }
  .section-title {
    font-size: 24px;
    margin-bottom: 40px;
  }
}
@media (max-width: 500px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}
/* --- catalog page --- */
.catalog-section {
  padding: 60px 0 100px;
  background-color: #fff;
  min-height: 80vh;
}

.catalog-tabs {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 30px;
}

.tab-trigger,
.tab-link {
  background: none;
  border: none;
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  text-decoration: none;
}

.tab-trigger:hover,
.tab-link:hover {
  color: #000;
}

.tab-trigger.active,
.tab-link.current-menu-item {
  border-bottom-color: var(--text-primary);
}

.catalog-filters-wrap {
  text-align: center;
  min-height: 40px;
  margin-bottom: 20px;
}

.filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none; /* Скрыты по умолчанию */
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px 25px;
  animation: fadeIn 0.4s ease;
}

.filter-btn.active {
  color: var(--accent);
}

.filter-list.active {
  display: flex;
}

.filter-list a {
  font-size: 14px;
  color: var(--text-primary);
  opacity: 0.6;
  text-decoration: none;
  transition: opacity 0.3s;
}

.filter-list a:hover {
  opacity: 1;
}

.filter-list a.active {
  opacity: 1;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.catalog-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 30px 0 50px;
}

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

.badge-stock {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #000;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 10px;
  border-radius: 7%;
  line-height: 1;
  z-index: 2;
}

.product-meta {
  margin-top: 5px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.8;
}

/* Пагинация */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 60px;
}

.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #eee;
  color: var(--text-primary);
  text-decoration: none;
  transition: 0.3s;
}

.page-numbers.current,
.page-numbers:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  font-weight: 700;
  color: #fff;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 900px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .filter-list {
    gap: 10px 15px;
  }
}
@media (max-width: 600px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }
}
.filter-list {
  display: none;
}

.filter-list.active {
  display: flex;
  animation: fadeIn 0.4s ease;
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.blog-archive-section {
  padding: 80px 0 100px;
  background-color: #fff;
}

.blog-layout-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}

.blog-sidebar {
  position: relative;
  height: 100%;
}

.sticky-wrapper {
  position: sticky;
  top: 140px;
  padding-right: 20px;
}

.sidebar-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--text-primary);
}

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

.blog-categories-list li {
  margin-bottom: 12px;
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
}

.blog-categories-list li:last-child {
  border-bottom: none;
}

.blog-categories-list a {
  text-decoration: none;
  color: var(--text-primary);
  opacity: 0.7;
  font-size: 16px;
  transition: 0.3s;
  display: block;
}

.blog-categories-list a:hover,
.blog-categories-list a.active {
  opacity: 1;
  color: var(--accent);
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 40px;
  margin-bottom: 60px;
}

.blog-post-item {
  display: flex;
  flex-direction: column;
}

.post-img-link {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

.post-img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-post-item:hover .post-img-link img {
  transform: scale(1.03);
}

.post-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
}

.post-title a {
  text-decoration: none;
  color: var(--text-primary);
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
  padding-bottom: 2px;
}

.blog-post-item:hover .post-title a {
  border-bottom-color: var(--accent);
}

@media (max-width: 992px) {
  .blog-layout-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .blog-sidebar {
    height: auto;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
    margin-bottom: 20px;
  }
  .sticky-wrapper {
    position: static;
  }
  .blog-categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }
  .blog-categories-list li {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .blog-categories-list a {
    background: #f5f5f5;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
  }
  .blog-categories-list a.active {
    background: var(--accent);
    color: #fff;
  }
}
@media (max-width: 600px) {
  .blog-posts-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .post-title {
    font-size: 18px;
  }
}
/* --- Contacts Section --- */
.contacts-section {
  padding: 60px 0 100px;
  background-color: #fff;
}

.contacts-intro {
  max-width: 800px;
  margin: 0 auto 60px;
}

.contacts-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  opacity: 0.8;
}

.contacts-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch; /* Чтобы колонки были одинаковой высоты */
}

/* Левая колонка */
.contacts-info-column {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--text-color);
  margin-top: 2px;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
}

.contact-text h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-color);
}

.contact-text p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-color);
  margin-bottom: 0;
}

.contact-text a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-text a:hover {
  color: var(--accent);
}

.contact-note {
  display: block;
  font-size: 13px;
  opacity: 0.6;
  margin-top: 5px;
}

/* Соцсети */
.contact-socials h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-color);
}

.social-links-grid {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background-color: #f9f9f9;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
}

.social-link svg {
  width: 24px;
  height: 24px;
}

.social-link:hover {
  background-color: #dadada;
}

.site-footer .social-link {
    background: transparent !important;
    color: #ffffff; 
    padding: 0; 
}

.site-footer .social-link img {
    filter: invert(1) brightness(2); 
    width: 42px;
    height: 42px;
}

.site-footer .social-link:hover {
    opacity: 0.7;
}

/* Правая колонка: Карта */
.contacts-map-column {
  width: 100%;
  min-height: 400px;
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #eee;
  overflow: hidden;
}

.map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.map-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
  z-index: 1;
}

/* Адаптив */
@media (max-width: 900px) {
  .contacts-wrapper {
    gap: 40px;
  }
}
@media (max-width: 768px) {
  .contacts-wrapper {
    grid-template-columns: 1fr;
  }
  .contacts-map-column {
    height: 400px;
  }
  .contact-item {
    gap: 15px;
  }
}
/* --- bespoke section --- */
.bespoke-section {
  padding: 60px 0 100px;
  background-color: #fff;
}

.bespoke-intro {
  max-width: 800px;
  margin: 0 auto 60px;
}

.page-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 25px;
}

.bespoke-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
}

/* 1. ГЛАВНЫЙ КОНТЕЙНЕР ГАЛЕРЕИ */
.bespoke-gallery-container {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 80px;
  align-items: flex-start;
  min-width: 0; /* Защита от багов Flexbox */
}

/* 2. ЛЕВАЯ ЧАСТЬ (ГЛАВНОЕ ФОТО) */
.main-slider-wrap {
  flex: 1 1 auto;
  min-width: 0; /* КРИТИЧЕСКИ ВАЖНО: не дает слайдеру раздуваться */
  width: 100%;
  position: relative;
}

.bespoke-main-swiper {
  width: 100%;
  overflow: hidden; /* Обрезаем лишнее */
}

/* 3. ПРАВАЯ ЧАСТЬ (МИНИАТЮРЫ) */
.thumb-slider-wrap {
  width: 140px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0; /* КРИТИЧЕСКИ ВАЖНО */
}

.bespoke-thumb-swiper {
  width: 100%;
  height: 480px;
  overflow: hidden;
}

/* ВНУТРЕННОСТИ СЛАЙДОВ */
.slide-img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #f9f9f9;
  margin-bottom: 20px;
}

.slide-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* Убирает нижний отступ у картинок */
}

.slide-caption {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-color);
  padding: 0 10px;
  opacity: 0.9;
}

.bespoke-thumb-swiper .swiper-slide {
  height: auto;
  aspect-ratio: 16/10;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.3s;
  background-color: #f9f9f9;
}

.bespoke-thumb-swiper .swiper-slide-thumb-active {
  opacity: 1;
}

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

/* СТРЕЛКИ НАВИГАЦИИ */
.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}

.main-prev,
.main-next {
  color: var(--text-color);
  width: 44px;
  height: 44px;
  top: 40%;
  margin-top: -22px;
}

.main-prev {
  left: 10px;
}

.main-next {
  right: 10px;
}

.main-prev svg,
.main-next svg {
  stroke: var(--text-color);
  width: 100%;
  height: 100%;
}

.thumb-prev,
.thumb-next {
  cursor: pointer;
  width: 36px;
  height: 36px;
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
  transition: opacity 0.3s;
  flex-shrink: 0; /* Чтобы стрелки не сжимались */
}

.thumb-prev svg,
.thumb-next svg {
  width: 100%;
  height: 100%;
}

.thumb-prev.swiper-button-disabled,
.thumb-next.swiper-button-disabled {
  opacity: 0.2;
  cursor: default;
}

/* ШАГИ И ФИНИШИ (Без изменений) */
.bespoke-steps-section {
  max-width: 800px;
  margin: 0 auto 80px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 50px;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.step-row {
  display: flex;
  align-items: center;
  gap: 40px;
}

.step-row.reverse {
  flex-direction: row-reverse;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-color);
}

.step-content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-color);
  opacity: 0.8;
  margin-bottom: 15px;
}

.step-content p:last-child {
  margin-bottom: 0;
}

.step-icon {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
}

.step-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--text-color);
}

.wood-finishes-section {
  margin: 0 auto 80px;
}

.finishes-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 30px;
}

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

.finish-item {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: var(--text-color);
  transition: opacity 0.3s;
}

.finish-item:hover {
  opacity: 0.7;
}

.finish-color {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.finish-color img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.finish-name {
  font-size: 15px;
}

.bespoke-form-section {
  max-width: 700px;
  margin: 0 auto;
}

/* --- АДАПТИВ (ПЕРЕПИСАН ДЛЯ ЖЕСТКОЙ ФИКСАЦИИ СЛАЙДЕРА) --- */
@media (max-width: 900px) {
  .bespoke-gallery-container {
    flex-direction: column;
    width: 100%;
  }
  .main-slider-wrap {
    width: 100%;
  }
  .thumb-slider-wrap {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }
  .bespoke-thumb-swiper {
    width: calc(100% - 100px); /* Выделяем место под стрелки */
    height: 100px; /* Фиксируем высоту для мобилки */
    flex: 1 1 auto;
  }
  .thumb-prev,
  .thumb-next {
    margin: 0;
  }
  /* Поворачиваем стрелки, так как слайдер стал горизонтальным */
  .thumb-prev svg,
  .thumb-next svg {
    transform: rotate(-90deg);
  }
}
@media (max-width: 768px) {
  .step-row,
  .step-row.reverse {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    flex-direction: column-reverse;
  }
  .step-row.reverse {
    flex-direction: column-reverse;
  }
  .step-icon {
    width: 60px;
    height: auto;
    margin: 0 auto;
  }
  .finishes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-title {
    font-size: 28px;
  }
  .steps-container {
    gap: 40px;
  }
}
@media (max-width: 480px) {
  .finishes-grid {
    grid-template-columns: 1fr;
  }
}
.site-footer {
  background-color: #000;
  color: #fff;
  padding: 80px 0 30px 0;
  font-size: 14px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col {
  max-width: 300px;
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #fff;
}

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

.footer-nav li {
  margin-bottom: 12px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer-nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-contacts {
  text-align: right;
}

.contact-phones p {
  margin: 0 0 10px 0;
  opacity: 0.9;
}

.contact-email {
  display: block;
  color: #fff;
  margin: 20px 0;
  text-decoration: none;
  font-weight: 600;
}

.footer-socials {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 25px;
}

.footer-socials a {
  color: #fff;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 30px;
  text-align: center;
  opacity: 0.4;
  font-size: 12px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 50px;
    text-align: left;
  }
  .footer-contacts {
    text-align: left;
  }
  .footer-socials {
    justify-content: flex-start;
  }
}
.architects-section {
  padding: 60px 0 100px;
  background-color: #fff;
}

.architects-intro {
  max-width: 800px;
  margin: 0 auto 60px;
}

.architects-intro p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-color);
  font-weight: 500;
}

.architects-features-list {
  max-width: 900px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.architects-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.feature-blob {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.feature-blob svg {
  width: 100%;
  height: 100%;
  display: block;
}

.feature-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-color);
  opacity: 0.9;
}

.architects-banner {
  width: 100%;
  margin: 80px 0;
  background-color: #f5f5f5;
}

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

.architects-form-section {
  max-width: 700px;
  margin: 80px auto 0;
}

@media (max-width: 768px) {
  .architects-intro p {
    font-size: 16px;
  }
  .architects-banner {
    margin: 50px 0;
  }
  .architects-features-list li {
    gap: 15px;
  }
}
/* --- Main Header --- */
.site-header {
  background: #fff;
  padding: 20px 40px;
  position: sticky; /* Липкий хедер */
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #eee;
  transition: padding 0.3s;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

/* Logo */
.site-logo img {
  max-height: 80px;
  display: block;
}

/* Navigation */
.main-navigation ul {
  display: flex;
  gap: 30px;
}

.main-navigation a {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #333;
}

.main-navigation a:hover {
  color: #000;
  opacity: 0.6;
}

/* Tools */
.header-tools {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-switch {
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

.lang-switch .active {
  text-decoration: underline;
}

/* --- Mobile Menu Styles --- */
.mobile-only {
  display: none;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 999;
  padding-top: 80px;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-menu-drawer.active {
  transform: translateY(0);
}

.mobile-menu-drawer ul li {
  margin: 20px 0;
}

.mobile-menu-drawer a {
  font-size: 24px;
  font-weight: bold;
  color: #000;
}

/* Burger Button */
.burger-menu {
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001; /* Поверх всего */
}

.burger-menu span {
  display: block;
  width: 100%;
  height: 2px;
  background: #000;
  position: absolute;
  transition: 0.3s;
}

.burger-menu span:nth-child(1) {
  top: 0;
}

.burger-menu span:nth-child(2) {
  top: 9px;
}

.burger-menu span:nth-child(3) {
  top: 18px;
}

/* Burger Animation */
.burger-menu.open span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.burger-menu.open span:nth-child(2) {
  opacity: 0;
}

.burger-menu.open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

/* Responsive */
@media (max-width: 1024px) {
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: block;
  }
  .site-header {
    padding: 15px 20px;
  }
}
@media (max-width: 768px) {
  .site-logo img {
    max-height: 60px;
  }
}
/* --- Hero Section Styles --- */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  text-align: center;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content-box {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 50px;
  border-radius: 4px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.hero-content h1 {
  color: var(--text-primary);
  font-size: 2.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.2;
  margin-bottom: 25px;
}

.hero-subtitle {
  color: var(--text-primary);
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 40px;
  opacity: 0.85;
}

/* --- Responsive Styles (Адаптив) --- */
@media (max-width: 768px) {
  .hero-section {
    min-height: 70vh;
    padding-top: 60px;
  }
  .hero-content-box {
    padding: 30px 20px;
    margin: 0 15px;
  }
  .hero-content h1 {
    font-size: 2rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
  }
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }
}
/*  promo-banners  */
.promo-banners {
  padding: 60px 0;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.promo-card {
  display: block;
  position: relative;
  height: 500px;
  overflow: hidden;
  text-decoration: none;
  background-color: #f4f4f4;
}

.promo-image {
  width: 100%;
  height: 100%;
  position: relative;
}

.promo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.promo-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  transition: background var(--transition-base);
  z-index: 1;
}

.promo-card:hover::after {
  background: rgba(0, 0, 0, 0.2);
}

.promo-card:hover .promo-image img {
  transform: scale(1.05);
}

.promo-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 50px 30px;
  box-sizing: border-box;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.promo-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-color);
  margin: 0;
  text-align: center;
  display: block;
  width: 80%;
  padding: 20px 0;
  background-color: rgba(255, 255, 255, 0.8549019608);
}

.btn-accent {
  display: inline-block;
  background-color: var(--accent);
  color: #fff;
  padding: 20px 35px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  text-transform: uppercase;
}

.btn-accent:hover {
  filter: brightness(1.1);
}

@media (max-width: 768px) {
  .promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .promo-card {
    height: 350px;
  }
  .promo-title {
    font-size: 24px;
  }
}
/* --- features section --- */
.features-section {
  padding: 50px 0;
  background-color: #fff;
}

.features-main-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 70px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 60px;
  row-gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 25px;
}

.feature-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--text-primary);
}

.feature-content h3 {
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  margin: 0 0 15px 0;
  line-height: 1.2;
}

.feature-content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  opacity: 0.8;
  margin: 0;
  max-width: 450px;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .features-main-title {
    font-size: 26px;
    margin-bottom: 40px;
  }
  .feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .feature-icon {
    margin-bottom: 15px;
  }
}
/* --- new arrivals section --- */
.new-arrivals {
  padding: 50px 0;
  background-color: #fff;
}

.new-arrivals .products-grid {
  margin-bottom: 50px;
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 50px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  text-decoration: none;
  display: block;
  color: var(--text-primary);
}

.product-image-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  margin-bottom: 20px;
  background-color: #f9f9f9;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.05);
}

.product-info {
  text-align: left;
}

.product-title {
  display: inline;
  font-size: 24px;
  font-weight: 400;
  color: var(--text-primary);
  border-bottom: 2px solid var(--accent);
  line-height: 1.5;
  transition: background-color 0.3s ease;
}

.product-card:hover .product-title {
  background-color: var(--accent);
  color: #fff;
}

.products-footer {
  text-align: center;
}

@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }
  .product-image-wrap {
    aspect-ratio: auto;
    height: 350px;
  }
}
@media (max-width: 675px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}
/* --- furnish home section --- */
.category-home {
  padding: 50px 0;
  background-color: #f9f9f9;
}

.category-home .product-image-wrap {
  margin-bottom: 8px;
  height: 250px;
}

.category-info {
  margin-top: 8px;
}

.category-home .products-grid {
  row-gap: 50px;
}

.text-center {
  text-align: center;
}

@media (max-width: 600px) {
  .category-home .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .category-home .product-image-wrap {
    height: 150px;
  }
}
@media (max-width: 500px) {
  .category-home .products-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .category-home .product-image-wrap {
    height: 250px;
  }
}
.blog-section {
  padding: 50px 0;
  background-color: #fff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-image-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  margin-bottom: 25px;
  background-color: #f0f0f0;
}

.blog-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image-wrap img {
  transform: scale(1.05);
}

.blog-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.blog-title-link {
  text-decoration: none;
  display: inline-block;
}

.blog-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-color);
  margin: 0;
  display: inline;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.blog-card:hover .blog-title {
  border-bottom-color: var(--accent);
}

.blog-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-color);
  opacity: 0.7;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-footer {
  margin-top: 40px;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .blog-image-wrap {
    aspect-ratio: 16/9;
  }
}
/* --- Single Product Section --- */
.single-product-section {
  padding: 60px 0 100px;
  background-color: #fff;
}

/* 1. Верхний блок (Фото + Инфо) */
.product-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.main-image-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  background-color: #f5f5f5;
}

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

.product-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-summary .product-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-color);
}

.product-summary .product-price {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
  color: var(--text-color);
}

.product-short-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  opacity: 0.8;
  margin-bottom: 40px;
}

.btn-order {
  background-color: var(--accent);
  color: #fff;
  border: none;
  padding: 18px 30px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s;
  width: fit-content;
  margin-bottom: 40px;
}

.btn-order:hover {
  background-color: #000;
}

.product-meta {
  font-size: 14px;
  color: var(--text-color);
  opacity: 0.7;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.product-meta p {
  margin-bottom: 8px;
}

.product-meta a {
  color: var(--text-color);
  text-decoration: underline;
}

.product-meta a:hover {
  color: var(--accent);
}

/* 2. Табы */
.product-tabs-section {
  margin-bottom: 80px;
}

.tabs-nav {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid #eee;
  margin-bottom: 30px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 0 0 15px 0;
  font-size: 18px;
  font-family: inherit;
  font-weight: 500;
  color: var(--text-color);
  opacity: 0.5;
  cursor: pointer;
  position: relative;
  transition: opacity 0.3s;
}

.tab-btn:hover {
  opacity: 1;
}

.tab-btn.active {
  opacity: 1;
  font-weight: 700;
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--text-color);
}

.tab-panel {
  display: none;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  opacity: 0.9;
  animation: fadeIn 0.4s ease;
}

.tab-panel.active {
  display: block;
}

.tab-panel ul {
  list-style: none;
  padding: 0;
}

.tab-panel ul li {
  margin-bottom: 10px;
  padding-left: 15px;
  position: relative;
}

.tab-panel ul li::before {
  content: "•";
  color: var(--accent);
  position: absolute;
  left: 0;
  font-size: 18px;
  line-height: 1;
  top: 3px;
}

.dimensions-note {
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.7;
}

/* 3. Преимущества */
.product-advantages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 60px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin-bottom: 80px;
}

.advantage-item {
  text-align: center;
}

.adv-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 15px;
  color: var(--text-color);
}

.adv-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--text-color);
}

.advantage-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-color);
}

.advantage-item p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-color);
  opacity: 0.7;
  margin: 0;
}

/* 4. Похожие товары */
.related-products-section .section-title {
  font-size: 28px;
  margin-bottom: 40px;
}

/* Адаптив */
@media (max-width: 900px) {
  .product-top-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .product-advantages {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
}
@media (max-width: 600px) {
  .tabs-nav {
    flex-direction: column;
    gap: 15px;
    border-bottom: none;
  }
  .tab-btn {
    text-align: left;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }
  .product-advantages {
    grid-template-columns: 1fr;
  }
  .product-summary .product-title {
    font-size: 26px;
  }
}
/* --- Дополнительный слайдер (в интерьере) --- */
.extra-slider-section {
  margin-bottom: 80px;
}

.extra-gallery-container {
  display: flex;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
  min-width: 0;
}

.extra-main-wrap {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  position: relative;
}

.extra-main-swiper {
  width: 100%;
  overflow: hidden;
}

.extra-thumb-wrap {
  width: 140px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.extra-thumb-swiper {
  width: 100%;
  height: 480px;
  overflow: hidden;
}

.extra-slide-img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #f9f9f9;
}

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

.extra-thumb-swiper .swiper-slide {
  height: auto;
  aspect-ratio: 16/10;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.3s;
  background-color: #f9f9f9;
}

.extra-thumb-swiper .swiper-slide-thumb-active {
  opacity: 1;
}

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

/* Стрелки основного слайдера */
.extra-main-prev,
.extra-main-next {
  color: var(--text-color);
  width: 44px;
  height: 44px;
  top: 50%;
  margin-top: -22px;
  position: absolute;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.extra-main-prev {
  left: 10px;
}

.extra-main-next {
  right: 10px;
}

.extra-main-prev svg,
.extra-main-next svg {
  stroke: var(--text-color);
  width: 100%;
  height: 100%;
}

.extra-main-prev.swiper-button-disabled,
.extra-main-next.swiper-button-disabled {
  display: none;
}

/* Стрелки миниатюр */
.extra-thumb-prev,
.extra-thumb-next {
  cursor: pointer;
  width: 36px;
  height: 36px;
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
  transition: opacity 0.3s;
  flex-shrink: 0;
}

.extra-thumb-prev svg,
.extra-thumb-next svg {
  width: 100%;
  height: 100%;
}

.extra-thumb-prev.swiper-button-disabled,
.extra-thumb-next.swiper-button-disabled {
  opacity: 0.2;
  cursor: default;
}

/* Адаптив (Переворот в горизонталь) */
@media (max-width: 900px) {
  .extra-gallery-container {
    flex-direction: column;
    width: 100%;
  }
  .extra-main-wrap {
    width: 100%;
  }
  .extra-thumb-wrap {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }
  .extra-thumb-swiper {
    width: calc(100% - 100px);
    height: auto;
    flex: 1 1 auto;
  }
  .extra-thumb-prev,
  .extra-thumb-next {
    margin: 0;
  }
  .extra-thumb-prev svg,
  .extra-thumb-next svg {
    transform: rotate(-90deg);
  }
}
.single-post-section {
  padding: 60px 0 100px;
  background-color: #fff;
}

.single-article-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 50px;
}

.article-title {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 15px;
}

.article-meta {
  font-size: 14px;
  color: var(--text-color);
  opacity: 0.6;
  display: flex;
  gap: 20px;
}

.article-meta a {
  color: inherit;
  text-decoration: underline;
}

.article-meta a:hover {
  color: var(--accent);
}

.gutenberg-content {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-color);
}

.gutenberg-content > * {
  margin-bottom: 25px;
}

.gutenberg-content > *:last-child {
  margin-bottom: 0;
}

.gutenberg-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-top: 50px;
  margin-bottom: 20px;
  color: var(--text-color);
}

.gutenberg-content h3 {
  font-size: 22px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 15px;
  color: var(--text-color);
}

.gutenberg-content h4,
.gutenberg-content h5,
.gutenberg-content h6 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
}

.gutenberg-content a {
  color: var(--text-color);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  transition: background-color 0.3s ease;
}

.gutenberg-content a:hover {
  background-color: var(--accent);
}

.gutenberg-content ul,
.gutenberg-content ol {
  padding-left: 20px;
  margin-bottom: 30px;
}

.gutenberg-content li {
  margin-bottom: 10px;
}

.gutenberg-content ul {
  list-style-type: square;
}

.gutenberg-content ul li {
  list-style: inherit;
}

.gutenberg-content ol li {
  list-style: inherit;
}

.gutenberg-content ul li::marker {
  color: var(--accent);
}

.gutenberg-content strong,
.gutenberg-content b {
  font-weight: 700;
}

.gutenberg-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px 0;
}

.gutenberg-content figure {
  margin: 40px 0;
}

.gutenberg-content figure img {
  margin: 0;
}

.gutenberg-content figcaption {
  font-size: 14px;
  color: var(--text-color);
  opacity: 0.6;
  margin-top: 10px;
  text-align: center;
}

.gutenberg-content .wp-block-quote,
.gutenberg-content blockquote {
  margin: 40px 0;
  padding: 20px 30px;
  border-left: 4px solid var(--accent);
  background-color: #f9f9f9;
  font-style: italic;
}

.gutenberg-content blockquote p {
  margin-bottom: 15px;
  font-size: 20px;
}

.gutenberg-content blockquote cite {
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  display: block;
  opacity: 0.8;
}

.article-footer {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.btn-back {
  display: inline-block;
  color: var(--text-color);
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  transition: opacity 0.3s;
}

.btn-back:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .article-title {
    font-size: 28px;
  }
  .gutenberg-content {
    font-size: 16px;
  }
  .gutenberg-content h2 {
    font-size: 24px;
  }
  .gutenberg-content h3 {
    font-size: 20px;
  }
  .gutenberg-content .wp-block-quote {
    padding: 15px 20px;
  }
}

.product-modal-fancybox {
    max-width: 500px;
    width: 60%;
    padding: 40px;
    border-radius: 0; 
    background: #fff;
}

.product-modal-fancybox h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 700;
}

.modal-product-name {
    font-size: 14px;
    color: #888;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}


/* Контейнер формы */
.fanerka-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.wpcf7-submit {
  background-color: var(--accent) !important;
  margin-top: 14px !important;
}
.wpcf7-textarea {
  resize: none;
}
/* Поля ввода */
.fanerka-form input[type="text"],
.fanerka-form input[type="tel"],
.fanerka-form input[type="email"],
.fanerka-form textarea,
.fanerka-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    font-size: 15px;
    background: #fdfdfd;
    transition: border-color 0.3s ease;
}

.fanerka-form input:focus,
.fanerka-form textarea:focus {
    border-color: var(--text-color);
    outline: none;
}

/* Сетка для телефона и почты */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .product-modal-fancybox {
      width: 90%;
    }
}

/* Лейблы для выбора цвета и файлов */
.fanerka-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Кнопка */
.fanerka-form .btn-accent {
    width: 100%;
    margin-top: 10px;
    padding: 15px;
    cursor: pointer;
}

/* Чекбокс согласия */
.fanerka-form .wpcf7-list-item {
    margin: 0;
}

.fanerka-form .wpcf7-acceptance label {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    font-size: 14px;
    cursor: pointer;
}


.product-gallery-container {
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

.product-main-wrap,
.product-thumb-wrap {
    min-width: 0;
    width: 100%;
}

.product-main-swiper .slide-img-wrap {
  aspect-ratio: 5 / 4;
}


.product-main-swiper .swiper-button-prev::after,
.product-main-swiper .swiper-button-next::after {
    display: none !important;
}

.product-thumb-swiper .swiper-slide {
  cursor: pointer;
}

.product-main-swiper .swiper-button-prev,
.product-main-swiper .swiper-button-next {
    width: 44px;
    height: 44px;
    background-color: #ffffff; 
    color: #111111; 
    border: 1px solid #e0e0e0; 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.85; 
    margin-top: -22px; 
}

.product-main-swiper .swiper-button-prev:hover,
.product-main-swiper .swiper-button-next:hover {
    background-color: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    opacity: 1;
}


.product-main-swiper .swiper-button-prev svg,
.product-main-swiper .swiper-button-next svg {
    width: 20px;
    height: 20px;
    stroke: currentColor; 
    stroke-width: 1.5;
}

@media (max-width: 560px) {
  .header-tools {
    max-width: 100% !important;
  }
  .search-wrap {
    max-width: 100px;
  }
  .searchwp-live-search-results-showing {
    left: auto !important;
    right: 5px !important;
  }
}

/* Общие стили для иконок в шапке */
.header-tools {
    display: flex;
    align-items: center;
    gap: 15px; /* Отступ между иконками */
}

.phone-copy-btn, .search-toggle-btn {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333; /* Цвет иконок */
    transition: color 0.3s ease;
}

.phone-copy-btn svg, .search-toggle-btn svg {
    width: 24px;
    height: 24px;
}

/* Логика иконки телефона / галочки */
.phone-copy-btn .icon-check {
    display: none;
    color: #1eff00; /* Цвет успешного копирования (можно заменить на акцентный цвет бренда) */
}

.phone-copy-btn.copied .icon-phone {
    display: none;
}

.phone-copy-btn.copied .icon-check {
    display: block;
}

/* Тултип "Номер скопирован" */
.phone-copy-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.copy-tooltip {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: #111;
    color: #fff;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 100;
}

.copy-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
@media (max-width: 1350px) { 
  .main-navigation a {
    font-size: 12px;
  }
  .main-navigation ul {
    gap: 18px;
  }
}
@media (min-width: 1251px) {
    .phone-copy-wrap,
    .search-toggle-btn {
        display: none !important;
    }

    .search-form-container {
        display: block !important;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
    }
}

@media (max-width: 1250px) { 
    .search-form-container {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 15px 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 99;
    }

    .search-form-container.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
      .main-navigation ul {
    gap: 10px;
  }
}