/*
Theme Name: Eurosantehnika
Theme URI: https://евросантехника.рф
Author: Matvey
Description: Custom WordPress theme for Eurosantehnika
Version: 1.0
Text Domain: eurosantehnika
*/

/* =========================
   BASE
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #111;
  background: #f7f7f5;
  font-family: Arial, Helvetica, sans-serif;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.container {
  width: min(100% - 40px, 1500px);
  margin: 0 auto;
}

/* =========================
   HEADER
========================= */

.header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e8e4dc;
  overflow: visible;
  position: relative;
  z-index: 20;
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}

.header-logo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.header-logo__text {
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.045em;
  color: #111;
}

.header-logo__img {
  width: 72px !important;
  max-width: 72px !important;
  height: auto !important;
  max-height: none !important;
  display: block;
  object-fit: contain;
  margin-left: -18px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 34px;
  flex-wrap: nowrap;
}

.nav a {
  position: relative;
  white-space: nowrap;
  text-decoration: none;
  font-weight: 750;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #111;
  padding: 12px 0;
  transition: color 0.22s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.22s ease;
}

.nav a:hover {
  color: #8b7a5a;
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* =========================
   GENERAL SECTIONS
========================= */

.section {
  padding: 80px 0;
}

.section--hero {
  padding: 88px 0 64px;
}

.section--tight {
  padding: 48px 0;
}

.lead {
  font-size: 22px;
  line-height: 1.55;
  color: #555;
}

.about-card {
  background: #fff;
  border: 1px solid #e7e3dc;
  padding: 40px;
}

.about-card__text {
  font-size: 18px;
  line-height: 1.65;
  color: #444;
}

.about-card__subtitle {
  font-weight: 800;
  margin-bottom: 16px;
}

.about-list {
  margin: 0;
  padding-left: 20px;
}

.about-list li {
  margin-bottom: 8px;
}

.about-card__note {
  margin-top: 24px;
  color: #666;
}

/* =========================
   HOME PAGE
========================= */

.home-page {
  background: #f7f7f5;
  color: #111;
}

/* ---------- HERO ---------- */

.home-hero {
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 96px 0 104px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5,5,5,0.97), rgba(15,15,15,0.92), rgba(45,38,29,0.78)),
    radial-gradient(circle at 80% 22%, rgba(199,179,122,0.30), transparent 34%),
    radial-gradient(circle at 12% 88%, rgba(255,255,255,0.07), transparent 30%),
    #0b0b0b;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.home-hero .container {
  width: min(100% - 56px, 1500px);
}

.home-hero__content {
  max-width: 1080px;
}

.home-hero h1 {
  margin: 0;
  max-width: 1040px;
  font-size: clamp(54px, 6.2vw, 108px);
  line-height: 0.94;
  letter-spacing: -0.065em;
  font-weight: 750;
  color: #fff;
}

.home-hero p {
  max-width: 780px;
  margin: 34px 0 0;
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
}

/* ---------- SECTION HEAD ---------- */

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 42px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(42px, 4.8vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 750;
  color: #111;
}

/* ---------- BRANDS FULL WIDTH GRID ---------- */

.home-brands {
  padding: 76px 0 0;
  background: #f7f7f5;
}

.home-brands .container {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.home-brands .section-head {
  width: min(100% - 56px, 1500px);
  margin: 0 auto 46px;
}

.home-brands .section-head h2 {
  margin: 0;
}

.brand-showcase,
.brand-showcase--mosaic,
.brand-showcase--premium,
.brand-showcase--full {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: 520px 440px;
  gap: 0;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #111;
}

.brand-tile {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 440px;
  background: #111;
  border: 0;
  border-right: 1px solid rgba(255,255,255,0.16);
  border-bottom: 1px solid rgba(255,255,255,0.16);
  text-decoration: none;
  color: #fff;
}

.brand-tile--grb {
  grid-column: 1 / 4;
  grid-row: 1;
}

.brand-tile--bathco {
  grid-column: 4 / 7;
  grid-row: 1;
}

.brand-tile--arco {
  grid-column: 1 / 3;
  grid-row: 2;
}

.brand-tile--sonia {
  grid-column: 3 / 5;
  grid-row: 2;
}

.brand-tile--tucai {
  grid-column: 5 / 7;
  grid-row: 2;
}

.brand-tile__image {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
  background: #111;
}

.brand-tile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.98) contrast(1.02);
  transition: transform 0.55s ease, filter 0.55s ease;
}

.brand-tile:hover .brand-tile__image img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.04);
}

.brand-tile__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 150px 46px 42px;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0),
    rgba(0,0,0,0.82)
  );
}

.brand-tile__content strong {
  font-size: clamp(42px, 3.8vw, 74px);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 750;
  color: #fff;
}

.brand-tile--grb .brand-tile__content strong,
.brand-tile--bathco .brand-tile__content strong {
  font-size: clamp(56px, 5.2vw, 96px);
}

.brand-tile__content::after {
  content: "→";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border: 1px solid rgba(255,255,255,0.75);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.brand-tile:hover .brand-tile__content::after {
  background: #fff;
  color: #111;
  border-color: #fff;
  transform: translateX(4px);
}

/* ---------- ACTIONS ---------- */

.home-actions {
  padding: 96px 0 96px;
  background: #f7f7f5;
}

.home-actions .container {
  width: min(100% - 56px, 1500px);
  max-width: 1500px;
  padding-left: 0;
  padding-right: 0;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.action-card {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px 46px;
  background: #fff;
  border: 1px solid #e7e3dc;
  text-decoration: none;
  color: #111;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.action-card:hover {
  transform: translateY(-3px);
  background: #111;
  color: #fff;
  border-color: #111;
}

.action-card--dark {
  background: #111;
  color: #fff;
  border-color: #111;
}

.action-card span {
  color: #8b7a5a;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  transition: color 0.25s ease;
}

.action-card:hover span {
  color: #c7b37a;
}

.action-card h3 {
  margin: auto 0 0;
  max-width: 78%;
  font-size: clamp(38px, 3.8vw, 66px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  font-weight: 750;
}

.action-card::after {
  content: "→";
  position: absolute;
  right: 46px;
  bottom: 44px;
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  color: currentColor;
  font-size: 34px;
  line-height: 1;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.action-card:hover::after {
  background: #fff;
  color: #111;
  border-color: #fff;
  transform: translateX(4px);
}

.action-card--dark::after {
  color: #fff;
  border-color: rgba(255,255,255,0.65);
}

.action-card--dark:hover::after {
  background: #fff;
  color: #111;
  border-color: #fff;
}

/* ---------- PROJECTS ---------- */

.home-projects {
  padding: 104px 0 110px;
  background: #101010;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.home-projects .container {
  width: min(100% - 56px, 1500px);
}

.section-head--projects {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  align-items: end;
  gap: 64px;
  margin-bottom: 48px;
}

.section-head--projects h2 {
  color: #fff;
  font-size: clamp(52px, 5.4vw, 96px);
}

.section-head--projects p {
  margin: 0;
  color: rgba(255,255,255,0.62);
  font-size: 18px;
  line-height: 1.6;
}

.projects-grid,
.projects-grid--nine {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
}

.project-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  background:
    radial-gradient(circle at 80% 20%, rgba(199,179,122,0.13), transparent 34%),
    #171717;
  color: #fff;
  border: 0;
  overflow: hidden;
  transition: background 0.25s ease, transform 0.25s ease;
}

.project-card:hover {
  background:
    radial-gradient(circle at 80% 20%, rgba(199,179,122,0.20), transparent 36%),
    #1f1f1f;
  transform: translateY(-2px);
}

.project-card--large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 621px;
  padding: 38px;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.18), rgba(0,0,0,0.72)),
    radial-gradient(circle at 78% 22%, rgba(199,179,122,0.22), transparent 38%),
    #181818;
}

.project-card--dark {
  background:
    radial-gradient(circle at 75% 25%, rgba(199,179,122,0.22), transparent 34%),
    #050505;
}

.project-card span {
  color: #c7b37a;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 800;
}

.project-card h3 {
  margin: auto 0 18px;
  max-width: 420px;
  color: #fff;
  font-size: clamp(26px, 2.3vw, 42px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 750;
}

.project-card--large h3 {
  font-size: clamp(42px, 4.4vw, 78px);
  max-width: 620px;
}

.project-card p {
  margin: 0;
  max-width: 420px;
  color: rgba(255,255,255,0.58);
  font-size: 15px;
  line-height: 1.55;
}

.project-card--large p {
  font-size: 18px;
  max-width: 520px;
}

/* ---------- FINAL CTA ---------- */

.home-final-cta {
  padding: 88px 0 104px;
  background:
    radial-gradient(circle at 75% 25%, rgba(199,179,122,0.18), transparent 32%),
    #f7f7f5;
}

.final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: end;
  padding: 46px;
  background: #fff;
  border: 1px solid #e7e3dc;
}

.final-cta h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(36px, 4vw, 68px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.lux-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.lux-button--dark {
  background: #111;
  color: #fff;
  border: 1px solid #111;
}

.lux-button--dark:hover {
  background: #8b7a5a;
  border-color: #8b7a5a;
  color: #fff;
}

/* =========================
   CATALOG PAGE
========================= */

.section--shop {
  padding-top: 56px !important;
  padding-bottom: 96px;
  background: #f7f7f5;
}

.section--shop .container {
  width: 100% !important;
  max-width: none !important;
  padding-left: 24px !important;
  padding-right: 40px !important;
}

.shop-layout {
  display: grid !important;
  grid-template-columns: 270px minmax(0, 1fr) !important;
  gap: 24px !important;
  align-items: start !important;
}

/* =========================
   FILTER SIDEBAR
========================= */

.shop-sidebar {
  position: sticky !important;
  top: 110px !important;
  margin: 0 !important;
}

.shop-filter-box {
  width: 100% !important;
  background: #fff !important;
  color: #111 !important;
  border: 1px solid #e7e3dc !important;
  border-radius: 0 !important;
  padding: 30px 26px !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.06) !important;
}

.shop-filter-title {
  color: #8b7a5a !important;
  font-size: 12px !important;
  line-height: 1 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
  margin-bottom: 28px !important;
}

/* =========================
   WOOF FILTERS
========================= */

.shop-filter-box .woof {
  margin: 0 !important;
}

.shop-filter-box .woof_redraw_zone {
  display: block !important;
}

.shop-filter-box .woof_container {
  margin: 0 0 24px !important;
  padding: 0 0 24px !important;
  border-bottom: 1px solid #eee9e1 !important;
}

.shop-filter-box .woof_container:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

.shop-filter-box .woof_container_inner {
  margin: 0 !important;
}

.shop-filter-box h4,
.shop-filter-box .woof_container h4 {
  color: #111 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
  margin: 0 0 16px !important;
}

.shop-filter-box label,
.shop-filter-box .woof_list label {
  color: #333 !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  cursor: pointer;
}

.shop-filter-box input[type="checkbox"] {
  width: 17px !important;
  height: 17px !important;
  margin-right: 10px !important;
  accent-color: #111 !important;
}

.shop-filter-box select {
  width: 100% !important;
  height: 44px !important;
  border: 1px solid #ddd6cc !important;
  background: #fff !important;
  color: #111 !important;
  padding: 0 12px !important;
  font-size: 14px !important;
  outline: none !important;
}

.shop-filter-box select:focus {
  border-color: #8b7a5a !important;
}

.shop-filter-box .chosen-container,
.shop-filter-box .chosen-container-single,
.shop-filter-box .chosen-single {
  background: #fff !important;
  color: #111 !important;
  border-color: #ddd6cc !important;
}

.shop-filter-box .woof_text_search_container,
.shop-filter-box .woof_container_txt,
.shop-filter-box .woof_container_product_search {
  display: none !important;
}

/* =========================
   CATALOG CONTENT
========================= */

.shop-content {
  min-width: 0 !important;
  padding-left: 0 !important;
}

.shop-content .woocommerce-products-header__title,
.shop-content h1.page-title {
  font-size: clamp(52px, 4.6vw, 72px) !important;
  line-height: 0.95 !important;
  letter-spacing: -0.045em !important;
  margin: 0 0 18px !important;
  color: #111 !important;
}

.shop-content .woocommerce-result-count {
  font-size: 18px !important;
  color: #666 !important;
  margin: 0 0 32px !important;
}

.shop-content .woocommerce-ordering {
  margin: -58px 0 42px auto !important;
  width: fit-content !important;
}

.shop-content .woocommerce-ordering select {
  height: 46px !important;
  min-width: 250px !important;
  border: 1px solid #ddd6cc !important;
  background: #fff !important;
  padding: 0 14px !important;
  font-size: 15px !important;
  color: #111 !important;
}

/* =========================
   PRODUCT GRID
========================= */

.shop-content ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 46px 26px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.shop-content ul.products::before,
.shop-content ul.products::after {
  display: none !important;
}

.shop-content ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  list-style: none !important;
  background: transparent !important;
}

.shop-content ul.products li.product a {
  text-decoration: none !important;
}

.shop-content ul.products li.product a img {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  background: #f1f2f1 !important;
  margin: 0 0 22px !important;
  padding: 30px !important;
  border-radius: 0 !important;
  transition: transform 0.25s ease, background 0.25s ease !important;
}

.shop-content ul.products li.product:hover a img {
  transform: translateY(-4px) !important;
  background: #ececeb !important;
}

.shop-content ul.products li.product .woocommerce-loop-product__title {
  font-size: 15px !important;
  line-height: 1.22 !important;
  letter-spacing: 0.01em !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
  color: #111 !important;
  padding: 0 !important;
  margin: 0 0 10px !important;
}

.shop-content ul.products li.product .price {
  display: block !important;
  color: #9a7a24 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  margin-top: 8px !important;
}

/* =========================
   PRICE ACCESS BUTTON
========================= */

.es-price-access-button,
.shop-content .es-price-access-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  background: #111 !important;
  color: #fff !important;
  padding: 14px 24px !important;
  border-radius: 0 !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

.es-price-access-button:hover,
.shop-content .es-price-access-button:hover {
  background: #8b7a5a !important;
  color: #fff !important;
}

/* =========================
   SINGLE PRODUCT BASIC
========================= */

.single-product .product {
  padding: 64px 0;
}

.single-product .product_title {
  font-size: clamp(36px, 4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.single-product .price {
  color: #9a7a24 !important;
  font-weight: 700;
}

/* =========================
   PRICE ACCESS MODAL
========================= */

.es-price-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.es-price-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.es-price-modal__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 0;
  padding: 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.es-price-modal__content h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.15;
}

.es-price-modal__content p {
  margin-bottom: 20px;
  color: #555;
  line-height: 1.5;
}

.es-price-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: 0;
  background: transparent;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

#es-price-access-form {
  display: grid;
  gap: 14px;
}

#es-price-access-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

#es-price-access-form input {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 0;
  padding: 12px 14px;
  font-size: 16px;
}

.es-price-access-submit {
  margin-top: 8px;
  border: 0;
  background: #111;
  color: #fff;
  padding: 14px 22px;
  border-radius: 0;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}

.es-price-access-submit:hover {
  background: #8b7a5a;
}

.es-price-access-message {
  font-size: 14px;
  color: #333;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1250px) {
  .section--shop .container {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }

  .shop-layout {
    grid-template-columns: 260px minmax(0, 1fr) !important;
    gap: 24px !important;
  }

  .shop-content ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .shop-content ul.products li.product a img {
    padding: 24px !important;
  }
}

@media (max-width: 1100px) {
  .brand-showcase,
  .brand-showcase--mosaic,
  .brand-showcase--premium,
  .brand-showcase--full {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: 360px;
    gap: 0;
  }

  .brand-tile,
  .brand-tile--grb,
  .brand-tile--bathco,
  .brand-tile--arco,
  .brand-tile--sonia,
  .brand-tile--tucai {
    grid-column: auto;
    grid-row: auto;
    min-height: 360px;
  }

  .section-head--projects {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .projects-grid,
  .projects-grid--nine {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card--large {
    grid-column: span 2;
    min-height: 460px;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 32px, 1320px);
  }

  .header-inner {
    min-height: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 18px 0;
  }

  .nav {
    width: 100%;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
  }

  .section--shop {
    padding-top: 36px !important;
    padding-bottom: 64px !important;
  }

  .section--shop .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .shop-layout {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .shop-sidebar {
    position: static !important;
  }

  .shop-filter-box {
    padding: 24px !important;
  }

  .shop-content .woocommerce-products-header__title,
  .shop-content h1.page-title {
    font-size: 44px !important;
  }

  .shop-content .woocommerce-ordering {
    margin: 0 0 32px !important;
    width: 100% !important;
  }

  .shop-content .woocommerce-ordering select {
    width: 100% !important;
  }

  .shop-content ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 40px 22px !important;
  }
}

@media (max-width: 760px) {
  .home-hero {
    min-height: auto;
    padding: 78px 0 76px;
  }

  .home-hero .container {
    width: min(100% - 32px, 1500px);
  }

  .home-hero h1 {
    font-size: clamp(42px, 11vw, 62px);
    line-height: 0.98;
  }

  .home-hero p {
    font-size: 17px;
    margin-top: 24px;
  }

  .home-brands {
    padding: 54px 0 0;
  }

  .home-brands .section-head {
    width: min(100% - 32px, 1500px);
    margin-bottom: 28px;
  }

  .brand-showcase,
  .brand-showcase--mosaic,
  .brand-showcase--premium,
  .brand-showcase--full {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: 330px;
    gap: 0;
  }

  .brand-tile,
  .brand-tile--grb,
  .brand-tile--bathco,
  .brand-tile--arco,
  .brand-tile--sonia,
  .brand-tile--tucai {
    grid-column: auto;
    grid-row: auto;
    min-height: 330px;
  }

  .brand-tile__content {
    padding: 100px 28px 28px;
  }

  .brand-tile__content strong,
  .brand-tile--grb .brand-tile__content strong,
  .brand-tile--bathco .brand-tile__content strong {
    font-size: clamp(36px, 10vw, 58px);
  }

  .action-grid {
    grid-template-columns: 1fr;
  }

  .action-card {
    min-height: 220px;
    padding: 32px 30px;
  }

  .action-card h3 {
    max-width: 78%;
    font-size: clamp(34px, 9vw, 52px);
  }

  .action-card::after {
    right: 30px;
    bottom: 32px;
    width: 54px;
    height: 54px;
    font-size: 30px;
  }

  .home-projects {
    padding: 72px 0;
  }

  .home-projects .container {
    width: min(100% - 32px, 1500px);
  }

  .section-head--projects {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .projects-grid,
  .projects-grid--nine {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card--large {
    grid-column: auto;
    grid-row: auto;
    min-height: 280px;
    padding: 28px;
  }

  .project-card--large h3 {
    font-size: clamp(34px, 10vw, 56px);
  }

  .final-cta {
    grid-template-columns: 1fr;
    padding: 34px 28px;
  }

  .lux-button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1320px);
  }

  .header-logo__text {
    font-size: 24px;
  }

  .header-logo__img {
    width: 58px !important;
    max-width: 58px !important;
    margin-left: -14px;
  }

  .nav {
    gap: 14px;
  }

  .nav a {
    font-size: 14px;
  }

  .shop-content ul.products {
    grid-template-columns: 1fr !important;
  }

  .shop-content .woocommerce-products-header__title,
  .shop-content h1.page-title {
    font-size: 38px !important;
  }
}
/* =========================
   CATALOG CLEAN TOP
========================= */

.shop-content .woocommerce-ordering,
.woocommerce-ordering {
  display: none !important;
}

/* =========================
   CATALOG SEARCH
========================= */

.es-catalog-search {
  margin: 0 0 44px;
  padding: 0;
  background: transparent;
  border: 0;
}

.es-catalog-search__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 14px;
}

.es-catalog-search__input {
  width: 100%;
  height: 64px;
  border: 1px solid #ddd6cc;
  background: #fff;
  color: #111;
  padding: 0 22px;
  font-size: 18px;
  outline: none;
}

.es-catalog-search__input::placeholder {
  color: transparent;
}

.es-catalog-search__input:focus {
  border-color: #111;
  background: #fff;
}

.es-catalog-search__button {
  height: 64px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  cursor: pointer;
}

.es-catalog-search__button:hover {
  background: #8b7a5a;
  border-color: #8b7a5a;
}

.es-catalog-search__reset {
  display: inline-block;
  margin-top: 14px;
  color: #8b7a5a;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.es-catalog-search__reset:hover {
  color: #111;
}

@media (max-width: 760px) {
  .es-catalog-search__form {
    grid-template-columns: 1fr;
  }

  .es-catalog-search__input,
  .es-catalog-search__button {
    height: 58px;
  }
}

/* =========================================================
   EURO SANTEHNIKA — CATALOG FILTER PANEL V7
   Компактный минималистичный B2B-фильтр.
   Весь сайдбар больше не имеет собственной прокрутки:
   прокрутка появляется только внутри длинного списка значений.
========================================================= */

.shop-layout {
  grid-template-columns: 250px minmax(0, 1fr) !important;
  gap: 32px !important;
  align-items: start !important;
}

.shop-sidebar {
  position: sticky !important;
  top: 108px !important;
  align-self: flex-start !important;
  max-height: none !important;
  overflow: visible !important;
  margin: 0 !important;
  padding: 0 !important;
}

.shop-filter-box {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  background: #ffffff !important;
  border: 1px solid #e4dfd6 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Корневая панель */
.es-catalog-filter {
  margin: 0 !important;
  padding: 0 !important;
  background: #ffffff !important;
  color: #111111 !important;
}

/* Шапка фильтра */
.es-catalog-filter__head {
  min-height: 68px !important;
  padding: 0 22px !important;
  border-bottom: 1px solid #e9e4dc !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
}

.es-catalog-filter__title {
  margin: 0 !important;
  color: #8b7a5a !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
}

.es-catalog-filter__reset {
  padding: 0 !important;
  color: #777777 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid transparent !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: color 0.2s ease, border-color 0.2s ease !important;
}

.es-catalog-filter__reset:hover {
  color: #111111 !important;
  border-bottom-color: #111111 !important;
}

/* Внутренняя область */
.es-catalog-filter__body {
  padding: 0 22px 22px !important;
}

/* Секции */
.es-filter-section {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid #ebe6de !important;
}

.es-filter-section:last-of-type {
  border-bottom: 0 !important;
}

.es-filter-section__button {
  width: 100% !important;
  min-height: 60px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #111111 !important;
  appearance: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  text-align: left !important;
  box-shadow: none !important;
}

.es-filter-section__button:hover .es-filter-section__name {
  color: #8b7a5a !important;
}

.es-filter-section__name {
  color: #111111 !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  letter-spacing: 0.17em !important;
  text-transform: uppercase !important;
  transition: color 0.2s ease !important;
}

.es-filter-section__meta {
  margin-left: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
}

.es-filter-section__count {
  min-width: 20px !important;
  height: 20px !important;
  padding: 0 6px !important;
  border-radius: 999px !important;
  background: #f2ede5 !important;
  color: #8b6d2f !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
}

/* Плюс / минус */
.es-filter-section__icon {
  position: relative !important;
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
}

.es-filter-section__icon::before,
.es-filter-section__icon::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 14px !important;
  height: 1px !important;
  background: #9b7a36 !important;
  transform: translate(-50%, -50%) !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
}

.es-filter-section__icon::after {
  transform: translate(-50%, -50%) rotate(90deg) !important;
}

.es-filter-section.is-open .es-filter-section__icon::after {
  opacity: 0 !important;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0.2) !important;
}

/* Панель значений */
.es-filter-section__panel {
  display: none !important;
  margin: 0 !important;
  padding: 0 0 17px !important;
}

.es-filter-section.is-open .es-filter-section__panel {
  display: block !important;
}

/* Длинный список прокручивается внутри своей секции */
.es-filter-options {
  max-height: 210px !important;
  margin: 0 !important;
  padding: 1px 2px 1px 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  list-style: none !important;
  scrollbar-width: thin !important;
  scrollbar-color: #d2c4ac transparent !important;
}

.es-filter-options::-webkit-scrollbar {
  width: 4px !important;
}

.es-filter-options::-webkit-scrollbar-track {
  background: transparent !important;
}

.es-filter-options::-webkit-scrollbar-thumb {
  background: #d2c4ac !important;
  border-radius: 0 !important;
}

.es-filter-options__item {
  margin: 0 0 10px !important;
  padding: 0 !important;
}

.es-filter-options__item:last-child {
  margin-bottom: 0 !important;
}

.es-filter-options__item--child {
  padding-left: 18px !important;
}

/* Значение фильтра */
.es-filter-option {
  display: grid !important;
  grid-template-columns: 17px minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: center !important;
  margin: 0 !important;
  color: #333333 !important;
  cursor: pointer !important;
}

.es-filter-option input[type="checkbox"],
.es-filter-option input[type="radio"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  margin: 0 !important;
  border: 1px solid #aaa39a !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: border-color 0.18s ease, background-color 0.18s ease !important;
}

.es-filter-option input[type="radio"] {
  border-radius: 50% !important;
}

.es-filter-option input[type="checkbox"]:hover,
.es-filter-option input[type="radio"]:hover {
  border-color: #111111 !important;
}

.es-filter-option input[type="checkbox"]:checked {
  border-color: #111111 !important;
  background-color: #111111 !important;
  background-image:
    linear-gradient(45deg, transparent 43%, #ffffff 43% 50%, transparent 50%),
    linear-gradient(135deg, transparent 56%, #ffffff 56% 63%, transparent 63%) !important;
}

.es-filter-option input[type="radio"]:checked {
  border: 5px solid #111111 !important;
  background: #ffffff !important;
}

.es-filter-option__label {
  min-width: 0 !important;
  color: #333333 !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.es-filter-option__count {
  color: #a1988d !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
}

.es-filter-empty {
  margin: 0 !important;
  padding: 0 0 16px !important;
  color: #a1988d !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

/* Кнопка применения */
.es-catalog-filter__actions {
  margin: 0 !important;
  padding: 22px 0 0 !important;
  display: grid !important;
  gap: 10px !important;
}

.es-catalog-filter__submit {
  width: 100% !important;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 1px solid #111111 !important;
  border-radius: 0 !important;
  background: #111111 !important;
  color: #ffffff !important;
  box-shadow: none !important;
  cursor: pointer !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  transition: background-color 0.2s ease, border-color 0.2s ease !important;
}

.es-catalog-filter__submit:hover {
  background: #8b7a5a !important;
  border-color: #8b7a5a !important;
}

.es-catalog-filter__mobile-note {
  display: none !important;
}

/* Мобильная версия */
@media (max-width: 1100px) {
  .shop-layout {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .shop-sidebar {
    position: static !important;
    top: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 0 26px !important;
  }
}

@media (max-width: 760px) {
  .es-catalog-filter__head {
    min-height: 62px !important;
    padding: 0 18px !important;
  }

  .es-catalog-filter__body {
    padding: 0 18px 20px !important;
  }

  .es-filter-section__button {
    min-height: 56px !important;
  }

  .es-filter-options {
    max-height: 190px !important;
  }
}


/* =========================================================
   PRODUCT PAGE FIX V10
   На карточке товара фильтры не показываем.
========================================================= */

.single-product .shop-sidebar,
.single-product .shop-filter-box,
.single-product aside.shop-sidebar,
.single-product .widget-area,
.single-product aside.sidebar {
  display: none !important;
}

.single-product .shop-layout,
.single-product .site-main .shop-layout,
.single-product .woocommerce-page .shop-layout {
  display: block !important;
  grid-template-columns: 1fr !important;
}

.single-product .shop-content,
.single-product .woocommerce,
.single-product div.product {
  width: 100% !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.single-product div.product {
  padding-left: 24px !important;
  padding-right: 24px !important;
}

@media (max-width: 760px) {
  .single-product div.product {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

/* =========================================================
   PRODUCT CARD — CLEAN B2B V14
   Цель:
   - убрать вертикальную "ленту" фотографий;
   - включить аккуратную галерею;
   - сделать карточку строгой и профессиональной;
   - убрать кнопку запроса условий;
   - сделать характеристики компактными B2B-плитками.
========================================================= */

.single-product .site-main,
.single-product .woocommerce {
  background: #f8f7f4 !important;
}

.single-product .woocommerce-notices-wrapper {
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.single-product div.product {
  max-width: 1280px !important;
  margin: 32px auto 0 !important;
  padding: 0 30px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr) !important;
  column-gap: 54px !important;
  row-gap: 40px !important;
  align-items: start !important;
}

.single-product div.product::before,
.single-product div.product::after {
  display: none !important;
  content: none !important;
}

/* Gallery base */
.single-product div.product > .woocommerce-product-gallery,
.single-product div.product .woocommerce-product-gallery {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  display: block !important;
}

/* Если WooCommerce slider ещё не инициализировался — не даём картинкам идти вниз одна за другой */
.single-product div.product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:not(:first-child) {
  display: none !important;
}

/* После инициализации FlexSlider снова разрешаем слайды */
.single-product div.product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image {
  display: block !important;
}

.single-product div.product .woocommerce-product-gallery .flex-viewport,
.single-product div.product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child {
  background: #ffffff !important;
  border: 1px solid #e4dacb !important;
  box-shadow: 0 16px 38px rgba(17, 17, 17, 0.045) !important;
  overflow: hidden !important;
}

.single-product div.product .woocommerce-product-gallery__wrapper {
  margin: 0 !important;
}

.single-product div.product .woocommerce-product-gallery__image a {
  height: 520px !important;
  min-height: 520px !important;
  padding: 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.single-product div.product .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  transform: scale(1.06) !important;
  transform-origin: center center !important;
}

/* Thumbnails — строго горизонтально под основным фото */
.single-product div.product .flex-control-thumbs,
.single-product div.product ol.flex-control-thumbs,
.single-product div.product .woocommerce-product-gallery .flex-control-nav {
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin: 14px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
  clear: both !important;
}

.single-product div.product .flex-control-thumbs li,
.single-product div.product ol.flex-control-thumbs li,
.single-product div.product .woocommerce-product-gallery .flex-control-nav li {
  width: 82px !important;
  height: 82px !important;
  min-width: 82px !important;
  max-width: 82px !important;
  flex: 0 0 82px !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #ffffff !important;
  border: 1px solid #e4dacb !important;
  overflow: hidden !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

.single-product div.product .flex-control-thumbs li:hover,
.single-product div.product ol.flex-control-thumbs li:hover {
  border-color: #9b7a36 !important;
}

.single-product div.product .flex-control-thumbs img,
.single-product div.product ol.flex-control-thumbs img,
.single-product div.product .woocommerce-product-gallery .flex-control-nav img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: contain !important;
  padding: 6px !important;
  opacity: 0.72 !important;
  transform: none !important;
}

.single-product div.product .flex-control-thumbs img.flex-active,
.single-product div.product .flex-control-thumbs img:hover {
  opacity: 1 !important;
}

/* Summary */
.single-product div.product > .summary,
.single-product div.product .entry-summary,
.single-product div.product .summary {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  padding: 4px 0 0 !important;
  position: static !important;
}

.single-product .es-product-kicker-v14 {
  margin: 0 0 14px !important;
  color: #9b7a36 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
}

.single-product div.product .product_title,
.single-product div.product .entry-title {
  margin: 0 0 18px !important;
  color: #101010 !important;
  font-size: clamp(40px, 4vw, 56px) !important;
  line-height: 0.98 !important;
  font-weight: 900 !important;
  letter-spacing: -0.045em !important;
}

.single-product .es-product-topline-v14 {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px 18px !important;
  margin: 0 0 24px !important;
  padding: 0 0 24px !important;
  border-bottom: 1px solid #e3d8c8 !important;
  color: #222222 !important;
}

.single-product .es-product-topline-v14__item {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 7px !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
}

.single-product .es-product-topline-v14__label {
  color: #8b7a5a !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.single-product div.product p.price,
.single-product div.product span.price {
  margin: 0 0 26px !important;
  color: #9b7a24 !important;
  font-size: 30px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  letter-spacing: -0.015em !important;
}

.single-product div.product p.price .woocommerce-Price-currencySymbol,
.single-product div.product span.price .woocommerce-Price-currencySymbol {
  font-size: 0.78em !important;
}

/* B2B parameter cards */
.single-product .es-product-params-v14 {
  margin: 0 !important;
}

.single-product .es-product-params-v14__title {
  margin: 0 0 14px !important;
  color: #101010 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

.single-product .es-product-params-v14__grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.single-product .es-product-param-v14 {
  min-height: 74px !important;
  padding: 14px 15px !important;
  background: #ffffff !important;
  border: 1px solid #e5dacb !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 7px !important;
}

.single-product .es-product-param-v14__label {
  color: #8b7a5a !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.single-product .es-product-param-v14__value {
  color: #101010 !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}

.single-product .es-product-cta,
.single-product .es-product-cta__button,
.single-product .es-price-access-button,
.single-product form.cart,
.single-product .single_add_to_cart_button,
.single-product .quantity {
  display: none !important;
}

.single-product .product_meta {
  display: none !important;
}

/* Tabs below */
.single-product .woocommerce-tabs,
.single-product .woocommerce-tabs.wc-tabs-wrapper {
  grid-column: 1 / -1 !important;
  margin: 32px 0 0 !important;
  padding: 40px 0 0 !important;
  border-top: 1px solid #e3d8c8 !important;
  width: 100% !important;
}

.single-product .woocommerce-tabs ul.tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 0 26px !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none !important;
}

.single-product .woocommerce-tabs ul.tabs::before,
.single-product .woocommerce-tabs ul.tabs::after {
  display: none !important;
  content: none !important;
}

.single-product .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #e0d5c6 !important;
  background: #ffffff !important;
  border-radius: 0 !important;
}

.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
  content: none !important;
}

.single-product .woocommerce-tabs ul.tabs li.active {
  background: #111111 !important;
  border-color: #111111 !important;
}

.single-product .woocommerce-tabs ul.tabs li a {
  display: block !important;
  padding: 13px 18px !important;
  color: #111111 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

.single-product .woocommerce-tabs ul.tabs li.active a {
  color: #ffffff !important;
}

.single-product .woocommerce-tabs .panel {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 900px !important;
  color: #333333 !important;
  font-size: 16px !important;
  line-height: 1.68 !important;
}

.single-product .woocommerce-tabs .panel h2 {
  margin: 0 0 20px !important;
  color: #101010 !important;
  font-size: 28px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  letter-spacing: -0.025em !important;
}

.single-product table.shop_attributes {
  width: 100% !important;
  max-width: 820px !important;
  border-collapse: collapse !important;
  background: #ffffff !important;
  border: 1px solid #e5dacb !important;
}

.single-product table.shop_attributes tr + tr {
  border-top: 1px solid #f0e9df !important;
}

.single-product table.shop_attributes th,
.single-product table.shop_attributes td {
  padding: 15px 18px !important;
  border: 0 !important;
  vertical-align: top !important;
  text-align: left !important;
}

.single-product table.shop_attributes th {
  width: 34% !important;
  color: #8b7a5a !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  background: #fbfaf8 !important;
}

.single-product table.shop_attributes td,
.single-product table.shop_attributes td p {
  color: #111111 !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  margin: 0 !important;
}

.single-product .related.products {
  grid-column: 1 / -1 !important;
  margin-top: 36px !important;
  padding-top: 18px !important;
}

@media (max-width: 1120px) {
  .single-product div.product {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
    margin-top: 26px !important;
  }

  .single-product div.product .woocommerce-product-gallery__image a {
    height: 460px !important;
    min-height: 460px !important;
  }
}

@media (max-width: 760px) {
  .single-product div.product {
    margin-top: 18px !important;
    padding: 0 18px !important;
  }

  .single-product div.product .woocommerce-product-gallery__image a {
    height: 330px !important;
    min-height: 330px !important;
    padding: 12px !important;
  }

  .single-product div.product .woocommerce-product-gallery__image img {
    transform: scale(1.04) !important;
  }

  .single-product div.product .flex-control-thumbs li,
  .single-product div.product ol.flex-control-thumbs li,
  .single-product div.product .woocommerce-product-gallery .flex-control-nav li {
    width: 70px !important;
    height: 70px !important;
    min-width: 70px !important;
    max-width: 70px !important;
    flex-basis: 70px !important;
  }

  .single-product div.product .product_title,
  .single-product div.product .entry-title {
    font-size: 35px !important;
  }

  .single-product .es-product-params-v14__grid {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   PRODUCT CARD — DESCRIPTION ONLY V16
   Убираем нижние вкладки "Характеристики" и "Документы и видео".
   Характеристики уже есть в правой части карточки.
   Снизу оставляем только красивое описание.
========================================================= */

.single-product .woocommerce-tabs,
.single-product .woocommerce-tabs.wc-tabs-wrapper {
  grid-column: 1 / -1 !important;
  margin: 42px 0 0 !important;
  padding: 44px 0 0 !important;
  border-top: 1px solid #e3d8c8 !important;
  width: 100% !important;
}

.single-product .woocommerce-tabs ul.tabs {
  display: none !important;
}

.single-product .woocommerce-tabs .panel {
  margin: 0 !important;
  padding: 38px 42px !important;
  max-width: none !important;
  background: #ffffff !important;
  border: 1px solid #e4dacb !important;
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.035) !important;
  color: #333333 !important;
  font-size: 17px !important;
  line-height: 1.7 !important;
}

.single-product .woocommerce-tabs .panel h2 {
  margin: 0 0 22px !important;
  color: #101010 !important;
  font-size: 32px !important;
  line-height: 1.08 !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
}

.single-product .woocommerce-tabs .panel p {
  max-width: 900px !important;
  margin: 0 0 16px !important;
}

.single-product .woocommerce-tabs .panel p:last-child {
  margin-bottom: 0 !important;
}

.single-product .woocommerce-tabs .panel ul,
.single-product .woocommerce-tabs .panel ol {
  max-width: 900px !important;
  margin: 0 0 16px 20px !important;
}

.single-product #tab-additional_information,
.single-product .woocommerce-Tabs-panel--additional_information {
  display: none !important;
}

.single-product .related.products {
  grid-column: 1 / -1 !important;
  margin: 44px 0 0 !important;
  padding: 42px 0 0 !important;
  border-top: 1px solid #e3d8c8 !important;
}

.single-product .related.products > h2 {
  margin: 0 0 26px !important;
  color: #101010 !important;
  font-size: 34px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: -0.035em !important;
}

.single-product .related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 26px !important;
}

.single-product .related.products ul.products li.product {
  width: auto !important;
  margin: 0 !important;
}

@media (max-width: 1100px) {
  .single-product .related.products ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .single-product .related.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .single-product .woocommerce-tabs .panel {
    padding: 28px 22px !important;
    font-size: 16px !important;
  }

  .single-product .woocommerce-tabs .panel h2 {
    font-size: 28px !important;
  }

  .single-product .related.products ul.products {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   BRANDS — SIMPLE INDEX + BRAND DETAIL V19
   Страница списка брендов + отдельная страница бренда.
========================================================= */

.brands-index,
.brand-single {
  background: #f8f7f4;
  color: #111111;
}

.brands-index a,
.brand-single a {
  text-decoration: none;
}

.brands-container,
.brand-container {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 30px;
  padding-right: 30px;
}

.brands-index-hero,
.brand-single-hero {
  padding: 72px 0 44px;
  border-top: 1px solid #eee8df;
}

.brands-kicker,
.brand-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: #9b7a36;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brands-index-hero h1,
.brand-single-hero h1 {
  max-width: 920px;
  margin: 0;
  color: #101010;
  font-size: clamp(46px, 5.4vw, 76px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.brands-index-intro {
  max-width: 720px;
  margin: 24px 0 0;
  color: #4b4b4b;
  font-size: 18px;
  line-height: 1.62;
}

.brands-index-grid-section {
  padding-bottom: 76px;
}

.brands-index-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.brands-index-card {
  min-height: 310px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid #e4dacb;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.brands-index-card:hover {
  border-color: #9b7a36;
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.055);
  transform: translateY(-2px);
}

.brands-index-card__logo {
  min-height: 80px;
  display: flex;
  align-items: center;
}

.brands-index-card__logo img {
  max-width: 150px;
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.brands-index-card__body h2 {
  margin: 0 0 12px;
  color: #101010;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brands-index-card__body p {
  margin: 0;
  color: #555555;
  font-size: 15px;
  line-height: 1.55;
}

.brands-index-card__link {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #111111;
  background: #111111;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brands-index-card__link:hover {
  background: #9b7a36;
  border-color: #9b7a36;
  color: #ffffff;
}

.brand-single-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 54px;
  align-items: center;
}

.brand-single-hero p {
  max-width: 720px;
  margin: 24px 0 0;
  color: #4b4b4b;
  font-size: 18px;
  line-height: 1.62;
}

.brand-single-logo {
  min-height: 260px;
  padding: 42px;
  background: #ffffff;
  border: 1px solid #e4dacb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-single-logo img {
  max-width: 230px;
  max-height: 96px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.brand-single-info {
  padding-bottom: 76px;
}

.brand-single-info__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  align-items: start;
}

.brand-single-panel {
  padding: 36px 40px;
  background: #ffffff;
  border: 1px solid #e4dacb;
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.035);
}

.brand-single-panel h2 {
  margin: 0 0 20px;
  color: #101010;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-single-panel p {
  margin: 0;
  color: #444444;
  font-size: 17px;
  line-height: 1.72;
}

.brand-single-focus {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-single-focus span {
  min-height: 36px;
  padding: 9px 13px;
  background: #fbfaf8;
  border: 1px solid #eadfce;
  color: #111111;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}

.brand-single-side {
  padding: 28px;
  background: #111111;
  color: #ffffff;
}

.brand-single-side__title {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-single-side__link {
  width: 100%;
  min-height: 50px;
  margin-top: 14px;
  padding: 0 18px;
  background: #ffffff;
  border: 1px solid #ffffff;
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-single-side__link:hover {
  background: #9b7a36;
  border-color: #9b7a36;
  color: #ffffff;
}

.brand-single-back {
  margin-top: 20px;
  display: inline-flex;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  line-height: 1.4;
}

.brand-single-back:hover {
  color: #ffffff;
}

@media (max-width: 1120px) {
  .brands-index-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .brand-single-hero__grid,
  .brand-single-info__grid {
    grid-template-columns: 1fr;
  }

  .brand-single-logo {
    max-width: 420px;
  }
}

@media (max-width: 760px) {
  .brands-container,
  .brand-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brands-index-hero,
  .brand-single-hero {
    padding-top: 52px;
  }

  .brands-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-single-panel {
    padding: 28px 24px;
  }
}

@media (max-width: 560px) {
  .brands-index-grid {
    grid-template-columns: 1fr;
  }

  .brands-index-card {
    min-height: 270px;
  }

  .brand-single-logo {
    min-height: 200px;
  }
}

/* =========================================================
   BRANDS INDEX — SIMPLE TOP V20
   Упрощаем страницу брендов:
   - сверху только "Бренды";
   - без лишнего текста;
   - спокойная сетка брендов.
========================================================= */

.brands-index-hero {
  padding: 58px 0 34px !important;
  border-top: 1px solid #eee8df !important;
}

.brands-index-hero .brands-kicker,
.brands-index-intro {
  display: none !important;
}

.brands-index-hero h1 {
  max-width: none !important;
  margin: 0 !important;
  color: #101010 !important;
  font-size: clamp(48px, 5vw, 72px) !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: -0.055em !important;
}

.brands-index-grid-section {
  padding-bottom: 78px !important;
}

.brands-index-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.brands-index-card {
  min-height: 300px !important;
  padding: 26px !important;
  background: #ffffff !important;
  border: 1px solid #e4dacb !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  border-radius: 0 !important;
}

.brands-index-card:hover {
  border-color: #9b7a36 !important;
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.045) !important;
  transform: translateY(-2px) !important;
}

.brands-index-card__logo {
  min-height: 86px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.brands-index-card__logo img {
  max-width: 155px !important;
  max-height: 60px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

.brands-index-card__body h2 {
  margin: 0 0 10px !important;
  color: #101010 !important;
  font-size: 28px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
}

.brands-index-card__body p {
  max-width: 220px !important;
  margin: 0 !important;
  color: #555555 !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

.brands-index-card__link {
  min-height: 44px !important;
  padding: 0 16px !important;
  border: 1px solid #111111 !important;
  background: #111111 !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

.brands-index-card__link:hover {
  background: #9b7a36 !important;
  border-color: #9b7a36 !important;
  color: #ffffff !important;
}

@media (max-width: 1120px) {
  .brands-index-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .brands-index-hero {
    padding-top: 44px !important;
    padding-bottom: 28px !important;
  }

  .brands-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  .brands-index-grid {
    grid-template-columns: 1fr !important;
  }

  .brands-index-card {
    min-height: 260px !important;
  }
}


/* =========================================================
   BRANDS PAGE — PROFESSIONAL DIRECTORY V21
   Более B2B-подход:
   - сверху только "Бренды";
   - вместо карточек — аккуратный список производителей;
   - логотип / название / специализация / переход на страницу бренда.
========================================================= */

.brands-index {
  background: #f8f7f4 !important;
  color: #111111 !important;
}

.brands-index-hero {
  padding: 54px 0 26px !important;
  border-top: 1px solid #eee8df !important;
}

.brands-index-hero .brands-kicker,
.brands-index-intro {
  display: none !important;
}

.brands-index-hero h1 {
  margin: 0 !important;
  color: #101010 !important;
  font-size: clamp(48px, 5vw, 72px) !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: -0.055em !important;
}

.brands-index-grid-section {
  padding: 0 0 76px !important;
}

.brands-index-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  border-top: 1px solid #e4dacb !important;
  border-bottom: 1px solid #e4dacb !important;
}

.brands-index-card {
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #e4dacb !important;
  box-shadow: none !important;
  display: grid !important;
  grid-template-columns: 230px minmax(0, 1fr) 190px !important;
  gap: 30px !important;
  align-items: center !important;
  border-radius: 0 !important;
  transition: background 0.18s ease, box-shadow 0.18s ease !important;
}

.brands-index-card:last-child {
  border-bottom: 0 !important;
}

.brands-index-card:hover {
  background: #ffffff !important;
  border-color: #e4dacb !important;
  box-shadow: none !important;
  transform: none !important;
}

.brands-index-card__logo {
  min-height: 126px !important;
  padding: 24px 28px !important;
  background: #ffffff !important;
  border-right: 1px solid #e4dacb !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.brands-index-card__logo img {
  max-width: 150px !important;
  max-height: 58px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

.brands-index-card__body {
  padding: 24px 0 !important;
}

.brands-index-card__body h2 {
  margin: 0 0 8px !important;
  color: #101010 !important;
  font-size: 28px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
}

.brands-index-card__body p {
  max-width: 560px !important;
  margin: 0 !important;
  color: #4f4f4f !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.brands-index-card__link {
  justify-self: end !important;
  width: auto !important;
  min-width: 150px !important;
  min-height: 44px !important;
  margin-right: 28px !important;
  padding: 0 18px !important;
  border: 1px solid #111111 !important;
  background: transparent !important;
  color: #111111 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 0.11em !important;
  text-transform: uppercase !important;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease !important;
}

.brands-index-card__link:hover {
  background: #111111 !important;
  border-color: #111111 !important;
  color: #ffffff !important;
}

@media (max-width: 900px) {
  .brands-index-card {
    grid-template-columns: 180px minmax(0, 1fr) !important;
    gap: 22px !important;
  }

  .brands-index-card__link {
    grid-column: 2 !important;
    justify-self: start !important;
    margin: 0 0 24px !important;
  }

  .brands-index-card__body {
    padding: 24px 20px 12px 0 !important;
  }
}

@media (max-width: 640px) {
  .brands-index-hero {
    padding-top: 40px !important;
    padding-bottom: 22px !important;
  }

  .brands-index-card {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    background: #ffffff !important;
  }

  .brands-index-card__logo {
    min-height: 104px !important;
    padding: 22px 22px 8px !important;
    border-right: 0 !important;
    background: #ffffff !important;
  }

  .brands-index-card__body {
    padding: 10px 22px 18px !important;
  }

  .brands-index-card__link {
    grid-column: auto !important;
    width: calc(100% - 44px) !important;
    margin: 0 22px 24px !important;
  }
}


/* =========================================================
   BRANDS PAGE — PREMIUM EDITORIAL LIST V22
   Альтернативная версия:
   - не карточки;
   - не таблица;
   - спокойный премиальный список брендов.
========================================================= */

.brands-index {
  background: #f8f7f4 !important;
  color: #111111 !important;
}

.brands-index-hero {
  padding: 58px 0 30px !important;
  border-top: 1px solid #eee8df !important;
}

.brands-index-hero .brands-kicker,
.brands-index-intro {
  display: none !important;
}

.brands-index-hero h1 {
  margin: 0 !important;
  color: #101010 !important;
  font-size: clamp(52px, 5.4vw, 78px) !important;
  line-height: 0.98 !important;
  font-weight: 900 !important;
  letter-spacing: -0.06em !important;
}

.brands-index-grid-section {
  padding: 0 0 80px !important;
}

.brands-index-grid {
  counter-reset: brand-counter !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  border-top: 1px solid #ded3c4 !important;
  border-bottom: 1px solid #ded3c4 !important;
}

.brands-index-card {
  counter-increment: brand-counter !important;
  position: relative !important;
  min-height: 132px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #ded3c4 !important;
  box-shadow: none !important;
  display: grid !important;
  grid-template-columns: 78px 190px minmax(0, 1fr) auto !important;
  gap: 30px !important;
  align-items: center !important;
  border-radius: 0 !important;
  transition: background 0.18s ease !important;
}

.brands-index-card:last-child {
  border-bottom: 0 !important;
}

.brands-index-card::before {
  content: counter(brand-counter, decimal-leading-zero) !important;
  color: #9b7a36 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 0.14em !important;
}

.brands-index-card:hover {
  background: #ffffff !important;
  border-color: #ded3c4 !important;
  box-shadow: none !important;
  transform: none !important;
}

.brands-index-card__logo {
  min-height: 132px !important;
  padding: 0 !important;
  background: transparent !important;
  border-right: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.brands-index-card__logo img {
  max-width: 150px !important;
  max-height: 58px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

.brands-index-card__body {
  padding: 26px 0 !important;
}

.brands-index-card__body h2 {
  margin: 0 0 9px !important;
  color: #101010 !important;
  font-size: 34px !important;
  line-height: 0.98 !important;
  font-weight: 900 !important;
  letter-spacing: -0.05em !important;
}

.brands-index-card__body p {
  max-width: 560px !important;
  margin: 0 !important;
  color: #565656 !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.brands-index-card__link {
  justify-self: end !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: auto !important;
  margin: 0 !important;
  padding: 0 2px 4px !important;
  border: 0 !important;
  border-bottom: 1px solid #111111 !important;
  background: transparent !important;
  color: #111111 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  text-align: right !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  transition: color 0.18s ease, border-color 0.18s ease !important;
}

.brands-index-card__link::after {
  content: " →" !important;
  margin-left: 8px !important;
  letter-spacing: 0 !important;
}

.brands-index-card__link:hover {
  background: transparent !important;
  border-color: #9b7a36 !important;
  color: #9b7a36 !important;
}

@media (max-width: 900px) {
  .brands-index-card {
    grid-template-columns: 54px 160px minmax(0, 1fr) !important;
    gap: 22px !important;
  }

  .brands-index-card__link {
    grid-column: 3 !important;
    justify-self: start !important;
    margin: 0 0 24px !important;
  }

  .brands-index-card__body {
    padding: 24px 0 12px !important;
  }
}

@media (max-width: 680px) {
  .brands-index-hero {
    padding-top: 42px !important;
    padding-bottom: 24px !important;
  }

  .brands-index-card {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    gap: 16px !important;
    min-height: 0 !important;
    padding: 24px 0 !important;
  }

  .brands-index-card__logo {
    grid-column: 2 !important;
    min-height: 58px !important;
  }

  .brands-index-card__body {
    grid-column: 2 !important;
    padding: 8px 0 0 !important;
  }

  .brands-index-card__body h2 {
    font-size: 30px !important;
  }

  .brands-index-card__link {
    grid-column: 2 !important;
    margin: 18px 0 0 !important;
  }
}



/* =========================================================
   BRANDS PAGE — LARGER BRAND VISUALS V23
   Увеличенные логотипы без изменения структуры v22.
========================================================= */

.brands-index-card {
  min-height: 154px !important;
  grid-template-columns: 78px 250px minmax(0, 1fr) auto !important;
  gap: 34px !important;
}

.brands-index-card__logo {
  min-height: 154px !important;
  width: 100% !important;
  overflow: hidden !important;
}

.brands-index-card__logo img {
  max-width: 220px !important;
  max-height: 92px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

@media (max-width: 900px) {
  .brands-index-card {
    grid-template-columns: 54px 220px minmax(0, 1fr) !important;
    gap: 24px !important;
  }

  .brands-index-card__logo img {
    max-width: 195px !important;
    max-height: 82px !important;
  }
}

@media (max-width: 680px) {
  .brands-index-card {
    grid-template-columns: 42px minmax(0, 1fr) !important;
  }

  .brands-index-card__logo {
    min-height: 84px !important;
  }

  .brands-index-card__logo img {
    max-width: 210px !important;
    max-height: 82px !important;
  }
}



/* =========================================================
   BRAND DETAIL PAGE — PROFESSIONAL V24
   Отдельная информационная страница бренда.
========================================================= */

.brand-profile {
  background: #f8f7f4;
  color: #111111;
}

.brand-profile a {
  text-decoration: none;
}

.brand-profile__container {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 30px;
  padding-right: 30px;
}

.brand-profile__hero {
  padding: 58px 0 52px;
  border-top: 1px solid #eee8df;
}

.brand-profile__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 64px;
  align-items: center;
}

.brand-profile__eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: #9b7a36;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-profile__hero h1 {
  margin: 0 0 22px;
  color: #101010;
  font-size: clamp(58px, 7vw, 104px);
  line-height: 0.88;
  font-weight: 900;
  letter-spacing: -0.065em;
}

.brand-profile__lead {
  max-width: 700px;
  margin: 0;
  color: #4f4f4f;
  font-size: 19px;
  line-height: 1.65;
}

.brand-profile__logo-panel {
  min-height: 310px;
  padding: 52px;
  background: #ffffff;
  border: 1px solid #e3d8c8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-profile__logo-panel img {
  max-width: 270px;
  max-height: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.brand-profile__content {
  padding: 0 0 52px;
}

.brand-profile__content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}

.brand-profile__about {
  padding: 42px 44px;
  background: #ffffff;
  border: 1px solid #e3d8c8;
}

.brand-profile__section-label {
  display: inline-block;
  margin-bottom: 16px;
  color: #9b7a36;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-profile__about h2,
.brand-profile__directions h2 {
  margin: 0 0 22px;
  color: #101010;
  font-size: 38px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.brand-profile__about p {
  max-width: 830px;
  margin: 0 0 18px;
  color: #444444;
  font-size: 17px;
  line-height: 1.75;
}

.brand-profile__about p:last-child {
  margin-bottom: 0;
}

.brand-profile__aside {
  padding: 30px;
  background: #111111;
  color: #ffffff;
}

.brand-profile__aside-title {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-profile__aside-link {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,0.32);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.brand-profile__aside-link + .brand-profile__aside-link {
  margin-top: 10px;
}

.brand-profile__aside-link::after {
  content: "→";
  font-size: 15px;
  letter-spacing: 0;
}

.brand-profile__aside-link:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #111111;
}

.brand-profile__back {
  margin-top: 24px;
  color: rgba(255,255,255,0.68);
  display: inline-flex;
  font-size: 13px;
  line-height: 1.4;
}

.brand-profile__back:hover {
  color: #ffffff;
}

.brand-profile__directions {
  padding: 0 0 76px;
}

.brand-profile__directions-head {
  padding-top: 42px;
  border-top: 1px solid #ded3c4;
}

.brand-profile__direction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.brand-profile__direction {
  min-height: 190px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid #e3d8c8;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brand-profile__direction-number {
  color: #9b7a36;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.brand-profile__direction h3 {
  margin: 0 0 10px;
  color: #101010;
  font-size: 25px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.brand-profile__direction p {
  margin: 0;
  color: #555555;
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 1040px) {
  .brand-profile__hero-grid,
  .brand-profile__content-grid {
    grid-template-columns: 1fr;
  }

  .brand-profile__logo-panel {
    max-width: 520px;
    min-height: 250px;
  }

  .brand-profile__aside {
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  .brand-profile__container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand-profile__hero {
    padding-top: 44px;
    padding-bottom: 38px;
  }

  .brand-profile__hero h1 {
    font-size: 60px;
  }

  .brand-profile__lead {
    font-size: 17px;
  }

  .brand-profile__about {
    padding: 30px 24px;
  }

  .brand-profile__direction-grid {
    grid-template-columns: 1fr;
  }
}



/* =========================================================
   BRAND DETAIL PAGE — CLEAN CATALOG V25
   Упрощённая профессиональная страница бренда:
   hero / информация / реальные категории каталога.
========================================================= */

.brand-profile__hero {
  padding: 54px 0 46px !important;
}

.brand-profile__hero-grid {
  grid-template-columns: minmax(0, 1fr) 330px !important;
  gap: 68px !important;
}

.brand-profile__hero h1 {
  margin-bottom: 24px !important;
}

.brand-profile__logo-panel {
  min-height: 250px !important;
  padding: 42px !important;
  box-shadow: none !important;
}

.brand-profile__logo-panel img {
  max-width: 240px !important;
  max-height: 105px !important;
}

.brand-profile__hero-links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 26px !important;
  margin-top: 30px !important;
}

.brand-profile__hero-link {
  padding: 0 0 5px !important;
  color: #111111 !important;
  border-bottom: 1px solid #111111 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

.brand-profile__hero-link:hover {
  color: #9b7a36 !important;
  border-color: #9b7a36 !important;
}

.brand-profile__content {
  padding: 0 !important;
}

.brand-profile__content-grid {
  display: block !important;
}

.brand-profile__about {
  padding: 48px 0 54px !important;
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid #ded3c4 !important;
  box-shadow: none !important;
  display: grid !important;
  grid-template-columns: 210px minmax(0, 1fr) !important;
  gap: 54px !important;
}

.brand-profile__about-heading {
  padding-top: 5px !important;
}

.brand-profile__about-content {
  max-width: 850px !important;
}

.brand-profile__about h2 {
  margin-bottom: 28px !important;
  font-size: 42px !important;
  line-height: 1.02 !important;
}

.brand-profile__about p {
  max-width: 820px !important;
  font-size: 17px !important;
  line-height: 1.76 !important;
}

.brand-profile__aside {
  display: none !important;
}

.brand-profile__catalog {
  padding: 0 0 78px !important;
}

.brand-profile__catalog-head {
  padding: 46px 0 30px !important;
  border-top: 1px solid #ded3c4 !important;
  display: grid !important;
  grid-template-columns: 210px minmax(0, 1fr) !important;
  gap: 54px !important;
}

.brand-profile__catalog-heading h2 {
  margin: 0 0 12px !important;
  color: #101010 !important;
  font-size: 42px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: -0.045em !important;
}

.brand-profile__catalog-heading p {
  max-width: 650px !important;
  margin: 0 !important;
  color: #555555 !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
}

.brand-profile__category-list {
  border-top: 1px solid #ded3c4 !important;
  border-bottom: 1px solid #ded3c4 !important;
}

.brand-profile__category {
  min-height: 84px !important;
  padding: 0 4px !important;
  border-bottom: 1px solid #ded3c4 !important;
  color: #111111 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto 32px !important;
  gap: 24px !important;
  align-items: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition:
    background 0.18s ease,
    padding 0.18s ease,
    color 0.18s ease !important;
}

.brand-profile__category:last-child {
  border-bottom: 0 !important;
}

.brand-profile__category:hover,
.brand-profile__category:focus-visible {
  padding-left: 18px !important;
  padding-right: 18px !important;
  background: #ffffff !important;
  color: #111111 !important;
  outline: none !important;
}

.brand-profile__category-name {
  color: inherit !important;
  font-size: 24px !important;
  line-height: 1.1 !important;
  font-weight: 850 !important;
  letter-spacing: -0.025em !important;
}

.brand-profile__category-count {
  color: #777777 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.brand-profile__category-arrow {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  color: #111111 !important;
  font-size: 23px !important;
  line-height: 1 !important;
  transform: translateX(0) !important;
  transition: transform 0.18s ease !important;
}

.brand-profile__category:hover .brand-profile__category-arrow,
.brand-profile__category:focus-visible .brand-profile__category-arrow {
  transform: translateX(5px) !important;
}

.brand-profile__category--all {
  background: #111111 !important;
  color: #ffffff !important;
}

.brand-profile__category--all .brand-profile__category-count {
  color: rgba(255, 255, 255, 0.66) !important;
}

.brand-profile__category--all .brand-profile__category-arrow {
  color: #ffffff !important;
}

.brand-profile__category--all:hover,
.brand-profile__category--all:focus-visible {
  background: #8b7a5a !important;
  color: #ffffff !important;
}

.brand-profile__catalog-empty {
  margin: 0 !important;
  padding: 28px 0 !important;
  border-top: 1px solid #ded3c4 !important;
  border-bottom: 1px solid #ded3c4 !important;
  color: #666666 !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
}

.brand-profile__directions {
  display: none !important;
}

@media (max-width: 900px) {
  .brand-profile__about,
  .brand-profile__catalog-head {
    grid-template-columns: 160px minmax(0, 1fr) !important;
    gap: 34px !important;
  }
}

@media (max-width: 760px) {
  .brand-profile__hero-grid {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  .brand-profile__logo-panel {
    max-width: 100% !important;
    min-height: 200px !important;
  }

  .brand-profile__about,
  .brand-profile__catalog-head {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .brand-profile__about {
    padding-top: 38px !important;
    padding-bottom: 44px !important;
  }

  .brand-profile__about h2,
  .brand-profile__catalog-heading h2 {
    font-size: 34px !important;
  }

  .brand-profile__category {
    min-height: 76px !important;
  }

  .brand-profile__category {
    grid-template-columns: minmax(0, 1fr) 28px !important;
    gap: 16px !important;
  }

  .brand-profile__category-name {
    font-size: 21px !important;
  }

  .brand-profile__category-count {
    display: none !important;
  }

  .brand-profile__category-arrow {
    width: 28px !important;
    height: 28px !important;
    font-size: 21px !important;
  }
}


/* =========================================================
   MOBILE PRICE ACCESS MODAL FIX — 2026-08-21
   Исправляет окно «Узнать цену» на небольших экранах.
   Desktop-версию не меняет.
========================================================= */

@media (max-width: 600px) {
  .es-price-modal {
    padding: 10px !important;
    align-items: flex-start !important;
    justify-content: center !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .es-price-modal__content {
    width: 100% !important;
    max-width: 520px !important;
    max-height: calc(100vh - 20px) !important;
    max-height: calc(100dvh - 20px) !important;
    margin: 0 !important;
    padding: 24px 20px 28px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .es-price-modal__content h2 {
    margin: 0 38px 8px 0 !important;
    font-size: 23px !important;
    line-height: 1.15 !important;
  }

  .es-price-modal__content p {
    margin: 0 0 16px !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  .es-price-modal__close {
    top: 8px !important;
    right: 10px !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    font-size: 28px !important;
    line-height: 38px !important;
    z-index: 5 !important;
  }

  #es-price-access-form {
    gap: 10px !important;
  }

  #es-price-access-form label {
    gap: 5px !important;
    font-size: 14px !important;
  }

  #es-price-access-form input {
    min-height: 44px !important;
    padding: 10px 12px !important;
    font-size: 16px !important;
  }

  .es-price-access-submit {
    width: 100% !important;
    min-height: 48px !important;
    margin-top: 4px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
  }

  .es-price-access-message {
    margin-bottom: 0 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
  }
}

/* Особо низкие экраны / landscape */
@media (max-height: 560px) and (max-width: 900px) {
  .es-price-modal {
    padding: 6px !important;
    align-items: flex-start !important;
    overflow-y: auto !important;
  }

  .es-price-modal__content {
    max-height: calc(100vh - 12px) !important;
    max-height: calc(100dvh - 12px) !important;
    padding: 18px 16px 22px !important;
    overflow-y: auto !important;
  }

  .es-price-modal__content h2 {
    font-size: 20px !important;
  }

  .es-price-modal__content p {
    margin-bottom: 12px !important;
    font-size: 13px !important;
  }

  #es-price-access-form {
    gap: 8px !important;
  }

  #es-price-access-form input {
    min-height: 40px !important;
    padding: 8px 10px !important;
  }

  .es-price-access-submit {
    min-height: 44px !important;
  }
}


/* =========================================================
   SINGLE PRODUCT MOBILE WIDTH FIX — 2026-08-21
   Исправляет переполнение карточек товара на узких экранах:
   - длинные названия не выходят за экран;
   - галерея и summary всегда занимают доступную ширину;
   - изображения центрируются и полностью помещаются.
========================================================= */

@media (max-width: 760px) {
  .single-product,
  .single-product .site-main,
  .single-product .woocommerce,
  .single-product .shop-content {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  .single-product div.product {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 16px auto 0 !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 26px !important;
    overflow: hidden !important;
  }

  .single-product div.product > *,
  .single-product div.product > .summary,
  .single-product div.product .entry-summary,
  .single-product div.product .summary,
  .single-product div.product > .woocommerce-product-gallery,
  .single-product div.product .woocommerce-product-gallery {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .woocommerce-product-gallery__wrapper,
  .single-product div.product .woocommerce-product-gallery__image,
  .single-product div.product .woocommerce-product-gallery__image a {
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .single-product div.product .woocommerce-product-gallery__image a {
    width: 100% !important;
    height: 320px !important;
    min-height: 320px !important;
    padding: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .single-product div.product .woocommerce-product-gallery__image img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: auto !important;
    object-fit: contain !important;
    transform: none !important;
    transform-origin: center center !important;
  }

  .single-product div.product > .summary,
  .single-product div.product .entry-summary,
  .single-product div.product .summary {
    padding-top: 0 !important;
    overflow: visible !important;
  }

  .single-product div.product .product_title,
  .single-product div.product .entry-title {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-bottom: 16px !important;
    font-size: clamp(27px, 9.4vw, 34px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.035em !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    hyphens: auto !important;
  }

  .single-product .es-product-topline-v14 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 8px 14px !important;
  }

  .single-product .es-product-topline-v14__item,
  .single-product .es-product-topline-v14__item * {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }

  .single-product .es-product-params-v14,
  .single-product .es-product-params-v14__grid,
  .single-product .es-product-param-v14,
  .single-product .es-product-param-v14__value {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }

  .single-product .es-product-params-v14__grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 380px) {
  .single-product div.product {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .single-product div.product .woocommerce-product-gallery__image a {
    height: 300px !important;
    min-height: 300px !important;
    padding: 10px !important;
  }

  .single-product div.product .product_title,
  .single-product div.product .entry-title {
    font-size: 28px !important;
  }
}


/* =========================================================
   PROJECT SELECTION + FOOTER MOBILE FIX — 2026-08-21
   Только мобильная версия. Desktop не изменяется.
========================================================= */

@media (max-width: 760px) {
  /* На обычном шаблоне WordPress заголовок страницы выводится ещё раз
     над шорткодом. На странице проектной подборки оставляем только
     собственный заголовок блока. */
  body.page-id-181 main > .section:first-child {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body.page-id-181 main > .section:first-child > .container {
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.page-id-181 main > .section:first-child > .container > h1:first-child {
    display: none !important;
  }

  /* Сама страница проекта */
  body.page-id-181 .es-project-page {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 34px 16px 64px !important;
    overflow-x: hidden !important;
  }

  body.page-id-181 .es-project-page__header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 16px !important;
    margin: 0 0 26px !important;
  }

  body.page-id-181 .es-project-page__header > div {
    min-width: 0 !important;
  }

  body.page-id-181 .es-project-eyebrow {
    display: block !important;
    margin-bottom: 9px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    letter-spacing: .16em !important;
  }

  body.page-id-181 .es-project-page h1 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: clamp(32px, 10vw, 40px) !important;
    line-height: .98 !important;
    letter-spacing: -.035em !important;
    overflow-wrap: anywhere !important;
  }

  body.page-id-181 .es-project-clear-button,
  body.page-id-181 .es-project-clear {
    justify-self: start !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 7px 0 !important;
    font-size: 12px !important;
    white-space: normal !important;
  }

  body.page-id-181 .es-project-items,
  body.page-id-181 .es-project-list {
    width: 100% !important;
    min-width: 0 !important;
  }

  body.page-id-181 .es-project-item {
    width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: 78px minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 18px 0 !important;
    align-items: start !important;
  }

  body.page-id-181 .es-project-item__image {
    width: 78px !important;
    height: 78px !important;
    min-width: 78px !important;
    align-self: start !important;
  }

  body.page-id-181 .es-project-item__content {
    min-width: 0 !important;
  }

  body.page-id-181 .es-project-item h3 {
    max-width: 100% !important;
    margin: 6px 0 10px !important;
    font-size: 21px !important;
    line-height: 1.03 !important;
    letter-spacing: -.02em !important;
    overflow-wrap: anywhere !important;
  }

  body.page-id-181 .es-project-item__quantity,
  body.page-id-181 .es-project-item__remove {
    grid-column: 2 !important;
    justify-self: start !important;
    max-width: 100% !important;
  }

  body.page-id-181 .es-project-item__quantity input,
  body.page-id-181 .es-project-item input[type="number"] {
    max-width: 120px !important;
    min-height: 44px !important;
  }

  body.page-id-181 .es-project-request {
    width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
    margin-top: 42px !important;
    padding-top: 34px !important;
  }

  body.page-id-181 .es-project-request h2 {
    font-size: 30px !important;
    line-height: 1 !important;
  }

  body.page-id-181 .es-project-form,
  body.page-id-181 .es-project-form__grid,
  body.page-id-181 .es-project-form label,
  body.page-id-181 .es-project-form input,
  body.page-id-181 .es-project-form textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.page-id-181 .es-project-form__grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  body.page-id-181 .es-project-submit {
    width: 100% !important;
    min-height: 50px !important;
  }

  /* Footer: на мобильном колонки становятся вертикальными.
     Это устраняет обрезанный copyright справа. */
  footer,
  footer .container,
  footer > .container,
  footer div {
    min-width: 0;
  }

  footer .container,
  footer > .container {
    width: min(100% - 32px, 1320px) !important;
    max-width: 100% !important;
  }

  footer .footer-inner,
  footer .footer-grid,
  footer .footer-content,
  footer .site-footer__inner,
  footer .container {
    grid-template-columns: minmax(0, 1fr) !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 22px !important;
  }

  footer p,
  footer a,
  footer span,
  footer div {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }
}

@media (max-width: 380px) {
  body.page-id-181 .es-project-page {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body.page-id-181 .es-project-page h1 {
    font-size: 31px !important;
  }

  body.page-id-181 .es-project-item {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  body.page-id-181 .es-project-item__image {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
  }

  body.page-id-181 .es-project-item h3 {
    font-size: 21px !important;
  }
}


/* =========================================================
   HOME HERO + FOOTER NARROW MOBILE FIX — 2026-08-21
   Только узкие мобильные экраны. Проекты/каталог/desktop не меняются.
========================================================= */

@media (max-width: 380px) {
  /* Главный заголовок: длинные русские слова больше не выходят за экран */
  .home-hero,
  .home-hero .container,
  .home-hero__content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .home-hero .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .home-hero h1 {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    font-size: 38px !important;
    line-height: .98 !important;
    letter-spacing: -.05em !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    hyphens: auto !important;
  }

  .home-hero p {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }

  /* Footer: обе части идут одной колонкой и copyright больше не уезжает вправо */
  footer,
  .site-footer {
    overflow-x: hidden !important;
  }

  footer .container,
  footer > .container,
  .site-footer .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    gap: 22px !important;
  }

  footer .container > *,
  footer > .container > *,
  .site-footer .container > * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-self: start !important;
    align-self: stretch !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }

  footer .container > *:last-child,
  footer > .container > *:last-child,
  .site-footer .container > *:last-child {
    margin-left: 0 !important;
    transform: none !important;
    text-align: left !important;
  }
}


/* =========================================================
   FOOTER 320PX FINAL FIX — 2026-08-21
   Убирает мобильный copyright «Евросантехника» и
   оставляет контакты на полной ширине.
   Desktop и остальные блоки не меняются.
========================================================= */

@media (max-width: 380px) {
  footer,
  .site-footer {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  footer .container,
  footer > .container,
  .site-footer .container {
    display: block !important;
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Если footer состоит из двух колонок:
     1 = контакты, 2 = copyright/«Евросантехника».
     Вторую колонку на телефоне убираем полностью. */
  footer .container > *:nth-child(2):last-child,
  footer > *:nth-child(2):last-child,
  .site-footer .container > *:nth-child(2):last-child {
    display: none !important;
  }

  /* Дополнительные стандартные варианты названия copyright-блока. */
  footer .copyright,
  footer .footer-copyright,
  footer .footer-copy,
  footer [class*="copyright"],
  footer [class*="footer-copy"],
  .site-footer .copyright,
  .site-footer [class*="copyright"] {
    display: none !important;
  }

  /* Контактный блок занимает всю ширину. */
  footer .container > *:first-child,
  footer > *:first-child,
  .site-footer .container > *:first-child {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    text-align: left !important;
  }

  /* Телефон не разрывается посередине номера. */
  footer a[href^="tel:"],
  .site-footer a[href^="tel:"] {
    display: inline-block !important;
    width: auto !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }
}

/* =========================================================
   PAGE — ДЛЯ ПАРТНЁРОВ
========================================================= */

.es-partners-page {
  background: #f7f6f3;
  color: #111;
}

.es-partners-hero {
  padding: 86px 0 70px;
  border-bottom: 1px solid #e3dfd7;
}

.es-partners-hero__inner {
  max-width: 850px;
}

.es-partners-hero__eyebrow {
  margin-bottom: 14px;
  color: #a48245;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.es-partners-hero h1 {
  margin: 0 0 22px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.es-partners-hero p {
  max-width: 720px;
  margin: 0;
  color: #666;
  font-size: 20px;
  line-height: 1.55;
}

.es-partners-sections {
  padding: 70px 0 100px;
}

.es-partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.es-partners-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 34px;
  background: #fff;
  border: 1px solid #e6e1d8;
}

.es-partners-card__number {
  margin-bottom: 44px;
  color: #a48245;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.es-partners-card h2 {
  margin: 0 0 20px;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.es-partners-card > p {
  margin: 0 0 30px;
  color: #666;
  font-size: 16px;
  line-height: 1.65;
}

.es-partners-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  margin-top: auto;
  padding: 0 22px;
  border: 1px solid #111;
  border-radius: 0;
  background: #111;
  color: #fff !important;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.es-partners-button:hover {
  background: #a48245;
  border-color: #a48245;
  color: #fff !important;
}

.es-partners-card__note {
  margin-top: 14px;
  color: #888;
  font-size: 12px;
  line-height: 1.5;
}

.es-partners-access {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 22px;
  color: #111;
  font-size: 14px;
  font-weight: 600;
}

.es-partners-access__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid #a48245;
  color: #a48245;
  font-size: 13px;
}

.es-partners-documents {
  margin-top: 4px;
  border-top: 1px solid #e6e1d8;
}

.es-partners-document {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid #e6e1d8;
  font-size: 14px;
}

.es-partners-document > span:first-child {
  font-weight: 700;
}

.es-partners-document__status {
  color: #999;
  font-size: 12px;
  text-align: right;
}

.es-partners-card__coming {
  margin-top: auto;
  color: #a48245;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 960px) {
  .es-partners-grid {
    grid-template-columns: 1fr;
  }

  .es-partners-card {
    min-height: auto;
  }

  .es-partners-card__number {
    margin-bottom: 28px;
  }
}

@media (max-width: 640px) {
  .es-partners-hero {
    padding: 58px 0 48px;
  }

  .es-partners-sections {
    padding: 40px 0 70px;
  }

  .es-partners-card {
    padding: 26px 22px;
  }

  .es-partners-card h2 {
    font-size: 26px;
  }

  .es-partners-hero p {
    font-size: 17px;
  }
}

/* =========================================================
   PARTNERS PAGE V2 — PREMIUM B2B
   Визуальный язык блока проектов с главной
========================================================= */

.es-partners-page {
    background: #f7f7f5;
    color: #111;
}

/* HERO */

.es-partners-hero {
    padding: 78px 0 72px;
    background: #f7f7f5;
    border-bottom: 0;
}

.es-partners-hero__inner {
    max-width: 1050px;
}

.es-partners-hero__eyebrow {
    margin: 0 0 20px;
    color: #9a7a36;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.es-partners-hero h1 {
    max-width: 1000px;
    margin: 0;
    color: #111;
    font-size: clamp(58px, 7vw, 104px);
    line-height: .92;
    font-weight: 750;
    letter-spacing: -.06em;
}

.es-partners-hero p {
    max-width: 780px;
    margin: 30px 0 0;
    color: #666;
    font-size: clamp(18px, 1.5vw, 23px);
    line-height: 1.55;
}

/* ТЁМНАЯ ЗОНА */

.es-partners-sections {
    padding: 90px 0 104px;
    background:
        radial-gradient(
            circle at 82% 12%,
            rgba(199,179,122,.16),
            transparent 32%
        ),
        #101010;
    color: #fff;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

/* СЕТКА */

.es-partners-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 1px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.12);
}

/* КАРТОЧКИ */

.es-partners-card {
    position: relative;
    min-height: 390px;
    display: flex;
    flex-direction: column;
    padding: 38px;
    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(199,179,122,.14),
            transparent 34%
        ),
        #171717;
    color: #fff;
    border: 0;
    transition:
        background .25s ease,
        transform .25s ease;
}

.es-partners-card:hover {
    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(199,179,122,.23),
            transparent 36%
        ),
        #1f1f1f;
    transform: translateY(-3px);
}

/* НОМЕР */

.es-partners-card__number {
    margin: 0 0 56px;
    color: #c7b37a;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .22em;
}

/* ЗАГОЛОВОК */

.es-partners-card h2 {
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(30px, 2.5vw, 45px);
    line-height: .98;
    font-weight: 750;
    letter-spacing: -.045em;
}

/* ТЕКСТ */

.es-partners-card > p {
    max-width: 440px;
    margin: 0 0 30px;
    color: rgba(255,255,255,.58);
    font-size: 16px;
    line-height: 1.6;
}

/* КНОПКИ */

.es-partners-card .es-partners-button,
.es-partners-card .es-price-access-button.es-partners-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: fit-content !important;
    min-height: 52px !important;
    margin-top: auto !important;
    padding: 0 24px !important;
    background: transparent !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.7) !important;
    border-radius: 0 !important;
    font-family: inherit !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition:
        background .22s ease,
        color .22s ease,
        border-color .22s ease !important;
}

.es-partners-card .es-partners-button:hover,
.es-partners-card .es-price-access-button.es-partners-button:hover {
    background: #fff !important;
    color: #111 !important;
    border-color: #fff !important;
}

/* ДОСТУП */

.es-partners-access {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin: 0 0 24px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.es-partners-access__mark {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c7b37a;
    color: #c7b37a;
}

/* ДОКУМЕНТЫ */

.es-partners-documents {
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,.12);
}

.es-partners-document {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
    color: #fff;
    font-size: 14px;
}

.es-partners-document > span:first-child {
    font-weight: 800;
    letter-spacing: .04em;
}

.es-partners-document__status {
    color: rgba(255,255,255,.42);
    font-size: 12px;
    text-align: right;
}

/* ПОДСКАЗКА ПОД КНОПКОЙ */

.es-partners-card__note {
    margin-top: 14px;
    color: rgba(255,255,255,.42);
    font-size: 12px;
    line-height: 1.5;
}

/* COMING */

.es-partners-card__coming {
    margin-top: auto;
    color: #c7b37a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

/* TABLET */

@media (max-width: 1050px) {
    .es-partners-grid {
        grid-template-columns: 1fr;
    }

    .es-partners-card {
        min-height: 330px;
    }
}

/* MOBILE */

@media (max-width: 760px) {
    .es-partners-hero {
        padding: 58px 0 54px;
    }

    .es-partners-hero h1 {
        font-size: clamp(48px, 14vw, 72px);
    }

    .es-partners-hero p {
        margin-top: 22px;
        font-size: 17px;
    }

    .es-partners-sections {
        padding: 54px 0 70px;
    }

    .es-partners-card {
        min-height: 300px;
        padding: 30px 26px;
    }

    .es-partners-card__number {
        margin-bottom: 36px;
    }

    .es-partners-card h2 {
        font-size: 32px;
    }
}


/* =========================================================
   PARTNERS PAGE V3 — COMPACT PREMIUM
   2026-09-16
   Убираем лишний воздух между hero и карточками.
   Этот блок расположен в самом конце файла намеренно,
   чтобы переопределить старые версии PARTNERS PAGE.
========================================================= */

.es-partners-page {
  background: #f7f7f5;
  color: #111;
}

/* ---------- HERO ---------- */

.es-partners-hero {
  padding: 52px 0 44px !important;
  background: #f7f7f5 !important;
  border-bottom: 0 !important;
}

.es-partners-hero__inner {
  max-width: 980px !important;
}

.es-partners-hero__eyebrow {
  margin: 0 0 16px !important;
  color: #9a7a36 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: .22em !important;
  text-transform: uppercase !important;
}

.es-partners-hero h1 {
  max-width: 960px !important;
  margin: 0 !important;
  color: #111 !important;
  font-size: clamp(54px, 6.2vw, 88px) !important;
  line-height: .94 !important;
  font-weight: 750 !important;
  letter-spacing: -.055em !important;
}

.es-partners-hero p {
  max-width: 760px !important;
  margin: 20px 0 0 !important;
  color: #666 !important;
  font-size: clamp(17px, 1.3vw, 21px) !important;
  line-height: 1.5 !important;
}

/* ---------- DARK SECTION ---------- */

.es-partners-sections {
  padding: 42px 0 72px !important;
  background:
    radial-gradient(
      circle at 84% 8%,
      rgba(199,179,122,.13),
      transparent 30%
    ),
    #101010 !important;
  color: #fff !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
}

/* ---------- GRID ---------- */

.es-partners-grid {
  display: grid !important;
  grid-template-columns: 1.28fr 1fr 1fr !important;
  gap: 1px !important;
  background: rgba(255,255,255,.12) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
}

/* ---------- CARDS ---------- */

.es-partners-card {
  position: relative !important;
  min-height: 340px !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 32px 34px !important;
  background:
    radial-gradient(
      circle at 84% 14%,
      rgba(199,179,122,.11),
      transparent 34%
    ),
    #171717 !important;
  color: #fff !important;
  border: 0 !important;
  transition:
    background .25s ease,
    transform .25s ease !important;
}

.es-partners-card:hover {
  background:
    radial-gradient(
      circle at 84% 14%,
      rgba(199,179,122,.19),
      transparent 36%
    ),
    #1d1d1d !important;
  transform: translateY(-2px);
}

.es-partners-card__number {
  margin: 0 0 30px !important;
  color: #c7b37a !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: .22em !important;
}

.es-partners-card h2 {
  margin: 0 0 18px !important;
  color: #fff !important;
  font-size: clamp(28px, 2.2vw, 39px) !important;
  line-height: 1 !important;
  font-weight: 750 !important;
  letter-spacing: -.04em !important;
}

.es-partners-card > p {
  max-width: 440px !important;
  margin: 0 0 24px !important;
  color: rgba(255,255,255,.60) !important;
  font-size: 15px !important;
  line-height: 1.58 !important;
}

/* ---------- BUTTONS ---------- */

.es-partners-card .es-partners-button,
.es-partners-card .es-price-access-button.es-partners-button,
.es-partners-card .es-partner-request-button.es-partners-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  min-height: 48px !important;
  margin-top: auto !important;
  padding: 0 22px !important;
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.65) !important;
  border-radius: 0 !important;
  font-family: inherit !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition:
    background .22s ease,
    color .22s ease,
    border-color .22s ease !important;
}

.es-partners-card .es-partners-button:hover,
.es-partners-card .es-price-access-button.es-partners-button:hover,
.es-partners-card .es-partner-request-button.es-partners-button:hover {
  background: #fff !important;
  color: #111 !important;
  border-color: #fff !important;
}

/* ---------- ACCESS / DOCUMENTS ---------- */

.es-partners-access {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  width: fit-content !important;
  margin: 0 0 18px !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.es-partners-access__mark {
  width: 26px !important;
  height: 26px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #c7b37a !important;
  color: #c7b37a !important;
}

.es-partners-documents {
  margin-top: auto !important;
  border-top: 1px solid rgba(255,255,255,.12) !important;
}

.es-partners-document {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 20px !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
  color: #fff !important;
  font-size: 13px !important;
}

.es-partners-document__info strong {
  display: block !important;
  color: #fff !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}

.es-partners-document__info small {
  display: block !important;
  margin-top: 3px !important;
  color: rgba(255,255,255,.48) !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

.es-partners-document__download {
  flex: 0 0 auto !important;
  color: #c7b37a !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.es-partners-document__download:hover {
  color: #fff !important;
}

.es-partners-card__note {
  margin-top: 12px !important;
  color: rgba(255,255,255,.42) !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

/* ---------- TABLET ---------- */

@media (max-width: 1050px) {
  .es-partners-hero {
    padding: 48px 0 40px !important;
  }

  .es-partners-sections {
    padding: 34px 0 60px !important;
  }

  .es-partners-grid {
    grid-template-columns: 1fr !important;
  }

  .es-partners-card {
    min-height: 300px !important;
  }
}

/* ---------- MOBILE ---------- */

@media (max-width: 760px) {
  .es-partners-hero {
    padding: 38px 0 32px !important;
  }

  .es-partners-hero h1 {
    font-size: clamp(46px, 13vw, 66px) !important;
  }

  .es-partners-hero p {
    margin-top: 16px !important;
    font-size: 16px !important;
  }

  .es-partners-sections {
    padding: 24px 0 46px !important;
  }

  .es-partners-card {
    min-height: 270px !important;
    padding: 26px 24px !important;
  }

  .es-partners-card__number {
    margin-bottom: 24px !important;
  }

  .es-partners-card h2 {
    font-size: 29px !important;
  }

  .es-partners-document {
    gap: 14px !important;
  }
}


/* =========================================================
   PARTNERS PAGE V4 — NO WHITE HERO
   Полностью убираем белую плашку сверху.
========================================================= */

.es-partners-hero {
  display: none !important;
}

.es-partners-sections {
  padding-top: 48px !important;
}

@media (max-width: 760px) {
  .es-partners-sections {
    padding-top: 28px !important;
  }
}

/* =========================================================
   FINAL SAFE FIX — 2026-10-14
   ВАЖНО:
   - весь исходный CSS выше оставлен без изменений;
   - "Очистить" скрывается на desktop и mobile;
   - фикс нижнего пустого пространства работает только на mobile.
========================================================= */

/* WooCommerce: убираем "Очистить" возле выбора цвета на всех экранах */
.single-product .reset_variations,
.single-product a.reset_variations,
.single-product .variations_form .reset_variations {
  display: none !important;
}

/* Только мобильная версия */
@media (max-width: 760px) {
  html,
  body {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  footer,
  .site-footer {
    min-height: 0 !important;
    height: auto !important;
    margin-bottom: 0 !important;
    padding-bottom: 20px !important;
  }

  footer .container,
  footer > .container,
  .site-footer .container {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  footer .container > *:last-child,
  footer > .container > *:last-child,
  .site-footer .container > *:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}
