/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
}


/* ===== УБИРАЕМ ОГРАНИЧЕНИЯ ТЕМЫ ===== */
.wp-site-blocks,
.site,
.site-content,
.site-main,
.content-area,
.wp-block-group,
.entry-content,
.container,
.wrap {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}



/* конец первого блока*/



.catalog {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  overflow: hidden;
  position: relative;

  background: linear-gradient(180deg, #161a22 0%, #1b2029 50%, #141821 100%);
  padding: 60px 0 90px;
}

.catalog__inner {
  width: min(1520px, 94vw);
  margin: 0 auto;
}

.catalog__title {
  margin: 0 0 42px;
  text-align: center;
  color: #fff;
  font-family: "Tenor Sans", sans-serif;
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 400;
  line-height: 1.15;
}

/* GRID — каталог виден сразу, анимация запускается через JavaScript */
.catalog__grid {
  display: grid;
  gap: 20px;
  opacity: 1;
  transform: none;
}

/* ROWS */
.catalog__row {
  display: grid;
  gap: 20px;
}

.row-1 {
  grid-template-columns: 2fr 1fr;
}

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

.row-3 {
  grid-template-columns: 1fr 2fr;
}

/* CARD */
.catalog__card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: clamp(240px, 22vw, 320px); /* увеличили все карточки по высоте */
  background: #20242d;
  isolation: isolate;
  transform: translateZ(0);
  will-change: transform;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.catalog__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
	object-position: center 60%;
  transform: scale(1.001);
  transition: transform 0.6s ease;
}

.catalog__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.14) 50%, rgba(0, 0, 0, 0.06) 100%);
  pointer-events: none;
}

/* OVERLAY */
.catalog__overlay {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}

.catalog__button {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;

  font-family: "Tenor Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  color: #fff;

  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition:
    background 0.28s ease,
    border-color 0.28s ease,
    transform 0.28s ease,
    box-shadow 0.28s ease,
    color 0.28s ease;
}

/* HOVER */
.catalog__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.catalog__card:hover img {
  transform: scale(1.05);
}

.catalog__button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.38);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.24);
}

.catalog__button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.95);
  outline-offset: 3px;
  background: rgba(255, 255, 255, 0.2);
}

/* ===== TABLET ===== */
@media (max-width: 1100px) {
  .catalog__inner {
    width: min(1400px, 95vw);
  }

  .catalog__card {
    min-height: 250px;
  }

  .catalog__button {
    font-size: 15px;
    padding: 11px 16px;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .catalog {
    padding: 46px 0 64px;
  }

  .catalog__title {
    margin-bottom: 28px;
    padding: 0 12px;
    font-size: clamp(26px, 7vw, 36px);
  }

  .catalog__grid {
    overflow: hidden;
    opacity: 1;
    transform: none !important;
    transition: none;
  }

  .catalog__track {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    transition: transform 0.45s ease;
    will-change: transform;
    touch-action: pan-y;
  }

  .catalog__row {
    display: contents;
  }

  .catalog__card {
    flex: 0 0 100%;
    min-width: 100%;
    width: 100%;
    max-width: 100%;
    min-height: 280px;
    border-radius: 20px;
    box-sizing: border-box;
  }

  .catalog__overlay {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .catalog__button {
    min-height: 42px;
    padding: 11px 16px;
    font-size: 15px;
    max-width: 100%;
  }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 480px) {
  .catalog__card {
    min-height: 260px;
  }

  .catalog__button {
    font-size: 14px;
    padding: 10px 14px;
  }
}

/* ===== REDUCE MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .catalog__grid,
  .catalog__card,
  .catalog__card img,
  .catalog__button,
  .catalog__track {
    transition: none !important;
    animation: none !important;
  }
}
/* конец второго блока*/

.catalog {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  overflow: visible;
  position: relative;

  background: linear-gradient(180deg, #161a22 0%, #1b2029 50%, #141821 100%);
  padding: 60px 0 90px;
  z-index: 2;
}

.catalog::before {
  content: "";
  position: absolute;
  left: 0;
  top: -140px;
  width: 100%;
  height: 140px;
  pointer-events: none;
  z-index: 1;

  background: linear-gradient(
    to bottom,
    rgba(22, 26, 34, 0) 0%,
    rgba(22, 26, 34, 0.08) 18%,
    rgba(22, 26, 34, 0.18) 35%,
    rgba(22, 26, 34, 0.38) 55%,
    rgba(22, 26, 34, 0.72) 78%,
    #161a22 100%
  );
}

.catalog__inner {
  position: relative;
  z-index: 2;
}
/* конец градиента между первым и вторым блоком*/
/* ===== БЛОК АТЕЛЬЕ / АККУРАТНАЯ ФИНАЛЬНАЯ ВЕРСИЯ ===== */
.atelier5 {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
  background:
    radial-gradient(circle at 82% 18%, rgba(82, 30, 56, 0.12) 0%, rgba(82, 30, 56, 0) 28%),
    radial-gradient(circle at 18% 10%, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 24%),
    linear-gradient(
      180deg,
      #121923 0%,
      #101722 22%,
      #0d141d 56%,
      #0a1017 100%
    );
}

.atelier5::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,0.012) 0%,
      rgba(255,255,255,0.0) 16%,
      rgba(255,255,255,0.008) 48%,
      rgba(255,255,255,0.0) 80%,
      rgba(255,255,255,0.012) 100%
    );
  opacity: 0.55;
}

.atelier5::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.012) 0%,
      rgba(255,255,255,0) 22%,
      rgba(255,255,255,0) 82%,
      rgba(255,255,255,0.015) 100%
    );
  opacity: 0.72;
}

.atelier5__inner {
  width: min(1480px, 94vw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ===== HERO ===== */
.atelier5__hero {
  position: relative;
  min-height: 360px;
  padding-top: 0;
  margin-bottom: 10px;
}

.atelier5__art {
  position: absolute;
  top: -18px;
  right: -18px;
  width: min(37vw, 560px);
  height: 760px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.16;
  filter: blur(0.2px);
}

.atelier5__art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(16, 23, 34, 0.96) 0%,
      rgba(16, 23, 34, 0.72) 16%,
      rgba(16, 23, 34, 0.18) 38%,
      rgba(16, 23, 34, 0.16) 70%,
      rgba(16, 23, 34, 0.88) 100%
    ),
    linear-gradient(
      180deg,
      rgba(16, 23, 34, 0.62) 0%,
      rgba(16, 23, 34, 0.12) 22%,
      rgba(16, 23, 34, 0.16) 72%,
      rgba(16, 23, 34, 0.76) 100%
    );
}

.atelier5__art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.68;
  mix-blend-mode: screen;
  background:
    radial-gradient(circle at 56% 22%, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 30%),
    radial-gradient(circle at 72% 16%, rgba(108, 34, 68, 0.12) 0%, rgba(108, 34, 68, 0) 34%);
}

.atelier5__art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: grayscale(100%) contrast(1.03) brightness(1.04);
  transform: scale(1.06);
  z-index: 1;
}

.atelier5__eyebrow {
  position: relative;
  z-index: 4;
  margin-bottom: 8px;
  font-family: "Tenor Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(241, 231, 218, 0.88);
}

.atelier5__bgword {
  position: relative;
  z-index: 0;
  margin-left: 0;
  font-family: "Tenor Sans", sans-serif;
  font-size: clamp(88px, 10vw, 176px);
  line-height: 0.82;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.105);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  max-width: 100%;
}

.atelier5__title {
  position: relative;
  z-index: 4;
  margin: 0;
  max-width: 720px;
  padding-top: 34px;
  font-family: "Tenor Sans", sans-serif;
  font-size: clamp(40px, 4.9vw, 72px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: #f7f3ee;
  text-wrap: balance;
}

.atelier5__subtitle {
  position: relative;
  z-index: 4;
  margin: 24px 0 0;
  max-width: 470px;
  padding-left: 18px;
  font-family: "Tenor Sans", sans-serif;
  font-size: clamp(17px, 1.4vw, 24px);
  font-weight: 400;
  line-height: 1.38;
  color: rgba(241, 231, 218, 0.93);
}

.atelier5__subtitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 1px;
  height: 1.3em;
  background: linear-gradient(
    180deg,
    rgba(219, 194, 154, 0) 0%,
    rgba(219, 194, 154, 0.85) 50%,
    rgba(219, 194, 154, 0) 100%
  );
}

/* ===== STATS ===== */
.atelier5__stats {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  align-items: stretch;
  gap: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.atelier5__stat {
  padding: 0 34px;
}

.atelier5__stat:first-child {
  padding-left: 0;
}

.atelier5__stat:last-child {
  padding-right: 0;
}

.atelier5__num {
  margin-bottom: 14px;
  font-family: "Tenor Sans", sans-serif;
  font-size: clamp(42px, 3vw, 60px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: #f8f4ee;
}

.atelier5__text {
  font-family: "Tenor Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(235, 227, 217, 0.82);
}

.atelier5__divider {
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.10) 22%,
    rgba(255,255,255,0.10) 78%,
    rgba(255,255,255,0) 100%
  );
}

/* ===== TABLET ===== */
@media (max-width: 1180px) {
  .atelier5 {
    padding: 60px 0 58px;
  }

  .atelier5__inner {
    width: 94vw;
  }

  .atelier5__hero {
    min-height: 315px;
    margin-bottom: 6px;
  }

  .atelier5__art {
    width: min(40vw, 430px);
    height: 650px;
    right: -16px;
    top: 6px;
    opacity: 0.14;
  }

  .atelier5__eyebrow {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .atelier5__bgword {
    font-size: clamp(66px, 10vw, 128px);
    white-space: normal;
    max-width: 860px;
    line-height: 0.84;
  }

  .atelier5__title {
    max-width: 560px;
    padding-top: 26px;
    font-size: clamp(34px, 4.8vw, 56px);
  }

  .atelier5__subtitle {
    margin-top: 20px;
    max-width: 400px;
    font-size: clamp(16px, 1.8vw, 21px);
  }

  .atelier5__stats {
    grid-template-columns: 1fr;
    padding-top: 16px;
  }

  .atelier5__divider {
    width: 100%;
    height: 1px;
    margin: 22px 0;
    background: linear-gradient(
      90deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.10) 20%,
      rgba(255,255,255,0.10) 80%,
      rgba(255,255,255,0) 100%
    );
  }

  .atelier5__stat,
  .atelier5__stat:first-child,
  .atelier5__stat:last-child {
    padding: 0;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .atelier5 {
    padding: 48px 0 48px;
    background:
      radial-gradient(circle at 85% 20%, rgba(82, 30, 56, 0.08) 0%, rgba(82, 30, 56, 0) 24%),
      linear-gradient(
        180deg,
        #121923 0%,
        #101722 24%,
        #0d141d 58%,
        #0a1018 100%
      );
  }

  .atelier5__inner {
    width: 92vw;
  }

  .atelier5__hero {
    min-height: auto;
    margin-bottom: 10px;
    padding-top: 0;
  }

  .atelier5__art {
    width: 76vw;
    height: 470px;
    right: -22vw;
    top: 34px;
    opacity: 0.11;
  }

  .atelier5__art::before {
    background:
      linear-gradient(
        90deg,
        rgba(16, 23, 34, 0.98) 0%,
        rgba(16, 23, 34, 0.80) 16%,
        rgba(16, 23, 34, 0.20) 42%,
        rgba(16, 23, 34, 0.20) 70%,
        rgba(16, 23, 34, 0.90) 100%
      ),
      linear-gradient(
        180deg,
        rgba(16, 23, 34, 0.76) 0%,
        rgba(16, 23, 34, 0.20) 24%,
        rgba(16, 23, 34, 0.28) 70%,
        rgba(16, 23, 34, 0.88) 100%
      );
  }

  .atelier5__eyebrow {
    margin-bottom: 6px;
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .atelier5__bgword {
    max-width: 250px;
    font-size: 44px;
    line-height: 0.84;
    white-space: normal;
    color: rgba(255,255,255,0.16);
  }

  .atelier5__title {
    max-width: 250px;
    padding-top: 22px;
    font-size: 22px;
    line-height: 1.08;
  }

  .atelier5__subtitle {
    margin-top: 14px;
    max-width: 215px;
    padding-left: 14px;
    font-size: 14px;
    line-height: 1.45;
  }

  .atelier5__stats {
    padding-top: 12px;
  }

  .atelier5__num {
    margin-bottom: 10px;
    font-size: 30px;
    line-height: 1;
  }

  .atelier5__text {
    max-width: 270px;
    font-size: 14px;
    line-height: 1.55;
  }

  .atelier5__divider {
    margin: 18px 0;
  }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 420px) {
  .atelier5 {
    padding: 42px 0 44px;
  }

  .atelier5__inner {
    width: 90vw;
  }

  .atelier5__art {
    width: 82vw;
    height: 410px;
    right: -28vw;
    top: 46px;
    opacity: 0.10;
  }

  .atelier5__eyebrow {
    font-size: 10px;
    margin-bottom: 6px;
  }

  .atelier5__bgword {
    max-width: 210px;
    font-size: 36px;
    line-height: 0.86;
  }

  .atelier5__title {
    max-width: 220px;
    padding-top: 20px;
    font-size: 20px;
    line-height: 1.08;
  }

  .atelier5__subtitle {
    max-width: 180px;
    font-size: 13px;
    line-height: 1.45;
  }

  .atelier5__num {
    font-size: 26px;
  }

  .atelier5__text {
    max-width: 240px;
    font-size: 13px;
    line-height: 1.55;
  }
}
/* конец третьего блока*/

/* ===== БЛОК ОТЗЫВОВ / FULL WIDTH ===== */
.reviews4 {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  position: relative;
  overflow: hidden;
  padding: 96px 0 96px;
  background:
    linear-gradient(
      180deg,
      #111926 0%,
      rgba(16, 22, 33, 0.98) 10%,
      rgba(14, 20, 31, 0.98) 24%,
      #0d131d 52%,
      #0b1019 100%
    ),
    radial-gradient(circle at 12% 12%, rgba(255,255,255,0.030) 0%, rgba(255,255,255,0) 30%),
    radial-gradient(circle at 84% 14%, rgba(114, 36, 72, 0.13) 0%, rgba(114, 36, 72, 0) 28%);
}

/* Плавный переход от предыдущего блока */
.reviews4::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 170px;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      #111926 0%,
      rgba(17, 25, 38, 0.96) 14%,
      rgba(17, 25, 38, 0.78) 28%,
      rgba(15, 21, 31, 0.46) 52%,
      rgba(13, 19, 29, 0) 100%
    );
  mix-blend-mode: normal;
  opacity: 1;
}

.reviews4::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,0.012) 0%,
      rgba(255,255,255,0.000) 18%,
      rgba(255,255,255,0.008) 50%,
      rgba(255,255,255,0.000) 82%,
      rgba(255,255,255,0.012) 100%
    );
  opacity: 0.7;
}

.reviews4__inner {
  width: min(1480px, 94vw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ===== TOP ===== */
.reviews4__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 38px;
}

.reviews4__head {
  max-width: 720px;
}

.reviews4__eyebrow {
  margin-bottom: 18px;
  font-family: "Tenor Sans", sans-serif;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(241, 231, 218, 0.74);
}

.reviews4__title {
  margin: 0;
  font-family: "Tenor Sans", sans-serif;
  font-size: clamp(42px, 5vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: #f7f3ee;
}

.reviews4__subtitle {
  margin: 24px 0 0;
  max-width: 760px;
  font-family: "Tenor Sans", sans-serif;
  font-size: clamp(16px, 1.28vw, 22px);
  line-height: 1.5;
  color: rgba(236, 228, 218, 0.82);
}

/* ===== NAV ===== */
.reviews4__nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
}

.reviews4__arrow {
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  color: #f7f3ee;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    opacity 0.25s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.reviews4__arrow span {
  font-size: 28px;
  line-height: 1;
  transform: translateY(-1px);
}

.reviews4__arrow:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.28);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.03) 100%);
}

.reviews4__arrow:active {
  transform: translateY(0);
}

.reviews4__arrow.is-disabled {
  opacity: 0.38;
  cursor: default;
  pointer-events: none;
}

/* ===== SLIDER ===== */
.reviews4__slider-wrap {
  position: relative;
}

.reviews4__slider {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 6px 2px 10px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.reviews4__slider::-webkit-scrollbar {
  display: none;
}

/* ===== CARD ===== */
.reviews4__card {
  flex: 0 0 360px;
  width: 360px;
  min-height: 260px;
  padding: 28px 28px 30px;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.075) 0%, rgba(255,255,255,0.040) 100%),
    linear-gradient(180deg, rgba(17, 25, 37, 0.96) 0%, rgba(12, 18, 28, 0.98) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 10px 34px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.05);
  transition:
    transform 0.32s ease,
    border-color 0.32s ease,
    box-shadow 0.32s ease,
    background 0.32s ease;
}

.reviews4__card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.045) 0%,
      rgba(255,255,255,0.00) 42%,
      rgba(138, 52, 84, 0.07) 100%
    );
  opacity: 1;
}

.reviews4__card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 28px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

.reviews4__card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.18);
  box-shadow:
    0 18px 46px rgba(0,0,0,0.24),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.reviews4__card:focus-visible {
  outline: 2px solid rgba(245, 233, 220, 0.8);
  outline-offset: 3px;
}

.reviews4__stars,
.reviews4__name,
.reviews4__text {
  position: relative;
  z-index: 2;
}

.reviews4__stars {
  margin-bottom: 18px;
  font-size: 17px;
  letter-spacing: 0.18em;
  color: #dbc29a;
}

.reviews4__name {
  margin-bottom: 14px;
  font-family: "Tenor Sans", sans-serif;
  font-size: 28px;
  line-height: 1.04;
  color: #f8f4ee;
}

.reviews4__text {
  font-family: "Tenor Sans", sans-serif;
  font-size: 17px;
  line-height: 1.68;
  color: rgba(236, 228, 218, 0.86);
}

/* ===== TABLET ===== */
@media (max-width: 1180px) {
  .reviews4 {
    padding: 82px 0 82px;
  }

  .reviews4::before {
    height: 140px;
  }

  .reviews4__inner {
    width: min(1440px, 95vw);
  }

  .reviews4__top {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 20px;
    margin-bottom: 28px;
  }

  .reviews4__head {
    max-width: 100%;
  }

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

  .reviews4__title {
    font-size: clamp(36px, 5.3vw, 62px);
  }

  .reviews4__subtitle {
    margin-top: 18px;
    max-width: 760px;
    font-size: clamp(15px, 1.8vw, 20px);
  }

  .reviews4__nav {
    padding-bottom: 0;
  }

  .reviews4__card {
    flex: 0 0 320px;
    width: 320px;
    min-height: 240px;
    padding: 24px 24px 26px;
    border-radius: 24px;
  }

  .reviews4__name {
    font-size: 24px;
  }

  .reviews4__text {
    font-size: 16px;
    line-height: 1.64;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .reviews4 {
    padding: 60px 0 60px;
    background:
      linear-gradient(
        180deg,
        #111926 0%,
        rgba(15, 21, 31, 0.98) 12%,
        #0d131d 54%,
        #0b1019 100%
      ),
      linear-gradient(
        90deg,
        rgba(255,255,255,0.010) 0%,
        rgba(255,255,255,0.000) 50%,
        rgba(255,255,255,0.010) 100%
      );
  }

  .reviews4::before {
    height: 110px;
    background:
      linear-gradient(
        180deg,
        #111926 0%,
        rgba(17, 25, 38, 0.88) 18%,
        rgba(14, 19, 29, 0.42) 56%,
        rgba(13, 19, 29, 0) 100%
      );
  }

  .reviews4__inner {
    width: 92vw;
  }

  .reviews4__top {
    gap: 18px;
    margin-bottom: 22px;
  }

  .reviews4__eyebrow {
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .reviews4__title {
    font-size: 24px;
    line-height: 1.06;
  }

  .reviews4__subtitle {
    margin-top: 14px;
    max-width: 100%;
    font-size: 14px;
    line-height: 1.58;
  }

  .reviews4__nav {
    gap: 10px;
  }

  .reviews4__arrow {
    width: 48px;
    height: 48px;
  }

  .reviews4__arrow span {
    font-size: 22px;
  }

  .reviews4__slider {
    gap: 14px;
    padding: 4px 1px 8px;
  }

  .reviews4__card {
    flex: 0 0 84vw;
    width: 84vw;
    min-height: 220px;
    padding: 20px 18px 22px;
    border-radius: 20px;
  }

  .reviews4__stars {
    margin-bottom: 14px;
    font-size: 15px;
  }

  .reviews4__name {
    margin-bottom: 12px;
    font-size: 21px;
  }

  .reviews4__text {
    font-size: 14px;
    line-height: 1.6;
  }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 420px) {
  .reviews4 {
    padding: 52px 0 54px;
  }

  .reviews4__card {
    flex: 0 0 88vw;
    width: 88vw;
    min-height: 208px;
    padding: 18px 16px 20px;
  }

  .reviews4__name {
    font-size: 19px;
  }

  .reviews4__text {
    font-size: 13px;
    line-height: 1.58;
  }
}
/* конец четвертого блока*/
.lead-form-section {
  position: relative;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  padding: 110px 20px 90px;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      #0b1019 0%,
      #0c111b 10%,
      #0c1220 24%,
      #0d1320 46%,
      #101826 100%
    ),
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0) 26%),
    radial-gradient(circle at 85% 10%, rgba(108, 74, 38, 0.16) 0%, rgba(108, 74, 38, 0) 24%);
}

.lead-form-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 190px;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    180deg,
    #0b1019 0%,
    rgba(11, 16, 25, 0.96) 14%,
    rgba(11, 16, 25, 0.82) 28%,
    rgba(11, 16, 25, 0.56) 48%,
    rgba(12, 18, 28, 0.24) 72%,
    rgba(12, 18, 28, 0) 100%
  );
}

.lead-form-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,0.010) 0%,
      rgba(255,255,255,0.000) 18%,
      rgba(255,255,255,0.008) 50%,
      rgba(255,255,255,0.000) 82%,
      rgba(255,255,255,0.010) 100%
    );
  opacity: 0.55;
  z-index: 1;
}

.lead-form-section__inner {
  position: relative;
  z-index: 2;
  width: min(1240px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.lead-form-section__text {
  max-width: 620px;
}

.lead-form-section__eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.72);
  font-family: "Tenor Sans", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-form-section__title {
  font-family: "Tenor Sans", sans-serif;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.08;
  letter-spacing: 0.2px;
  color: #ffffff;
  margin-bottom: 20px;
}

.lead-form-section__subtitle {
  max-width: 560px;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
}

.lead-form-card {
  position: relative;
  padding: 34px 30px 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(6px);
}

.lead-form-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  pointer-events: none;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0) 32%);
}

.lead-form-shortcode-wrap {
  position: relative;
  z-index: 2;
}

.lead-form-card .ff-el-group {
  margin-bottom: 16px;
}

.lead-form-card .ff-el-input--label,
.lead-form-card .ff-el-form-label,
.lead-form-card .ff-el-is-required,
.lead-form-card label {
  display: none !important;
}

.lead-form-card input[type="text"],
.lead-form-card input[type="tel"],
.lead-form-card input[type="email"],
.lead-form-card .ff-el-form-control {
  width: 100%;
  min-height: 58px;
  padding: 0 20px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12) !important;
  background: rgba(255,255,255,0.045) !important;
  color: #ffffff !important;
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
  box-shadow: none !important;
  transition: all 0.3s ease;
}

.lead-form-card input::placeholder {
  color: rgba(255,255,255,0.46);
  font-family: "Montserrat", sans-serif;
}

.lead-form-card input:focus,
.lead-form-card .ff-el-form-control:focus {
  outline: none !important;
  border-color: rgba(255,255,255,0.28) !important;
  background: rgba(255,255,255,0.07) !important;
}

.lead-form-card .ff-btn-submit,
.lead-form-card button[type="submit"],
.lead-form-card .ff-btn,
.lead-form-card .ff-submit-btn-custom {
  width: 100%;
  min-height: 58px;
  border: 1.5px solid rgba(255,255,255,0.72) !important;
  border-radius: 999px;
  background: transparent !important;
  color: #ffffff !important;
  font-family: "Tenor Sans", sans-serif;
  font-size: 16px;
  letter-spacing: 0.2px;
  transition: all 0.3s ease;
  box-shadow: none !important;
}

.lead-form-card .ff-btn-submit:hover,
.lead-form-card button[type="submit"]:hover,
.lead-form-card .ff-btn:hover,
.lead-form-card .ff-submit-btn-custom:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
}

.lead-form-card .ff_submit_btn_wrapper,
.lead-form-card .ff-submit-wrap {
  margin-top: 10px;
}

.lead-form-card .ff-gdpr-field,
.lead-form-card .ff_t_c {
  background: transparent !important;
  border: none !important;
  padding: 2px 0 0 !important;
  margin-top: 2px;
}

.lead-form-card .ff-gdpr-field label,
.lead-form-card .ff_t_c label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.52) !important;
  font-size: 13px;
  line-height: 1.6;
  font-family: "Montserrat", sans-serif;
}

.lead-form-card input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  min-height: auto !important;
  margin-top: 2px;
  accent-color: rgba(255,255,255,0.8);
}

.lead-form-card .ff-el-form-check-label,
.lead-form-card .ff_t_c label span {
  color: rgba(255,255,255,0.52) !important;
  font-family: "Montserrat", sans-serif;
}

.lead-form-card .ff-errors-in-stack {
  margin-top: 8px;
}

.lead-form-card .text-danger,
.lead-form-card .error,
.lead-form-card .ff-el-help-message {
  font-size: 13px;
  color: #d8b38a !important;
  font-family: "Montserrat", sans-serif;
}

.lead-form-card .ff-message-success,
.lead-form-card .ff-el-success {
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.06);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.1);
  font-family: "Montserrat", sans-serif;
}

@media (max-width: 992px) {
  .lead-form-section {
    padding: 95px 20px 80px;
  }

  .lead-form-section::before {
    height: 160px;
  }

  .lead-form-section__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 576px) {
  .lead-form-section {
    padding: 82px 16px 70px;
  }

  .lead-form-section::before {
    height: 120px;
  }

  .lead-form-section__title {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .lead-form-section__subtitle {
    font-size: 15px;
    line-height: 1.65;
  }

  .lead-form-card {
    padding: 22px 18px 18px;
    border-radius: 22px;
  }

  .lead-form-card input[type="text"],
  .lead-form-card input[type="tel"],
  .lead-form-card input[type="email"],
  .lead-form-card .ff-el-form-control {
    min-height: 54px;
    font-size: 15px;
    border-radius: 16px;
    padding: 0 16px;
  }

  .lead-form-card .ff-btn-submit,
  .lead-form-card button[type="submit"],
  .lead-form-card .ff-btn,
  .lead-form-card .ff-submit-btn-custom {
    min-height: 54px;
    font-size: 15px;
  }

  .lead-form-card .ff-gdpr-field label,
  .lead-form-card .ff_t_c label {
    font-size: 12px;
  }
}
/* конец шестого блока*/
/* ===== ABOUT KONSUL ===== */
.about-konsul {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-top: -15px !important;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 110px;
  padding: 100px 0 128px;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0) 24%),
    radial-gradient(circle at 84% 16%, rgba(162, 114, 63, 0.11) 0%, rgba(162, 114, 63, 0) 22%),
    linear-gradient(
      180deg,
      #0d121a 0%,
      #10161f 14%,
      #131a23 44%,
      #171d26 76%,
      #161a22 100%
    );
}

.about-konsul::before {
  content: "";
  position: absolute;
  left: 0;
  top: -145px;
  width: 100%;
  height: 140px;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(22, 26, 34, 0) 0%,
    rgba(22, 26, 34, 0.08) 18%,
    rgba(22, 26, 34, 0.18) 35%,
    rgba(22, 26, 34, 0.38) 55%,
    rgba(22, 26, 34, 0.72) 78%,
    #161a22 100%
  );
}

.about-konsul::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 160px;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(22, 26, 34, 0) 0%,
    rgba(22, 26, 34, 0.78) 58%,
    #161a22 100%
  );
}

.about-konsul__inner {
  position: relative;
  z-index: 2;
  width: min(1520px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(30px, 4vw, 78px);
  align-items: center;
}

.about-konsul__content {
  max-width: 620px;
}

.about-konsul__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 248, 239, 0.56);
}

.about-konsul__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: rgba(214, 187, 151, 0.72);
  box-shadow: 0 0 14px rgba(214, 187, 151, 0.2);
}

.about-konsul__title {
  margin: 0 0 24px;
  font-family: "Tenor Sans", sans-serif;
  font-size: clamp(34px, 4vw, 62px);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #f5efe7;
}

.about-konsul__text {
  max-width: 590px;
}

.about-konsul__text p {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(16px, 1.08vw, 18px);
  line-height: 1.78;
  font-weight: 400;
  color: rgba(245, 239, 231, 0.76);
}

.about-konsul__text p + p {
  margin-top: 18px;
  color: rgba(245, 239, 231, 0.86);
}

/* ===== SLIDER ===== */
.about-konsul__media {
  min-width: 0;
  height: 100%;
}

.about-konsul__slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.about-konsul__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: clamp(260px, 30vw, 420px);
  border-radius: 22px;
  background: #1b2029;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.24),
    0 8px 24px rgba(0, 0, 0, 0.16);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.about-konsul__viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 12%),
    linear-gradient(0deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.04) 26%, rgba(0,0,0,0) 48%);
}

.about-konsul__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.about-konsul__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.03);
  transition:
    opacity 0.85s ease,
    transform 1.4s ease;
}

.about-konsul__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  z-index: 1;
}

.about-konsul__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
/* ===== TABLET ===== */
@media (max-width: 1100px) {
  .about-konsul {
    padding: 92px 0 116px;
  }

  .about-konsul__inner {
    width: min(1400px, 95vw);
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-konsul__content,
  .about-konsul__text {
    max-width: 100%;
  }

  .about-konsul__viewport {
    aspect-ratio: 16 / 10;
    min-height: 320px;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .about-konsul {
    scroll-margin-top: 90px;
    padding: 74px 0 92px;
  }

  .about-konsul::before {
    top: -100px;
    height: 92px;
  }

  .about-konsul::after {
    height: 110px;
  }

  .about-konsul__inner {
    width: min(1400px, 95vw); /* как у catalog */
    gap: 26px;
  }

  .about-konsul__eyebrow {
    margin-bottom: 16px;
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .about-konsul__title {
    margin-bottom: 18px;
    font-size: clamp(28px, 9vw, 42px);
  }

  .about-konsul__text p {
    font-size: 15px;
    line-height: 1.72;
  }

  .about-konsul__media {
    width: 100%;   /* убираем сужение */
    margin: 0;
    height: auto;
  }

  .about-konsul__viewport {
    aspect-ratio: 16 / 11; /* ближе к карточкам каталога */
    min-height: 280px;
    border-radius: 20px;
  }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 480px) {
  .about-konsul {
    padding: 66px 0 84px;
  }

  .about-konsul__inner {
    width: min(1400px, 95vw); /* как у catalog */
    gap: 22px;
  }

  .about-konsul__title {
    font-size: clamp(26px, 8.8vw, 34px);
  }

  .about-konsul__text p {
    font-size: 14px;
    line-height: 1.68;
  }

  .about-konsul__media {
    width: 100%;
    margin: 0;
  }

  .about-konsul__viewport {
    aspect-ratio: 16 / 11;
    min-height: 260px;
    border-radius: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .about-konsul__slide {
    transition: none !important;
  }
}

/* конец второго блока*/
/* ===== FOOTER KONSUL ===== */
.konsul-footer {
  width: 100%;
  color: rgba(255,255,255,0.92);
  font-family: 'Montserrat', sans-serif;
}

.konsul-footer__left {
  max-width: 720px;
  padding: 18px 24px 18px 0;
  text-align: left;
}

.konsul-footer__title {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ffffff;
  text-align: left;
}

.konsul-footer__subtitle {
  margin: 0 0 34px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.62);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-align: left;
}

.konsul-footer__menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin: 0 0 38px;
  font-size: 18px;
  line-height: 1.5;
}

.konsul-footer__menu a {
  color: rgba(255,255,255,0.90);
  text-decoration: none;
  transition: 0.25s ease;
}

.konsul-footer__menu a:hover {
  color: #ffffff;
  opacity: 0.82;
}

.konsul-footer__menu span {
  color: rgba(255,255,255,0.32);
}

.konsul-footer__info {
  margin-bottom: 26px;
  text-align: left;
}

.konsul-footer__label {
  margin-bottom: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.42);
  text-align: left;
}

.konsul-footer__text {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  text-align: left;
}

.konsul-footer__socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 34px;
  margin-bottom: 24px;
}

.konsul-footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  transition: 0.25s ease;
  background: rgba(255,255,255,0.02);
}

.konsul-footer__socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
}

.konsul-footer__note {
  margin: 10px 0 26px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.48);
  text-align: left;
}

.konsul-footer__copy {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.52);
  text-align: left;
}

/* ===== КАРТА ===== */
footer iframe,
.site-footer iframe,
.widget iframe,
footer .custom-html-widget iframe {
  width: 100% !important;
  min-height: 420px;
  border: 0;
  border-radius: 24px;
  display: block;
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
}

/* ===== УБИРАЕМ ЛИШНИЕ ОТСТУПЫ У ВИДЖЕТОВ ===== */
footer .widget,
footer .html-widget,
footer .custom-html-widget {
  margin-bottom: 0;
}

/* ===== ПЛАНШЕТ ===== */
@media (max-width: 1100px) {
  .konsul-footer__left {
    max-width: 100%;
    padding: 10px 0 10px 0;
  }

  .konsul-footer__title {
    font-size: clamp(36px, 8vw, 58px);
  }

  .konsul-footer__menu {
    font-size: 17px;
    margin-bottom: 30px;
  }

  .konsul-footer__text {
    font-size: 18px;
  }

  footer iframe,
  .site-footer iframe,
  .widget iframe,
  footer .custom-html-widget iframe {
    min-height: 360px;
    margin-top: 20px;
  }
}

/* ===== МОБИЛКА ===== */
@media (max-width: 767px) {
  .konsul-footer__title {
    font-size: 36px;
    margin-bottom: 14px;
  }

  .konsul-footer__subtitle {
    font-size: 12px;
    margin-bottom: 24px;
    letter-spacing: 0.12em;
  }

  .konsul-footer__menu {
    gap: 8px;
    font-size: 16px;
    margin-bottom: 26px;
  }

  .konsul-footer__text {
    font-size: 17px;
    line-height: 1.5;
  }

  .konsul-footer__socials {
    gap: 10px;
  }

  .konsul-footer__socials a {
    width: 100%;
    min-height: 46px;
    font-size: 16px;
  }

  .konsul-footer__note,
  .konsul-footer__copy {
    font-size: 13px;
  }

  footer iframe,
  .site-footer iframe,
  .widget iframe,
  footer .custom-html-widget iframe {
    min-height: 280px;
    border-radius: 18px;
  }
}
/* ===== МОБИЛЬНАЯ ВЕРСИЯ ПОДВАЛА ===== */
@media (max-width: 767px) {
  .konsul-footer {
    width: 100%;
  }

  .konsul-footer__left {
    max-width: 100%;
    padding: 0;
    text-align: left;
  }

  .konsul-footer__title {
    margin: 0 0 14px;
    font-size: 34px;
    line-height: 0.95;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: left;
  }

  .konsul-footer__subtitle {
    margin: 0 0 18px;
    font-size: 12px;
    line-height: 1.45;
    letter-spacing: 0.12em;
    text-align: left;
  }

  .konsul-footer__menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px;
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.45;
  }

  .konsul-footer__menu a {
    white-space: normal;
  }

  .konsul-footer__menu span {
    margin: 0 4px;
  }

  .konsul-footer__info {
    margin-bottom: 20px;
    text-align: left;
  }

  .konsul-footer__label {
    margin-bottom: 6px;
    font-size: 11px;
    line-height: 1.3;
    letter-spacing: 0.16em;
    text-align: left;
  }

  .konsul-footer__text {
    font-size: 16px;
    line-height: 1.45;
    text-align: left;
    word-break: normal;
  }

  .konsul-footer__socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 16px;
    margin-bottom: 18px;
  }

  .konsul-footer__socials a {
    width: auto;
    min-width: 132px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
  }

  .konsul-footer__note {
    margin: 4px 0 16px;
    font-size: 12px;
    line-height: 1.55;
    max-width: 100%;
    text-align: left;
  }

  .konsul-footer__copy {
    margin: 0 0 18px;
    font-size: 12px;
    line-height: 1.45;
    text-align: left;
  }

  /* ===== КАРТА НА МОБИЛКЕ ===== */
  footer iframe,
  .site-footer iframe,
  .widget iframe,
  footer .custom-html-widget iframe {
    width: 100% !important;
    min-height: 300px !important;
    height: 300px !important;
    margin-top: 10px;
    border-radius: 22px;
    display: block;
  }

  /* ===== ЕСЛИ КОЛОНКИ ПОДВАЛА НА МОБИЛКЕ НЕ СКЛАДЫВАЮТСЯ ===== */
  footer .widget,
  footer .html-widget,
  footer .custom-html-widget {
    width: 100% !important;
    display: block !important;
    margin-bottom: 0 !important;
  }
}
/* конец подвала блока*/
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner__content {
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(13, 22, 40, 0.96);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  backdrop-filter: blur(10px);
}

.cookie-banner__text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.86);
}

.cookie-banner__actions {
  flex-shrink: 0;
}

.cookie-banner__btn {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  background: #fff;
  color: #0d1628;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
}

.cookie-banner__btn:hover {
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cookie-banner__content {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .cookie-banner__btn {
    width: 100%;
  }
}
/* конец подвала*/
/* =========================================================
   КАТАЛОГ WOOCOMMERCE / ASTRA
   ФОН НА ВСЮ СТРАНИЦУ + ТЁМНАЯ ШАПКА БЕЗ БЕЛЫХ ПОЛЕЙ
   ========================================================= */

/* ===== ОБЩИЙ ФОН ВСЕЙ СТРАНИЦЫ КАТАЛОГА ===== */
body.post-type-archive-product,
body.tax-product_cat {
  background:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0) 24%),
    radial-gradient(circle at 82% 8%, rgba(139, 104, 54, 0.14) 0%, rgba(139, 104, 54, 0) 24%),
    linear-gradient(180deg, #121923 0%, #0f1722 48%, #111926 100%) !important;
}

/* ===== УБИРАЕМ СВЕТЛЫЕ ФОНЫ У ОСНОВНЫХ ОБЁРТОК ===== */
body.post-type-archive-product #page,
body.tax-product_cat #page,
body.post-type-archive-product .site,
body.tax-product_cat .site,
body.post-type-archive-product .site-content,
body.tax-product_cat .site-content,
body.post-type-archive-product .content-area,
body.tax-product_cat .content-area,
body.post-type-archive-product .site-main,
body.tax-product_cat .site-main,
body.post-type-archive-product .ast-container,
body.tax-product_cat .ast-container,
body.post-type-archive-product .ast-woocommerce-container,
body.tax-product_cat .ast-woocommerce-container,
body.post-type-archive-product .entry-content,
body.tax-product_cat .entry-content {
  background: transparent !important;
}

/* ===== ШАПКА ASTRA ТОЖЕ В ТЁМНОМ СТИЛЕ ===== */
body.post-type-archive-product .site-header,
body.tax-product_cat .site-header,
body.post-type-archive-product .ast-above-header-wrap,
body.tax-product_cat .ast-above-header-wrap,
body.post-type-archive-product .ast-primary-header-bar,
body.tax-product_cat .ast-primary-header-bar,
body.post-type-archive-product .main-header-bar,
body.tax-product_cat .main-header-bar,
body.post-type-archive-product .ast-builder-grid-row-container,
body.tax-product_cat .ast-builder-grid-row-container,
body.post-type-archive-product .ast-builder-grid-row,
body.tax-product_cat .ast-builder-grid-row,
body.post-type-archive-product .site-primary-header-wrap,
body.tax-product_cat .site-primary-header-wrap {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* ===== ЦВЕТ ССЫЛОК В ШАПКЕ ===== */
body.post-type-archive-product .main-header-menu .menu-link,
body.tax-product_cat .main-header-menu .menu-link,
body.post-type-archive-product .ast-header-navigation a,
body.tax-product_cat .ast-header-navigation a {
  color: rgba(255,255,255,0.88) !important;
}

body.post-type-archive-product .main-header-menu .menu-link:hover,
body.tax-product_cat .main-header-menu .menu-link:hover,
body.post-type-archive-product .ast-header-navigation a:hover,
body.tax-product_cat .ast-header-navigation a:hover {
  color: #ffffff !important;
}

/* ===== ИКОНКА МОБИЛЬНОГО МЕНЮ ===== */
body.post-type-archive-product .menu-toggle,
body.tax-product_cat .menu-toggle,
body.post-type-archive-product .ast-mobile-menu-trigger-minimal,
body.tax-product_cat .ast-mobile-menu-trigger-minimal {
  color: #f2ece3 !important;
  border-color: rgba(255,255,255,0.18) !important;
}

/* ===== ВНУТРЕННИЙ КОНТЕЙНЕР КАТАЛОГА ===== */
body.post-type-archive-product .ast-woocommerce-container,
body.tax-product_cat .ast-woocommerce-container {
  width: min(1280px, 92vw);
  margin: 0 auto;
  padding: 44px 0 90px;
}

/* ===== ХЛЕБНЫЕ КРОШКИ ===== */
body.post-type-archive-product .woocommerce-breadcrumb,
body.tax-product_cat .woocommerce-breadcrumb {
  margin: 0 0 24px;
  color: rgba(255,255,255,0.62);
  font-size: 14px;
  line-height: 1.5;
}

body.post-type-archive-product .woocommerce-breadcrumb a,
body.tax-product_cat .woocommerce-breadcrumb a {
  color: rgba(255,255,255,0.84);
  text-decoration: none;
  transition: opacity 0.25s ease;
}

body.post-type-archive-product .woocommerce-breadcrumb a:hover,
body.tax-product_cat .woocommerce-breadcrumb a:hover {
  opacity: 0.74;
}

/* ===== ШАПКА КАТАЛОГА ===== */
body.post-type-archive-product .woocommerce-products-header,
body.tax-product_cat .woocommerce-products-header {
  position: relative;
  margin: 0 0 34px;
  padding: 8px 0 30px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: transparent !important;
}

/* ===== ЗАГОЛОВОК ===== */
body.post-type-archive-product .woocommerce-products-header__title.page-title,
body.tax-product_cat .woocommerce-products-header__title.page-title {
  margin: 0 !important;
  font-family: 'Tenor Sans', serif;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0.02em;
  font-weight: 400;
  color: #f4efe8 !important;
  text-transform: none;
}

/* ===== ПОДЗАГОЛОВОК ===== */
body.post-type-archive-product .woocommerce-products-header::after {
  content: "Классическая мужская одежда, обувь и школьная форма";
  display: block;
  max-width: 720px;
  margin-top: 18px;
  color: rgba(255,255,255,0.72);
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

body.tax-product_cat .woocommerce-products-header::after {
  content: "Подберите подходящую категорию и найдите нужные модели в фирменном каталоге «Консул».";
  display: block;
  max-width: 720px;
  margin-top: 18px;
  color: rgba(255,255,255,0.72);
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

/* ===== ПУСТОЙ КАТАЛОГ ===== */
body.post-type-archive-product .woocommerce-no-products-found,
body.tax-product_cat .woocommerce-no-products-found {
  margin-top: 12px;
  background: transparent !important;
}

body.post-type-archive-product .woocommerce-info,
body.tax-product_cat .woocommerce-info {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  color: #f2ece3 !important;
  border-radius: 18px;
  padding: 18px 22px 18px 50px !important;
  box-shadow: none !important;
}

body.post-type-archive-product .woocommerce-info::before,
body.tax-product_cat .woocommerce-info::before {
  color: rgba(255,255,255,0.72) !important;
}

/* ===== УБИРАЕМ ЛИШНИЕ ОТСТУПЫ ASTRA ===== */
body.post-type-archive-product .ast-separate-container #primary,
body.tax-product_cat .ast-separate-container #primary,
body.post-type-archive-product .ast-separate-container.ast-right-sidebar #primary,
body.tax-product_cat .ast-separate-container.ast-right-sidebar #primary,
body.post-type-archive-product .ast-separate-container.ast-left-sidebar #primary,
body.tax-product_cat .ast-separate-container.ast-left-sidebar #primary {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

/* ===== НИЗ СТРАНИЦЫ ТОЖЕ БЕЗ БЕЛОГО ===== */
body.post-type-archive-product .site-footer,
body.tax-product_cat .site-footer,
body.post-type-archive-product .ast-footer-overlay,
body.tax-product_cat .ast-footer-overlay {
  background: transparent !important;
  border: none !important;
}

/* ===== ПЛАНШЕТ ===== */
@media (max-width: 921px) {
  body.post-type-archive-product .ast-woocommerce-container,
  body.tax-product_cat .ast-woocommerce-container {
    width: min(100%, calc(100vw - 40px));
    padding: 32px 0 64px;
  }

  body.post-type-archive-product .woocommerce-products-header::after,
  body.tax-product_cat .woocommerce-products-header::after {
    font-size: 16px;
    line-height: 1.6;
  }
}

/* ===== МОБИЛКА ===== */
@media (max-width: 767px) {
  body.post-type-archive-product .ast-woocommerce-container,
  body.tax-product_cat .ast-woocommerce-container {
    width: min(100%, calc(100vw - 28px));
    padding: 24px 0 52px;
  }

  body.post-type-archive-product .woocommerce-breadcrumb,
  body.tax-product_cat .woocommerce-breadcrumb {
    font-size: 13px;
    margin-bottom: 16px;
  }

  body.post-type-archive-product .woocommerce-products-header,
  body.tax-product_cat .woocommerce-products-header {
    margin-bottom: 24px;
    padding-bottom: 22px;
  }

  body.post-type-archive-product .woocommerce-products-header__title.page-title,
  body.tax-product_cat .woocommerce-products-header__title.page-title {
    font-size: clamp(30px, 10vw, 46px);
    line-height: 1.02;
  }

  body.post-type-archive-product .woocommerce-products-header::after,
  body.tax-product_cat .woocommerce-products-header::after {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.55;
  }

  body.post-type-archive-product .woocommerce-info,
  body.tax-product_cat .woocommerce-info {
    border-radius: 16px;
    padding: 16px 18px 16px 42px !important;
    font-size: 15px;
    line-height: 1.55;
  }
}

/* =========================================================
   КАТАЛОГ / ШАПКА ASTRA
   ФОН ВО ВСЮ ШИРИНУ БЕЗ БЕЛЫХ ПОЛОС НА ПК
   ========================================================= */

/* один общий фон */
body.post-type-archive-product,
body.tax-product_cat {
  background:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0) 24%),
    radial-gradient(circle at 82% 8%, rgba(139, 104, 54, 0.14) 0%, rgba(139, 104, 54, 0) 24%),
    linear-gradient(180deg, #121923 0%, #0f1722 48%, #111926 100%) !important;
}

/* все основные обёртки страницы прозрачные */
body.post-type-archive-product #page,
body.tax-product_cat #page,
body.post-type-archive-product .site,
body.tax-product_cat .site,
body.post-type-archive-product .site-content,
body.tax-product_cat .site-content,
body.post-type-archive-product .content-area,
body.tax-product_cat .content-area,
body.post-type-archive-product .site-main,
body.tax-product_cat .site-main,
body.post-type-archive-product .ast-container,
body.tax-product_cat .ast-container,
body.post-type-archive-product .ast-woocommerce-container,
body.tax-product_cat .ast-woocommerce-container {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* ===== ВНЕШНЯЯ ШАПКА НА ВСЮ ШИРИНУ ===== */
body.post-type-archive-product #masthead,
body.tax-product_cat #masthead,
body.post-type-archive-product .site-header,
body.tax-product_cat .site-header,
body.post-type-archive-product .ast-header-wrap,
body.tax-product_cat .ast-header-wrap,
body.post-type-archive-product .site-primary-header-wrap,
body.tax-product_cat .site-primary-header-wrap,
body.post-type-archive-product .ast-primary-header-bar,
body.tax-product_cat .ast-primary-header-bar,
body.post-type-archive-product .main-header-bar,
body.tax-product_cat .main-header-bar,
body.post-type-archive-product .main-header-bar-wrap,
body.tax-product_cat .main-header-bar-wrap,
body.post-type-archive-product .ast-main-header-wrap,
body.tax-product_cat .ast-main-header-wrap {
  background:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0) 24%),
    radial-gradient(circle at 82% 8%, rgba(139, 104, 54, 0.14) 0%, rgba(139, 104, 54, 0) 24%),
    linear-gradient(180deg, #121923 0%, #0f1722 48%, #111926 100%) !important;
  border: none !important;
  box-shadow: none !important;
}

/* ===== КОНТЕЙНЕР ASTRA РАСТЯГИВАЕМ НА 100vw ===== */
body.post-type-archive-product .ast-builder-grid-row-container,
body.tax-product_cat .ast-builder-grid-row-container,
body.post-type-archive-product .ast-builder-grid-row-container-inner,
body.tax-product_cat .ast-builder-grid-row-container-inner {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0) 24%),
    radial-gradient(circle at 82% 8%, rgba(139, 104, 54, 0.14) 0%, rgba(139, 104, 54, 0) 24%),
    linear-gradient(180deg, #121923 0%, #0f1722 48%, #111926 100%) !important;
  border: none !important;
  box-shadow: none !important;
}

/* ===== А ВОТ САМ КОНТЕНТ ШАПКИ ОСТАВЛЯЕМ ПО ЦЕНТРУ ===== */
body.post-type-archive-product .ast-builder-grid-row,
body.tax-product_cat .ast-builder-grid-row {
  width: min(1280px, 92vw) !important;
  max-width: min(1280px, 92vw) !important;
  margin: 0 auto !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* все внутренние блоки прозрачные */
body.post-type-archive-product .site-header-section,
body.tax-product_cat .site-header-section,
body.post-type-archive-product .ast-builder-layout-element,
body.tax-product_cat .ast-builder-layout-element,
body.post-type-archive-product .ast-builder-menu,
body.tax-product_cat .ast-builder-menu,
body.post-type-archive-product .ast-builder-menu-1,
body.tax-product_cat .ast-builder-menu-1,
body.post-type-archive-product .ast-header-html,
body.tax-product_cat .ast-header-html {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* убираем любые линии */
body.post-type-archive-product #masthead,
body.tax-product_cat #masthead,
body.post-type-archive-product .site-header,
body.tax-product_cat .site-header,
body.post-type-archive-product .site-primary-header-wrap,
body.tax-product_cat .site-primary-header-wrap,
body.post-type-archive-product .main-header-bar,
body.tax-product_cat .main-header-bar,
body.post-type-archive-product .ast-primary-header-bar,
body.tax-product_cat .ast-primary-header-bar,
body.post-type-archive-product .site-content,
body.tax-product_cat .site-content,
body.post-type-archive-product .content-area,
body.tax-product_cat .content-area,
body.post-type-archive-product .site-main,
body.tax-product_cat .site-main {
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

body.post-type-archive-product #masthead::before,
body.tax-product_cat #masthead::before,
body.post-type-archive-product #masthead::after,
body.tax-product_cat #masthead::after,
body.post-type-archive-product .site-header::before,
body.tax-product_cat .site-header::before,
body.post-type-archive-product .site-header::after,
body.tax-product_cat .site-header::after,
body.post-type-archive-product .main-header-bar::before,
body.tax-product_cat .main-header-bar::before,
body.post-type-archive-product .main-header-bar::after,
body.tax-product_cat .main-header-bar::after,
body.post-type-archive-product .site-primary-header-wrap::before,
body.tax-product_cat .site-primary-header-wrap::before,
body.post-type-archive-product .site-primary-header-wrap::after,
body.tax-product_cat .site-primary-header-wrap::after {
  display: none !important;
  content: none !important;
}

/* меню */
body.post-type-archive-product .main-header-menu .menu-link,
body.tax-product_cat .main-header-menu .menu-link,
body.post-type-archive-product .ast-header-navigation a,
body.tax-product_cat .ast-header-navigation a {
  color: rgba(255,255,255,0.88) !important;
}

body.post-type-archive-product .main-header-menu .menu-link:hover,
body.tax-product_cat .main-header-menu .menu-link:hover,
body.post-type-archive-product .ast-header-navigation a:hover,
body.tax-product_cat .ast-header-navigation a:hover {
  color: #ffffff !important;
}

/* кнопка */
body.post-type-archive-product .ast-custom-button,
body.tax-product_cat .ast-custom-button,
body.post-type-archive-product .menu-item .ast-custom-button-link,
body.tax-product_cat .menu-item .ast-custom-button-link {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  box-shadow: none !important;
}

/* каталог ближе к шапке */
body.post-type-archive-product .ast-woocommerce-container,
body.tax-product_cat .ast-woocommerce-container {
  padding-top: 18px !important;
  margin-top: 0 !important;
}

/* ===== МОБИЛКА: оставляем тёмное меню ===== */
@media (max-width: 921px) {
  body.post-type-archive-product .ast-mobile-header-wrap,
  body.tax-product_cat .ast-mobile-header-wrap,
  body.post-type-archive-product .ast-mobile-header-content,
  body.tax-product_cat .ast-mobile-header-content,
  body.post-type-archive-product .ast-mobile-header-bar,
  body.tax-product_cat .ast-mobile-header-bar,
  body.post-type-archive-product .ast-header-break-point .main-header-bar,
  body.tax-product_cat .ast-header-break-point .main-header-bar {
    background:
      radial-gradient(circle at 18% 10%, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0) 24%),
      radial-gradient(circle at 82% 8%, rgba(139, 104, 54, 0.14) 0%, rgba(139, 104, 54, 0) 24%),
      linear-gradient(180deg, #121923 0%, #0f1722 48%, #111926 100%) !important;
    border: none !important;
    box-shadow: none !important;
  }

  body.post-type-archive-product .ast-builder-menu-mobile .main-navigation,
  body.tax-product_cat .ast-builder-menu-mobile .main-navigation,
  body.post-type-archive-product .ast-builder-menu-mobile .main-header-menu,
  body.tax-product_cat .ast-builder-menu-mobile .main-header-menu,
  body.post-type-archive-product .ast-builder-menu-mobile .sub-menu,
  body.tax-product_cat .ast-builder-menu-mobile .sub-menu,
  body.post-type-archive-product .ast-header-break-point .main-header-menu,
  body.tax-product_cat .ast-header-break-point .main-header-menu,
  body.post-type-archive-product .ast-header-break-point .main-navigation ul,
  body.tax-product_cat .ast-header-break-point .main-navigation ul {
    background: linear-gradient(180deg, #121923 0%, #0f1722 52%, #111926 100%) !important;
    border: none !important;
    box-shadow: none !important;
  }

  body.post-type-archive-product .ast-builder-menu-mobile .menu-link,
  body.tax-product_cat .ast-builder-menu-mobile .menu-link,
  body.post-type-archive-product .ast-header-break-point .main-header-menu .menu-link,
  body.tax-product_cat .ast-header-break-point .main-header-menu .menu-link,
  body.post-type-archive-product .ast-header-break-point .main-navigation ul li a,
  body.tax-product_cat .ast-header-break-point .main-navigation ul li a {
    color: #f4efe8 !important;
    background: transparent !important;
    border: none !important;
  }

  body.post-type-archive-product .menu-toggle,
  body.tax-product_cat .menu-toggle,
  body.post-type-archive-product .ast-mobile-menu-trigger-minimal,
  body.tax-product_cat .ast-mobile-menu-trigger-minimal,
  body.post-type-archive-product .ast-mobile-svg,
  body.tax-product_cat .ast-mobile-svg {
    color: #f4efe8 !important;
    fill: #f4efe8 !important;
  }
}
/* конец внешнего офор каталог*/

/* =========================================================
   КАТАЛОГ: ЛЕВАЯ ПАНЕЛЬ + КАРТОЧКИ + ЕДИНЫЙ СТИЛЬ SINGLE PRODUCT
   ========================================================= */

/* ===== ЛЕВАЯ ПАНЕЛЬ В КАТАЛОГЕ ===== */
/* ===== ЛЕВАЯ ПАНЕЛЬ В КАТАЛОГЕ ===== */
body.post-type-archive-product.ast-left-sidebar #content > .ast-container,
body.tax-product_cat.ast-left-sidebar #content > .ast-container {
  width: min(1360px, 92vw) !important;
  max-width: min(1360px, 92vw) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

body.post-type-archive-product.ast-left-sidebar #secondary,
body.tax-product_cat.ast-left-sidebar #secondary {
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  order: 1;
}

body.post-type-archive-product.ast-left-sidebar #primary,
body.tax-product_cat.ast-left-sidebar #primary {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  order: 2;
}

/* ===== ОФОРМЛЕНИЕ БОКОВОЙ ПАНЕЛИ ===== */
body.post-type-archive-product #secondary .widget,
body.tax-product_cat #secondary .widget,
body.post-type-archive-product #secondary .wp-block-group,
body.tax-product_cat #secondary .wp-block-group,
body.post-type-archive-product #secondary .wp-block-woocommerce-product-categories,
body.tax-product_cat #secondary .wp-block-woocommerce-product-categories {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 20px 22px;
  color: #f4efe8;
}

body.post-type-archive-product #secondary h2,
body.tax-product_cat #secondary h2,
body.post-type-archive-product #secondary .wp-block-heading,
body.tax-product_cat #secondary .wp-block-heading {
  margin: 0 0 16px;
  font-family: 'Tenor Sans', serif;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 400;
  color: #f4efe8;
}

body.post-type-archive-product #secondary ul,
body.tax-product_cat #secondary ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.post-type-archive-product #secondary li,
body.tax-product_cat #secondary li {
  margin: 0;
  padding: 0;
}

body.post-type-archive-product #secondary li + li,
body.tax-product_cat #secondary li + li {
  border-top: 1px solid rgba(255,255,255,0.08);
}

body.post-type-archive-product #secondary a,
body.tax-product_cat #secondary a {
  display: block;
  padding: 12px 0;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

body.post-type-archive-product #secondary a:hover,
body.tax-product_cat #secondary a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

/* ===== КАРТОЧКИ ТОВАРОВ ===== */
/* ===== КАРТОЧКИ ТОВАРОВ ===== */
body.post-type-archive-product #primary ul.products,
body.tax-product_cat #primary ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body.post-type-archive-product #primary ul.products li.product,
body.tax-product_cat #primary ul.products li.product {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
  box-sizing: border-box !important;

  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 28px !important;
  padding: 16px !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

body.post-type-archive-product.ast-left-sidebar #primary,
body.tax-product_cat.ast-left-sidebar #primary {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

body.post-type-archive-product ul.products li.product a img,
body.tax-product_cat ul.products li.product a img {
  border-radius: 20px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

body.post-type-archive-product ul.products li.product .onsale,
body.tax-product_cat ul.products li.product .onsale {
  border-radius: 999px !important;
  min-height: auto !important;
  line-height: 1 !important;
  padding: 10px 14px !important;
  left: 14px !important;
  top: 14px !important;
}

body.post-type-archive-product ul.products li.product .woocommerce-loop-category__title,
body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-category__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
  color: #f4efe8 !important;
}

body.post-type-archive-product ul.products li.product .price,
body.tax-product_cat ul.products li.product .price {
  color: rgba(255,255,255,0.86) !important;
}

body.post-type-archive-product ul.products li.product .button,
body.post-type-archive-product ul.products li.product .konsul-loop-more,
body.tax-product_cat ul.products li.product .button,
body.tax-product_cat ul.products li.product .konsul-loop-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  margin-top: 14px !important;
  border-radius: 14px !important;
  text-transform: none;
}

/* ===== SINGLE PRODUCT / ЕДИНЫЙ ТЁМНЫЙ СТИЛЬ ===== */
body.single-product {
  background:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0) 24%),
    radial-gradient(circle at 82% 8%, rgba(139, 104, 54, 0.14) 0%, rgba(139, 104, 54, 0) 24%),
    linear-gradient(180deg, #121923 0%, #0f1722 48%, #111926 100%) !important;
}

body.single-product #page,
body.single-product .site,
body.single-product .site-content,
body.single-product .content-area,
body.single-product .site-main,
body.single-product .ast-container {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* шапка single product */
body.single-product #masthead,
body.single-product .site-header,
body.single-product .site-primary-header-wrap,
body.single-product .ast-primary-header-bar,
body.single-product .main-header-bar,
body.single-product .ast-builder-grid-row-container,
body.single-product .ast-builder-grid-row-container-inner {
  background:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0) 24%),
    radial-gradient(circle at 82% 8%, rgba(139, 104, 54, 0.14) 0%, rgba(139, 104, 54, 0) 24%),
    linear-gradient(180deg, #121923 0%, #0f1722 48%, #111926 100%) !important;
  border: none !important;
  box-shadow: none !important;
}

body.single-product .ast-builder-grid-row {
  width: min(1280px, 92vw) !important;
  max-width: min(1280px, 92vw) !important;
  margin: 0 auto !important;
  background: transparent !important;
}

body.single-product .main-header-menu .menu-link,
body.single-product .ast-header-navigation a {
  color: rgba(255,255,255,0.88) !important;
}

body.single-product .main-header-menu .menu-link:hover,
body.single-product .ast-header-navigation a:hover {
  color: #ffffff !important;
}

body.single-product .product {
  width: min(1360px, 92vw);
  margin: 0 auto;
  padding: 34px 0 80px;
}

body.single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 40px;
  align-items: start;
}

body.single-product .woocommerce-breadcrumb,
body.single-product .posted_in,
body.single-product .product_meta {
  color: rgba(255,255,255,0.68) !important;
}

body.single-product .woocommerce-breadcrumb a,
body.single-product .product_meta a {
  color: rgba(255,255,255,0.84) !important;
  text-decoration: none;
}

body.single-product .woocommerce-product-gallery__image img,
body.single-product .flex-control-thumbs img {
  border-radius: 24px;
}

body.single-product .summary.entry-summary {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  padding: 28px 32px;
}

body.single-product .product_title {
  margin: 0 0 16px !important;
  font-family: 'Tenor Sans', serif;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 0.98;
  font-weight: 400;
  color: #f4efe8 !important;
}

body.single-product .price {
  color: #f4efe8 !important;
  font-size: 30px;
  line-height: 1.2;
}

body.single-product .woocommerce-product-details__short-description {
  color: rgba(255,255,255,0.76);
  line-height: 1.7;
}

body.single-product .product_meta {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

body.single-product .konsul-order-note {
  margin-top: 22px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 18px 20px;
  color: #f2ece3;
  line-height: 1.65;
}

/* ===== МОБИЛКА ===== */
  @media (max-width: 921px) {
  body.post-type-archive-product.ast-left-sidebar #content > .ast-container,
  body.tax-product_cat.ast-left-sidebar #content > .ast-container {
    width: min(100%, calc(100vw - 28px)) !important;
    max-width: min(100%, calc(100vw - 28px)) !important;
    margin: 0 auto !important;
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
  }

  body.post-type-archive-product.ast-left-sidebar #secondary,
  body.tax-product_cat.ast-left-sidebar #secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 18px !important;
    float: none !important;
    order: unset !important;
  }

  body.post-type-archive-product.ast-left-sidebar #primary,
  body.tax-product_cat.ast-left-sidebar #primary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    float: none !important;
    order: unset !important;
  }

  body.post-type-archive-product #secondary .widget,
  body.tax-product_cat #secondary .widget,
  body.post-type-archive-product #secondary .wp-block-group,
  body.tax-product_cat #secondary .wp-block-group,
  body.post-type-archive-product #secondary .wp-block-woocommerce-product-categories,
  body.tax-product_cat #secondary .wp-block-woocommerce-product-categories {
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

  body.post-type-archive-product.ast-left-sidebar #secondary,
  body.tax-product_cat.ast-left-sidebar #secondary {
    order: 1;
  }

  body.post-type-archive-product.ast-left-sidebar #primary,
  body.tax-product_cat.ast-left-sidebar #primary {
    order: 2;
  }

  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products {
    grid-template-columns: 1fr;
  }

  body.single-product div.product {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body.single-product .summary.entry-summary {
    padding: 22px 20px;
    border-radius: 22px;
  }
}

/* =========================================================
   KONSUL / CLEAN FIX v2
   ШАПКА + КАТАЛОГ + SINGLE PRODUCT + МОБИЛКА
   ЗАМЕНЯЕТ ПРЕДЫДУЩИЙ CLEAN FIX ЦЕЛИКОМ
   ========================================================= */

/* ===== БАЗА ===== */
html,
body {
  max-width: 100%;
  overflow-x: hidden !important;
}

body.post-type-archive-product,
body.tax-product_cat,
body.single-product {
  --konsul-dark-bg:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0) 24%),
    radial-gradient(circle at 82% 8%, rgba(139,104,54,0.14) 0%, rgba(139,104,54,0) 24%),
    linear-gradient(180deg, #121923 0%, #0f1722 48%, #111926 100%);
  background: var(--konsul-dark-bg) !important;
}

body.post-type-archive-product #page,
body.tax-product_cat #page,
body.single-product #page,
body.post-type-archive-product .site,
body.tax-product_cat .site,
body.single-product .site,
body.post-type-archive-product .site-content,
body.tax-product_cat .site-content,
body.single-product .site-content,
body.post-type-archive-product .content-area,
body.tax-product_cat .content-area,
body.single-product .content-area,
body.post-type-archive-product .site-main,
body.tax-product_cat .site-main,
body.single-product .site-main,
body.post-type-archive-product .ast-container,
body.tax-product_cat .ast-container,
body.single-product .ast-container {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* =========================================================
   ШАПКА — УБИРАЕМ БЕЛЫЙ ФОН И ДЕЛАЕМ ЕЁ В ЦВЕТ САЙТА
   ========================================================= */
body.post-type-archive-product #masthead,
body.tax-product_cat #masthead,
body.single-product #masthead,
body.post-type-archive-product .site-header,
body.tax-product_cat .site-header,
body.single-product .site-header,
body.post-type-archive-product .site-primary-header-wrap,
body.tax-product_cat .site-primary-header-wrap,
body.single-product .site-primary-header-wrap,
body.post-type-archive-product .ast-primary-header-bar,
body.tax-product_cat .ast-primary-header-bar,
body.single-product .ast-primary-header-bar,
body.post-type-archive-product .main-header-bar,
body.tax-product_cat .main-header-bar,
body.single-product .main-header-bar,
body.post-type-archive-product .main-header-bar-wrap,
body.tax-product_cat .main-header-bar-wrap,
body.single-product .main-header-bar-wrap,
body.post-type-archive-product .ast-builder-grid-row-container,
body.tax-product_cat .ast-builder-grid-row-container,
body.single-product .ast-builder-grid-row-container,
body.post-type-archive-product .ast-builder-grid-row-container-inner,
body.tax-product_cat .ast-builder-grid-row-container-inner,
body.single-product .ast-builder-grid-row-container-inner,
body.post-type-archive-product .ast-main-header-wrap,
body.tax-product_cat .ast-main-header-wrap,
body.single-product .ast-main-header-wrap,
body.post-type-archive-product .ast-mobile-header-wrap,
body.tax-product_cat .ast-mobile-header-wrap,
body.single-product .ast-mobile-header-wrap,
body.post-type-archive-product .ast-mobile-header-content,
body.tax-product_cat .ast-mobile-header-content,
body.single-product .ast-mobile-header-content,
body.post-type-archive-product .ast-desktop-header-content,
body.tax-product_cat .ast-desktop-header-content,
body.single-product .ast-desktop-header-content {
  background: var(--konsul-dark-bg) !important;
  border: none !important;
  box-shadow: none !important;
}

body.post-type-archive-product #masthead::before,
body.tax-product_cat #masthead::before,
body.single-product #masthead::before,
body.post-type-archive-product #masthead::after,
body.tax-product_cat #masthead::after,
body.single-product #masthead::after,
body.post-type-archive-product .site-header::before,
body.tax-product_cat .site-header::before,
body.single-product .site-header::before,
body.post-type-archive-product .site-header::after,
body.tax-product_cat .site-header::after,
body.single-product .site-header::after,
body.post-type-archive-product .main-header-bar::before,
body.tax-product_cat .main-header-bar::before,
body.single-product .main-header-bar::before,
body.post-type-archive-product .main-header-bar::after,
body.tax-product_cat .main-header-bar::after,
body.single-product .main-header-bar::after {
  display: none !important;
  content: none !important;
}

body.post-type-archive-product #masthead .ast-builder-grid-row,
body.tax-product_cat #masthead .ast-builder-grid-row,
body.single-product #masthead .ast-builder-grid-row {
  width: min(1280px, 92vw) !important;
  max-width: min(1280px, 92vw) !important;
  margin: 0 auto !important;
  background: transparent !important;
}

body.post-type-archive-product .main-header-menu .menu-link,
body.tax-product_cat .main-header-menu .menu-link,
body.single-product .main-header-menu .menu-link,
body.post-type-archive-product .ast-header-navigation a,
body.tax-product_cat .ast-header-navigation a,
body.single-product .ast-header-navigation a {
  color: rgba(255,255,255,0.88) !important;
}

body.post-type-archive-product .main-header-menu .menu-link:hover,
body.tax-product_cat .main-header-menu .menu-link:hover,
body.single-product .main-header-menu .menu-link:hover,
body.post-type-archive-product .ast-header-navigation a:hover,
body.tax-product_cat .ast-header-navigation a:hover,
body.single-product .ast-header-navigation a:hover {
  color: #ffffff !important;
}

/* =========================================================
   КАТАЛОГ — САЙДБАР ВОЗВРАЩАЕМ НА НОРМАЛЬНОЕ МЕСТО
   ========================================================= */
body.post-type-archive-product.ast-left-sidebar #secondary,
body.tax-product_cat.ast-left-sidebar #secondary {
  padding-top: 0 !important;
  margin-top: 0 !important;
  align-self: start !important;
}

/* ===== УБРАТЬ ЛИШНЮЮ СТАНДАРТНУЮ КНОПКУ WOOCOMMERCE ===== */
body.post-type-archive-product ul.products li.product a.button:not(.konsul-loop-more),
body.tax-product_cat ul.products li.product a.button:not(.konsul-loop-more) {
  display: none !important;
}

/* ===== КАРТОЧКИ КАТАЛОГА ===== */
body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product {
  border-radius: 28px !important;
  overflow: hidden !important;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
}

body.post-type-archive-product ul.products li.product a img,
body.tax-product_cat ul.products li.product a img {
  width: 100% !important;
  aspect-ratio: 4 / 5 !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 22px !important;
}

body.post-type-archive-product ul.products li.product .konsul-loop-more,
body.tax-product_cat ul.products li.product .konsul-loop-more {
  border-radius: 16px !important;
  min-height: 54px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
}

/* =========================================================
   SINGLE PRODUCT — ОБЩИЙ КОНТЕЙНЕР
   ========================================================= */
body.single-product .product {
  width: min(1380px, 94vw) !important;
  margin: 0 auto !important;
  padding: 24px 0 70px !important;
}

body.single-product div.product {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px) !important;
  gap: 28px !important;
  align-items: start !important;
}

body.single-product div.product div.images,
body.single-product div.product div.summary,
body.single-product .woocommerce-product-gallery,
body.single-product .summary.entry-summary {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

/* ===== СТРЕЛКА НАЗАД ===== */
body.single-product .konsul-back-link {
  position: absolute;
  left: -54px;
  top: 8px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: #f4efe8;
  text-decoration: none;
  font-size: 22px;
  line-height: 1;
  transition: transform 0.25s ease, background 0.25s ease;
  z-index: 5;
}

body.single-product .konsul-back-link:hover {
  transform: translateX(-2px);
  background: rgba(255,255,255,0.10);
}

/* =========================================================
   SINGLE PRODUCT — ФОТОГАЛЕРЕЯ
   ФИКСИРОВАННЫЙ РАЗМЕР ДЛЯ ВСЕХ ФОТО
   ========================================================= */
body.single-product .woocommerce-product-gallery {
  width: 100% !important;
  max-width: none !important;
}

body.single-product .woocommerce-product-gallery .flex-viewport {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  border-radius: 28px !important;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
}

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

body.single-product .woocommerce-product-gallery__image {
  overflow: hidden !important;
}

body.single-product .woocommerce-product-gallery__image a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  aspect-ratio: 4 / 5 !important;
  overflow: hidden !important;
  background: rgba(255,255,255,0.02) !important;
}

body.single-product .woocommerce-product-gallery__image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.single-product .woocommerce-product-gallery .zoomImg {
  display: none !important;
}

/* миниатюры */
body.single-product .woocommerce-product-gallery .flex-control-thumbs {
  margin-top: 16px !important;
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li {
  width: 78px !important;
  height: 78px !important;
  margin: 0 !important;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs img {
  width: 78px !important;
  height: 78px !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 16px !important;
  display: block !important;
}

/* =========================================================
   SINGLE PRODUCT — ПРАВАЯ КОЛОНКА С ИНФОРМАЦИЕЙ
   ========================================================= */
body.single-product .summary.entry-summary {
  width: 100% !important;
  max-width: 430px !important;
  justify-self: end !important;
  align-self: start !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 30px !important;
  padding: 28px 28px !important;
}

body.single-product .summary.entry-summary *,
body.single-product .konsul-order-note,
body.single-product .woocommerce-product-details__short-description,
body.single-product .product_meta {
  box-sizing: border-box !important;
  max-width: 100% !important;
}

body.single-product .product_title {
  margin: 0 0 14px !important;
  font-family: 'Tenor Sans', serif;
  font-size: clamp(34px, 3.8vw, 60px) !important;
  line-height: 0.96 !important;
  font-weight: 400 !important;
  color: #f4efe8 !important;
  text-align: left !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

body.single-product .price {
  color: #f7f1e7 !important;
  font-size: 28px !important;
  line-height: 1.2 !important;
}

body.single-product .woocommerce-product-details__short-description,
body.single-product .woocommerce-product-details__short-description p {
  color: rgba(255,255,255,0.88) !important;
  line-height: 1.72 !important;
  text-align: left !important;
}

body.single-product .product_meta {
  margin-top: 20px !important;
  padding-top: 16px !important;
  border-top: 1px solid rgba(255,255,255,0.10) !important;
  color: rgba(255,255,255,0.76) !important;
}

body.single-product .product_meta a {
  color: rgba(255,255,255,0.88) !important;
  text-decoration: none !important;
}

body.single-product .konsul-order-note {
  margin-top: 22px !important;
  width: 100% !important;
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 18px !important;
  padding: 18px 20px !important;
  color: #f2ece3 !important;
  line-height: 1.62 !important;
  overflow-wrap: anywhere !important;
}

/* ===== ТАБЫ ===== */
body.single-product .woocommerce-tabs {
  margin-top: 26px !important;
}

body.single-product .woocommerce-tabs .wc-tabs {
  border-bottom: 1px solid rgba(255,255,255,0.18) !important;
}

body.single-product .woocommerce-tabs .wc-tabs li {
  background: transparent !important;
  border: none !important;
  margin-right: 18px !important;
}

body.single-product .woocommerce-tabs .wc-tabs li a {
  color: rgba(255,255,255,0.78) !important;
  font-weight: 700 !important;
}

body.single-product .woocommerce-tabs .wc-tabs li.active a,
body.single-product .woocommerce-tabs .wc-tabs li a:hover {
  color: #ffffff !important;
}

body.single-product .woocommerce-Tabs-panel,
body.single-product .woocommerce-Tabs-panel p,
body.single-product #tab-description,
body.single-product #tab-description p,
body.single-product #tab-additional_information,
body.single-product #tab-additional_information p {
  color: rgba(255,255,255,0.90) !important;
  line-height: 1.8 !important;
}

body.single-product table.shop_attributes,
body.single-product table.shop_attributes th,
body.single-product table.shop_attributes td {
  color: #f4efe8 !important;
  border-color: rgba(255,255,255,0.22) !important;
}

body.single-product table.shop_attributes th {
  color: rgba(255,255,255,0.82) !important;
}

body.single-product table.shop_attributes td {
  color: #ffffff !important;
}

/* =========================================================
   КНОПКА МОБИЛЬНОГО ФИЛЬТРА
   ========================================================= */
.konsul-filter-toggle {
  display: none;
}

/* =========================================================
   ПЛАНШЕТ / МОБИЛКА
   ========================================================= */
@media (max-width: 921px) {
  /* ===== КАТАЛОГ: СТРУКТУРА ===== */
  body.post-type-archive-product.ast-left-sidebar .ast-container,
  body.tax-product_cat.ast-left-sidebar .ast-container {
    display: block !important;
    width: min(94vw, 100%) !important;
    max-width: min(94vw, 100%) !important;
  }

  body.post-type-archive-product.ast-left-sidebar #secondary,
  body.tax-product_cat.ast-left-sidebar #secondary {
    width: 100% !important;
    margin: 0 0 16px !important;
    padding-top: 0 !important;
  }

  /* мобильная раскрывашка фильтра */
  body.konsul-filters-ready.post-type-archive-product #secondary > *,
  body.konsul-filters-ready.tax-product_cat #secondary > * {
    display: none;
  }

  body.konsul-filters-ready.konsul-filters-open.post-type-archive-product #secondary > *,
  body.konsul-filters-ready.konsul-filters-open.tax-product_cat #secondary > * {
    display: block;
  }

  body.konsul-filters-ready .konsul-filter-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 54px;
    margin: 0 0 14px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 18px;
    background: rgba(255,255,255,0.05);
    color: #f4efe8;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
  }

  body.konsul-filters-ready .konsul-filter-toggle::after {
    content: "+";
    font-size: 22px;
    line-height: 1;
  }

  body.konsul-filters-ready.konsul-filters-open .konsul-filter-toggle::after {
    content: "−";
  }

  /* ===== КАТАЛОГ: НА МОБИЛКЕ 2 КАРТОЧКИ В РЯД ===== */
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  body.post-type-archive-product ul.products li.product,
  body.tax-product_cat ul.products li.product {
    padding: 10px !important;
    border-radius: 20px !important;
  }

  body.post-type-archive-product ul.products li.product a img,
  body.tax-product_cat ul.products li.product a img {
    border-radius: 16px !important;
  }

  body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
  body.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px !important;
    line-height: 1.2 !important;
  }

  body.post-type-archive-product ul.products li.product .price,
  body.tax-product_cat ul.products li.product .price {
    font-size: 14px !important;
    line-height: 1.25 !important;
  }

  body.post-type-archive-product ul.products li.product .konsul-loop-more,
  body.tax-product_cat ul.products li.product .konsul-loop-more {
    min-height: 42px !important;
    font-size: 14px !important;
    border-radius: 12px !important;
    margin-top: 10px !important;
  }

  /* ===== SINGLE PRODUCT ===== */
  body.single-product .product {
    width: min(94vw, 100%) !important;
    padding: 18px 0 56px !important;
  }

  body.single-product div.product {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  body.single-product .konsul-back-link {
    position: static !important;
    margin: 0 0 12px !important;
    align-self: start !important;
  }

  body.single-product .woocommerce-product-gallery,
  body.single-product .summary.entry-summary {
    width: 100% !important;
    max-width: 100% !important;
    justify-self: stretch !important;
  }

  body.single-product .woocommerce-product-gallery__image a {
    aspect-ratio: 4 / 5 !important;
  }

  body.single-product .summary.entry-summary {
    padding: 22px 20px !important;
    border-radius: 24px !important;
  }

  body.single-product .product_title {
    font-size: clamp(30px, 11vw, 48px) !important;
  }

  body.single-product .price {
    font-size: 24px !important;
  }

  body.single-product .woocommerce-product-gallery .flex-control-thumbs {
    gap: 10px !important;
  }

  body.single-product .woocommerce-product-gallery .flex-control-thumbs li,
  body.single-product .woocommerce-product-gallery .flex-control-thumbs img {
    width: 64px !important;
    height: 64px !important;
  }
}

/* =========================================================
   ОЧЕНЬ УЗКАЯ МОБИЛКА
   ========================================================= */
@media (max-width: 420px) {
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body.post-type-archive-product ul.products li.product,
  body.tax-product_cat ul.products li.product {
    padding: 8px !important;
  }

  body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
  body.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px !important;
  }

  body.post-type-archive-product ul.products li.product .price,
  body.tax-product_cat ul.products li.product .price {
    font-size: 13px !important;
  }

  body.post-type-archive-product ul.products li.product .konsul-loop-more,
  body.tax-product_cat ul.products li.product .konsul-loop-more {
    min-height: 40px !important;
    font-size: 13px !important;
  }
}

/* =========================================================
   KONSUL / HOTFIX
   ДОБИВАЮЩИЙ ПАТЧ ПОВЕРХ ВСЕГО ТЕКУЩЕГО CSS
   ========================================================= */

/* ===== 1. ШАПКА: УБИРАЕМ БЕЛЫЕ ПОЛЯ СЛЕВА И СПРАВА ===== */
body.post-type-archive-product #masthead,
body.tax-product_cat #masthead,
body.single-product #masthead,
body.post-type-archive-product .site-header,
body.tax-product_cat .site-header,
body.single-product .site-header,
body.post-type-archive-product .site-primary-header-wrap,
body.tax-product_cat .site-primary-header-wrap,
body.single-product .site-primary-header-wrap,
body.post-type-archive-product .ast-primary-header-bar,
body.tax-product_cat .ast-primary-header-bar,
body.single-product .ast-primary-header-bar,
body.post-type-archive-product .main-header-bar,
body.tax-product_cat .main-header-bar,
body.single-product .main-header-bar,
body.post-type-archive-product .main-header-bar-wrap,
body.tax-product_cat .main-header-bar-wrap,
body.single-product .main-header-bar-wrap,
body.post-type-archive-product .ast-builder-grid-row-container,
body.tax-product_cat .ast-builder-grid-row-container,
body.single-product .ast-builder-grid-row-container,
body.post-type-archive-product .ast-builder-grid-row-container-inner,
body.tax-product_cat .ast-builder-grid-row-container-inner,
body.single-product .ast-builder-grid-row-container-inner,
body.post-type-archive-product .ast-main-header-wrap,
body.tax-product_cat .ast-main-header-wrap,
body.single-product .ast-main-header-wrap,
body.post-type-archive-product .ast-mobile-header-wrap,
body.tax-product_cat .ast-mobile-header-wrap,
body.single-product .ast-mobile-header-wrap,
body.post-type-archive-product .ast-mobile-header-content,
body.tax-product_cat .ast-mobile-header-content,
body.single-product .ast-mobile-header-content,
body.post-type-archive-product .ast-desktop-header-content,
body.tax-product_cat .ast-desktop-header-content,
body.single-product .ast-desktop-header-content {
  background:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0) 24%),
    radial-gradient(circle at 82% 8%, rgba(139,104,54,0.14) 0%, rgba(139,104,54,0) 24%),
    linear-gradient(180deg, #121923 0%, #0f1722 48%, #111926 100%) !important;
  border: none !important;
  box-shadow: none !important;
}

body.post-type-archive-product #masthead,
body.tax-product_cat #masthead,
body.single-product #masthead {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

body.post-type-archive-product #masthead .ast-builder-grid-row,
body.tax-product_cat #masthead .ast-builder-grid-row,
body.single-product #masthead .ast-builder-grid-row {
  width: min(1280px, 92vw) !important;
  max-width: min(1280px, 92vw) !important;
  margin: 0 auto !important;
  background: transparent !important;
}

body.post-type-archive-product #masthead::before,
body.tax-product_cat #masthead::before,
body.single-product #masthead::before,
body.post-type-archive-product #masthead::after,
body.tax-product_cat #masthead::after,
body.single-product #masthead::after,
body.post-type-archive-product .site-header::before,
body.tax-product_cat .site-header::before,
body.single-product .site-header::before,
body.post-type-archive-product .site-header::after,
body.tax-product_cat .site-header::after,
body.single-product .site-header::after {
  display: none !important;
  content: none !important;
}

/* ===== 2. SINGLE PRODUCT: ДЕЛАЕМ НОРМАЛЬНЫЙ РАЗМЕР БЛОКА ===== */
body.single-product .product {
  width: min(1320px, 92vw) !important;
  margin: 0 auto !important;
  padding: 22px 0 64px !important;
}

body.single-product div.product {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 380px !important;
  gap: 22px !important;
  align-items: start !important;
  position: relative !important;
}

body.single-product div.product div.images,
body.single-product .woocommerce-product-gallery {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  float: none !important;
  margin: 0 !important;
}

body.single-product .summary.entry-summary {
  width: 100% !important;
  max-width: 380px !important;
  min-width: 0 !important;
  float: none !important;
  margin: 0 !important;
  justify-self: stretch !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  padding: 26px 24px !important;
  border-radius: 28px !important;
}

/* ===== 3. SINGLE PRODUCT: УМЕНЬШАЕМ ОГРОМНУЮ РАМКУ ФОТО ===== */
body.single-product .woocommerce-product-gallery .flex-viewport {
  height: clamp(360px, 38vw, 560px) !important;
  max-height: 560px !important;
  min-height: 360px !important;
  overflow: hidden !important;
  border-radius: 26px !important;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
}

body.single-product .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce-product-gallery__wrapper > div,
body.single-product .woocommerce-product-gallery__image,
body.single-product .woocommerce-product-gallery__image a {
  height: 100% !important;
}

body.single-product .woocommerce-product-gallery__image {
  overflow: hidden !important;
}

body.single-product .woocommerce-product-gallery__image a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  aspect-ratio: auto !important;
  min-height: 100% !important;
  background: rgba(255,255,255,0.02) !important;
}

body.single-product .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 !important;
  display: block !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.single-product .woocommerce-product-gallery .zoomImg {
  display: none !important;
}

/* миниатюры */
body.single-product .woocommerce-product-gallery .flex-control-thumbs {
  margin-top: 14px !important;
  display: flex !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li {
  width: 72px !important;
  height: 72px !important;
  margin: 0 !important;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs img {
  width: 72px !important;
  height: 72px !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 14px !important;
  display: block !important;
}

/* ===== 4. SINGLE PRODUCT: ЧТОБЫ ПРАВЫЙ БЛОК НЕ ВЫЛАЗИЛ ===== */
body.single-product .summary.entry-summary *,
body.single-product .product_title,
body.single-product .woocommerce-product-details__short-description,
body.single-product .woocommerce-product-details__short-description p,
body.single-product .product_meta,
body.single-product .konsul-order-note {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

body.single-product .product_title {
  font-size: clamp(32px, 3.2vw, 56px) !important;
  line-height: 0.96 !important;
  margin: 0 0 14px !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  text-align: left !important;
}

body.single-product .price {
  font-size: 27px !important;
  line-height: 1.2 !important;
}

body.single-product .konsul-order-note {
  width: 100% !important;
  overflow-wrap: anywhere !important;
}

/* ===== 5. КАТАЛОГ: ВЫРАВНИВАЕМ КНОПКИ НА МОБИЛКЕ ===== */
@media (max-width: 921px) {
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  body.post-type-archive-product ul.products li.product,
  body.tax-product_cat ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    padding: 10px !important;
    border-radius: 20px !important;
  }

  body.post-type-archive-product ul.products li.product .woocommerce-LoopProduct-link,
  body.tax-product_cat ul.products li.product .woocommerce-LoopProduct-link,
  body.post-type-archive-product ul.products li.product .astra-shop-summary-wrap,
  body.tax-product_cat ul.products li.product .astra-shop-summary-wrap {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    height: 100% !important;
  }

  body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
  body.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
    min-height: 2.6em !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
  }

  body.post-type-archive-product ul.products li.product .price,
  body.tax-product_cat ul.products li.product .price {
    min-height: 2.8em !important;
    display: block !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
  }

  body.post-type-archive-product ul.products li.product .konsul-loop-more,
  body.tax-product_cat ul.products li.product .konsul-loop-more,
  body.post-type-archive-product ul.products li.product a.button,
  body.tax-product_cat ul.products li.product a.button {
    margin-top: auto !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 14px !important;
    line-height: 1.15 !important;
    border-radius: 12px !important;
  }

  /* ===== SINGLE PRODUCT НА МОБИЛКЕ ===== */
  body.single-product .product {
    width: min(94vw, 100%) !important;
    padding: 18px 0 52px !important;
  }

  body.single-product div.product {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  body.single-product .woocommerce-product-gallery,
  body.single-product .summary.entry-summary {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.single-product .woocommerce-product-gallery .flex-viewport {
    height: clamp(300px, 72vw, 420px) !important;
    min-height: 300px !important;
    max-height: 420px !important;
  }

  body.single-product .summary.entry-summary {
    padding: 22px 20px !important;
    border-radius: 24px !important;
  }

  body.single-product .product_title {
    font-size: clamp(30px, 10vw, 46px) !important;
  }

  body.single-product .price {
    font-size: 24px !important;
  }

  body.single-product .woocommerce-product-gallery .flex-control-thumbs li,
  body.single-product .woocommerce-product-gallery .flex-control-thumbs img {
    width: 62px !important;
    height: 62px !important;
  }
}



/* =========================================================
   SINGLE PRODUCT / FINAL HEADER WIDTH FIX
   чинит белые края шапки только в карточке товара
   ========================================================= */

body.single-product .ast-builder-grid-row-container,
body.single-product .ast-builder-grid-row-container-inner {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0) 24%),
    radial-gradient(circle at 82% 8%, rgba(139,104,54,0.14) 0%, rgba(139,104,54,0) 24%),
    linear-gradient(180deg, #121923 0%, #0f1722 48%, #111926 100%) !important;
  border: none !important;
  box-shadow: none !important;
}

body.single-product #masthead,
body.single-product .site-header,
body.single-product .site-primary-header-wrap,
body.single-product .ast-primary-header-bar,
body.single-product .main-header-bar,
body.single-product .main-header-bar-wrap,
body.single-product .ast-main-header-wrap {
  background:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0) 24%),
    radial-gradient(circle at 82% 8%, rgba(139,104,54,0.14) 0%, rgba(139,104,54,0) 24%),
    linear-gradient(180deg, #121923 0%, #0f1722 48%, #111926 100%) !important;
  border: none !important;
  box-shadow: none !important;
}

body.single-product #masthead .ast-builder-grid-row {
  width: min(1280px, 92vw) !important;
  max-width: min(1280px, 92vw) !important;
  margin: 0 auto !important;
  background: transparent !important;
}

body.single-product #masthead::before,
body.single-product #masthead::after,
body.single-product .site-header::before,
body.single-product .site-header::after,
body.single-product .main-header-bar::before,
body.single-product .main-header-bar::after,
body.single-product .site-primary-header-wrap::before,
body.single-product .site-primary-header-wrap::after {
  display: none !important;
  content: none !important;
}

/* =========================================================
   МОБИЛЬНАЯ КНОПКА ФИЛЬТРОВ
   ========================================================= */

.konsul-filter-toggle {
  display: none;
}

@media (max-width: 921px) {
  body.konsul-filters-ready .konsul-filter-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 54px;
    margin: 0 0 16px;
    padding: 0 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.05);
    color: #f4efe8;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    box-sizing: border-box;
    cursor: pointer;
  }

  body.konsul-filters-ready .konsul-filter-toggle::after {
    content: "+";
    font-size: 24px;
    line-height: 1;
    color: #f4efe8;
  }

  body.konsul-filters-ready.konsul-filters-open .konsul-filter-toggle::after {
    content: "−";
  }

  body.konsul-filters-ready.post-type-archive-product.ast-left-sidebar #secondary,
  body.konsul-filters-ready.tax-product_cat.ast-left-sidebar #secondary {
    display: none !important;
  }

  body.konsul-filters-ready.konsul-filters-open.post-type-archive-product.ast-left-sidebar #secondary,
  body.konsul-filters-ready.konsul-filters-open.tax-product_cat.ast-left-sidebar #secondary {
    display: block !important;
  }
}

body.single-product .konsul-order-note p {
  margin: 0 0 12px !important;
}

body.single-product .konsul-order-note p:last-child {
  margin-bottom: 0 !important;
}

body.single-product .konsul-order-note__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  margin: 4px 0 14px;
  border-radius: 14px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  color: #0f1722 !important;
  background: linear-gradient(180deg, #f5d27a 0%, #d8a93d 100%);
  border: none;
  box-shadow: none !important;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.single-product .konsul-order-note__btn:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

body.single-product .konsul-order-note__bottom {
  color: rgba(255,255,255,0.86) !important;
}


/* === ДЕСКТОП: ЧУТЬ СУЖАЕМ СЕТКУ ТОВАРОВ === */
@media (min-width: 922px) {
  body.post-type-archive-product #primary ul.products,
  body.tax-product_cat #primary ul.products {
    width: 77% !important;
  }
}

/* === МОБИЛКА: ВОЗВРАЩАЕМ НОРМАЛЬНУЮ ШИРИНУ И 2 КАРТОЧКИ В РЯД === */
@media (max-width: 921px) {
  body.post-type-archive-product #primary ul.products,
  body.tax-product_cat #primary ul.products {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}

/* =========================================================
   SINGLE PRODUCT / ПОХОЖИЕ ТОВАРЫ
   ОДНА КАРТОЧКА ШИРИНОЙ КАК ПРАВЫЙ БЛОК
   ========================================================= */

body.single-product .related.products {
  width: 100%;
  max-width: 430px;
  margin-left: auto;
  margin-top: 34px;
}

body.single-product .related.products > h2 {
  margin: 0 0 18px !important;
  font-family: 'Tenor Sans', serif;
  font-size: clamp(34px, 3vw, 56px);
  line-height: 0.98;
  color: #f4efe8 !important;
}

body.single-product .related.products ul.products {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product .related.products ul.products li.product {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
  box-sizing: border-box !important;

  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 28px !important;
  padding: 18px !important;
  overflow: hidden !important;
}

body.single-product .related.products ul.products li.product a img {
  width: 100% !important;
  aspect-ratio: 4 / 5 !important;
  object-fit: cover !important;
  border-radius: 20px !important;
}

body.single-product .related.products ul.products li.product .woocommerce-loop-product__title {
  font-size: 18px !important;
  line-height: 1.2 !important;
  color: #f4efe8 !important;
}

body.single-product .related.products ul.products li.product .price {
  color: rgba(255,255,255,0.9) !important;
}

body.single-product .related.products ul.products li.product .button,
body.single-product .related.products ul.products li.product .konsul-loop-more {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin-top: 14px !important;
  border-radius: 14px !important;
}

/* мобильная версия */
@media (max-width: 921px) {
  body.single-product .related.products {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-top: 26px !important;
  }

  body.single-product .related.products > h2 {
    font-size: clamp(28px, 9vw, 42px) !important;
    margin-bottom: 14px !important;
  }
}


/* =========================================================
   SINGLE PRODUCT / ПОХОЖИЕ ТОВАРЫ
   ПК: 3 в ряд
   МОБИЛКА: 2 в ряд
   ========================================================= */

body.single-product .related.products {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 40px 0 0 !important;
  padding: 0 !important;
  clear: both !important;
  float: none !important;
  grid-column: 1 / -1 !important;
  justify-self: stretch !important;
  align-self: stretch !important;
}

body.single-product .related.products > h2 {
  margin: 0 0 22px !important;
  font-family: 'Tenor Sans', serif;
  font-size: clamp(34px, 4vw, 60px) !important;
  line-height: 0.98 !important;
  color: #f4efe8 !important;
}

/* ===== СЕТКА НА ПК ===== */
body.single-product .related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product .related.products ul.products::before,
body.single-product .related.products ul.products::after {
  display: none !important;
  content: none !important;
}

body.single-product .related.products ul.products li.product {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
  box-sizing: border-box !important;

  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 28px !important;
  padding: 18px !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

body.single-product .related.products ul.products li.product .woocommerce-LoopProduct-link,
body.single-product .related.products ul.products li.product .astra-shop-summary-wrap {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: 100% !important;
}

body.single-product .related.products ul.products li.product a img {
  width: 100% !important;
  aspect-ratio: 4 / 5 !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 20px !important;
}

body.single-product .related.products ul.products li.product .woocommerce-loop-category__title,
body.single-product .related.products ul.products li.product .woocommerce-loop-product__title {
  color: #f4efe8 !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  min-height: 2.5em !important;
}

body.single-product .related.products ul.products li.product .price {
  color: rgba(255,255,255,0.9) !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
  min-height: 2.8em !important;
  display: block !important;
}

body.single-product .related.products ul.products li.product .button,
body.single-product .related.products ul.products li.product .konsul-loop-more {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 50px !important;
  margin-top: auto !important;
  border-radius: 14px !important;
  text-transform: none !important;
  text-align: center !important;
  font-size: 16px !important;
  line-height: 1.15 !important;
}

/* ===== МОБИЛКА ===== */
@media (max-width: 921px) {
  body.single-product .related.products {
    margin-top: 30px !important;
  }

  body.single-product .related.products > h2 {
    margin-bottom: 16px !important;
    font-size: clamp(28px, 9vw, 44px) !important;
  }

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

  body.single-product .related.products ul.products li.product {
    padding: 12px !important;
    border-radius: 22px !important;
  }

  body.single-product .related.products ul.products li.product a img {
    border-radius: 16px !important;
  }

  body.single-product .related.products ul.products li.product .woocommerce-loop-category__title,
  body.single-product .related.products ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px !important;
    min-height: 2.6em !important;
  }

  body.single-product .related.products ul.products li.product .price {
    font-size: 14px !important;
    min-height: 3em !important;
  }

  body.single-product .related.products ul.products li.product .button,
  body.single-product .related.products ul.products li.product .konsul-loop-more {
    min-height: 42px !important;
    font-size: 14px !important;
    border-radius: 12px !important;
  }
}


/* =========================================================
   SINGLE PRODUCT / DESKTOP FIX
   Описание сразу после фотогалереи, без пустоты и наезда
   ========================================================= */

@media (min-width: 922px) {

  /* Убираем grid только на карточке товара.
     Через float вкладки смогут идти сразу под галереей,
     а правая карточка останется справа. */
  body.single-product div.product {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.single-product div.product::after {
    content: "";
    display: table;
    clear: both;
  }

  /* Левая колонка: фотогалерея */
  body.single-product div.product div.images,
  body.single-product div.product .woocommerce-product-gallery {
    float: left !important;
    clear: none !important;

    width: calc(100% - 402px) !important;
    max-width: calc(100% - 402px) !important;
    min-width: 0 !important;

    margin: 0 0 0 0 !important;
    padding: 0 !important;
  }

  /* Правая колонка: карточка товара */
  body.single-product div.product div.summary,
  body.single-product div.product .summary.entry-summary {
    float: right !important;
    clear: none !important;

    width: 380px !important;
    max-width: 380px !important;
    min-width: 0 !important;

    margin: 0 0 32px 22px !important;
    padding: 26px 24px !important;

    justify-self: auto !important;
    align-self: auto !important;
  }

  /* Описание сразу под миниатюрами фотогалереи */
  body.single-product div.product .woocommerce-tabs {
    float: left !important;
    clear: left !important;

    width: calc(100% - 402px) !important;
    max-width: calc(100% - 402px) !important;

    margin: 22px 0 0 0 !important;
    padding: 0 !important;

    position: relative !important;
    top: auto !important;
    transform: none !important;
  }

  body.single-product div.product .woocommerce-tabs ul.tabs,
  body.single-product div.product .woocommerce-tabs .wc-tabs {
    margin-top: 0 !important;
    margin-bottom: 22px !important;
    padding-top: 0 !important;
  }

  body.single-product div.product .woocommerce-tabs .panel,
  body.single-product div.product .woocommerce-Tabs-panel {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* Похожие товары — уже после описания и правой карточки */
  body.single-product div.product .related.products {
    float: none !important;
    clear: both !important;

    width: 100% !important;
    max-width: none !important;

    margin: 64px 0 0 0 !important;
    padding: 0 !important;

    display: block !important;
  }
}


/* =========================================================
   SINGLE PRODUCT / MOBILE SAFETY
   На мобильной версии всё снова одной колонкой
   ========================================================= */

@media (max-width: 921px) {

  body.single-product div.product {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  body.single-product div.product div.images,
  body.single-product div.product .woocommerce-product-gallery,
  body.single-product div.product div.summary,
  body.single-product div.product .summary.entry-summary,
  body.single-product div.product .woocommerce-tabs,
  body.single-product div.product .related.products {
    float: none !important;
    clear: none !important;

    width: 100% !important;
    max-width: 100% !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.single-product div.product .woocommerce-tabs {
    margin-top: 12px !important;
  }

  body.single-product div.product .related.products {
    margin-top: 30px !important;
  }
}





/* ===== HERO FIX FOR PAGESPEED LCP ===== */

.hero,
.hero * {
  box-sizing: border-box;
}

.hero {
  width: 100vw !important;
  max-width: 100vw !important;

  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;

  min-height: 600px;
  height: 100svh;

  display: flex;
  align-items: center;

  padding: 0 5%;

  position: relative;
  z-index: 1;
  overflow: hidden;

  background: #0d121a !important;
  color: #ffffff;
}

/* Отключаем старый hero::after, если он остался выше в CSS */
.hero::after {
  content: none !important;
  display: none !important;
}

.hero__bg {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center 30%;

  z-index: 0;

  display: block;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background: linear-gradient(
    to right,
    rgba(0,0,0,0.6) 0%,
    rgba(0,0,0,0.2) 60%
  );
}

.hero__bottom-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 170px;
  pointer-events: none;
  z-index: 2;

  background: linear-gradient(
    180deg,
    rgba(8, 12, 18, 0) 0%,
    rgba(9, 13, 20, 0.18) 24%,
    rgba(10, 14, 20, 0.46) 48%,
    rgba(12, 17, 24, 0.78) 72%,
    rgba(13, 18, 26, 0.96) 88%,
    #0d121a 100%
  );
}

.hero__content {
  max-width: 600px;
  padding-left: 5vw;
  padding-top: 50px;
  position: relative;
  z-index: 3;
}

.hero__title {
  font-family: 'Tenor Sans', sans-serif;
  font-size: clamp(24px, 3.8vw, 44px);
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: 0.3px;
  color: #ffffff !important;
}

.hero__subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 30px;
  color: rgba(255,255,255,0.72);
}

.hero__btn {
  display: inline-block;
  font-family: 'Tenor Sans', sans-serif;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 30px;
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.8);
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.hero__btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: #ffffff;
}

/* ===== TABLET ===== */
@media (max-width: 768px) {
  .hero {
    padding: 0 20px;
  }

  .hero__bg {
    object-position: center center;
  }

  .hero__content {
    padding-left: 0;
  }

  .hero__title {
    font-size: 32px;
  }

  .hero__subtitle {
    font-size: 16px;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 480px) {
  .hero {
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px;
    min-height: 100svh;
    height: 100svh;
  }

  .hero__bg {
    object-position: 70% center;
  }

  .hero__content {
    padding-left: 0;
    max-width: 100%;
    padding-top: 0;
    transform: translateY(-30px);
  }

  .hero__title {
    font-size: 26px;
  }

  .hero__subtitle {
    font-size: 14px;
  }

  .hero__btn {
    font-size: 14px;
    padding: 12px 22px;
  }
}

/* =========================================================
   KONSUL / BLOG CLEAN CSS FINAL
   Блог + архивы + статьи + нормальная шапка Astra
   ========================================================= */

/* =========================================================
   1. БАЗА
   ========================================================= */

html,
body {
  max-width: 100%;
  overflow-x: hidden !important;
}

body.blog,
body.archive,
body.category,
body.tag,
body.single-post {
  --konsul-bg:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0) 24%),
    radial-gradient(circle at 82% 8%, rgba(139,104,54,0.14) 0%, rgba(139,104,54,0) 24%),
    linear-gradient(180deg, #121923 0%, #0f1722 48%, #111926 100%);

  --konsul-text: #f4efe8;
  --konsul-muted: rgba(255,255,255,0.74);
  --konsul-border: rgba(255,255,255,0.09);
  --konsul-card: rgba(255,255,255,0.04);
  --konsul-card-hover: rgba(255,255,255,0.055);
  --konsul-gold: #d8a93d;

  background: var(--konsul-bg) !important;
  color: var(--konsul-text) !important;
}

/* =========================================================
   2. УБИРАЕМ БЕЛЫЕ ФОНЫ ASTRA
   ========================================================= */

body.blog #page,
body.archive #page,
body.category #page,
body.tag #page,
body.single-post #page,
body.blog .site,
body.archive .site,
body.category .site,
body.tag .site,
body.single-post .site,
body.blog .site-content,
body.archive .site-content,
body.category .site-content,
body.tag .site-content,
body.single-post .site-content,
body.blog .content-area,
body.archive .content-area,
body.category .content-area,
body.tag .content-area,
body.single-post .content-area,
body.blog .site-main,
body.archive .site-main,
body.category .site-main,
body.tag .site-main,
body.single-post .site-main,
body.blog .ast-container,
body.archive .ast-container,
body.category .ast-container,
body.tag .ast-container,
body.single-post .ast-container,
body.blog .entry-content,
body.archive .entry-content,
body.category .entry-content,
body.tag .entry-content,
body.single-post .entry-content {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* =========================================================
   3. ШАПКА ASTRA — ФОН НА ВСЮ ШИРИНУ
   ========================================================= */

/* Все внешние и внутренние элементы шапки делаем тёмными */
body.blog #masthead,
body.archive #masthead,
body.category #masthead,
body.tag #masthead,
body.single-post #masthead,
body.blog .site-header,
body.archive .site-header,
body.category .site-header,
body.tag .site-header,
body.single-post .site-header,
body.blog .ast-header-wrap,
body.archive .ast-header-wrap,
body.category .ast-header-wrap,
body.tag .ast-header-wrap,
body.single-post .ast-header-wrap,
body.blog .site-primary-header-wrap,
body.archive .site-primary-header-wrap,
body.category .site-primary-header-wrap,
body.tag .site-primary-header-wrap,
body.single-post .site-primary-header-wrap,
body.blog .ast-primary-header-bar,
body.archive .ast-primary-header-bar,
body.category .ast-primary-header-bar,
body.tag .ast-primary-header-bar,
body.single-post .ast-primary-header-bar,
body.blog .main-header-bar,
body.archive .main-header-bar,
body.category .main-header-bar,
body.tag .main-header-bar,
body.single-post .main-header-bar,
body.blog .main-header-bar-wrap,
body.archive .main-header-bar-wrap,
body.category .main-header-bar-wrap,
body.tag .main-header-bar-wrap,
body.single-post .main-header-bar-wrap,
body.blog .ast-main-header-wrap,
body.archive .ast-main-header-wrap,
body.category .ast-main-header-wrap,
body.tag .ast-main-header-wrap,
body.single-post .ast-main-header-wrap,
body.blog .ast-above-header-wrap,
body.archive .ast-above-header-wrap,
body.category .ast-above-header-wrap,
body.tag .ast-above-header-wrap,
body.single-post .ast-above-header-wrap,
body.blog .ast-below-header-wrap,
body.archive .ast-below-header-wrap,
body.category .ast-below-header-wrap,
body.tag .ast-below-header-wrap,
body.single-post .ast-below-header-wrap,
body.blog .ast-builder-grid-row-container,
body.archive .ast-builder-grid-row-container,
body.category .ast-builder-grid-row-container,
body.tag .ast-builder-grid-row-container,
body.single-post .ast-builder-grid-row-container,
body.blog .ast-builder-grid-row-container-inner,
body.archive .ast-builder-grid-row-container-inner,
body.category .ast-builder-grid-row-container-inner,
body.tag .ast-builder-grid-row-container-inner,
body.single-post .ast-builder-grid-row-container-inner {
  background:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0) 24%),
    radial-gradient(circle at 82% 8%, rgba(139,104,54,0.14) 0%, rgba(139,104,54,0) 24%),
    linear-gradient(180deg, #121923 0%, #0f1722 48%, #111926 100%) !important;
  border: none !important;
  box-shadow: none !important;
}

/* Сам masthead растягиваем на всю ширину экрана */
body.blog #masthead,
body.archive #masthead,
body.category #masthead,
body.tag #masthead,
body.single-post #masthead {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  left: auto !important;
  right: auto !important;
}

/* Внутренние контейнеры шапки тоже растягиваем */
body.blog .ast-builder-grid-row-container,
body.archive .ast-builder-grid-row-container,
body.category .ast-builder-grid-row-container,
body.tag .ast-builder-grid-row-container,
body.single-post .ast-builder-grid-row-container,
body.blog .ast-builder-grid-row-container-inner,
body.archive .ast-builder-grid-row-container-inner,
body.category .ast-builder-grid-row-container-inner,
body.tag .ast-builder-grid-row-container-inner,
body.single-post .ast-builder-grid-row-container-inner {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* А содержимое шапки возвращаем в центр */
body.blog #masthead .ast-builder-grid-row,
body.archive #masthead .ast-builder-grid-row,
body.category #masthead .ast-builder-grid-row,
body.tag #masthead .ast-builder-grid-row,
body.single-post #masthead .ast-builder-grid-row {
  width: min(1280px, 92vw) !important;
  max-width: min(1280px, 92vw) !important;
  margin: 0 auto !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Все внутренние блоки шапки прозрачные */
body.blog .site-header-section,
body.archive .site-header-section,
body.category .site-header-section,
body.tag .site-header-section,
body.single-post .site-header-section,
body.blog .ast-builder-layout-element,
body.archive .ast-builder-layout-element,
body.category .ast-builder-layout-element,
body.tag .ast-builder-layout-element,
body.single-post .ast-builder-layout-element,
body.blog .ast-builder-menu,
body.archive .ast-builder-menu,
body.category .ast-builder-menu,
body.tag .ast-builder-menu,
body.single-post .ast-builder-menu,
body.blog .ast-builder-menu-1,
body.archive .ast-builder-menu-1,
body.category .ast-builder-menu-1,
body.tag .ast-builder-menu-1,
body.single-post .ast-builder-menu-1,
body.blog .ast-header-html,
body.archive .ast-header-html,
body.category .ast-header-html,
body.tag .ast-header-html,
body.single-post .ast-header-html {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Убираем линии и псевдоэлементы */
body.blog #masthead::before,
body.archive #masthead::before,
body.category #masthead::before,
body.tag #masthead::before,
body.single-post #masthead::before,
body.blog #masthead::after,
body.archive #masthead::after,
body.category #masthead::after,
body.tag #masthead::after,
body.single-post #masthead::after,
body.blog .site-header::before,
body.archive .site-header::before,
body.category .site-header::before,
body.tag .site-header::before,
body.single-post .site-header::before,
body.blog .site-header::after,
body.archive .site-header::after,
body.category .site-header::after,
body.tag .site-header::after,
body.single-post .site-header::after,
body.blog .main-header-bar::before,
body.archive .main-header-bar::before,
body.category .main-header-bar::before,
body.tag .main-header-bar::before,
body.single-post .main-header-bar::before,
body.blog .main-header-bar::after,
body.archive .main-header-bar::after,
body.category .main-header-bar::after,
body.tag .main-header-bar::after,
body.single-post .main-header-bar::after,
body.blog .site-primary-header-wrap::before,
body.archive .site-primary-header-wrap::before,
body.category .site-primary-header-wrap::before,
body.tag .site-primary-header-wrap::before,
body.single-post .site-primary-header-wrap::before,
body.blog .site-primary-header-wrap::after,
body.archive .site-primary-header-wrap::after,
body.category .site-primary-header-wrap::after,
body.tag .site-primary-header-wrap::after,
body.single-post .site-primary-header-wrap::after {
  display: none !important;
  content: none !important;
}

/* Цвет меню */
body.blog .main-header-menu .menu-link,
body.archive .main-header-menu .menu-link,
body.category .main-header-menu .menu-link,
body.tag .main-header-menu .menu-link,
body.single-post .main-header-menu .menu-link,
body.blog .ast-header-navigation a,
body.archive .ast-header-navigation a,
body.category .ast-header-navigation a,
body.tag .ast-header-navigation a,
body.single-post .ast-header-navigation a {
  color: rgba(255,255,255,0.88) !important;
}

body.blog .main-header-menu .menu-link:hover,
body.archive .main-header-menu .menu-link:hover,
body.category .main-header-menu .menu-link:hover,
body.tag .main-header-menu .menu-link:hover,
body.single-post .main-header-menu .menu-link:hover,
body.blog .ast-header-navigation a:hover,
body.archive .ast-header-navigation a:hover,
body.category .ast-header-navigation a:hover,
body.tag .ast-header-navigation a:hover,
body.single-post .ast-header-navigation a:hover {
  color: #ffffff !important;
}

/* Кнопка в шапке */
body.blog .ast-custom-button,
body.archive .ast-custom-button,
body.category .ast-custom-button,
body.tag .ast-custom-button,
body.single-post .ast-custom-button,
body.blog .menu-item .ast-custom-button-link,
body.archive .menu-item .ast-custom-button-link,
body.category .menu-item .ast-custom-button-link,
body.tag .menu-item .ast-custom-button-link,
body.single-post .menu-item .ast-custom-button-link {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  color: #f4efe8 !important;
  box-shadow: none !important;
}

/* =========================================================
   4. МОБИЛЬНАЯ ШАПКА
   ========================================================= */

@media (max-width: 921px) {
  body.blog .ast-mobile-header-wrap,
  body.archive .ast-mobile-header-wrap,
  body.category .ast-mobile-header-wrap,
  body.tag .ast-mobile-header-wrap,
  body.single-post .ast-mobile-header-wrap,
  body.blog .ast-mobile-header-content,
  body.archive .ast-mobile-header-content,
  body.category .ast-mobile-header-content,
  body.tag .ast-mobile-header-content,
  body.single-post .ast-mobile-header-content,
  body.blog .ast-mobile-header-bar,
  body.archive .ast-mobile-header-bar,
  body.category .ast-mobile-header-bar,
  body.tag .ast-mobile-header-bar,
  body.single-post .ast-mobile-header-bar,
  body.blog .ast-header-break-point .main-header-bar,
  body.archive .ast-header-break-point .main-header-bar,
  body.category .ast-header-break-point .main-header-bar,
  body.tag .ast-header-break-point .main-header-bar,
  body.single-post .ast-header-break-point .main-header-bar {
    background:
      radial-gradient(circle at 18% 10%, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0) 24%),
      radial-gradient(circle at 82% 8%, rgba(139,104,54,0.14) 0%, rgba(139,104,54,0) 24%),
      linear-gradient(180deg, #121923 0%, #0f1722 48%, #111926 100%) !important;
    border: none !important;
    box-shadow: none !important;
  }

  body.blog .ast-builder-menu-mobile .main-navigation,
  body.archive .ast-builder-menu-mobile .main-navigation,
  body.category .ast-builder-menu-mobile .main-navigation,
  body.tag .ast-builder-menu-mobile .main-navigation,
  body.single-post .ast-builder-menu-mobile .main-navigation,
  body.blog .ast-builder-menu-mobile .main-header-menu,
  body.archive .ast-builder-menu-mobile .main-header-menu,
  body.category .ast-builder-menu-mobile .main-header-menu,
  body.tag .ast-builder-menu-mobile .main-header-menu,
  body.single-post .ast-builder-menu-mobile .main-header-menu,
  body.blog .ast-builder-menu-mobile .sub-menu,
  body.archive .ast-builder-menu-mobile .sub-menu,
  body.category .ast-builder-menu-mobile .sub-menu,
  body.tag .ast-builder-menu-mobile .sub-menu,
  body.single-post .ast-builder-menu-mobile .sub-menu,
  body.blog .ast-header-break-point .main-header-menu,
  body.archive .ast-header-break-point .main-header-menu,
  body.category .ast-header-break-point .main-header-menu,
  body.tag .ast-header-break-point .main-header-menu,
  body.single-post .ast-header-break-point .main-header-menu,
  body.blog .ast-header-break-point .main-navigation ul,
  body.archive .ast-header-break-point .main-navigation ul,
  body.category .ast-header-break-point .main-navigation ul,
  body.tag .ast-header-break-point .main-navigation ul,
  body.single-post .ast-header-break-point .main-navigation ul {
    background: linear-gradient(180deg, #121923 0%, #0f1722 52%, #111926 100%) !important;
    border: none !important;
    box-shadow: none !important;
  }

  body.blog .ast-builder-menu-mobile .menu-link,
  body.archive .ast-builder-menu-mobile .menu-link,
  body.category .ast-builder-menu-mobile .menu-link,
  body.tag .ast-builder-menu-mobile .menu-link,
  body.single-post .ast-builder-menu-mobile .menu-link,
  body.blog .ast-header-break-point .main-header-menu .menu-link,
  body.archive .ast-header-break-point .main-header-menu .menu-link,
  body.category .ast-header-break-point .main-header-menu .menu-link,
  body.tag .ast-header-break-point .main-header-menu .menu-link,
  body.single-post .ast-header-break-point .main-header-menu .menu-link,
  body.blog .ast-header-break-point .main-navigation ul li a,
  body.archive .ast-header-break-point .main-navigation ul li a,
  body.category .ast-header-break-point .main-navigation ul li a,
  body.tag .ast-header-break-point .main-navigation ul li a,
  body.single-post .ast-header-break-point .main-navigation ul li a {
    color: #f4efe8 !important;
    background: transparent !important;
    border: none !important;
  }

  body.blog .menu-toggle,
  body.archive .menu-toggle,
  body.category .menu-toggle,
  body.tag .menu-toggle,
  body.single-post .menu-toggle,
  body.blog .ast-mobile-menu-trigger-minimal,
  body.archive .ast-mobile-menu-trigger-minimal,
  body.category .ast-mobile-menu-trigger-minimal,
  body.tag .ast-mobile-menu-trigger-minimal,
  body.single-post .ast-mobile-menu-trigger-minimal,
  body.blog .ast-mobile-svg,
  body.archive .ast-mobile-svg,
  body.category .ast-mobile-svg,
  body.tag .ast-mobile-svg,
  body.single-post .ast-mobile-svg {
    color: #f4efe8 !important;
    fill: #f4efe8 !important;
  }
}

/* =========================================================
   5. СТРАНИЦА БЛОГА И АРХИВЫ
   ========================================================= */

/* Убираем сайдбар */
body.blog #secondary,
body.archive #secondary,
body.category #secondary,
body.tag #secondary {
  display: none !important;
}

/* Основной контент на всю ширину */
body.blog #primary,
body.archive #primary,
body.category #primary,
body.tag #primary {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Контейнер блога */
body.blog #content > .ast-container,
body.archive #content > .ast-container,
body.category #content > .ast-container,
body.tag #content > .ast-container {
  width: min(1280px, 92vw) !important;
  max-width: min(1280px, 92vw) !important;
  margin: 0 auto !important;
  padding: 72px 0 90px !important;
  display: block !important;
}

/* Заголовок страницы блога */
body.blog #primary::before {
  content: "Блог «Консул»";
  display: block;
  margin: 0 0 10px;

  font-family: 'Tenor Sans', serif;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0.02em;
  font-weight: 400;
  color: #f4efe8;
}

/* Подзаголовок */
body.blog .site-main::before {
  content: "Советы по классическому стилю, выбору костюма, рубашек, обуви и аксессуаров.";
  display: block;
  grid-column: 1 / -1;
  margin: 0 0 34px;
  padding: 0 0 34px;
  border-bottom: 1px solid rgba(255,255,255,0.08);

  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 600;
  color: rgba(255,255,255,0.74);
}

/* Заголовки архивов */
body.category .ast-archive-description,
body.tag .ast-archive-description,
body.archive .ast-archive-description {
  margin: 0 0 34px !important;
  padding: 0 0 32px !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  background: transparent !important;
}

body.category .ast-archive-title,
body.tag .ast-archive-title,
body.archive .ast-archive-title,
body.category .page-title,
body.tag .page-title,
body.archive .page-title {
  margin: 0 !important;
  font-family: 'Tenor Sans', serif;
  font-size: clamp(38px, 5.5vw, 70px);
  line-height: 0.98;
  font-weight: 400;
  color: #f4efe8 !important;
}

/* =========================================================
   6. КАРТОЧКИ ЗАПИСЕЙ
   ========================================================= */

body.blog .site-main,
body.archive .site-main,
body.category .site-main,
body.tag .site-main {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

body.blog .site-main > article.post,
body.archive .site-main > article.post,
body.category .site-main > article.post,
body.tag .site-main > article.post,
body.blog.ast-separate-container .ast-article-post,
body.archive.ast-separate-container .ast-article-post,
body.category.ast-separate-container .ast-article-post,
body.tag.ast-separate-container .ast-article-post {
  display: flex !important;
  flex-direction: column !important;
  height: 100%;

  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 28px !important;
  padding: 16px !important;
  overflow: hidden !important;
  box-shadow: none !important;

  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

body.blog .site-main > article.post:hover,
body.archive .site-main > article.post:hover,
body.category .site-main > article.post:hover,
body.tag .site-main > article.post:hover {
  transform: translateY(-4px);
  border-color: rgba(216,169,61,0.34) !important;
  background: rgba(255,255,255,0.055) !important;
}

/* Фото записи */
body.blog article.post .post-thumb-img-content,
body.archive article.post .post-thumb-img-content,
body.category article.post .post-thumb-img-content,
body.tag article.post .post-thumb-img-content {
  overflow: hidden;
  border-radius: 22px;
  margin: 0 0 18px;
}

body.blog article.post .post-thumb-img-content img,
body.archive article.post .post-thumb-img-content img,
body.category article.post .post-thumb-img-content img,
body.tag article.post .post-thumb-img-content img,
body.blog article.post .wp-post-image,
body.archive article.post .wp-post-image,
body.category article.post .wp-post-image,
body.tag article.post .wp-post-image {
  width: 100% !important;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  display: block;
  transition: transform 0.35s ease;
}

body.blog article.post:hover .wp-post-image,
body.archive article.post:hover .wp-post-image,
body.category article.post:hover .wp-post-image,
body.tag article.post:hover .wp-post-image {
  transform: scale(1.035);
}

/* Заголовок карточки */
body.blog article.post .entry-title,
body.archive article.post .entry-title,
body.category article.post .entry-title,
body.tag article.post .entry-title {
  margin: 0 0 14px !important;
  font-family: 'Tenor Sans', serif;
  font-size: clamp(24px, 2.1vw, 34px) !important;
  line-height: 1.08 !important;
  font-weight: 400 !important;
  color: #f4efe8 !important;
}

body.blog article.post .entry-title a,
body.archive article.post .entry-title a,
body.category article.post .entry-title a,
body.tag article.post .entry-title a {
  color: #f4efe8 !important;
  text-decoration: none !important;
}

body.blog article.post .entry-title a:hover,
body.archive article.post .entry-title a:hover,
body.category article.post .entry-title a:hover,
body.tag article.post .entry-title a:hover {
  color: #ffffff !important;
}

/* Убираем стандартную мету Astra */
body.blog article.post .entry-meta,
body.archive article.post .entry-meta,
body.category article.post .entry-meta,
body.tag article.post .entry-meta {
  display: none !important;
}

/* Мета из PHP-сниппета */
.konsul-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  font-family: 'Montserrat', sans-serif;
}

.konsul-post-meta__item {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  line-height: 1;
}

.konsul-post-meta__label {
  color: rgba(255,255,255,0.55);
  margin-right: 4px;
}

/* Текст карточки */
body.blog article.post .entry-content,
body.archive article.post .entry-content,
body.category article.post .entry-content,
body.tag article.post .entry-content,
body.blog article.post .entry-summary,
body.archive article.post .entry-summary,
body.category article.post .entry-summary,
body.tag article.post .entry-summary {
  color: rgba(255,255,255,0.78) !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

body.blog article.post .entry-content p,
body.archive article.post .entry-content p,
body.category article.post .entry-content p,
body.tag article.post .entry-content p,
body.blog article.post .entry-summary p,
body.archive article.post .entry-summary p,
body.category article.post .entry-summary p,
body.tag article.post .entry-summary p {
  margin-bottom: 0.9em;
}

/* Кнопка читать дальше */
body.blog article.post .more-link,
body.archive article.post .more-link,
body.category article.post .more-link,
body.tag article.post .more-link,
body.blog article.post .read-more a,
body.archive article.post .read-more a,
body.category article.post .read-more a,
body.tag article.post .read-more a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin-top: 18px;
  padding: 0 18px;
  border-radius: 15px;

  background: linear-gradient(180deg, #f5d27a 0%, #d8a93d 100%);
  color: #0f1722 !important;
  text-decoration: none !important;

  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.blog article.post .more-link:hover,
body.archive article.post .more-link:hover,
body.category article.post .more-link:hover,
body.tag article.post .more-link:hover,
body.blog article.post .read-more a:hover,
body.archive article.post .read-more a:hover,
body.category article.post .read-more a:hover,
body.tag article.post .read-more a:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

/* Пагинация */
body.blog .ast-pagination,
body.archive .ast-pagination,
body.category .ast-pagination,
body.tag .ast-pagination,
body.blog .navigation,
body.archive .navigation,
body.category .navigation,
body.tag .navigation {
  grid-column: 1 / -1;
  margin-top: 28px;
}

body.blog .page-numbers,
body.archive .page-numbers,
body.category .page-numbers,
body.tag .page-numbers {
  color: #f4efe8 !important;
}

/* =========================================================
   7. ОТДЕЛЬНАЯ СТАТЬЯ
   ========================================================= */

body.single-post #secondary {
  display: none !important;
}

body.single-post #primary {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-post #content > .ast-container {
  width: min(1040px, 92vw) !important;
  max-width: min(1040px, 92vw) !important;
  margin: 0 auto !important;
  padding: 52px 0 90px !important;
  display: block !important;
}

body.single-post.ast-separate-container .ast-article-single,
body.single-post article.post {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.single-post .entry-header {
  margin: 0 0 28px !important;
  padding: 0 0 28px !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

body.single-post .entry-title {
  margin: 0 0 18px !important;
  font-family: 'Tenor Sans', serif;
  font-size: clamp(40px, 6vw, 76px) !important;
  line-height: 0.98 !important;
  letter-spacing: 0.02em;
  font-weight: 400 !important;
  color: #f4efe8 !important;
}

body.single-post .entry-meta {
  display: none !important;
}

body.single-post .konsul-post-meta--single {
  margin: 0 0 24px;
}

body.single-post .entry-content {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 32px;
  padding: clamp(26px, 4vw, 52px);
  color: rgba(255,255,255,0.88) !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 1.82;
}

body.single-post .entry-content p,
body.single-post .entry-content li {
  color: rgba(255,255,255,0.88) !important;
}

body.single-post .entry-content h2,
body.single-post .entry-content h3,
body.single-post .entry-content h4 {
  font-family: 'Tenor Sans', serif;
  font-weight: 400;
  color: #f4efe8 !important;
}

/* =========================================================
   8. МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 921px) {
  body.blog #content > .ast-container,
  body.archive #content > .ast-container,
  body.category #content > .ast-container,
  body.tag #content > .ast-container {
    width: min(100%, calc(100vw - 32px)) !important;
    max-width: min(100%, calc(100vw - 32px)) !important;
    padding: 42px 0 64px !important;
  }

  body.blog .site-main,
  body.archive .site-main,
  body.category .site-main,
  body.tag .site-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  body.blog #primary::before {
    font-size: clamp(32px, 10vw, 48px);
  }

  body.blog .site-main::before {
    margin-bottom: 26px;
    padding-bottom: 26px;
    font-size: 15px;
    line-height: 1.55;
  }

  body.blog .site-main > article.post,
  body.archive .site-main > article.post,
  body.category .site-main > article.post,
  body.tag .site-main > article.post {
    padding: 12px !important;
    border-radius: 22px !important;
  }

  body.blog article.post .post-thumb-img-content img,
  body.archive article.post .post-thumb-img-content img,
  body.category article.post .post-thumb-img-content img,
  body.tag article.post .post-thumb-img-content img,
  body.blog article.post .wp-post-image,
  body.archive article.post .wp-post-image,
  body.category article.post .wp-post-image,
  body.tag article.post .wp-post-image {
    border-radius: 16px;
  }

  body.blog article.post .entry-title,
  body.archive article.post .entry-title,
  body.category article.post .entry-title,
  body.tag article.post .entry-title {
    font-size: 20px !important;
  }

  body.single-post #content > .ast-container {
    width: min(100%, calc(100vw - 32px)) !important;
    padding: 38px 0 70px !important;
  }

  body.single-post .entry-title {
    font-size: clamp(32px, 10vw, 48px) !important;
  }

  body.single-post .entry-content {
    padding: 24px 20px;
    border-radius: 24px;
    font-size: 16px;
    line-height: 1.72;
  }
}

@media (max-width: 640px) {
  body.blog .site-main,
  body.archive .site-main,
  body.category .site-main,
  body.tag .site-main {
    grid-template-columns: 1fr;
  }

  body.blog #content > .ast-container,
  body.archive #content > .ast-container,
  body.category #content > .ast-container,
  body.tag #content > .ast-container,
  body.single-post #content > .ast-container {
    width: min(100%, calc(100vw - 28px)) !important;
  }

  body.blog article.post .entry-title,
  body.archive article.post .entry-title,
  body.category article.post .entry-title,
  body.tag article.post .entry-title {
    font-size: 25px !important;
  }

  .konsul-post-meta__item {
    min-height: 28px;
    padding: 0 10px;
    font-size: 12px;
  }
}



/* =========================================================
   KONSUL / ARTICLE HTML TEMPLATE
   Классы для HTML-статей
   ========================================================= */

.konsul-article {
  width: 100%;
  max-width: 100%;
}

.konsul-article p {
  margin: 0 0 1.25em;
}

.konsul-article a {
  color: #f5d27a;
  text-decoration: none;
  border-bottom: 1px solid rgba(245,210,122,0.45);
}

.konsul-article a:hover {
  color: #ffffff;
  border-color: rgba(255,255,255,0.55);
}

.konsul-article__lead {
  margin: 0 0 32px !important;
  color: rgba(255,255,255,0.82);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.55;
}

.konsul-section {
  margin: 42px 0;
}

.konsul-section:first-child {
  margin-top: 0;
}

.konsul-section__title {
  margin: 0 0 18px !important;
  font-family: 'Tenor Sans', serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 400;
  color: #f4efe8;
}

.konsul-section__subtitle {
  margin: 0 0 18px !important;
  font-family: 'Tenor Sans', serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
  font-weight: 400;
  color: #f4efe8;
}

/* Важная информация */
.konsul-note {
  margin: 32px 0;
  padding: 22px 24px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(216,169,61,0.16) 0%, rgba(255,255,255,0.045) 100%);
  border: 1px solid rgba(216,169,61,0.34);
  color: rgba(255,255,255,0.9);
}

.konsul-note__title {
  display: block;
  margin: 0 0 8px;
  font-family: 'Tenor Sans', serif;
  font-size: 24px;
  line-height: 1.15;
  color: #f5d27a;
}

.konsul-note p:last-child {
  margin-bottom: 0;
}

/* Спокойная информационная рамка */
.konsul-info {
  margin: 32px 0;
  padding: 22px 24px;
  border-radius: 22px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.86);
}

/* Цитата */
.konsul-quote {
  margin: 36px 0;
  padding: 26px 30px;
  border-left: 3px solid #d8a93d;
  background: rgba(255,255,255,0.045);
  border-radius: 0 22px 22px 0;
  color: rgba(255,255,255,0.88);
  font-family: 'Tenor Sans', serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.35;
}

/* Фото */
.konsul-photo {
  margin: 36px 0;
}

.konsul-photo img {
  width: 100%;
  display: block;
  border-radius: 26px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255,255,255,0.08);
}

.konsul-photo figcaption {
  margin-top: 10px;
  color: rgba(255,255,255,0.58);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.konsul-photo--portrait img {
  aspect-ratio: 4 / 5;
}

.konsul-photo--wide img {
  aspect-ratio: 21 / 9;
}

/* Две колонки */
.konsul-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 36px 0;
}

.konsul-card {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
}

.konsul-card__title {
  display: block;
  margin: 0 0 8px;
  font-family: 'Tenor Sans', serif;
  font-size: 24px;
  line-height: 1.15;
  color: #f4efe8;
}

/* Списки */
.konsul-article ul,
.konsul-article ol {
  margin: 0 0 1.4em 1.2em;
  padding: 0;
}

.konsul-article li {
  margin-bottom: 0.55em;
}

/* CTA в конце статьи */
.konsul-article-cta {
  margin: 46px 0 0;
  padding: 28px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 15% 15%, rgba(245,210,122,0.16) 0%, rgba(245,210,122,0) 34%),
    rgba(255,255,255,0.055);
  border: 1px solid rgba(216,169,61,0.26);
}

.konsul-article-cta__title {
  display: block;
  margin: 0 0 10px;
  font-family: 'Tenor Sans', serif;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.05;
  color: #f4efe8;
}

.konsul-article-cta__text {
  margin: 0 0 20px !important;
  color: rgba(255,255,255,0.78);
}

.konsul-article-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 15px;
  background: linear-gradient(180deg, #f5d27a 0%, #d8a93d 100%);
  color: #0f1722 !important;
  border: none !important;
  text-decoration: none !important;
  font-weight: 700;
  line-height: 1;
}

/* Мобильная адаптация внутренних блоков статьи */
@media (max-width: 767px) {
  .konsul-article__lead {
    font-size: 19px;
  }

  .konsul-section {
    margin: 32px 0;
  }

  .konsul-note,
  .konsul-info,
  .konsul-article-cta,
  .konsul-card {
    padding: 20px 18px;
    border-radius: 20px;
  }

  .konsul-two-col {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .konsul-photo img {
    border-radius: 20px;
  }

  .konsul-photo--wide img {
    aspect-ratio: 16 / 10;
  }
}

/* =========================================================
   KONSUL BLOG / HIDE COMMENTS
   Скрываем комментарии под статьями
   ========================================================= */

body.single-post #comments,
body.single-post .comments-area,
body.single-post .comment-respond,
body.single-post .ast-comment-list,
body.single-post .comment-list,
body.single-post .comment-navigation,
body.single-post .comments-title,
body.single-post .no-comments {
  display: none !important;
}

/* Если где-то в карточках блога выводится ссылка на комментарии */
body.blog .comments-link,
body.archive .comments-link,
body.category .comments-link,
body.tag .comments-link,
body.single-post .comments-link {
  display: none !important;
}

body.single-post .entry-content {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* =========================================================
   KONSUL / ARTICLE EXTRA CSS
   Дополнение к уже существующим классам статьи
   ========================================================= */

.konsul-article {
  color: rgba(255,255,255,0.84);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
}

.konsul-article-title {
  margin-bottom: 22px !important;
  max-width: 980px;
}

.konsul-article strong {
  color: #f4efe8;
  font-weight: 700;
}

.konsul-section__subtitle {
  margin-top: 30px !important;
}

.konsul-toc {
  margin: 0 0 38px;
  padding: 24px 26px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 10%, rgba(245,210,122,0.14) 0%, rgba(245,210,122,0) 32%),
    rgba(255,255,255,0.045);
  border: 1px solid rgba(216,169,61,0.22);
}

.konsul-toc__title {
  display: block;
  margin: 0 0 14px;
  font-family: 'Tenor Sans', serif;
  color: #f5d27a;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.15;
}

.konsul-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  margin: 0;
  padding-left: 22px;
}

.konsul-toc li {
  margin: 0;
  color: rgba(255,255,255,0.62);
}

.konsul-toc a {
  color: rgba(255,255,255,0.82);
  border-bottom: 1px solid rgba(245,210,122,0.22);
}

.konsul-toc a:hover {
  color: #f5d27a;
  border-color: rgba(245,210,122,0.55);
}

.konsul-table-wrap {
  width: 100%;
  margin: 30px 0 34px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.035);
}

.konsul-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: rgba(255,255,255,0.82);
  font-size: 15px;
  line-height: 1.55;
}

.konsul-table th,
.konsul-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.konsul-table th {
  color: #f5d27a;
  font-weight: 700;
  background: rgba(216,169,61,0.10);
}

.konsul-table tbody tr:last-child td {
  border-bottom: none;
}

.konsul-table td:first-child {
  color: #f4efe8;
  font-weight: 700;
}

.konsul-photo--natural img {
  aspect-ratio: auto;
  height: auto;
  max-height: 760px;
  object-fit: contain;
  background: rgba(255,255,255,0.035);
}

.konsul-local-cta .konsul-article-cta__text {
  max-width: 940px;
}

@media (max-width: 767px) {
  .konsul-article {
    font-size: 16px;
    line-height: 1.7;
  }

  .konsul-toc {
    padding: 20px 18px;
    border-radius: 20px;
  }

  .konsul-toc ol {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .konsul-table-wrap {
    margin: 24px 0 28px;
    border-radius: 18px;
  }

  .konsul-table {
    min-width: 680px;
    font-size: 14px;
  }

  .konsul-table th,
  .konsul-table td {
    padding: 13px 14px;
  }

  .konsul-photo--natural img {
    max-height: none;
  }
}

/* =========================================================
   KONSUL / BLOG GRID PATCH
   Фикс сетки карточек блога + защита от наезда на подвал
   Вставить в самый низ дополнительных CSS
   ========================================================= */

/* Контейнер блога не должен схлопываться и пропускать карточки в подвал */
body.blog #content > .ast-container,
body.archive #content > .ast-container,
body.category #content > .ast-container,
body.tag #content > .ast-container {
  overflow: visible !important;
  padding-bottom: 120px !important;
}

/* Сама область записей */
body.blog .site-main,
body.archive .site-main,
body.category .site-main,
body.tag .site-main {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  clear: both !important;
}

/* Подзаголовок блога должен занимать всю строку */
body.blog .site-main::before,
body.archive .site-main::before,
body.category .site-main::before,
body.tag .site-main::before {
  grid-column: 1 / -1 !important;
}

/* Astra часто заворачивает записи в .ast-row — делаем сетку именно внутри него */
body.blog .site-main > .ast-row,
body.archive .site-main > .ast-row,
body.category .site-main > .ast-row,
body.tag .site-main > .ast-row {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;

  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: both !important;
}

/* Отключаем старую логику float/width у карточек Astra */
body.blog .site-main article.post,
body.archive .site-main article.post,
body.category .site-main article.post,
body.tag .site-main article.post,
body.blog .site-main article.ast-article-post,
body.archive .site-main article.ast-article-post,
body.category .site-main article.ast-article-post,
body.tag .site-main article.ast-article-post {
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;

  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  min-height: 100% !important;

  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 28px !important;
  padding: 16px !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

/* Внутренности карточки тоже делаем гибкими */
body.blog article.post .post-content,
body.archive article.post .post-content,
body.category article.post .post-content,
body.tag article.post .post-content,
body.blog article.ast-article-post .post-content,
body.archive article.ast-article-post .post-content,
body.category article.ast-article-post .post-content,
body.tag article.ast-article-post .post-content {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

/* Заголовок карточки: не даём ему ломать сетку */
body.blog article.post .entry-title,
body.archive article.post .entry-title,
body.category article.post .entry-title,
body.tag article.post .entry-title {
  display: -webkit-box !important;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
}

/* Текст карточки: ограничиваем высоту, чтобы новая статья не растягивала весь блог */
body.blog article.post .entry-content,
body.archive article.post .entry-content,
body.category article.post .entry-content,
body.tag article.post .entry-content,
body.blog article.post .entry-summary,
body.archive article.post .entry-summary,
body.category article.post .entry-summary,
body.tag article.post .entry-summary {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

/* В карточке оставляем только краткий текст, а не всю HTML-статью */
body.blog article.post .entry-content > p:first-of-type,
body.archive article.post .entry-content > p:first-of-type,
body.category article.post .entry-content > p:first-of-type,
body.tag article.post .entry-content > p:first-of-type,
body.blog article.post .entry-summary > p:first-of-type,
body.archive article.post .entry-summary > p:first-of-type,
body.category article.post .entry-summary > p:first-of-type,
body.tag article.post .entry-summary > p:first-of-type,
body.blog article.post .entry-content .konsul-article__lead,
body.archive article.post .entry-content .konsul-article__lead,
body.category article.post .entry-content .konsul-article__lead,
body.tag article.post .entry-content .konsul-article__lead {
  display: -webkit-box !important;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
  margin-bottom: 0.9em !important;
}

/* Скрываем лишние блоки полной статьи внутри карточки архива */
body.blog article.post .entry-content .konsul-section,
body.archive article.post .entry-content .konsul-section,
body.category article.post .entry-content .konsul-section,
body.tag article.post .entry-content .konsul-section,
body.blog article.post .entry-content .konsul-photo,
body.archive article.post .entry-content .konsul-photo,
body.category article.post .entry-content .konsul-photo,
body.tag article.post .entry-content .konsul-photo,
body.blog article.post .entry-content .konsul-note,
body.archive article.post .entry-content .konsul-note,
body.category article.post .entry-content .konsul-note,
body.tag article.post .entry-content .konsul-note,
body.blog article.post .entry-content .konsul-info,
body.archive article.post .entry-content .konsul-info,
body.category article.post .entry-content .konsul-info,
body.tag article.post .entry-content .konsul-info,
body.blog article.post .entry-content .konsul-table-wrap,
body.archive article.post .entry-content .konsul-table-wrap,
body.category article.post .entry-content .konsul-table-wrap,
body.tag article.post .entry-content .konsul-table-wrap,
body.blog article.post .entry-content .konsul-article-cta,
body.archive article.post .entry-content .konsul-article-cta,
body.category article.post .entry-content .konsul-article-cta,
body.tag article.post .entry-content .konsul-article-cta,
body.blog article.post .entry-content table,
body.archive article.post .entry-content table,
body.category article.post .entry-content table,
body.tag article.post .entry-content table,
body.blog article.post .entry-content figure:not(.post-thumb-img-content),
body.archive article.post .entry-content figure:not(.post-thumb-img-content),
body.category article.post .entry-content figure:not(.post-thumb-img-content),
body.tag article.post .entry-content figure:not(.post-thumb-img-content) {
  display: none !important;
}

/* Если внутри карточки пошли лишние абзацы — скрываем, кроме кнопки */
body.blog article.post .entry-content > p:not(:first-of-type):not(.read-more),
body.archive article.post .entry-content > p:not(:first-of-type):not(.read-more),
body.category article.post .entry-content > p:not(:first-of-type):not(.read-more),
body.tag article.post .entry-content > p:not(:first-of-type):not(.read-more),
body.blog article.post .entry-summary > p:not(:first-of-type):not(.read-more),
body.archive article.post .entry-summary > p:not(:first-of-type):not(.read-more),
body.category article.post .entry-summary > p:not(:first-of-type):not(.read-more),
body.tag article.post .entry-summary > p:not(:first-of-type):not(.read-more) {
  display: none !important;
}

/* Кнопку Читать далее прижимаем вниз карточки */
body.blog article.post .read-more,
body.archive article.post .read-more,
body.category article.post .read-more,
body.tag article.post .read-more {
  margin-top: auto !important;
}

body.blog article.post .more-link,
body.archive article.post .more-link,
body.category article.post .more-link,
body.tag article.post .more-link,
body.blog article.post .read-more a,
body.archive article.post .read-more a,
body.category article.post .read-more a,
body.tag article.post .read-more a {
  margin-top: 18px !important;
}

/* Фото карточки фиксируем по размеру */
body.blog article.post .post-thumb-img-content,
body.archive article.post .post-thumb-img-content,
body.category article.post .post-thumb-img-content,
body.tag article.post .post-thumb-img-content {
  flex: 0 0 auto !important;
}

body.blog article.post .wp-post-image,
body.archive article.post .wp-post-image,
body.category article.post .wp-post-image,
body.tag article.post .wp-post-image {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Подвал всегда ниже карточек */
body.blog #colophon,
body.archive #colophon,
body.category #colophon,
body.tag #colophon,
body.blog .site-footer,
body.archive .site-footer,
body.category .site-footer,
body.tag .site-footer {
  clear: both !important;
  position: relative !important;
  z-index: 5 !important;
  margin-top: 0 !important;
}

/* Планшеты: 2 карточки в строку */
@media (max-width: 1024px) {
  body.blog .site-main,
  body.archive .site-main,
  body.category .site-main,
  body.tag .site-main,
  body.blog .site-main > .ast-row,
  body.archive .site-main > .ast-row,
  body.category .site-main > .ast-row,
  body.tag .site-main > .ast-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }
}

/* Мобилка: карточки строго одна за другой */
@media (max-width: 767px) {
  body.blog .site-main,
  body.archive .site-main,
  body.category .site-main,
  body.tag .site-main,
  body.blog .site-main > .ast-row,
  body.archive .site-main > .ast-row,
  body.category .site-main > .ast-row,
  body.tag .site-main > .ast-row {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  body.blog #content > .ast-container,
  body.archive #content > .ast-container,
  body.category #content > .ast-container,
  body.tag #content > .ast-container {
    padding-bottom: 80px !important;
  }
}

/* =========================================================
   KONSUL / ARTICLE V2 PATCH
   Новый вид статьи: содержание 1–5 / 6–10, компактные заголовки,
   фото рядом с текстом, акцентные блоки и финальный CTA
   Вставить в самый низ дополнительных CSS Astra
   ========================================================= */

.konsul-article-v2 {
  color: rgba(255,255,255,0.84) !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-size: clamp(16px, 1.04vw, 18px) !important;
  line-height: 1.76 !important;
  font-weight: 500 !important;
}

.konsul-article-v2 *,
.konsul-article-v2 *::before,
.konsul-article-v2 *::after {
  box-sizing: border-box;
}

.konsul-article-v2 p,
.konsul-article-v2 li,
.konsul-article-v2 td,
.konsul-article-v2 th {
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.005em;
}

.konsul-article-v2 p {
  margin: 0 0 1.15em !important;
  max-width: 1120px;
}

.konsul-article-v2 strong {
  color: #f4efe8;
  font-weight: 700 !important;
}

.konsul-article-v2 h1,
.konsul-article-v2 h2,
.konsul-article-v2 h3,
.konsul-article-v2 h4 {
  font-family: 'Tenor Sans', serif !important;
  color: #f4efe8 !important;
  font-weight: 400 !important;
  letter-spacing: 0.035em;
  text-transform: none;
}

.konsul-article-v2 h1 {
  margin: 0 0 22px !important;
  max-width: 1080px;
  font-size: clamp(38px, 4.2vw, 64px) !important;
  line-height: 1.05 !important;
}

.konsul-article-v2 h2 {
  margin: 0 0 24px !important;
  font-size: clamp(30px, 3.1vw, 46px) !important;
  line-height: 1.12 !important;
}

.konsul-article-v2 h3 {
  margin: 0 0 14px !important;
  font-size: clamp(23px, 2.1vw, 32px) !important;
  line-height: 1.18 !important;
}

.konsul-article-v2 .konsul-article__lead {
  margin-bottom: 20px !important;
  max-width: 1100px;
  color: rgba(255,255,255,0.88) !important;
  font-size: clamp(18px, 1.45vw, 22px) !important;
  line-height: 1.68 !important;
  font-weight: 500 !important;
}

.konsul-article-v2 .konsul-section {
  margin: clamp(46px, 6vw, 82px) 0 !important;
  scroll-margin-top: 110px;
}

.konsul-article-hero-v2 {
  margin: 0 0 34px;
}

/* Содержание: 1–5 слева, 6–10 справа */
.konsul-toc-v2 {
  margin: 0 0 52px !important;
  padding: clamp(24px, 3.2vw, 38px) !important;
  border-radius: 30px !important;
  background:
    radial-gradient(circle at 12% 10%, rgba(245,210,122,0.14) 0%, rgba(245,210,122,0) 34%),
    rgba(255,255,255,0.045) !important;
  border: 1px solid rgba(216,169,61,0.24) !important;
}

.konsul-toc-v2 .konsul-toc__title {
  margin: 0 0 24px !important;
  font-family: 'Tenor Sans', serif !important;
  color: #f5d27a !important;
  font-size: clamp(26px, 3.1vw, 42px) !important;
  line-height: 1.1 !important;
  letter-spacing: 0.09em;
}

.konsul-toc-v2__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(70px, 9vw, 140px);
  row-gap: 14px;
}

.konsul-toc-v2__col {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 14px !important;
  margin: 0 !important;
  padding-left: 28px !important;
}

.konsul-toc-v2__col li {
  margin: 0 !important;
  padding: 0 0 10px !important;
  color: rgba(245,210,122,0.72) !important;
  border-bottom: 1px solid rgba(245,210,122,0.16);
}

.konsul-toc-v2__col a {
  display: inline;
  color: rgba(255,255,255,0.84) !important;
  border-bottom: 1px solid rgba(245,210,122,0.24) !important;
  text-decoration: none !important;
  line-height: 1.55;
}

.konsul-toc-v2__col a:hover {
  color: #f5d27a !important;
  border-color: rgba(245,210,122,0.7) !important;
}

/* Таблицы */
.konsul-article-v2 .konsul-table-wrap {
  width: 100%;
  margin: 30px 0 38px !important;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.035);
}

.konsul-article-v2 .konsul-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: rgba(255,255,255,0.82);
  font-size: 15px;
  line-height: 1.55;
}

.konsul-article-v2 .konsul-table th,
.konsul-article-v2 .konsul-table td {
  padding: 15px 17px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.konsul-article-v2 .konsul-table th {
  color: #f5d27a;
  font-weight: 700 !important;
  background: rgba(216,169,61,0.10);
}

.konsul-article-v2 .konsul-table tbody tr:last-child td {
  border-bottom: none;
}

.konsul-article-v2 .konsul-table td:first-child {
  color: #f4efe8;
  font-weight: 700 !important;
}

/* Фото */
.konsul-article-v2 .konsul-photo {
  margin: 34px 0 !important;
}

.konsul-article-v2 .konsul-photo img {
  width: 100% !important;
  display: block;
  border-radius: 26px !important;
  border: 1px solid rgba(255,255,255,0.09) !important;
  object-fit: cover !important;
  object-position: center !important;
}

.konsul-article-v2 .konsul-photo--wide img,
.konsul-article-v2 .konsul-hero-image-v2 img {
  aspect-ratio: 16 / 8.3 !important;
}

.konsul-article-v2 .konsul-photo--details img,
.konsul-article-v2 .konsul-photo--accessories img {
  aspect-ratio: 16 / 7.6 !important;
}

/* Ряд текст + фото */
.konsul-media-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
  margin: clamp(34px, 5vw, 62px) 0;
  padding: clamp(18px, 2.6vw, 28px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 12%, rgba(245,210,122,0.08) 0%, rgba(245,210,122,0) 32%),
    rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.085);
}

.konsul-media-row--image-left {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
}

.konsul-media-text {
  min-width: 0;
}

.konsul-media-text p:last-child {
  margin-bottom: 0 !important;
}

.konsul-media-frame {
  width: 100%;
  margin: 0 !important;
  aspect-ratio: 4 / 3.15;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(216,169,61,0.18);
  background: rgba(255,255,255,0.035);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.035);
}

.konsul-media-frame img {
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: cover !important;
  object-position: center !important;
}

/* Акцентные карточки для деталей и аксессуаров */
.konsul-detail-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 34px 0;
}

.konsul-detail-card {
  padding: 24px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(216,169,61,0.12) 0%, rgba(255,255,255,0.045) 46%, rgba(255,255,255,0.032) 100%);
  border: 1px solid rgba(216,169,61,0.24);
}

.konsul-detail-card h3 {
  margin-bottom: 14px !important;
  color: #f5d27a !important;
  font-size: clamp(24px, 2vw, 30px) !important;
}

.konsul-detail-card p:last-child {
  margin-bottom: 0 !important;
}

.konsul-detail-cards--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Список посадки */
.konsul-fit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  margin: 28px 0 34px;
}

.konsul-fit-list p {
  margin: 0 !important;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

/* FAQ */
.konsul-faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 36px;
}

.konsul-faq-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.konsul-faq-card h3,
.konsul-faq-final h3 {
  color: #f5d27a !important;
}

.konsul-faq-card p:last-child {
  margin-bottom: 0 !important;
}

/* Финальный CTA */
.konsul-local-cta-v2 {
  margin-top: 42px !important;
  padding: clamp(28px, 4vw, 44px) !important;
  border-radius: 30px !important;
  background:
    radial-gradient(circle at 16% 18%, rgba(245,210,122,0.18) 0%, rgba(245,210,122,0) 34%),
    linear-gradient(135deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.035) 100%) !important;
  border: 1px solid rgba(216,169,61,0.32) !important;
}

.konsul-local-cta-v2 .konsul-article-cta__title {
  display: block;
  margin: 0 0 16px;
  font-family: 'Tenor Sans', serif !important;
  font-size: clamp(30px, 3.2vw, 48px) !important;
  line-height: 1.1 !important;
  color: #f4efe8 !important;
  font-weight: 400 !important;
}

.konsul-local-cta-v2 .konsul-article-cta__text {
  max-width: 1080px;
  margin-bottom: 16px !important;
  color: rgba(255,255,255,0.86) !important;
}

.konsul-local-cta-v2 .konsul-article-cta__btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 8px;
  padding: 0 26px;
  border-radius: 15px;
  background: linear-gradient(180deg, #f5d27a 0%, #d8a93d 100%) !important;
  color: #0f1722 !important;
  border: none !important;
  text-decoration: none !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-weight: 800 !important;
  line-height: 1;
}

@media (max-width: 1024px) {
  .konsul-toc-v2__grid {
    column-gap: 48px;
  }

  .konsul-media-row,
  .konsul-media-row--image-left {
    grid-template-columns: 1fr;
  }

  .konsul-media-row--image-left .konsul-media-frame {
    order: 2;
  }

  .konsul-media-row--image-left .konsul-media-text {
    order: 1;
  }

  .konsul-media-frame {
    max-width: 720px;
  }

  .konsul-detail-cards,
  .konsul-detail-cards--compact,
  .konsul-faq-list,
  .konsul-fit-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .konsul-article-v2 {
    font-size: 16px !important;
    line-height: 1.68 !important;
  }

  .konsul-article-v2 h1 {
    font-size: clamp(32px, 9.4vw, 44px) !important;
    line-height: 1.08 !important;
    letter-spacing: 0.025em;
  }

  .konsul-article-v2 h2 {
    font-size: clamp(27px, 8vw, 36px) !important;
    line-height: 1.12 !important;
    letter-spacing: 0.025em;
  }

  .konsul-article-v2 h3 {
    font-size: clamp(22px, 6vw, 28px) !important;
    letter-spacing: 0.02em;
  }

  .konsul-article-v2 .konsul-article__lead {
    font-size: 17px !important;
    line-height: 1.65 !important;
  }

  .konsul-toc-v2 {
    padding: 22px 18px !important;
    border-radius: 22px !important;
  }

  .konsul-toc-v2 .konsul-toc__title {
    font-size: 28px !important;
    letter-spacing: 0.055em;
  }

  .konsul-toc-v2__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .konsul-toc-v2__col {
    gap: 10px !important;
    padding-left: 24px !important;
  }

  .konsul-media-row {
    padding: 16px;
    gap: 18px;
    border-radius: 22px;
  }

  .konsul-media-frame {
    aspect-ratio: 4 / 3.2;
    border-radius: 18px;
  }

  .konsul-detail-card,
  .konsul-faq-card,
  .konsul-fit-list p {
    padding: 19px;
    border-radius: 20px;
  }

  .konsul-article-v2 .konsul-photo--wide img,
  .konsul-article-v2 .konsul-hero-image-v2 img,
  .konsul-article-v2 .konsul-photo--details img,
  .konsul-article-v2 .konsul-photo--accessories img {
    aspect-ratio: 4 / 3.15 !important;
  }

  .konsul-article-v2 .konsul-table {
    min-width: 680px;
    font-size: 14px;
  }

  .konsul-article-v2 .konsul-table th,
  .konsul-article-v2 .konsul-table td {
    padding: 13px 14px;
  }
}


/* Фото сравнения посадки — показываем полностью, без обрезки */
.konsul-article-v2 .konsul-photo--comparison-full {
  max-width: 100%;
  margin: 36px auto;
  padding: 0;
  border-radius: 26px;
  overflow: hidden;
  background: #e7e2d8;
  border: 1px solid rgba(255,255,255,0.10);
}

.konsul-article-v2 .konsul-photo--comparison-full img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 26px !important;
}

/* На мобильных тоже не обрезаем подписи снизу */
@media (max-width: 767px) {
  .konsul-article-v2 .konsul-photo--comparison-full {
    border-radius: 18px;
    margin: 28px auto;
  }

  .konsul-article-v2 .konsul-photo--comparison-full img {
    border-radius: 18px !important;
  }
}

/* =========================================================
   KONSUL / ARTICLE SIDE IMAGES NO CROP
   Фото в блоках текст + изображение показываем полностью
   ========================================================= */

.konsul-article-v2 .konsul-media-frame {
  aspect-ratio: auto !important;
  height: auto !important;
  min-height: 0 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 24px !important;
  background: rgba(255,255,255,0.035) !important;
}

/* Главное правило: не обрезать фото */
.konsul-article-v2 .konsul-media-frame img {
  display: block !important;

  width: 100% !important;
  height: auto !important;
  max-height: none !important;

  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;

  border-radius: 24px !important;
}

/* На мобильных сохраняем аккуратные скругления */
@media (max-width: 767px) {
  .konsul-article-v2 .konsul-media-frame {
    border-radius: 18px !important;
  }

  .konsul-article-v2 .konsul-media-frame img {
    border-radius: 18px !important;
  }
}




/* =========================================================
   KONSUL / CART BUTTONS FIX
   ========================================================= */

body.post-type-archive-product ul.products li.product .konsul-loop-actions,
body.tax-product_cat ul.products li.product .konsul-loop-actions,
body.single-product .related.products ul.products li.product .konsul-loop-actions {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: auto !important;
}

body.post-type-archive-product ul.products li.product a.button.konsul-loop-cart,
body.tax-product_cat ul.products li.product a.button.konsul-loop-cart,
body.single-product .related.products ul.products li.product a.button.konsul-loop-cart {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 50px !important;
  border-radius: 14px !important;
  text-align: center !important;
  text-transform: none !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 1.15 !important;
  color: #0f1722 !important;
  background: linear-gradient(180deg, #f5d27a 0%, #d8a93d 100%) !important;
  border: none !important;
  box-shadow: none !important;
}

body.post-type-archive-product ul.products li.product a.button.konsul-loop-more,
body.tax-product_cat ul.products li.product a.button.konsul-loop-more,
body.single-product .related.products ul.products li.product a.button.konsul-loop-more {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: #f4efe8 !important;
}

/* ===== SINGLE PRODUCT: ФОРМА ДОБАВЛЕНИЯ В КОРЗИНУ ===== */

body.single-product form.cart {
  margin-top: 18px !important;
  padding-top: 18px !important;
  border-top: 1px solid rgba(255,255,255,0.10) !important;
}

body.single-product form.cart .quantity {
  margin-right: 10px !important;
}

body.single-product form.cart .quantity input.qty {
  width: 76px !important;
  min-height: 48px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  background: rgba(255,255,255,0.06) !important;
  color: #f4efe8 !important;
}

body.single-product .single_add_to_cart_button {
  min-height: 48px !important;
  border-radius: 14px !important;
  padding: 0 22px !important;
  color: #0f1722 !important;
  background: linear-gradient(180deg, #f5d27a 0%, #d8a93d 100%) !important;
  border: none !important;
  box-shadow: none !important;
  text-transform: none !important;
  font-weight: 700 !important;
}

body.single-product table.variations {
  margin-bottom: 18px !important;
}

body.single-product table.variations th,
body.single-product table.variations td,
body.single-product table.variations label {
  color: #f4efe8 !important;
}

body.single-product table.variations select {
  min-height: 48px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  background: rgba(255,255,255,0.06) !important;
  color: #f4efe8 !important;
  padding: 0 14px !important;
}

body.single-product .reset_variations {
  color: rgba(255,255,255,0.74) !important;
  margin-left: 10px !important;
}

body.single-product .woocommerce-variation-price .price {
  font-size: 24px !important;
  color: #f4efe8 !important;
}

body.single-product .woocommerce-message,
body.woocommerce-cart .woocommerce-message,
body.woocommerce-checkout .woocommerce-message {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: #f4efe8 !important;
  border-radius: 18px !important;
}

body.single-product .woocommerce-message a.button,
body.woocommerce-cart .woocommerce-message a.button,
body.woocommerce-checkout .woocommerce-message a.button {
  border-radius: 12px !important;
  color: #0f1722 !important;
  background: linear-gradient(180deg, #f5d27a 0%, #d8a93d 100%) !important;
}

@media (max-width: 921px) {
  body.post-type-archive-product ul.products li.product a.button.konsul-loop-cart,
  body.tax-product_cat ul.products li.product a.button.konsul-loop-cart,
  body.single-product .related.products ul.products li.product a.button.konsul-loop-cart {
    min-height: 42px !important;
    font-size: 14px !important;
    border-radius: 12px !important;
  }

  body.single-product form.cart {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  body.single-product .single_add_to_cart_button {
    flex: 1 1 auto !important;
  }
}


/* =========================================================
   CART PAGE / MOBILE
   ========================================================= */

@media (max-width: 767px) {
  body.woocommerce-cart #primary {
    width: min(100%, calc(100vw - 28px)) !important;
    padding: 28px 0 56px !important;
  }

  body.woocommerce-cart table.shop_table {
    border-radius: 22px !important;
  }

  body.woocommerce-cart table.shop_table thead {
    display: none !important;
  }

  body.woocommerce-cart table.shop_table,
  body.woocommerce-cart table.shop_table tbody,
  body.woocommerce-cart table.shop_table tr,
  body.woocommerce-cart table.shop_table td {
    display: block !important;
    width: 100% !important;
  }

  body.woocommerce-cart table.shop_table tr.cart_item {
    padding: 16px !important;
    border-bottom: 1px solid rgba(255,255,255,0.10) !important;
  }

  body.woocommerce-cart table.shop_table td {
    border: none !important;
    padding: 8px 0 !important;
    text-align: left !important;
  }

  body.woocommerce-cart .product-thumbnail img {
    width: 100% !important;
    height: auto !important;
    max-height: 320px !important;
    object-fit: contain !important;
    background: rgba(255,255,255,0.04) !important;
  }

  body.woocommerce-cart .cart_totals {
    width: 100% !important;
    padding: 20px !important;
    border-radius: 22px !important;
  }

  body.woocommerce-cart .cart_totals h2 {
    font-size: 32px !important;
  }

  body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    width: 100% !important;
  }
}

/* =========================================================
   KONSUL / HEADER CART ICON — ТОЛЬКО ДЛЯ КАТАЛОГА
   ========================================================= */

.konsul-header-cart {
  position: fixed;
  top: 28px;
  right: max(28px, calc((100vw - 1280px) / 2));
  z-index: 9999;

  display: inline-flex;
  align-items: center;
  gap: 9px;

  min-height: 46px;
  padding: 0 16px;

  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: #f4efe8 !important;
  text-decoration: none !important;

  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;

  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.konsul-header-cart:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
  color: #ffffff !important;
}

.konsul-header-cart__icon {
  font-size: 17px;
  line-height: 1;
}

.konsul-header-cart__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 22px;
  height: 22px;
  padding: 0 7px;

  border-radius: 999px;
  background: linear-gradient(180deg, #f5d27a 0%, #d8a93d 100%);
  color: #0f1722;

  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 921px) {
  .konsul-header-cart {
    top: 18px;
    right: 16px;
    min-height: 42px;
    padding: 0 12px;
  }

  .konsul-header-cart__text {
    display: none;
  }
}


/* =========================================================
   KONSUL / CART PAGE — ЕДИНЫЙ ТЁМНЫЙ СТИЛЬ
   ========================================================= */

body.woocommerce-cart {
  --konsul-dark-bg:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0) 24%),
    radial-gradient(circle at 82% 8%, rgba(139,104,54,0.14) 0%, rgba(139,104,54,0) 24%),
    linear-gradient(180deg, #121923 0%, #0f1722 48%, #111926 100%);

  background: var(--konsul-dark-bg) !important;
  color: #f4efe8 !important;
}

/* Убираем белые фоны основных обёрток */
body.woocommerce-cart #page,
body.woocommerce-cart .site,
body.woocommerce-cart .site-content,
body.woocommerce-cart .content-area,
body.woocommerce-cart .site-main,
body.woocommerce-cart .ast-container,
body.woocommerce-cart .entry-content,
body.woocommerce-cart article,
body.woocommerce-cart .hentry,
body.woocommerce-cart .entry,
body.woocommerce-cart .post,
body.woocommerce-cart .page {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Шапка сайта на странице корзины */
body.woocommerce-cart #masthead,
body.woocommerce-cart .site-header,
body.woocommerce-cart .ast-header-wrap,
body.woocommerce-cart .site-primary-header-wrap,
body.woocommerce-cart .ast-primary-header-bar,
body.woocommerce-cart .main-header-bar,
body.woocommerce-cart .main-header-bar-wrap,
body.woocommerce-cart .ast-main-header-wrap,
body.woocommerce-cart .ast-builder-grid-row-container,
body.woocommerce-cart .ast-builder-grid-row-container-inner,
body.woocommerce-cart .ast-desktop-header-content,
body.woocommerce-cart .ast-mobile-header-wrap,
body.woocommerce-cart .ast-mobile-header-content {
  background: var(--konsul-dark-bg) !important;
  border: none !important;
  box-shadow: none !important;
}

body.woocommerce-cart #masthead {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

body.woocommerce-cart #masthead .ast-builder-grid-row {
  width: min(1280px, 92vw) !important;
  max-width: min(1280px, 92vw) !important;
  margin: 0 auto !important;
  background: transparent !important;
}

body.woocommerce-cart #masthead::before,
body.woocommerce-cart #masthead::after,
body.woocommerce-cart .site-header::before,
body.woocommerce-cart .site-header::after,
body.woocommerce-cart .main-header-bar::before,
body.woocommerce-cart .main-header-bar::after,
body.woocommerce-cart .site-primary-header-wrap::before,
body.woocommerce-cart .site-primary-header-wrap::after {
  display: none !important;
  content: none !important;
}

body.woocommerce-cart .main-header-menu .menu-link,
body.woocommerce-cart .ast-header-navigation a {
  color: rgba(255,255,255,0.88) !important;
}

body.woocommerce-cart .main-header-menu .menu-link:hover,
body.woocommerce-cart .ast-header-navigation a:hover {
  color: #ffffff !important;
}

/* Контейнер корзины */
body.woocommerce-cart #primary {
  width: min(1220px, 92vw) !important;
  max-width: min(1220px, 92vw) !important;
  margin: 0 auto !important;
  padding: 42px 0 90px !important;
  float: none !important;
  background: transparent !important;
}

body.woocommerce-cart .entry-header,
body.woocommerce-cart .entry-title {
  background: transparent !important;
}

body.woocommerce-cart .entry-title,
body.woocommerce-cart h1 {
  margin: 0 0 34px !important;
  font-family: 'Tenor Sans', serif;
  font-size: clamp(42px, 6vw, 76px) !important;
  line-height: 0.98 !important;
  font-weight: 400 !important;
  color: #f4efe8 !important;
}

/* Общий текст */
body.woocommerce-cart .woocommerce,
body.woocommerce-cart .woocommerce p,
body.woocommerce-cart .woocommerce strong,
body.woocommerce-cart .woocommerce span,
body.woocommerce-cart .woocommerce label {
  color: #f4efe8 !important;
}

/* Таблица корзины */
body.woocommerce-cart table.shop_table {
  overflow: hidden !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;

  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 28px !important;

  color: #f4efe8 !important;
  box-shadow: none !important;
}

body.woocommerce-cart table.shop_table thead,
body.woocommerce-cart table.shop_table thead tr,
body.woocommerce-cart table.shop_table thead th {
  background: rgba(255,255,255,0.045) !important;
  color: rgba(255,255,255,0.72) !important;
  border-color: rgba(255,255,255,0.10) !important;
}

body.woocommerce-cart table.shop_table th,
body.woocommerce-cart table.shop_table td {
  border-color: rgba(255,255,255,0.10) !important;
  color: #f4efe8 !important;
}

body.woocommerce-cart table.shop_table th {
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800 !important;
}

body.woocommerce-cart table.shop_table td {
  font-size: 16px !important;
  background: transparent !important;
}

body.woocommerce-cart table.shop_table tr {
  background: transparent !important;
}

body.woocommerce-cart table.shop_table a {
  color: #f4efe8 !important;
  text-decoration: none !important;
}

body.woocommerce-cart table.shop_table a:hover {
  color: #ffffff !important;
}

body.woocommerce-cart .product-thumbnail img {
  width: 82px !important;
  height: 102px !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,0.04) !important;
}

body.woocommerce-cart .product-name {
  font-weight: 800 !important;
}

/* Кнопка удаления */
body.woocommerce-cart a.remove {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 28px !important;
  height: 28px !important;

  border-radius: 999px !important;
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: rgba(255,255,255,0.72) !important;

  font-size: 20px !important;
  line-height: 1 !important;
}

body.woocommerce-cart a.remove:hover {
  background: rgba(255,255,255,0.12) !important;
  color: #ffffff !important;
}

/* Количество */
body.woocommerce-cart .quantity input.qty {
  width: 76px !important;
  min-height: 46px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  background: rgba(255,255,255,0.06) !important;
  color: #f4efe8 !important;
}

/* Кнопки корзины */
body.woocommerce-cart .actions .button,
body.woocommerce-cart button.button,
body.woocommerce-cart a.button,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  min-height: 50px !important;
  border-radius: 14px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 0 24px !important;

  text-transform: none !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;

  color: #0f1722 !important;
  background: linear-gradient(180deg, #f5d27a 0%, #d8a93d 100%) !important;
  border: none !important;
  box-shadow: none !important;
}

body.woocommerce-cart .actions .button:hover,
body.woocommerce-cart button.button:hover,
body.woocommerce-cart a.button:hover,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

/* Скрываем купон, если пока не нужен */
body.woocommerce-cart .actions .coupon {
  display: none !important;
}

/* Сумма корзины */
body.woocommerce-cart .cart-collaterals {
  margin-top: 32px !important;
  display: flex !important;
  justify-content: flex-end !important;
}

body.woocommerce-cart .cart_totals {
  width: min(460px, 100%) !important;

  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 28px !important;
  padding: 24px !important;

  color: #f4efe8 !important;
  box-shadow: none !important;
}

body.woocommerce-cart .cart_totals h2 {
  margin: 0 0 18px !important;
  padding: 0 !important;

  background: transparent !important;
  border: none !important;

  font-family: 'Tenor Sans', serif;
  font-size: 40px !important;
  line-height: 1 !important;
  font-weight: 400 !important;
  color: #f4efe8 !important;
}

body.woocommerce-cart .cart_totals table,
body.woocommerce-cart .cart_totals tbody,
body.woocommerce-cart .cart_totals tr,
body.woocommerce-cart .cart_totals th,
body.woocommerce-cart .cart_totals td {
  background: transparent !important;
  border-color: rgba(255,255,255,0.10) !important;
  color: #f4efe8 !important;
}

/* Доставка */
body.woocommerce-cart .woocommerce-shipping-totals,
body.woocommerce-cart .woocommerce-shipping-totals th,
body.woocommerce-cart .woocommerce-shipping-totals td {
  color: #f4efe8 !important;
}

body.woocommerce-cart .woocommerce-shipping-calculator {
  margin-top: 14px !important;
}

/* Кнопка "Рассчитать стоимость доставки" */
body.woocommerce-cart a.shipping-calculator-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  min-height: 44px !important;
  margin-top: 12px !important;
  padding: 0 18px !important;

  border-radius: 14px !important;
  border: 1px solid rgba(245,210,122,0.42) !important;
  background: rgba(245,210,122,0.10) !important;
  color: #f5d27a !important;

  text-decoration: none !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  line-height: 1.15 !important;

  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

body.woocommerce-cart a.shipping-calculator-button:hover {
  transform: translateY(-1px);
  background: rgba(245,210,122,0.16) !important;
  border-color: rgba(245,210,122,0.70) !important;
  color: #ffe39a !important;
}

/* Поля калькулятора доставки */
body.woocommerce-cart .shipping-calculator-form input,
body.woocommerce-cart .shipping-calculator-form select,
body.woocommerce-cart .shipping-calculator-form textarea {
  min-height: 46px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  background: rgba(255,255,255,0.06) !important;
  color: #f4efe8 !important;
}

body.woocommerce-cart .shipping-calculator-form .select2-container--default .select2-selection--single {
  min-height: 46px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  background: rgba(255,255,255,0.06) !important;
}

body.woocommerce-cart .shipping-calculator-form .select2-selection__rendered {
  color: #f4efe8 !important;
  line-height: 46px !important;
}

/* Сообщения WooCommerce */
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .cart-empty {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  border-radius: 22px !important;
  color: #f4efe8 !important;
  padding: 18px 22px !important;
}

body.woocommerce-cart .woocommerce-message::before,
body.woocommerce-cart .woocommerce-info::before {
  color: #d8a93d !important;
}

body.woocommerce-cart .return-to-shop {
  margin-top: 20px !important;
}


/* =========================================================
   KONSUL / CART PAGE MOBILE
   ========================================================= */

@media (max-width: 767px) {
  body.woocommerce-cart #primary {
    width: min(100%, calc(100vw - 28px)) !important;
    padding: 28px 0 56px !important;
  }

  body.woocommerce-cart table.shop_table {
    border-radius: 22px !important;
  }

  body.woocommerce-cart table.shop_table thead {
    display: none !important;
  }

  body.woocommerce-cart table.shop_table,
  body.woocommerce-cart table.shop_table tbody,
  body.woocommerce-cart table.shop_table tr,
  body.woocommerce-cart table.shop_table td {
    display: block !important;
    width: 100% !important;
  }

  body.woocommerce-cart table.shop_table tr.cart_item {
    padding: 16px !important;
    border-bottom: 1px solid rgba(255,255,255,0.10) !important;
  }

  body.woocommerce-cart table.shop_table td {
    border: none !important;
    padding: 8px 0 !important;
    text-align: left !important;
  }

  body.woocommerce-cart .product-thumbnail img {
    width: 100% !important;
    height: auto !important;
    max-height: 320px !important;
    object-fit: contain !important;
    background: rgba(255,255,255,0.04) !important;
  }

  body.woocommerce-cart .cart-collaterals {
    display: block !important;
  }

  body.woocommerce-cart .cart_totals {
    width: 100% !important;
    padding: 20px !important;
    border-radius: 22px !important;
  }

  body.woocommerce-cart .cart_totals h2 {
    font-size: 32px !important;
  }

  body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    width: 100% !important;
  }
}

/* =========================================================
   KONSUL / MOBILE PRODUCT BUTTONS CENTER FIX
   Исправляет съезд кнопок "В корзину" и "Подробнее" на мобильной
   ========================================================= */

@media (max-width: 921px) {

  body.post-type-archive-product ul.products li.product,
  body.tax-product_cat ul.products li.product,
  body.single-product .related.products ul.products li.product {
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body.post-type-archive-product ul.products li.product .astra-shop-summary-wrap,
  body.tax-product_cat ul.products li.product .astra-shop-summary-wrap,
  body.single-product .related.products ul.products li.product .astra-shop-summary-wrap {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.post-type-archive-product ul.products li.product .konsul-loop-actions,
  body.tax-product_cat ul.products li.product .konsul-loop-actions,
  body.single-product .related.products ul.products li.product .konsul-loop-actions {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;

    margin: auto 0 0 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;
    justify-items: stretch !important;
    align-items: stretch !important;
  }

  body.post-type-archive-product ul.products li.product .konsul-loop-actions a.button,
  body.tax-product_cat ul.products li.product .konsul-loop-actions a.button,
  body.single-product .related.products ul.products li.product .konsul-loop-actions a.button,
  body.post-type-archive-product ul.products li.product a.button.konsul-loop-cart,
  body.tax-product_cat ul.products li.product a.button.konsul-loop-cart,
  body.post-type-archive-product ul.products li.product a.button.konsul-loop-more,
  body.tax-product_cat ul.products li.product a.button.konsul-loop-more {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;

    box-sizing: border-box !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    text-align: center !important;
    white-space: normal !important;
  }
}

/* =========================================================
   KONSUL / CART PAGE FINAL FIX
   Шапка без белых краёв + 2 зоны: товары слева, оформление справа
   ========================================================= */

/* ===== ГЛОБАЛЬНЫЙ ФОН СТРАНИЦЫ КОРЗИНЫ ===== */

html,
body.woocommerce-cart {
  background:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0) 24%),
    radial-gradient(circle at 82% 8%, rgba(139,104,54,0.14) 0%, rgba(139,104,54,0) 24%),
    linear-gradient(180deg, #121923 0%, #0f1722 48%, #111926 100%) !important;
}

body.woocommerce-cart {
  --konsul-dark-bg:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0) 24%),
    radial-gradient(circle at 82% 8%, rgba(139,104,54,0.14) 0%, rgba(139,104,54,0) 24%),
    linear-gradient(180deg, #121923 0%, #0f1722 48%, #111926 100%);

  color: #f4efe8 !important;
}

/* ===== УБИРАЕМ БЕЛЫЕ ФОНЫ У ВСЕХ ОБЁРТОК ===== */

body.woocommerce-cart #page,
body.woocommerce-cart .site,
body.woocommerce-cart .site-content,
body.woocommerce-cart #content,
body.woocommerce-cart .content-area,
body.woocommerce-cart .site-main,
body.woocommerce-cart .ast-container,
body.woocommerce-cart .entry-content,
body.woocommerce-cart article,
body.woocommerce-cart .hentry,
body.woocommerce-cart .entry,
body.woocommerce-cart .page,
body.woocommerce-cart .type-page {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* =========================================================
   ШАПКА КОРЗИНЫ — ФИКС БЕЛЫХ ПОЛЕЙ КАК В КАТАЛОГЕ
   ========================================================= */

body.woocommerce-cart #masthead,
body.woocommerce-cart .site-header,
body.woocommerce-cart .ast-header-wrap,
body.woocommerce-cart .site-primary-header-wrap,
body.woocommerce-cart .ast-primary-header-bar,
body.woocommerce-cart .main-header-bar,
body.woocommerce-cart .main-header-bar-wrap,
body.woocommerce-cart .ast-main-header-wrap,
body.woocommerce-cart .ast-mobile-header-wrap,
body.woocommerce-cart .ast-mobile-header-content,
body.woocommerce-cart .ast-desktop-header-content {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;

  background: var(--konsul-dark-bg) !important;
  border: none !important;
  box-shadow: none !important;
}

/* Важный фикс именно для контейнеров Astra */
body.woocommerce-cart .ast-builder-grid-row-container,
body.woocommerce-cart .ast-builder-grid-row-container-inner {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;

  background: var(--konsul-dark-bg) !important;
  border: none !important;
  box-shadow: none !important;
}

/* А сам контент шапки оставляем по центру */
body.woocommerce-cart #masthead .ast-builder-grid-row,
body.woocommerce-cart .ast-primary-header-bar .ast-builder-grid-row,
body.woocommerce-cart .main-header-bar .ast-builder-grid-row {
  width: min(1280px, 92vw) !important;
  max-width: min(1280px, 92vw) !important;
  margin: 0 auto !important;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Внутренние блоки шапки прозрачные */
body.woocommerce-cart .site-header-section,
body.woocommerce-cart .ast-builder-layout-element,
body.woocommerce-cart .ast-builder-menu,
body.woocommerce-cart .ast-builder-menu-1,
body.woocommerce-cart .ast-header-html {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Убираем псевдоэлементы и линии */
body.woocommerce-cart #masthead::before,
body.woocommerce-cart #masthead::after,
body.woocommerce-cart .site-header::before,
body.woocommerce-cart .site-header::after,
body.woocommerce-cart .main-header-bar::before,
body.woocommerce-cart .main-header-bar::after,
body.woocommerce-cart .site-primary-header-wrap::before,
body.woocommerce-cart .site-primary-header-wrap::after {
  display: none !important;
  content: none !important;
}

body.woocommerce-cart .main-header-menu .menu-link,
body.woocommerce-cart .ast-header-navigation a {
  color: rgba(255,255,255,0.88) !important;
}

body.woocommerce-cart .main-header-menu .menu-link:hover,
body.woocommerce-cart .ast-header-navigation a:hover {
  color: #ffffff !important;
}

/* =========================================================
   КОНТЕЙНЕР СТРАНИЦЫ КОРЗИНЫ
   ========================================================= */

body.woocommerce-cart #primary {
  width: min(1280px, 92vw) !important;
  max-width: min(1280px, 92vw) !important;
  margin: 0 auto !important;
  padding: 42px 0 90px !important;

  float: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.woocommerce-cart .entry-header,
body.woocommerce-cart .entry-title {
  display: none !important;
}

/* =========================================================
   ГЛАВНАЯ СЕТКА: ЗОНА 1 + ЗОНА 2
   ========================================================= */

body.woocommerce-cart .entry-content > .woocommerce {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px) !important;
  gap: 32px !important;
  align-items: start !important;

  width: 100% !important;
  max-width: 100% !important;
  color: #f4efe8 !important;
}

/* Сообщения WooCommerce на всю ширину */
body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error {
  grid-column: 1 / -1 !important;
}

/* ЗОНА 1 — содержимое заказа */
body.woocommerce-cart .woocommerce-cart-form {
  grid-column: 1 !important;
  grid-row: 1 !important;

  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

/* ЗОНА 2 — сумма, доставка, переход к оформлению */
body.woocommerce-cart .cart-collaterals {
  grid-column: 2 !important;
  grid-row: 1 !important;

  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;

  display: block !important;
  float: none !important;
  clear: none !important;
}

body.woocommerce-cart .cart_totals {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;

  position: sticky;
  top: 24px;

  margin: 0 !important;
  padding: 26px 26px 28px !important;

  background: rgba(255,255,255,0.045) !important;
  border: 1px solid rgba(255,255,255,0.09) !important;
  border-radius: 30px !important;
  box-shadow: none !important;

  color: #f4efe8 !important;
  overflow: hidden !important;
}

/* =========================================================
   ЗОНА 1 — ТАБЛИЦА ТОВАРОВ
   ========================================================= */

body.woocommerce-cart table.shop_table {
  width: 100% !important;
  max-width: 100% !important;

  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden !important;

  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 30px !important;

  color: #f4efe8 !important;
  box-shadow: none !important;
}

body.woocommerce-cart table.shop_table thead,
body.woocommerce-cart table.shop_table thead tr,
body.woocommerce-cart table.shop_table thead th {
  background: rgba(255,255,255,0.055) !important;
  color: rgba(255,255,255,0.74) !important;
  border-color: rgba(255,255,255,0.10) !important;
}

body.woocommerce-cart table.shop_table th {
  padding: 18px 20px !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: rgba(255,255,255,0.72) !important;
}

body.woocommerce-cart table.shop_table td {
  padding: 22px 20px !important;
  background: transparent !important;
  border-color: rgba(255,255,255,0.10) !important;

  color: #f4efe8 !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
}

body.woocommerce-cart table.shop_table tr {
  background: transparent !important;
}

body.woocommerce-cart table.shop_table a {
  color: #f4efe8 !important;
  text-decoration: none !important;
}

body.woocommerce-cart table.shop_table a:hover {
  color: #ffffff !important;
}

body.woocommerce-cart .product-thumbnail img {
  width: 84px !important;
  height: 108px !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,0.04) !important;
}

body.woocommerce-cart .product-name {
  font-weight: 800 !important;
}

body.woocommerce-cart .product-price,
body.woocommerce-cart .product-subtotal {
  font-weight: 800 !important;
}

/* Удаление товара */
body.woocommerce-cart a.remove {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 30px !important;
  height: 30px !important;

  border-radius: 999px !important;
  background: rgba(255,255,255,0.055) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: rgba(255,255,255,0.72) !important;

  font-size: 20px !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

body.woocommerce-cart a.remove:hover {
  background: rgba(255,255,255,0.13) !important;
  color: #ffffff !important;
}

/* Количество */
body.woocommerce-cart .quantity input.qty {
  width: 76px !important;
  min-height: 48px !important;

  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  background: rgba(255,255,255,0.06) !important;

  color: #f4efe8 !important;
  font-weight: 800 !important;
  text-align: center !important;
}

/* Кнопка обновить корзину */
body.woocommerce-cart .actions {
  background: rgba(255,255,255,0.025) !important;
}

body.woocommerce-cart .actions .button,
body.woocommerce-cart button.button,
body.woocommerce-cart a.button {
  min-height: 50px !important;
  border-radius: 14px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 0 24px !important;

  text-transform: none !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;

  color: #0f1722 !important;
  background: linear-gradient(180deg, #f5d27a 0%, #d8a93d 100%) !important;
  border: none !important;
  box-shadow: none !important;
}

body.woocommerce-cart .actions .button:hover,
body.woocommerce-cart button.button:hover,
body.woocommerce-cart a.button:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

/* Купон пока скрываем */
body.woocommerce-cart .actions .coupon {
  display: none !important;
}

/* =========================================================
   ЗОНА 2 — СУММА КОРЗИНЫ / ОФОРМЛЕНИЕ
   ========================================================= */

body.woocommerce-cart .cart_totals h2 {
  margin: 0 0 22px !important;
  padding: 0 !important;

  background: transparent !important;
  border: none !important;

  font-family: 'Tenor Sans', serif;
  font-size: clamp(34px, 3vw, 46px) !important;
  line-height: 0.98 !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;

  color: #f4efe8 !important;
}

body.woocommerce-cart .cart_totals table,
body.woocommerce-cart .cart_totals tbody,
body.woocommerce-cart .cart_totals tr,
body.woocommerce-cart .cart_totals th,
body.woocommerce-cart .cart_totals td {
  background: transparent !important;
  border-color: rgba(255,255,255,0.10) !important;
  color: #f4efe8 !important;
}

body.woocommerce-cart .cart_totals th {
  width: 42% !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: rgba(255,255,255,0.72) !important;
}

body.woocommerce-cart .cart_totals td {
  font-weight: 800 !important;
}

body.woocommerce-cart .order-total th,
body.woocommerce-cart .order-total td,
body.woocommerce-cart .order-total strong,
body.woocommerce-cart .order-total span {
  color: #f5d27a !important;
  font-size: 19px !important;
}

/* Доставка */
body.woocommerce-cart .woocommerce-shipping-totals,
body.woocommerce-cart .woocommerce-shipping-totals th,
body.woocommerce-cart .woocommerce-shipping-totals td {
  color: #f4efe8 !important;
}

body.woocommerce-cart .woocommerce-shipping-destination,
body.woocommerce-cart .woocommerce-shipping-methods,
body.woocommerce-cart .woocommerce-shipping-methods li,
body.woocommerce-cart .woocommerce-shipping-methods label {
  color: rgba(255,255,255,0.84) !important;
}

/* Кнопка "Рассчитать стоимость доставки" */
body.woocommerce-cart a.shipping-calculator-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  min-height: 46px !important;
  margin-top: 14px !important;
  padding: 0 18px !important;

  border-radius: 14px !important;
  border: 1px solid rgba(245,210,122,0.48) !important;
  background: rgba(245,210,122,0.11) !important;
  color: #f5d27a !important;

  text-decoration: none !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  line-height: 1.15 !important;
  text-align: center !important;

  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

body.woocommerce-cart a.shipping-calculator-button::before {
  content: "↗";
  margin-right: 8px;
  font-size: 15px;
  line-height: 1;
}

body.woocommerce-cart a.shipping-calculator-button:hover {
  transform: translateY(-1px);
  background: rgba(245,210,122,0.18) !important;
  border-color: rgba(245,210,122,0.78) !important;
  color: #ffe39a !important;
}

/* Поля расчёта доставки */
body.woocommerce-cart .shipping-calculator-form {
  margin-top: 14px !important;
}

body.woocommerce-cart .shipping-calculator-form input,
body.woocommerce-cart .shipping-calculator-form select,
body.woocommerce-cart .shipping-calculator-form textarea {
  width: 100% !important;
  min-height: 46px !important;

  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  background: rgba(255,255,255,0.06) !important;

  color: #f4efe8 !important;
}

body.woocommerce-cart .shipping-calculator-form .select2-container--default .select2-selection--single {
  min-height: 46px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  background: rgba(255,255,255,0.06) !important;
}

body.woocommerce-cart .shipping-calculator-form .select2-selection__rendered {
  color: #f4efe8 !important;
  line-height: 46px !important;
}

/* Главная кнопка перехода к оформлению */
body.woocommerce-cart .wc-proceed-to-checkout {
  padding: 18px 0 0 !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  width: 100% !important;
  min-height: 56px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 16px !important;
  padding: 0 24px !important;

  color: #0f1722 !important;
  background: linear-gradient(180deg, #f5d27a 0%, #d8a93d 100%) !important;
  border: none !important;
  box-shadow: none !important;

  text-transform: none !important;
  text-decoration: none !important;
  font-weight: 900 !important;
  font-size: 17px !important;
  line-height: 1.15 !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

/* Сообщения WooCommerce */
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .cart-empty {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  border-radius: 22px !important;
  color: #f4efe8 !important;
  padding: 18px 22px !important;
}

body.woocommerce-cart .woocommerce-message::before,
body.woocommerce-cart .woocommerce-info::before {
  color: #d8a93d !important;
}

/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ КОРЗИНЫ
   ========================================================= */

@media (max-width: 921px) {
  body.woocommerce-cart #primary {
    width: min(100%, calc(100vw - 28px)) !important;
    padding: 28px 0 58px !important;
  }

  body.woocommerce-cart .entry-content > .woocommerce {
    display: block !important;
  }

  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart-collaterals {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  body.woocommerce-cart .cart-collaterals {
    margin-top: 24px !important;
  }

  body.woocommerce-cart .cart_totals {
    position: static !important;
    width: 100% !important;
    padding: 22px 20px !important;
    border-radius: 24px !important;
  }

  body.woocommerce-cart table.shop_table {
    border-radius: 24px !important;
  }
}

@media (max-width: 767px) {
  body.woocommerce-cart table.shop_table thead {
    display: none !important;
  }

  body.woocommerce-cart table.shop_table,
  body.woocommerce-cart table.shop_table tbody,
  body.woocommerce-cart table.shop_table tr,
  body.woocommerce-cart table.shop_table td {
    display: block !important;
    width: 100% !important;
  }

  body.woocommerce-cart table.shop_table tr.cart_item {
    padding: 16px !important;
    border-bottom: 1px solid rgba(255,255,255,0.10) !important;
  }

  body.woocommerce-cart table.shop_table td {
    border: none !important;
    padding: 8px 0 !important;
    text-align: left !important;
  }

  body.woocommerce-cart .product-thumbnail img {
    width: 100% !important;
    height: auto !important;
    max-height: 320px !important;
    object-fit: contain !important;
  }

  body.woocommerce-cart .actions .button {
    width: 100% !important;
  }

  body.woocommerce-cart .cart_totals h2 {
    font-size: 32px !important;
  }
}

/* =========================================================
   KONSUL / CART NOTICE TOP FIX
   Уведомление "Корзина обновлена" сверху + нормальный отступ от галочки
   ========================================================= */

body.woocommerce-cart .entry-content > .woocommerce {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px) !important;
  grid-template-rows: auto auto !important;
  gap: 22px 32px !important;
  align-items: start !important;
}

/* Уведомления всегда сверху на всю ширину */
body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-cart .entry-content > .woocommerce > .woocommerce-message,
body.woocommerce-cart .entry-content > .woocommerce > .woocommerce-info,
body.woocommerce-cart .entry-content > .woocommerce > .woocommerce-error {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
  width: 100% !important;
  margin: 0 0 4px !important;
}

/* Товары слева — вторая строка */
body.woocommerce-cart .woocommerce-cart-form {
  grid-column: 1 !important;
  grid-row: 2 !important;
}

/* Сумма корзины справа — вторая строка */
body.woocommerce-cart .cart-collaterals {
  grid-column: 2 !important;
  grid-row: 2 !important;
}

/* Сама плашка уведомления */
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info {
  position: relative !important;

  min-height: 58px !important;
  padding: 18px 24px 18px 58px !important;

  display: flex !important;
  align-items: center !important;

  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  border-radius: 22px !important;

  color: #f4efe8 !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;

  box-sizing: border-box !important;
}

/* Галочка/иконка слева, текст правее */
body.woocommerce-cart .woocommerce-message::before,
body.woocommerce-cart .woocommerce-info::before {
  position: absolute !important;
  left: 24px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;

  margin: 0 !important;
  padding: 0 !important;

  color: #d8a93d !important;
  font-size: 20px !important;
  line-height: 1 !important;
}

/* Чтобы текст точно не наезжал на иконку */
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-message *,
body.woocommerce-cart .woocommerce-info * {
  text-indent: 0 !important;
}

/* Мобильная версия */
@media (max-width: 921px) {
  body.woocommerce-cart .entry-content > .woocommerce {
    display: block !important;
  }

  body.woocommerce-cart .woocommerce-notices-wrapper,
  body.woocommerce-cart .entry-content > .woocommerce > .woocommerce-message,
  body.woocommerce-cart .entry-content > .woocommerce > .woocommerce-info,
  body.woocommerce-cart .entry-content > .woocommerce > .woocommerce-error {
    margin-bottom: 18px !important;
  }

  body.woocommerce-cart .woocommerce-message,
  body.woocommerce-cart .woocommerce-info {
    padding: 16px 18px 16px 52px !important;
    border-radius: 18px !important;
  }

  body.woocommerce-cart .woocommerce-message::before,
  body.woocommerce-cart .woocommerce-info::before {
    left: 20px !important;
  }
}

/* =========================================================
   KONSUL / MOBILE MENU DARK STYLE
   Стилизация выпадающего мобильного меню под стиль сайта
   ========================================================= */

@media (max-width: 921px) {

  /* Общий фон мобильной панели */
  .ast-header-break-point .ast-mobile-header-wrap,
  .ast-header-break-point .ast-mobile-header-content,
  .ast-header-break-point .ast-mobile-popup-drawer,
  .ast-header-break-point .ast-mobile-popup-content,
  .ast-header-break-point .ast-builder-menu-mobile,
  .ast-header-break-point .ast-builder-menu-mobile .main-navigation,
  .ast-header-break-point .ast-builder-menu-mobile .main-header-menu,
  .ast-header-break-point .ast-builder-menu-mobile .main-header-menu .menu-item,
  .ast-header-break-point .ast-builder-menu-mobile .sub-menu,
  .ast-header-break-point .ast-builder-layout-element {
    background:
      radial-gradient(circle at 18% 10%, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0) 24%),
      radial-gradient(circle at 82% 8%, rgba(139,104,54,0.14) 0%, rgba(139,104,54,0) 24%),
      linear-gradient(180deg, #121923 0%, #0f1722 52%, #111926 100%) !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* Убираем белый фон у контейнеров */
  .ast-header-break-point .ast-mobile-popup-content *,
  .ast-header-break-point .ast-builder-menu-mobile .main-navigation *,
  .ast-header-break-point .ast-builder-menu-mobile .main-header-menu * {
    box-shadow: none !important;
  }

  /* Ссылки меню */
  .ast-header-break-point .ast-builder-menu-mobile .menu-link,
  .ast-header-break-point .ast-builder-menu-mobile .main-header-menu .menu-link,
  .ast-header-break-point .ast-builder-menu-mobile .main-navigation ul li a,
  .ast-header-break-point .main-header-menu .menu-link {
    color: #f4efe8 !important;
    background: transparent !important;
    border: none !important;
    text-decoration: none !important;
    font-weight: 700 !important;
  }

  /* Hover / active */
  .ast-header-break-point .ast-builder-menu-mobile .menu-link:hover,
  .ast-header-break-point .ast-builder-menu-mobile .main-navigation ul li a:hover,
  .ast-header-break-point .main-header-menu .current-menu-item > a,
  .ast-header-break-point .main-header-menu .current_page_item > a {
    color: #f5d27a !important;
    background: transparent !important;
  }

  /* Разделители между пунктами */
  .ast-header-break-point .ast-builder-menu-mobile .main-header-menu .menu-item,
  .ast-header-break-point .ast-builder-menu-mobile .main-navigation ul li {
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  }

  /* Внутренние отступы меню */
  .ast-header-break-point .ast-builder-menu-mobile .main-header-menu,
  .ast-header-break-point .ast-builder-menu-mobile .main-navigation ul {
    padding: 14px 18px !important;
  }

  .ast-header-break-point .ast-builder-menu-mobile .main-header-menu .menu-link,
  .ast-header-break-point .ast-builder-menu-mobile .main-navigation ul li a {
    padding: 14px 0 !important;
    font-size: 18px !important;
    line-height: 1.3 !important;
  }

  /* Кнопка закрытия меню */
  .ast-header-break-point .ast-mobile-popup-drawer .menu-toggle-close,
  .ast-header-break-point .ast-mobile-popup-drawer .close-drawer,
  .ast-header-break-point .ast-mobile-popup-drawer .ast-close-svg {
    color: #f5d27a !important;
    fill: #f5d27a !important;
    background: transparent !important;
    border-color: rgba(245,210,122,0.35) !important;
  }

  /* Иконка бургер-меню */
  .ast-header-break-point .menu-toggle,
  .ast-header-break-point .ast-mobile-menu-trigger-minimal,
  .ast-header-break-point .ast-mobile-menu-trigger-minimal svg,
  .ast-header-break-point .ast-mobile-svg {
    color: #f4efe8 !important;
    fill: #f4efe8 !important;
  }

  /* Если Astra подмешивает белый overlay */
  .ast-header-break-point .ast-mobile-popup-overlay,
  .ast-header-break-point .mobile-menu-toggle-icon,
  .ast-header-break-point .ast-mobile-popup-inner {
    background: transparent !important;
  }
}


/* =========================================================
   KONSUL / MOBILE CART READABILITY FIX
   Исправляет наезды текста в мобильной корзине
   + уменьшает поле количества
   ========================================================= */

@media (max-width: 767px) {

  /* ----- Общая карточка товара в мобильной корзине ----- */
  body.woocommerce-cart table.shop_table_responsive tr.cart_item,
  body.woocommerce-cart table.shop_table tr.cart_item {
    padding: 18px 18px 14px !important;
    overflow: hidden !important;
  }

  body.woocommerce-cart table.shop_table_responsive tr.cart_item td,
  body.woocommerce-cart table.shop_table tr.cart_item td {
    display: block !important;
    width: 100% !important;
    padding: 0 0 14px !important;
    text-align: left !important;
    border: none !important;
    box-sizing: border-box !important;
    clear: both !important;
  }

  /* Подписи "Товар", "Цена", "Количество", "Подытог" — отдельной строкой */
  body.woocommerce-cart table.shop_table_responsive tr.cart_item td::before,
  body.woocommerce-cart table.shop_table tr.cart_item td::before {
    content: attr(data-title) !important;
    display: block !important;
    float: none !important;
    width: 100% !important;
    margin: 0 0 6px !important;
    padding: 0 !important;

    color: rgba(255,255,255,0.74) !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: 0.02em !important;

    text-align: left !important;
  }

  /* Удаляем двоеточие/слипание */
  body.woocommerce-cart table.shop_table_responsive tr.cart_item td.product-name::before,
  body.woocommerce-cart table.shop_table_responsive tr.cart_item td.product-price::before,
  body.woocommerce-cart table.shop_table_responsive tr.cart_item td.product-quantity::before,
  body.woocommerce-cart table.shop_table_responsive tr.cart_item td.product-subtotal::before,
  body.woocommerce-cart table.shop_table tr.cart_item td.product-name::before,
  body.woocommerce-cart table.shop_table tr.cart_item td.product-price::before,
  body.woocommerce-cart table.shop_table tr.cart_item td.product-quantity::before,
  body.woocommerce-cart table.shop_table tr.cart_item td.product-subtotal::before {
    white-space: normal !important;
  }

  /* Кнопка удаления */
  body.woocommerce-cart td.product-remove {
    padding-bottom: 8px !important;
  }

  body.woocommerce-cart td.product-remove::before {
    display: none !important;
  }

  /* Фото товара */
  body.woocommerce-cart td.product-thumbnail {
    text-align: center !important;
    padding-bottom: 14px !important;
  }

  body.woocommerce-cart td.product-thumbnail::before {
    display: none !important;
  }

  body.woocommerce-cart .product-thumbnail img {
    width: 80px !important;
    max-width: 80px !important;
    height: 96px !important;
    object-fit: cover !important;
    border-radius: 14px !important;
    margin: 0 auto !important;
  }

  /* Название товара */
  body.woocommerce-cart td.product-name,
  body.woocommerce-cart td.product-name a {
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
    word-break: break-word !important;
  }

  /* Цена и подытог */
  body.woocommerce-cart td.product-price,
  body.woocommerce-cart td.product-subtotal {
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
  }

  /* ----- Поле количества делаем компактнее ----- */
  body.woocommerce-cart td.product-quantity {
    padding-bottom: 16px !important;
  }

  body.woocommerce-cart td.product-quantity .quantity {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  body.woocommerce-cart td.product-quantity .quantity input.qty,
  body.woocommerce-cart .quantity input.qty {
    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    height: 42px !important;
    min-height: 42px !important;

    padding: 0 6px !important;
    border-radius: 12px !important;

    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-align: center !important;
  }

  /* ----- Блок "Сумма корзины" ----- */
  body.woocommerce-cart .cart_totals {
    padding: 20px 18px 22px !important;
    border-radius: 22px !important;
  }

  body.woocommerce-cart .cart_totals h2 {
    font-size: 30px !important;
    line-height: 0.98 !important;
    margin-bottom: 18px !important;
  }

  /* В totals скрываем лишние мобильные псевдоподписи,
     потому что там уже есть TH слева */
  body.woocommerce-cart .cart_totals table.shop_table_responsive tr td::before,
  body.woocommerce-cart .cart_totals table.shop_table tr td::before {
    display: none !important;
    content: none !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table_responsive tr,
  body.woocommerce-cart .cart_totals table.shop_table tr {
    display: block !important;
    width: 100% !important;
    padding: 0 0 14px !important;
    margin: 0 0 14px !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table_responsive tr:last-child,
  body.woocommerce-cart .cart_totals table.shop_table tr:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table_responsive th,
  body.woocommerce-cart .cart_totals table.shop_table th {
    display: block !important;
    width: 100% !important;
    padding: 0 0 6px !important;
    margin: 0 !important;
    border: none !important;

    color: rgba(255,255,255,0.74) !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: 0.02em !important;
    text-align: left !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table_responsive td,
  body.woocommerce-cart .cart_totals table.shop_table td {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;

    font-size: 15px !important;
    line-height: 1.4 !important;
    text-align: left !important;
    word-break: break-word !important;
  }

  /* Доставка — нормальный перенос текста */
  body.woocommerce-cart .woocommerce-shipping-methods,
  body.woocommerce-cart .woocommerce-shipping-methods li,
  body.woocommerce-cart .woocommerce-shipping-destination {
    font-size: 15px !important;
    line-height: 1.45 !important;
    word-break: break-word !important;
  }

  /* Кнопка "Рассчитать стоимость доставки" */
  body.woocommerce-cart a.shipping-calculator-button {
    width: 100% !important;
    min-height: 44px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }

  /* Итого */
  body.woocommerce-cart .order-total th,
  body.woocommerce-cart .order-total td,
  body.woocommerce-cart .order-total strong,
  body.woocommerce-cart .order-total span {
    font-size: 16px !important;
    line-height: 1.35 !important;
  }

  /* Кнопка "Оформить заказ" */
  body.woocommerce-cart .wc-proceed-to-checkout {
    padding-top: 16px !important;
  }

  body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    min-height: 52px !important;
    font-size: 16px !important;
    border-radius: 14px !important;
  }
}

/* =========================================================
   KONSUL / CART TOTALS INNER FRAME REMOVE
   Убираем внутреннюю рамку внутри "Сумма корзины"
   ========================================================= */

body.woocommerce-cart .cart_totals table.shop_table,
body.woocommerce-cart .cart_totals table.shop_table_responsive {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  box-shadow: none !important;
  margin: 0 !important;
}

body.woocommerce-cart .cart_totals table.shop_table tbody,
body.woocommerce-cart .cart_totals table.shop_table_responsive tbody {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

body.woocommerce-cart .cart_totals table.shop_table tr,
body.woocommerce-cart .cart_totals table.shop_table_responsive tr {
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td,
body.woocommerce-cart .cart_totals table.shop_table_responsive th,
body.woocommerce-cart .cart_totals table.shop_table_responsive td {
  background: transparent !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  border-color: rgba(255,255,255,0.10) !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

/* На мобильной версии делаем строки аккуратными, без внутренней карточки */
@media (max-width: 767px) {
  body.woocommerce-cart .cart_totals table.shop_table,
  body.woocommerce-cart .cart_totals table.shop_table_responsive {
    display: block !important;
    padding: 0 !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table tbody,
  body.woocommerce-cart .cart_totals table.shop_table_responsive tbody {
    display: block !important;
    width: 100% !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table tr,
  body.woocommerce-cart .cart_totals table.shop_table_responsive tr {
    display: block !important;
    width: 100% !important;
    padding: 0 0 16px !important;
    margin: 0 0 16px !important;
    border-bottom: 1px solid rgba(255,255,255,0.10) !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table tr:last-child,
  body.woocommerce-cart .cart_totals table.shop_table_responsive tr:last-child {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table th,
  body.woocommerce-cart .cart_totals table.shop_table_responsive th {
    display: block !important;
    width: 100% !important;
    padding: 0 0 7px !important;
    margin: 0 !important;
    border: none !important;

    color: rgba(255,255,255,0.74) !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    text-transform: none !important;
    letter-spacing: 0.02em !important;
  }

  body.woocommerce-cart .cart_totals table.shop_table td,
  body.woocommerce-cart .cart_totals table.shop_table_responsive td {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;

    color: #f4efe8 !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
    font-weight: 800 !important;
    text-align: left !important;
  }

  body.woocommerce-cart .cart_totals .order-total td,
  body.woocommerce-cart .cart_totals .order-total td strong,
  body.woocommerce-cart .cart_totals .order-total td span {
    color: #f5d27a !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
  }
}

/* =========================================================
   KONSUL / HOME MOBILE HEADER TRANSPARENT FIX
   Возвращает фоновую картинку под шапку на главной мобильной версии
   ========================================================= */

@media (max-width: 921px) {

  /* Только главная страница */
  body.home #masthead,
  body.home .site-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 999 !important;

    width: 100% !important;
    max-width: 100% !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  body.home .ast-mobile-header-wrap,
  body.home .ast-primary-header-bar,
  body.home .main-header-bar,
  body.home .main-header-bar-wrap,
  body.home .site-primary-header-wrap,
  body.home .ast-builder-grid-row-container,
  body.home .ast-builder-grid-row-container-inner,
  body.home .ast-builder-grid-row,
  body.home .ast-mobile-header-content,
  body.home .ast-mobile-header-bar {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* Чтобы hero-блок начинался под прозрачной шапкой */
  body.home .site-content,
  body.home #content,
  body.home .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* Логотип и бургер поверх фоновой картинки */
  body.home .site-header .custom-logo,
  body.home .site-header .site-logo-img img {
    position: relative !important;
    z-index: 1001 !important;
  }

  body.home .menu-toggle,
  body.home .ast-mobile-menu-trigger-minimal,
  body.home .ast-mobile-menu-trigger-minimal svg,
  body.home .ast-mobile-svg {
    position: relative !important;
    z-index: 1001 !important;
    color: #f4efe8 !important;
    fill: #f4efe8 !important;
  }

  /* Важно: само открытое мобильное меню оставляем тёмным */
  body.home .ast-mobile-popup-drawer,
  body.home .ast-mobile-popup-content,
  body.home .ast-builder-menu-mobile,
  body.home .ast-builder-menu-mobile .main-navigation,
  body.home .ast-builder-menu-mobile .main-header-menu {
    background:
      radial-gradient(circle at 18% 10%, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0) 24%),
      radial-gradient(circle at 82% 8%, rgba(139,104,54,0.14) 0%, rgba(139,104,54,0) 24%),
      linear-gradient(180deg, #121923 0%, #0f1722 52%, #111926 100%) !important;
  }
}

/* =========================================================
   KONSUL / CHECKOUT PAGE STYLE
   Стилизация страницы оформления заказа под стиль сайта
   ========================================================= */

body.woocommerce-checkout {
  --konsul-dark-bg:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0) 24%),
    radial-gradient(circle at 82% 8%, rgba(139,104,54,0.14) 0%, rgba(139,104,54,0) 24%),
    linear-gradient(180deg, #121923 0%, #0f1722 48%, #111926 100%);

  background: var(--konsul-dark-bg) !important;
  color: #f4efe8 !important;
}

/* Убираем белые фоны у всех основных обёрток */
body.woocommerce-checkout #page,
body.woocommerce-checkout .site,
body.woocommerce-checkout .site-content,
body.woocommerce-checkout #content,
body.woocommerce-checkout .content-area,
body.woocommerce-checkout .site-main,
body.woocommerce-checkout .ast-container,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout article,
body.woocommerce-checkout .hentry,
body.woocommerce-checkout .entry,
body.woocommerce-checkout .page,
body.woocommerce-checkout .type-page {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* =========================================================
   ШАПКА КАК В КОРЗИНЕ
   ========================================================= */

body.woocommerce-checkout #masthead,
body.woocommerce-checkout .site-header,
body.woocommerce-checkout .ast-header-wrap,
body.woocommerce-checkout .site-primary-header-wrap,
body.woocommerce-checkout .ast-primary-header-bar,
body.woocommerce-checkout .main-header-bar,
body.woocommerce-checkout .main-header-bar-wrap,
body.woocommerce-checkout .ast-main-header-wrap,
body.woocommerce-checkout .ast-mobile-header-wrap,
body.woocommerce-checkout .ast-mobile-header-content,
body.woocommerce-checkout .ast-desktop-header-content {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;

  background: var(--konsul-dark-bg) !important;
  border: none !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .ast-builder-grid-row-container,
body.woocommerce-checkout .ast-builder-grid-row-container-inner {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;

  background: var(--konsul-dark-bg) !important;
  border: none !important;
  box-shadow: none !important;
}

body.woocommerce-checkout #masthead .ast-builder-grid-row,
body.woocommerce-checkout .ast-primary-header-bar .ast-builder-grid-row,
body.woocommerce-checkout .main-header-bar .ast-builder-grid-row {
  width: min(1280px, 92vw) !important;
  max-width: min(1280px, 92vw) !important;
  margin: 0 auto !important;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .site-header-section,
body.woocommerce-checkout .ast-builder-layout-element,
body.woocommerce-checkout .ast-builder-menu,
body.woocommerce-checkout .ast-builder-menu-1,
body.woocommerce-checkout .ast-header-html {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.woocommerce-checkout #masthead::before,
body.woocommerce-checkout #masthead::after,
body.woocommerce-checkout .site-header::before,
body.woocommerce-checkout .site-header::after,
body.woocommerce-checkout .main-header-bar::before,
body.woocommerce-checkout .main-header-bar::after,
body.woocommerce-checkout .site-primary-header-wrap::before,
body.woocommerce-checkout .site-primary-header-wrap::after {
  display: none !important;
  content: none !important;
}

body.woocommerce-checkout .main-header-menu .menu-link,
body.woocommerce-checkout .ast-header-navigation a {
  color: rgba(255,255,255,0.88) !important;
}

body.woocommerce-checkout .main-header-menu .menu-link:hover,
body.woocommerce-checkout .ast-header-navigation a:hover {
  color: #ffffff !important;
}

/* =========================================================
   КОНТЕЙНЕР CHECKOUT
   ========================================================= */

body.woocommerce-checkout #primary {
  width: min(1280px, 92vw) !important;
  max-width: min(1280px, 92vw) !important;
  margin: 0 auto !important;
  padding: 42px 0 90px !important;
  float: none !important;
  background: transparent !important;
}

body.woocommerce-checkout .entry-header,
body.woocommerce-checkout .entry-title {
  display: none !important;
}

/* =========================================================
   ВЕРХНИЕ УВЕДОМЛЕНИЯ / КУПОН
   ========================================================= */

body.woocommerce-checkout .woocommerce {
  color: #f4efe8 !important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-error {
  width: 100% !important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-error {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  border-radius: 22px !important;
  color: #f4efe8 !important;
  padding: 18px 22px 18px 56px !important;
  position: relative !important;
}

body.woocommerce-checkout .woocommerce-message::before,
body.woocommerce-checkout .woocommerce-info::before,
body.woocommerce-checkout .woocommerce-error::before {
  color: #d8a93d !important;
  left: 22px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

/* =========================================================
   ДВУХКОЛОНОЧНАЯ СЕТКА
   ========================================================= */

body.woocommerce-checkout form.checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px) !important;
  gap: 32px !important;
  align-items: start !important;
}

body.woocommerce-checkout #customer_details {
  grid-column: 1 !important;
  width: 100% !important;
  margin: 0 !important;
}

body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review {
  grid-column: 2 !important;
  width: 100% !important;
  margin: 0 !important;
}

body.woocommerce-checkout #order_review_heading {
  margin: 0 0 14px !important;
  padding: 0 !important;

  font-family: 'Tenor Sans', serif;
  font-size: clamp(34px, 3vw, 46px) !important;
  line-height: 0.98 !important;
  font-weight: 400 !important;
  color: #f4efe8 !important;
}

body.woocommerce-checkout #order_review {
  position: sticky;
  top: 24px;

  padding: 24px !important;
  border-radius: 30px !important;
  background: rgba(255,255,255,0.045) !important;
  border: 1px solid rgba(255,255,255,0.09) !important;
  box-shadow: none !important;
}

/* =========================================================
   ЛЕВАЯ ЧАСТЬ — КОНТАКТНЫЕ ДАННЫЕ
   ========================================================= */

body.woocommerce-checkout .col2-set,
body.woocommerce-checkout .col-1,
body.woocommerce-checkout .col-2 {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields {
  padding: 24px !important;
  border-radius: 30px !important;
  background: rgba(255,255,255,0.045) !important;
  border: 1px solid rgba(255,255,255,0.09) !important;
  margin-bottom: 24px !important;
}

body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-shipping-fields h3,
body.woocommerce-checkout .woocommerce-additional-fields h3 {
  margin: 0 0 20px !important;
  padding: 0 !important;

  font-family: 'Tenor Sans', serif;
  font-size: clamp(34px, 3vw, 46px) !important;
  line-height: 0.98 !important;
  font-weight: 400 !important;
  color: #f4efe8 !important;
}

/* Лейблы */
body.woocommerce-checkout form .form-row label,
body.woocommerce-checkout form .form-row label span {
  color: #f4efe8 !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

body.woocommerce-checkout form .form-row .required {
  color: #f5d27a !important;
}

/* Поля */
body.woocommerce-checkout form .form-row input.input-text,
body.woocommerce-checkout form .form-row textarea,
body.woocommerce-checkout form .form-row select,
body.woocommerce-checkout .select2-container--default .select2-selection--single,
body.woocommerce-checkout .select2-container--default .select2-selection--multiple {
  min-height: 50px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  background: rgba(255,255,255,0.06) !important;
  color: #f4efe8 !important;
  box-shadow: none !important;
}

body.woocommerce-checkout form .form-row input.input-text,
body.woocommerce-checkout form .form-row textarea,
body.woocommerce-checkout form .form-row select {
  padding: 0 16px !important;
}

body.woocommerce-checkout form .form-row textarea {
  min-height: 120px !important;
  padding-top: 14px !important;
  resize: vertical !important;
}

body.woocommerce-checkout form .form-row input::placeholder,
body.woocommerce-checkout form .form-row textarea::placeholder {
  color: rgba(255,255,255,0.52) !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single {
  padding: 0 14px !important;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #f4efe8 !important;
  line-height: 48px !important;
}

body.woocommerce-checkout .select2-dropdown {
  background: #182230 !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: #f4efe8 !important;
}

body.woocommerce-checkout .select2-search__field {
  background: rgba(255,255,255,0.06) !important;
  color: #f4efe8 !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
}

/* Чекбоксы */
body.woocommerce-checkout input[type="checkbox"],
body.woocommerce-checkout input[type="radio"] {
  accent-color: #d8a93d !important;
}

/* =========================================================
   ПРАВАЯ ЧАСТЬ — ВАШ ЗАКАЗ
   ========================================================= */

body.woocommerce-checkout #order_review table.shop_table {
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  color: #f4efe8 !important;
}

body.woocommerce-checkout #order_review table.shop_table th,
body.woocommerce-checkout #order_review table.shop_table td {
  background: transparent !important;
  border-color: rgba(255,255,255,0.10) !important;
  color: #f4efe8 !important;
  padding: 14px 0 !important;
}

body.woocommerce-checkout #order_review table.shop_table th {
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: rgba(255,255,255,0.72) !important;
  font-weight: 800 !important;
}

body.woocommerce-checkout #order_review table.shop_table td {
  font-size: 16px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
}

body.woocommerce-checkout #order_review .order-total th,
body.woocommerce-checkout #order_review .order-total td,
body.woocommerce-checkout #order_review .order-total strong,
body.woocommerce-checkout #order_review .order-total span {
  color: #f5d27a !important;
  font-size: 19px !important;
}

/* Платёжный блок */
body.woocommerce-checkout #payment {
  background: rgba(255,255,255,0.035) !important;
  border: 1px solid rgba(255,255,255,0.09) !important;
  border-radius: 24px !important;
  padding: 18px !important;
  margin-top: 20px !important;
  color: #f4efe8 !important;
}

body.woocommerce-checkout #payment div.payment_box {
  background: rgba(255,255,255,0.045) !important;
  color: #f4efe8 !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
}

body.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: rgba(255,255,255,0.10) !important;
}

body.woocommerce-checkout #payment ul.payment_methods {
  border-bottom: 1px solid rgba(255,255,255,0.10) !important;
}

body.woocommerce-checkout #payment ul.payment_methods li,
body.woocommerce-checkout #payment ul.payment_methods label,
body.woocommerce-checkout #payment .place-order,
body.woocommerce-checkout #payment .woocommerce-privacy-policy-text,
body.woocommerce-checkout #payment .woocommerce-privacy-policy-text p {
  color: #f4efe8 !important;
}

/* Кнопка оформления */
body.woocommerce-checkout #place_order {
  width: 100% !important;
  min-height: 56px !important;
  border-radius: 16px !important;
  padding: 0 24px !important;

  color: #0f1722 !important;
  background: linear-gradient(180deg, #f5d27a 0%, #d8a93d 100%) !important;
  border: none !important;
  box-shadow: none !important;

  text-transform: none !important;
  text-decoration: none !important;
  font-weight: 900 !important;
  font-size: 17px !important;
  line-height: 1.15 !important;
}

body.woocommerce-checkout #place_order:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

/* Ссылка на политику */
body.woocommerce-checkout a {
  color: #f5d27a !important;
}

body.woocommerce-checkout a:hover {
  color: #ffe39a !important;
}

/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ CHECKOUT
   ========================================================= */

@media (max-width: 921px) {
  body.woocommerce-checkout #primary {
    width: min(100%, calc(100vw - 28px)) !important;
    padding: 28px 0 58px !important;
  }

  body.woocommerce-checkout form.checkout {
    display: block !important;
  }

  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.woocommerce-checkout #order_review_heading {
    margin-top: 24px !important;
  }

  body.woocommerce-checkout #order_review {
    position: static !important;
    padding: 20px !important;
    border-radius: 24px !important;
  }

  body.woocommerce-checkout .woocommerce-billing-fields,
  body.woocommerce-checkout .woocommerce-shipping-fields,
  body.woocommerce-checkout .woocommerce-additional-fields {
    padding: 20px !important;
    border-radius: 24px !important;
  }

  body.woocommerce-checkout .woocommerce-billing-fields h3,
  body.woocommerce-checkout .woocommerce-shipping-fields h3,
  body.woocommerce-checkout .woocommerce-additional-fields h3,
  body.woocommerce-checkout #order_review_heading {
    font-size: 32px !important;
  }
}

@media (max-width: 767px) {
  body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
  body.woocommerce-checkout .woocommerce-message,
  body.woocommerce-checkout .woocommerce-info,
  body.woocommerce-checkout .woocommerce-error {
    padding: 16px 18px 16px 50px !important;
    border-radius: 18px !important;
  }

  body.woocommerce-checkout form .form-row input.input-text,
  body.woocommerce-checkout form .form-row textarea,
  body.woocommerce-checkout form .form-row select {
    font-size: 16px !important;
  }

  body.woocommerce-checkout #order_review table.shop_table th,
  body.woocommerce-checkout #order_review table.shop_table td {
    font-size: 15px !important;
    line-height: 1.35 !important;
  }

  body.woocommerce-checkout #place_order {
    min-height: 52px !important;
    font-size: 16px !important;
    border-radius: 14px !important;
  }
}

/* =========================================================
   KONSUL / CHECKOUT FINAL DESKTOP FIX
   Исправляет ПК-оформление: левая форма + правая карточка заявки
   ========================================================= */

@media (min-width: 922px) {

  body.woocommerce-checkout #primary {
    width: min(1280px, 92vw) !important;
    max-width: min(1280px, 92vw) !important;
    margin: 0 auto !important;
    padding: 42px 0 90px !important;
    float: none !important;
    background: transparent !important;
  }

  body.woocommerce-checkout form.checkout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 430px !important;
    gap: 32px !important;
    align-items: start !important;
    width: 100% !important;
  }

  body.woocommerce-checkout #customer_details {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  /* Прячем родной заголовок, который ломает сетку */
  body.woocommerce-checkout #order_review_heading {
    display: none !important;
  }

  body.woocommerce-checkout #order_review {
    grid-column: 2 !important;
    grid-row: 1 !important;

    width: 100% !important;
    max-width: 430px !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 26px 26px 28px !important;

    position: sticky !important;
    top: 24px !important;

    background: rgba(255,255,255,0.045) !important;
    border: 1px solid rgba(255,255,255,0.09) !important;
    border-radius: 30px !important;
    box-shadow: none !important;

    color: #f4efe8 !important;
    overflow: hidden !important;
  }

  /* Новый аккуратный заголовок внутри правой карточки */
  body.woocommerce-checkout #order_review::before {
    content: "Ваша заявка";
    display: block;
    margin: 0 0 22px !important;

    font-family: 'Tenor Sans', serif;
    font-size: 42px !important;
    line-height: 0.98 !important;
    font-weight: 400 !important;
    letter-spacing: 0.02em !important;

    color: #f4efe8 !important;
  }

  body.woocommerce-checkout #order_review table.shop_table {
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    box-shadow: none !important;

    color: #f4efe8 !important;
  }

  body.woocommerce-checkout #order_review table.shop_table tbody,
  body.woocommerce-checkout #order_review table.shop_table tfoot,
  body.woocommerce-checkout #order_review table.shop_table tr {
    background: transparent !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }

  body.woocommerce-checkout #order_review table.shop_table th,
  body.woocommerce-checkout #order_review table.shop_table td {
    background: transparent !important;

    padding: 14px 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-color: rgba(255,255,255,0.10) !important;

    color: #f4efe8 !important;
    vertical-align: top !important;
  }

  body.woocommerce-checkout #order_review table.shop_table th {
    font-size: 13px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: rgba(255,255,255,0.72) !important;
  }

  body.woocommerce-checkout #order_review table.shop_table td {
    font-size: 16px !important;
    line-height: 1.4 !important;
    font-weight: 800 !important;
    text-align: right !important;
  }

  body.woocommerce-checkout #order_review .product-name {
    text-align: left !important;
    padding-right: 14px !important;
  }

  body.woocommerce-checkout #order_review .product-total,
  body.woocommerce-checkout #order_review .cart-subtotal td,
  body.woocommerce-checkout #order_review .order-total td {
    text-align: right !important;
    white-space: normal !important;
  }

  body.woocommerce-checkout #order_review .order-total th,
  body.woocommerce-checkout #order_review .order-total td,
  body.woocommerce-checkout #order_review .order-total strong,
  body.woocommerce-checkout #order_review .order-total span {
    color: #f5d27a !important;
    font-size: 19px !important;
    line-height: 1.35 !important;
  }

  /* Блок оплаты/заявки */
  body.woocommerce-checkout #payment {
    margin-top: 22px !important;
    padding: 18px !important;

    background: rgba(255,255,255,0.035) !important;
    border: 1px solid rgba(255,255,255,0.09) !important;
    border-radius: 24px !important;

    color: #f4efe8 !important;
  }

  body.woocommerce-checkout #payment ul.payment_methods {
    padding: 0 0 16px !important;
    margin: 0 0 16px !important;
    border-bottom: 1px solid rgba(255,255,255,0.10) !important;
  }

  body.woocommerce-checkout #payment ul.payment_methods li,
  body.woocommerce-checkout #payment ul.payment_methods label,
  body.woocommerce-checkout #payment .payment_box,
  body.woocommerce-checkout #payment .payment_box p {
    color: #f4efe8 !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  body.woocommerce-checkout #payment div.payment_box {
    margin: 12px 0 0 !important;
    padding: 14px 16px !important;
    background: rgba(255,255,255,0.045) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 18px !important;
  }

  body.woocommerce-checkout #payment div.payment_box::before {
    display: none !important;
    content: none !important;
  }

  body.woocommerce-checkout #payment .place-order {
    padding: 0 !important;
    margin: 0 !important;
  }

  body.woocommerce-checkout #payment .woocommerce-privacy-policy-text,
  body.woocommerce-checkout #payment .woocommerce-privacy-policy-text p {
    color: rgba(255,255,255,0.74) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  body.woocommerce-checkout #place_order {
    width: 100% !important;
    min-height: 56px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 16px !important;
    padding: 0 24px !important;

    color: #0f1722 !important;
    background: linear-gradient(180deg, #f5d27a 0%, #d8a93d 100%) !important;
    border: none !important;
    box-shadow: none !important;

    text-transform: none !important;
    text-decoration: none !important;
    font-weight: 900 !important;
    font-size: 17px !important;
    line-height: 1.15 !important;
  }

  body.woocommerce-checkout #place_order:hover {
    transform: translateY(-1px);
    opacity: 0.96;
  }
}


/* =========================================================
   KONSUL / CHECKOUT FORM FIELDS FINAL FIX
   Убирает старую двухколоночность WooCommerce в левой форме
   ========================================================= */

body.woocommerce-checkout .col2-set,
body.woocommerce-checkout .col-1,
body.woocommerce-checkout .col-2 {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-additional-fields {
  width: 100% !important;
  max-width: 100% !important;
}

body.woocommerce-checkout form .form-row,
body.woocommerce-checkout form .form-row-first,
body.woocommerce-checkout form .form-row-last,
body.woocommerce-checkout form .form-row-wide {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  clear: both !important;
  margin: 0 0 16px !important;
}

body.woocommerce-checkout form .form-row input.input-text,
body.woocommerce-checkout form .form-row textarea,
body.woocommerce-checkout form .form-row select {
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Скрываем блок "Доставка по другому адресу", если тема всё равно его выводит */
body.woocommerce-checkout .woocommerce-shipping-fields {
  display: none !important;
}

/* =========================================================
   KONSUL / CHECKOUT MOBILE ORDER REVIEW FIX
   ========================================================= */

@media (max-width: 921px) {

  body.woocommerce-checkout #order_review_heading {
    display: none !important;
  }

  body.woocommerce-checkout #order_review::before {
    content: "Ваша заявка";
    display: block;
    margin: 0 0 18px !important;

    font-family: 'Tenor Sans', serif;
    font-size: 32px !important;
    line-height: 0.98 !important;
    font-weight: 400 !important;
    letter-spacing: 0.02em !important;

    color: #f4efe8 !important;
  }

  body.woocommerce-checkout #order_review {
    width: 100% !important;
    max-width: 100% !important;
    position: static !important;
    padding: 20px !important;
    border-radius: 24px !important;
  }

  body.woocommerce-checkout #order_review table.shop_table {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }

  body.woocommerce-checkout #order_review table.shop_table th,
  body.woocommerce-checkout #order_review table.shop_table td {
    background: transparent !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-color: rgba(255,255,255,0.10) !important;
  }

  body.woocommerce-checkout #order_review .order-total th,
  body.woocommerce-checkout #order_review .order-total td,
  body.woocommerce-checkout #order_review .order-total strong,
  body.woocommerce-checkout #order_review .order-total span {
    color: #f5d27a !important;
    font-size: 17px !important;
    line-height: 1.35 !important;
  }
}

/* =========================================================
   KONSUL / CHECKOUT REQUIRED CONSENT STYLE
   Галочка согласия на странице оформления заявки
   ========================================================= */

body.woocommerce-checkout .konsul-checkout-consent {
  margin: 18px 0 20px !important;
  padding: 16px 18px !important;

  background: rgba(255,255,255,0.045) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  border-radius: 18px !important;

  color: #f4efe8 !important;
}

body.woocommerce-checkout .konsul-checkout-consent__label {
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: start !important;

  margin: 0 !important;
  cursor: pointer !important;
}

body.woocommerce-checkout .konsul-checkout-consent input[type="checkbox"] {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.woocommerce-checkout .konsul-checkout-consent__box {
  width: 20px !important;
  height: 20px !important;
  margin-top: 2px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 6px !important;
  border: 1px solid rgba(245,210,122,0.55) !important;
  background: rgba(245,210,122,0.08) !important;

  box-sizing: border-box !important;
  flex: 0 0 20px !important;
}

body.woocommerce-checkout .konsul-checkout-consent input[type="checkbox"]:checked + .konsul-checkout-consent__box {
  background: linear-gradient(180deg, #f5d27a 0%, #d8a93d 100%) !important;
  border-color: rgba(245,210,122,0.90) !important;
}

body.woocommerce-checkout .konsul-checkout-consent input[type="checkbox"]:checked + .konsul-checkout-consent__box::after {
  content: "✓";
  color: #0f1722 !important;
  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

body.woocommerce-checkout .konsul-checkout-consent__text {
  color: rgba(255,255,255,0.86) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  font-weight: 700 !important;
}

body.woocommerce-checkout .konsul-checkout-consent__text a {
  color: #f5d27a !important;
  text-decoration: none !important;
  border-bottom: 1px dashed rgba(245,210,122,0.6) !important;
}

body.woocommerce-checkout .konsul-checkout-consent__text a:hover {
  color: #ffe39a !important;
  border-bottom-color: rgba(255,227,154,0.8) !important;
}

/* Ошибки WooCommerce, если галочка не поставлена */
body.woocommerce-checkout .woocommerce-error {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(245,210,122,0.32) !important;
  border-radius: 22px !important;
  color: #f4efe8 !important;
}

@media (max-width: 767px) {
  body.woocommerce-checkout .konsul-checkout-consent {
    padding: 15px 16px !important;
    border-radius: 16px !important;
  }

  body.woocommerce-checkout .konsul-checkout-consent__text {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
}



/* =========================================================
   KONSUL / HOME MOBILE HEADER INNER TRANSPARENT FIX
   Убирает тёмные прямоугольники возле логотипа и бургера на главной
   ========================================================= */

@media (max-width: 921px) {

  body.home #masthead,
  body.home .site-header,
  body.home .ast-mobile-header-wrap,
  body.home .ast-primary-header-bar,
  body.home .main-header-bar,
  body.home .main-header-bar-wrap,
  body.home .site-primary-header-wrap,
  body.home .ast-builder-grid-row-container,
  body.home .ast-builder-grid-row-container-inner,
  body.home .ast-builder-grid-row,
  body.home .site-header-section,
  body.home .ast-builder-layout-element,
  body.home .ast-builder-layout-element[data-section],
  body.home .ast-site-identity,
  body.home .site-branding,
  body.home .site-logo-img,
  body.home .custom-logo-link,
  body.home .ast-mobile-menu-trigger-minimal,
  body.home .ast-button-wrap,
  body.home .menu-toggle,
  body.home .mobile-menu-toggle-icon {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* Убираем возможные псевдофоны */
  body.home #masthead::before,
  body.home #masthead::after,
  body.home .site-header::before,
  body.home .site-header::after,
  body.home .ast-mobile-header-wrap::before,
  body.home .ast-mobile-header-wrap::after,
  body.home .ast-primary-header-bar::before,
  body.home .ast-primary-header-bar::after,
  body.home .site-header-section::before,
  body.home .site-header-section::after,
  body.home .ast-builder-layout-element::before,
  body.home .ast-builder-layout-element::after,
  body.home .ast-button-wrap::before,
  body.home .ast-button-wrap::after,
  body.home .menu-toggle::before,
  body.home .menu-toggle::after {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* Логотип оставляем поверх фото */
  body.home .custom-logo,
  body.home .site-logo-img img {
    position: relative !important;
    z-index: 1002 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  /* Бургер без тёмной плашки вокруг */
  body.home .menu-toggle,
  body.home .ast-mobile-menu-trigger-minimal {
    width: auto !important;
    height: auto !important;
    padding: 10px !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  body.home .menu-toggle .mobile-menu-toggle-icon,
  body.home .ast-mobile-svg,
  body.home .ast-mobile-svg svg {
    color: #f4efe8 !important;
    fill: #f4efe8 !important;
    background: transparent !important;
  }

  /* Важно: открытое меню оставляем тёмным */
  body.home .ast-mobile-popup-drawer,
  body.home .ast-mobile-popup-content,
  body.home .ast-mobile-popup-inner,
  body.home .ast-builder-menu-mobile,
  body.home .ast-builder-menu-mobile .main-navigation,
  body.home .ast-builder-menu-mobile .main-header-menu,
  body.home .ast-builder-menu-mobile .main-header-menu .menu-item {
    background:
      radial-gradient(circle at 18% 10%, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0) 24%),
      radial-gradient(circle at 82% 8%, rgba(139,104,54,0.14) 0%, rgba(139,104,54,0) 24%),
      linear-gradient(180deg, #121923 0%, #0f1722 52%, #111926 100%) !important;
  }
}


/* =========================================================
   KONSUL / ARTICLE RUBASHKA-GALSTUK PATCH
   Правки для статьи «Секреты стиля»
   Вставить в самый низ дополнительных CSS Astra
   ========================================================= */

/* Компактные изображения на ПК: без обрезки и без подписей */
.konsul-article-v2 .konsul-photo--compact-clean {
  width: 100% !important;
  max-width: min(960px, 100%) !important;
  margin: 34px auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 26px !important;
  background: rgba(255,255,255,0.035) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
}

.konsul-article-v2 .konsul-photo--compact-clean img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  border: none !important;
  border-radius: 26px !important;
}

.konsul-article-v2 .konsul-photo--compact-clean figcaption {
  display: none !important;
}

@media (min-width: 1025px) {
  .konsul-article-v2 .konsul-photo--compact-main {
    max-width: 940px !important;
  }

  .konsul-article-v2 .konsul-photo--compact-narrow {
    max-width: 860px !important;
  }
}

/* Блок «один акцент»: 4 аккуратных квадрата на ПК, мобильную раскладку не трогаем */
@media (min-width: 1025px) {
  .konsul-article-v2 .konsul-square-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
    max-width: 980px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .konsul-article-v2 .konsul-square-cards .konsul-detail-card {
    min-height: 245px !important;
    aspect-ratio: 1 / 0.72;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }
}

/* Главная мысль про длину галстука и узел — в цветовую рамку */
.konsul-article-v2 .konsul-media-row--key {
  align-items: stretch !important;
}

.konsul-article-v2 .konsul-key-point {
  display: flex !important;
  align-items: center !important;
  padding: clamp(22px, 3vw, 34px) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 12% 16%, rgba(245,210,122,0.18) 0%, rgba(245,210,122,0) 36%),
    linear-gradient(135deg, rgba(216,169,61,0.14) 0%, rgba(255,255,255,0.052) 62%, rgba(255,255,255,0.035) 100%) !important;
  border: 1px solid rgba(216,169,61,0.32) !important;
}

.konsul-article-v2 .konsul-key-point p {
  margin-bottom: 0 !important;
  color: rgba(255,255,255,0.92) !important;
  font-weight: 700 !important;
}

/* Формулы образов: 3 карточки сверху, 2 растянутые снизу */
@media (min-width: 1025px) {
  .konsul-article-v2 .konsul-formula-cards {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }

  .konsul-article-v2 .konsul-formula-cards .konsul-detail-card:nth-child(-n+3) {
    grid-column: span 2 !important;
  }

  .konsul-article-v2 .konsul-formula-cards .konsul-detail-card:nth-child(n+4) {
    grid-column: span 3 !important;
  }
}

/* Ошибки: фото крупнее, текст компактнее */
.konsul-article-v2 .konsul-errors-row {
  align-items: center !important;
}

@media (min-width: 1025px) {
  .konsul-article-v2 .konsul-errors-row {
    grid-template-columns: minmax(0, 0.78fr) minmax(500px, 1.22fr) !important;
  }
}

.konsul-article-v2 .konsul-errors-list {
  padding: clamp(20px, 2.6vw, 30px) !important;
  border-radius: 24px !important;
  background:
    linear-gradient(135deg, rgba(216,169,61,0.12) 0%, rgba(255,255,255,0.045) 100%) !important;
  border: 1px solid rgba(216,169,61,0.26) !important;
}

.konsul-article-v2 .konsul-errors-list ul {
  margin-bottom: 0 !important;
}

.konsul-article-v2 .konsul-errors-list li {
  margin-bottom: 0.85em !important;
  color: rgba(255,255,255,0.9) !important;
  font-weight: 700 !important;
}

.konsul-article-v2 .konsul-errors-list li:last-child {
  margin-bottom: 0 !important;
}

.konsul-article-v2 .konsul-errors-image {
  max-width: none !important;
}

.konsul-article-v2 .konsul-errors-image img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
}

/* На мобильных сначала фото, затем ошибки */
@media (max-width: 767px) {
  .konsul-article-v2 .konsul-errors-row .konsul-errors-image {
    order: 1 !important;
  }

  .konsul-article-v2 .konsul-errors-row .konsul-errors-list {
    order: 2 !important;
  }
}

/* Финальный чек-лист: 8 пунктов в акцентных рамках */
.konsul-article-v2 .konsul-checklist-polished {
  counter-reset: konsul-check;
  gap: 18px 22px !important;
  margin-top: 32px !important;
}

@media (min-width: 1025px) {
  .konsul-article-v2 .konsul-checklist-polished {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

.konsul-article-v2 .konsul-checklist-polished p {
  position: relative !important;
  min-height: 118px !important;
  display: flex !important;
  align-items: center !important;
  padding: 24px 24px 24px 74px !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 14% 20%, rgba(245,210,122,0.13) 0%, rgba(245,210,122,0) 34%),
    rgba(255,255,255,0.045) !important;
  border: 1px solid rgba(216,169,61,0.24) !important;
  color: rgba(255,255,255,0.92) !important;
  font-weight: 750 !important;
}

.konsul-article-v2 .konsul-checklist-polished p::before {
  counter-increment: konsul-check;
  content: counter(konsul-check);
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f5d27a 0%, #d8a93d 100%);
  color: #0f1722;
  font-weight: 900;
  font-size: 15px;
  line-height: 1;
}

@media (max-width: 767px) {
  .konsul-article-v2 .konsul-photo--compact-clean,
  .konsul-article-v2 .konsul-photo--compact-main,
  .konsul-article-v2 .konsul-photo--compact-narrow {
    max-width: 100% !important;
    border-radius: 18px !important;
    margin: 26px auto !important;
  }

  .konsul-article-v2 .konsul-photo--compact-clean img {
    border-radius: 18px !important;
  }

  .konsul-article-v2 .konsul-key-point {
    padding: 20px !important;
    border-radius: 20px !important;
  }

  .konsul-article-v2 .konsul-checklist-polished p {
    min-height: 0 !important;
    padding: 20px 18px 20px 64px !important;
    border-radius: 20px !important;
  }

  .konsul-article-v2 .konsul-checklist-polished p::before {
    left: 18px;
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}




/* =========================================================
   KONSUL / ARTICLE IMAGE WIDTH FIX
   Растягиваем изображения статьи по контейнеру без искажений
   ========================================================= */

/* Основные большие изображения статьи: шире, ровно по центру, без обрезки */
@media (min-width: 1025px) {
  .konsul-article-v2 .konsul-photo--compact-clean,
  .konsul-article-v2 .konsul-photo--compact-main,
  .konsul-article-v2 .konsul-photo--compact-narrow {
    width: 100% !important;
    max-width: min(1120px, 100%) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }

  .konsul-article-v2 .konsul-photo--compact-clean img,
  .konsul-article-v2 .konsul-photo--compact-main img,
  .konsul-article-v2 .konsul-photo--compact-narrow img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
  }
}

/* Если нужно, чтобы фото были почти во всю ширину карточки статьи */
@media (min-width: 1280px) {
  .konsul-article-v2 .konsul-photo--compact-clean,
  .konsul-article-v2 .konsul-photo--compact-main,
  .konsul-article-v2 .konsul-photo--compact-narrow {
    max-width: min(1180px, 100%) !important;
  }
}

/* Убираем любые подписи под этими изображениями */
.konsul-article-v2 .konsul-photo--compact-clean figcaption,
.konsul-article-v2 .konsul-photo--compact-main figcaption,
.konsul-article-v2 .konsul-photo--compact-narrow figcaption {
  display: none !important;
}

/* =========================================================
   KONSUL / ERRORS BLOCK IMAGE FIX
   Увеличиваем фото в блоке частых ошибок на ПК
   ========================================================= */

@media (min-width: 1025px) {
  .konsul-article-v2 .konsul-errors-row {
    grid-template-columns: minmax(300px, 0.52fr) minmax(680px, 1.48fr) !important;
    gap: clamp(28px, 3.2vw, 48px) !important;
    align-items: center !important;
  }

  .konsul-article-v2 .konsul-errors-list {
    padding: 26px 28px !important;
  }

  .konsul-article-v2 .konsul-errors-image {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .konsul-article-v2 .konsul-errors-image img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
  }
}

/* На очень широких экранах делаем фото ошибок ещё заметнее */
@media (min-width: 1360px) {
  .konsul-article-v2 .konsul-errors-row {
    grid-template-columns: minmax(280px, 0.45fr) minmax(760px, 1.55fr) !important;
  }
}

/* Мобильную логику сохраняем: сначала фото, потом ошибки */
@media (max-width: 767px) {
  .konsul-article-v2 .konsul-errors-row .konsul-errors-image {
    order: 1 !important;
  }

  .konsul-article-v2 .konsul-errors-row .konsul-errors-list {
    order: 2 !important;
  }

  .konsul-article-v2 .konsul-errors-image,
  .konsul-article-v2 .konsul-errors-image img {
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* =========================================================
   KONSUL / ERRORS SHOWCASE FIX
   Красивый блок ошибок: большое фото + 4 читаемые карточки
   ========================================================= */

.konsul-article-v2 .konsul-errors-showcase {
  margin-top: clamp(48px, 6vw, 82px) !important;
}

.konsul-article-v2 .konsul-errors-showcase__image {
  width: 100% !important;
  max-width: 1180px !important;
  margin: 34px auto 30px !important;
  padding: 0 !important;
  border-radius: 28px !important;
  overflow: hidden !important;
  background: rgba(255,255,255,0.035) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
}

.konsul-article-v2 .konsul-errors-showcase__image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 28px !important;
}

.konsul-article-v2 .konsul-errors-showcase__image figcaption {
  display: none !important;
}

.konsul-article-v2 .konsul-errors-showcase__grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin: 0 0 34px !important;
}

.konsul-article-v2 .konsul-errors-showcase__card {
  padding: 24px 26px !important;
  border-radius: 24px !important;
  background:
    linear-gradient(135deg, rgba(216,169,61,0.12) 0%, rgba(255,255,255,0.045) 52%, rgba(255,255,255,0.03) 100%) !important;
  border: 1px solid rgba(216,169,61,0.24) !important;
}

.konsul-article-v2 .konsul-errors-showcase__card h3 {
  margin: 0 0 12px !important;
  color: #f5d27a !important;
  font-size: clamp(23px, 2vw, 30px) !important;
  line-height: 1.15 !important;
}

.konsul-article-v2 .konsul-errors-showcase__card p {
  margin: 0 !important;
  max-width: none !important;
}

/* На очень широких экранах можно сделать 4 карточки в одну линию */
@media (min-width: 1360px) {
  .konsul-article-v2 .konsul-errors-showcase__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* Мобильная версия: фото сверху, ошибки ниже одной колонкой */
@media (max-width: 767px) {
  .konsul-article-v2 .konsul-errors-showcase__image {
    margin: 24px auto 22px !important;
    border-radius: 20px !important;
  }

  .konsul-article-v2 .konsul-errors-showcase__image img {
    border-radius: 20px !important;
  }

  .konsul-article-v2 .konsul-errors-showcase__grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .konsul-article-v2 .konsul-errors-showcase__card {
    padding: 20px 18px !important;
    border-radius: 20px !important;
  }
}





/* =========================================================
   KONSUL / DESKTOP PATCH
   Горизонтальный вид блока: двойка / тройка / смокинг
   Заголовок слева по центру, весь текст справа
   На мобильных устройствах ничего не меняет
   ========================================================= */

@media (min-width: 1025px) {
  .konsul-suit-types-horizontal {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    max-width: 1120px;
    margin: 34px auto 42px !important;
  }

  .konsul-suit-types-horizontal .konsul-detail-card {
    display: grid !important;
    grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
    column-gap: 36px;
    row-gap: 0;
    align-items: stretch;
    padding: 34px 36px !important;
    border-radius: 26px !important;
  }

  .konsul-suit-types-horizontal .konsul-detail-card h3 {
    grid-column: 1;
    grid-row: 1 / 99;
    align-self: stretch;

    display: flex !important;
    align-items: center;
    justify-content: center;

    margin: 0 !important;
    padding: 0 34px 0 0;
    border-right: 1px solid rgba(245,210,122,0.24);

    text-align: center;
    font-size: clamp(32px, 2.5vw, 44px) !important;
    line-height: 1.12 !important;
  }

  .konsul-suit-types-horizontal .konsul-detail-card p {
    grid-column: 2;
    max-width: 100% !important;
    margin: 0 0 1.05em !important;
  }

  .konsul-suit-types-horizontal .konsul-detail-card p:last-child {
    margin-bottom: 0 !important;
  }
}

/* =========================================================
   KONSUL / FIT LIST PREMIUM
   Акцентные карточки для блока "Что проверить на примерке"
   ========================================================= */

.konsul-fit-list-premium {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  margin: 28px 0 36px;
}

.konsul-fit-list-premium .konsul-fit-item {
  padding: 22px 24px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 10%, rgba(245,210,122,0.08) 0%, rgba(245,210,122,0) 34%),
    rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.025);
}

.konsul-fit-item__title {
  display: inline-block;
  margin: 0 0 12px;
  padding: 0;
  font-family: 'Tenor Sans', serif;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.1;
  color: #f5d27a;
  text-shadow:
    0 0 10px rgba(245,210,122,0.18),
    0 0 18px rgba(245,210,122,0.10);
  letter-spacing: 0.02em;
}

.konsul-fit-list-premium .konsul-fit-item p {
  margin: 0 !important;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.84);
  line-height: 1.72;
}

@media (max-width: 1024px) {
  .konsul-fit-list-premium {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .konsul-fit-list-premium {
    gap: 16px;
    margin: 24px 0 30px;
  }

  .konsul-fit-list-premium .konsul-fit-item {
    padding: 18px;
    border-radius: 20px;
  }

  .konsul-fit-item__title {
    margin-bottom: 10px;
    font-size: clamp(22px, 6vw, 28px);
  }

  .konsul-fit-list-premium .konsul-fit-item p {
    padding: 14px 15px;
    border-radius: 16px;
    line-height: 1.65;
  }
}

.konsul-side-image-block__image {
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
}

.konsul-side-image-block__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
  object-fit: cover;
}
/* =========================================================
   KONSUL / ACCESSORIES PREMIUM BLOCK
   Броский блок для раздела аксессуаров
   ========================================================= */

.konsul-accessories-premium {
  margin: 28px 0 44px;
  padding: clamp(24px, 3.2vw, 42px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 12%, rgba(245,210,122,0.18) 0%, rgba(245,210,122,0) 34%),
    linear-gradient(135deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.035) 100%);
  border: 1px solid rgba(216,169,61,0.28);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.035),
    0 24px 70px rgba(0,0,0,0.22);
}

.konsul-accessories-premium__intro {
  margin-bottom: 26px;
  padding: 24px 26px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(216,169,61,0.14) 0%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(216,169,61,0.26);
}

.konsul-accessories-premium__label {
  display: inline-block;
  margin-bottom: 14px;
  font-family: 'Tenor Sans', serif;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.1;
  color: #f5d27a;
  text-shadow:
    0 0 12px rgba(245,210,122,0.22),
    0 0 26px rgba(245,210,122,0.10);
}

.konsul-accessories-premium__intro p {
  margin: 0 !important;
  max-width: 1080px;
  color: rgba(255,255,255,0.9);
}

.konsul-accessories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0;
}

.konsul-accessory-card {
  padding: 24px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 18% 12%, rgba(245,210,122,0.12) 0%, rgba(245,210,122,0) 36%),
    rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.09);
  min-height: 100%;
}

.konsul-accessory-card__title {
  display: block;
  margin-bottom: 12px;
  font-family: 'Tenor Sans', serif;
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1.1;
  color: #f5d27a;
  letter-spacing: 0.03em;
}

.konsul-accessory-card p {
  margin: 0 !important;
  color: rgba(255,255,255,0.84);
  line-height: 1.7;
}

.konsul-accessories-premium__bottom {
  margin-top: 24px;
  padding: 24px 26px;
  border-radius: 26px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-left: 3px solid #f5d27a;
}

.konsul-accessories-premium__bottom p {
  margin: 0 !important;
  color: rgba(255,255,255,0.88);
}

@media (max-width: 1024px) {
  .konsul-accessories-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .konsul-accessories-premium {
    padding: 20px 18px;
    border-radius: 24px;
  }

  .konsul-accessories-premium__intro,
  .konsul-accessory-card,
  .konsul-accessories-premium__bottom {
    padding: 18px;
    border-radius: 20px;
  }

  .konsul-accessories-grid {
    gap: 14px;
    margin: 20px 0;
  }

  .konsul-accessories-premium__label {
    font-size: 28px;
  }
}


@media (max-width: 768px) {
  .cookie-banner {
    bottom: 14px;
    width: calc(100% - 24px);
  }

  .cookie-banner__content {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 14px;
    border-radius: 16px;
  }

  .cookie-banner__text {
    font-size: 13px;
    line-height: 1.45;
  }

  .cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }

  .cookie-banner__btn {
    width: 100%;
    min-width: 0;
    padding: 12px 8px;
    font-size: 12px;
    line-height: 1.1;
    white-space: nowrap;
  }

  .cookie-banner__btn--decline {
    order: 1;
  }

  .cookie-banner__btn--accept {
    order: 2;
  }
}

.cookie-banner__btn--decline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.cookie-banner__btn--decline:hover {
  background: rgba(255, 255, 255, 0.08);
}


/* =========================================================
   KONSUL / SHOE ARTICLE EXTRA PATCH
   Точечные улучшения для статьи про мужскую обувь
   ========================================================= */

/* Гарантированно скрываем подписи под фото, чтобы SEO-alt не выглядел как текст на странице */
.konsul-article-v2 figcaption {
  display: none !important;
}

/* Три задачи обуви: цифра слева в золотом круге */
.konsul-shoe-tasks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 34px;
}

.konsul-shoe-task {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 150px;
  padding: 24px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 16% 18%, rgba(245,210,122,0.14) 0%, rgba(245,210,122,0) 38%),
    rgba(255,255,255,0.045);
  border: 1px solid rgba(216,169,61,0.25);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.025);
}

.konsul-shoe-task__number {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: 'Tenor Sans', serif;
  font-size: 34px;
  line-height: 1;
  color: #f5d27a;
  border: 1px solid rgba(245,210,122,0.48);
  background: rgba(245,210,122,0.075);
  text-shadow: 0 0 14px rgba(245,210,122,0.18);
}

.konsul-shoe-task__text {
  display: block;
  font-family: 'Tenor Sans', serif;
  font-size: clamp(25px, 2.1vw, 34px);
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: #f4efe8;
}

/* Ошибки: аккуратная геометрия 3 + 2 */
.konsul-shoe-errors-note {
  margin-bottom: 26px !important;
}

.konsul-shoe-error-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 38px;
}

.konsul-shoe-error-card {
  grid-column: span 2;
  min-height: 174px;
  padding: 24px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(216,169,61,0.11) 0%, rgba(255,255,255,0.045) 48%, rgba(255,255,255,0.032) 100%);
  border: 1px solid rgba(216,169,61,0.22);
  position: relative;
  overflow: hidden;
}

.konsul-shoe-error-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.konsul-shoe-error-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.konsul-shoe-error-card::before {
  content: "";
  position: absolute;
  top: -42px;
  right: -42px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  border: 1px solid rgba(245,210,122,0.18);
  background: rgba(245,210,122,0.035);
}

.konsul-shoe-error-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  font-family: 'Tenor Sans', serif;
  font-size: 20px;
  color: #f5d27a;
  border: 1px solid rgba(245,210,122,0.42);
  background: rgba(245,210,122,0.065);
}

.konsul-shoe-error-card p {
  margin: 0 !important;
  max-width: 100% !important;
  color: rgba(255,255,255,0.88);
  line-height: 1.65;
}

/* На мобильных в блоках лоферы/монки/броги фото должно идти перед текстом */
@media (max-width: 1024px) {
  .konsul-mobile-image-first .konsul-media-frame {
    order: 1 !important;
  }

  .konsul-mobile-image-first .konsul-media-text {
    order: 2 !important;
  }
}

@media (max-width: 1024px) {
  .konsul-shoe-tasks {
    grid-template-columns: 1fr;
  }

  .konsul-shoe-error-grid {
    grid-template-columns: 1fr;
  }

  .konsul-shoe-error-card,
  .konsul-shoe-error-card:nth-child(4),
  .konsul-shoe-error-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  .konsul-shoe-task {
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: auto;
    padding: 18px;
    border-radius: 20px;
  }

  .konsul-shoe-task__number {
    width: 50px;
    height: 50px;
    font-size: 27px;
  }

  .konsul-shoe-task__text {
    font-size: clamp(23px, 7vw, 30px);
  }

  .konsul-shoe-error-card {
    min-height: auto;
    padding: 20px;
    border-radius: 20px;
  }
}

/* Локальная правка блока "Хорошая мужская обувь решает три задачи" */
@media (min-width: 1025px) {
  .konsul-shoe-task {
    grid-template-columns: 58px minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  .konsul-shoe-task__number {
    width: 54px !important;
    height: 54px !important;
    font-size: 30px !important;
  }

  .konsul-shoe-task__text {
    font-size: clamp(24px, 1.8vw, 30px) !important;
    letter-spacing: 0.018em !important;
    line-height: 1.15 !important;
  }
}


/* =========================================================
   KONSUL / HISTORY ARTICLE ADVICE LIST
   Практический ориентир: строки с цифрой в рамке
   ========================================================= */

.konsul-article-v2 .konsul-history-advice-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  margin: 28px 0 42px !important;
  padding: 0 !important;
}

.konsul-article-v2 .konsul-history-advice-item {
  display: grid !important;
  grid-template-columns: 68px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 22px !important;

  width: 100% !important;
  padding: 22px 28px !important;
  border-radius: 26px !important;

  background:
    radial-gradient(circle at 5% 50%, rgba(245,210,122,0.13) 0%, rgba(245,210,122,0) 34%),
    rgba(255,255,255,0.04) !important;

  border: 1px solid rgba(216,169,61,0.24) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.025) !important;
}

.konsul-article-v2 .konsul-history-advice-num {
  width: 56px !important;
  height: 56px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 50% !important;
  border: 1px solid rgba(245,210,122,0.48) !important;
  background: rgba(245,210,122,0.07) !important;

  font-family: 'Tenor Sans', serif !important;
  font-size: 29px !important;
  line-height: 1 !important;
  color: #f5d27a !important;

  text-shadow: 0 0 14px rgba(245,210,122,0.18) !important;
}

.konsul-article-v2 .konsul-history-advice-item p {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;

  font-family: 'Tenor Sans', serif !important;
  font-size: clamp(25px, 2vw, 34px) !important;
  line-height: 1.22 !important;
  letter-spacing: 0.025em !important;
  color: #f4efe8 !important;
}

/* Мобильная версия */
@media (max-width: 767px) {
  .konsul-article-v2 .konsul-history-advice-list {
    gap: 14px !important;
    margin: 24px 0 34px !important;
  }

  .konsul-article-v2 .konsul-history-advice-item {
    grid-template-columns: 50px minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 17px !important;
    border-radius: 20px !important;
  }

  .konsul-article-v2 .konsul-history-advice-num {
    width: 44px !important;
    height: 44px !important;
    font-size: 24px !important;
  }

  .konsul-article-v2 .konsul-history-advice-item p {
    font-size: 20px !important;
    line-height: 1.28 !important;
    letter-spacing: 0.015em !important;
  }
}


/* =========================================================
   KONSUL / THOMAS SHELBY ARTICLE PATCH
   Блоки: что не копировать + готовые формулы
   ========================================================= */

/* 1. Что не стоит копировать — квадрат 2x2 */
.konsul-article-v2 .konsul-thomas-avoid-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
  margin: 30px 0 36px !important;
}

.konsul-article-v2 .konsul-thomas-avoid-card {
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) !important;
  gap: 20px !important;
  align-items: start !important;

  min-height: 190px !important;
  padding: 26px !important;
  border-radius: 26px !important;

  background:
    radial-gradient(circle at 8% 12%, rgba(245,210,122,0.12) 0%, rgba(245,210,122,0) 38%),
    rgba(255,255,255,0.04) !important;

  border: 1px solid rgba(216,169,61,0.24) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.025) !important;
}

.konsul-article-v2 .konsul-thomas-avoid-num {
  width: 52px !important;
  height: 52px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 50% !important;
  border: 1px solid rgba(245,210,122,0.48) !important;
  background: rgba(245,210,122,0.07) !important;

  font-family: 'Tenor Sans', serif !important;
  font-size: 27px !important;
  line-height: 1 !important;
  color: #f5d27a !important;
  text-shadow: 0 0 14px rgba(245,210,122,0.18) !important;
}

.konsul-article-v2 .konsul-thomas-avoid-card p {
  margin: 0 !important;
  max-width: 100% !important;
  color: rgba(255,255,255,0.9) !important;
  line-height: 1.7 !important;
}

/* 2. Формулы — читабельные горизонтальные карточки */
.konsul-article-v2 .konsul-thomas-formula-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 22px !important;
  margin: 32px 0 42px !important;
}

.konsul-article-v2 .konsul-thomas-formula-card {
  display: grid !important;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 0.66fr) !important;
  gap: 34px !important;
  align-items: stretch !important;

  padding: 30px 34px !important;
  border-radius: 28px !important;

  background:
    radial-gradient(circle at 12% 14%, rgba(245,210,122,0.12) 0%, rgba(245,210,122,0) 38%),
    rgba(255,255,255,0.04) !important;

  border: 1px solid rgba(216,169,61,0.24) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.025) !important;
}

.konsul-article-v2 .konsul-thomas-formula-head {
  display: grid !important;
  grid-template-columns: 64px minmax(0, 1fr) !important;
  gap: 18px !important;
  align-content: center !important;
  align-items: center !important;

  padding-right: 30px !important;
  border-right: 1px solid rgba(245,210,122,0.22) !important;
}

.konsul-article-v2 .konsul-thomas-formula-num {
  width: 58px !important;
  height: 58px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 50% !important;
  border: 1px solid rgba(245,210,122,0.5) !important;
  background: rgba(245,210,122,0.075) !important;

  font-family: 'Tenor Sans', serif !important;
  font-size: 30px !important;
  line-height: 1 !important;
  color: #f5d27a !important;
}

.konsul-article-v2 .konsul-thomas-formula-head h3 {
  margin: 0 !important;
  color: #f4efe8 !important;
  font-size: clamp(25px, 2.1vw, 36px) !important;
  line-height: 1.15 !important;
  letter-spacing: 0.03em !important;
}

.konsul-article-v2 .konsul-thomas-formula-body {
  min-width: 0 !important;
}

.konsul-article-v2 .konsul-thomas-formula-body ul {
  margin: 0 0 18px 1.1em !important;
  padding: 0 !important;
}

.konsul-article-v2 .konsul-thomas-formula-body li {
  margin-bottom: 0.62em !important;
  color: rgba(255,255,255,0.88) !important;
  line-height: 1.65 !important;
}

.konsul-article-v2 .konsul-thomas-formula-body p {
  margin: 18px 0 0 !important;
  padding: 18px 20px !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,0.035) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  color: rgba(255,255,255,0.9) !important;
}

/* Планшет */
@media (max-width: 1024px) {
  .konsul-article-v2 .konsul-thomas-formula-card {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .konsul-article-v2 .konsul-thomas-formula-head {
    border-right: none !important;
    border-bottom: 1px solid rgba(245,210,122,0.18) !important;
    padding-right: 0 !important;
    padding-bottom: 18px !important;
  }
}

/* Мобильная версия */
@media (max-width: 767px) {
  .konsul-article-v2 .konsul-thomas-avoid-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .konsul-article-v2 .konsul-thomas-avoid-card {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    gap: 14px !important;
    min-height: auto !important;
    padding: 18px !important;
    border-radius: 20px !important;
  }

  .konsul-article-v2 .konsul-thomas-avoid-num {
    width: 42px !important;
    height: 42px !important;
    font-size: 23px !important;
  }

  .konsul-article-v2 .konsul-thomas-formula-card {
    padding: 20px 18px !important;
    border-radius: 22px !important;
  }

  .konsul-article-v2 .konsul-thomas-formula-head {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  .konsul-article-v2 .konsul-thomas-formula-num {
    width: 42px !important;
    height: 42px !important;
    font-size: 23px !important;
  }

  .konsul-article-v2 .konsul-thomas-formula-head h3 {
    font-size: 24px !important;
  }

  .konsul-article-v2 .konsul-thomas-formula-body p {
    padding: 15px !important;
    border-radius: 16px !important;
  }
}



/* =========================================================
   KONSUL / SCHOOL FORM ARTICLE EMPHASIS
   Акцентные блоки для важных подзаголовков
   ========================================================= */

/* 1. Акцентный заголовок */
.konsul-article-v2 .konsul-accent-heading {
  margin: 10px 0 26px !important;
  padding: 22px 24px 20px !important;
  border-radius: 26px !important;
  background:
    radial-gradient(circle at 10% 18%, rgba(245,210,122,0.14) 0%, rgba(245,210,122,0) 34%),
    rgba(255,255,255,0.035) !important;
  border: 1px solid rgba(216,169,61,0.26) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02) !important;
}

.konsul-article-v2 .konsul-accent-heading__label {
  display: inline-block !important;
  margin-bottom: 12px !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  background: rgba(245,210,122,0.08) !important;
  border: 1px solid rgba(245,210,122,0.24) !important;
  color: #f5d27a !important;
  font-size: 14px !important;
  line-height: 1 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
}

.konsul-article-v2 .konsul-accent-heading h2 {
  margin: 0 !important;
}

/* 2. Выразительный блок про удобство */
.konsul-article-v2 .konsul-comfort-highlight {
  margin-top: 18px !important;
  padding: 26px 28px !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 8% 14%, rgba(245,210,122,0.16) 0%, rgba(245,210,122,0) 34%),
    linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.035) 100%) !important;
  border: 1px solid rgba(216,169,61,0.28) !important;
  border-left: 4px solid #f5d27a !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.025),
    0 14px 34px rgba(0,0,0,0.12) !important;
}

.konsul-article-v2 .konsul-comfort-highlight__label {
  display: inline-block !important;
  margin-bottom: 14px !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  background: rgba(245,210,122,0.09) !important;
  border: 1px solid rgba(245,210,122,0.26) !important;
  color: #f5d27a !important;
  font-size: 14px !important;
  line-height: 1 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
}

.konsul-article-v2 .konsul-comfort-highlight p {
  margin: 0 !important;
  color: rgba(255,255,255,0.9) !important;
  line-height: 1.72 !important;
}

/* Мобильная адаптация */
@media (max-width: 767px) {
  .konsul-article-v2 .konsul-accent-heading {
    padding: 18px !important;
    border-radius: 20px !important;
    margin-bottom: 20px !important;
  }

  .konsul-article-v2 .konsul-comfort-highlight {
    padding: 20px 18px !important;
    border-radius: 22px !important;
  }

  .konsul-article-v2 .konsul-accent-heading__label,
  .konsul-article-v2 .konsul-comfort-highlight__label {
    font-size: 12px !important;
    padding: 5px 10px !important;
  }
}

/* Анимации отключены до первого действия посетителя */
body.home:not(.konsul-motion-ready) *,
body.home:not(.konsul-motion-ready) *::before,
body.home:not(.konsul-motion-ready) *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

.konsul-article .konsul-trouser-errors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin: 32px 0;
}

.konsul-article .konsul-trouser-error-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  min-width: 0;
  padding: clamp(22px, 2.4vw, 30px);
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid rgba(197, 157, 75, 0.32);
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(197, 157, 75, 0.1),
    rgba(24, 34, 48, 0.96) 48%
  );
}

.konsul-article .konsul-trouser-error-card::after {
  content: "";
  position: absolute;
  top: -54px;
  right: -44px;
  z-index: 0;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(197, 157, 75, 0.26);
  border-radius: 50%;
  pointer-events: none;
}

.konsul-article .konsul-trouser-error-card__num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  box-sizing: border-box;
  border: 1px solid rgba(216, 180, 93, 0.62);
  border-radius: 50%;
  color: #d8b45d;
  font-family: "Tenor Sans", sans-serif;
  font-size: 22px;
  line-height: 1;
}

.konsul-article .konsul-trouser-error-card p {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 0;
  overflow-wrap: break-word;
}

.konsul-article .konsul-trouser-error-card--wide {
  grid-column: 1 / -1;
}

@media (max-width: 1024px) {
  .konsul-article .konsul-trouser-errors {
    grid-template-columns: minmax(0, 1fr);
  }

  .konsul-article .konsul-trouser-error-card--wide {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .konsul-article .konsul-trouser-errors {
    gap: 14px;
    margin: 24px 0;
  }

  .konsul-article .konsul-trouser-error-card {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    padding: 20px 18px;
    border-radius: 18px;
  }

  .konsul-article .konsul-trouser-error-card__num {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}


/* Расстояние перед популярными категориями */

.konsul-footer__popular {
  margin: 30px 0 38px;
}


.konsul-footer__popular .konsul-footer__label {
  margin-bottom: 14px;
}


/* Нижняя юридическая часть */

.konsul-footer__menu--legal {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.konsul-footer__offer {
  max-width: 680px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.konsul-footer__legal .konsul-footer__copy {
  margin-top: 14px;
}



/* Две настоящие колонки популярных категорий */
.konsul-map__categories {
  width: 100%;
  margin: 0 0 34px;
  text-align: left;
}

.konsul-map__categories .konsul-footer__label {
  margin: 0 0 14px;
}

.konsul-map .konsul-map__categories-menu {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  grid-template-rows: auto auto;
  grid-auto-flow: row;
  column-gap: 32px !important;
  row-gap: 18px !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  align-items: start;
  justify-content: stretch !important;
}

.konsul-map .konsul-map__categories-menu > a {
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap;
}

/*
 * Astra сейчас центрирует более короткую правую колонку
 * относительно длинной левой. Отключаем это только на компьютере.
 */
@media (min-width: 922px) {
  .site-below-footer-inner-wrap.ast-builder-grid-row {
    align-items: start !important;
  }

  /*
   * Ссылки популярных категорий располагаются приблизительно
   * на одной высоте с основным меню слева.
   */
  .site-footer-below-section-2 .konsul-map {
    padding-top: 128px;
  }
}

/* Мобильное отображение */
@media (max-width: 600px) {
  .konsul-map .konsul-map__categories-menu {
    grid-template-columns: 1fr !important;
    row-gap: 14px !important;
  }

  .konsul-map .konsul-map__categories-menu > a {
    white-space: normal;
  }
}








/* ==================================================
   ФИНАЛЬНОЕ ВЫРАВНИВАНИЕ ПОДВАЛА
   ================================================== */

/* Обе колонки Astra начинаются сверху */
@media (min-width: 922px) {
  .site-below-footer-inner-wrap.ast-builder-grid-row {
    align-items: start !important;
  }

  /*
   * Заголовок категорий справа совмещается по высоте
   * с подзаголовком магазина слева.
   */
  .site-footer-below-section-2 .konsul-map {
    padding-top: 68px !important;
  }
}

/* Сокращаем расстояние от основного меню до телефона */
.konsul-footer__main-menu {
  margin-bottom: 22px !important;
}

/* Компактные контактные блоки */
.konsul-footer__info {
  margin-top: 0 !important;
  margin-bottom: 20px !important;
}

.konsul-footer__info .konsul-footer__label {
  margin: 0 0 6px !important;
}

.konsul-footer__info .konsul-footer__text {
  display: block;
  margin: 0 !important;
}

/* Категории — строгая сетка 2 × 2 */
.konsul-map__categories {
  width: 100%;
  margin: 0 0 34px !important;
  text-align: left;
}

.konsul-map__categories .konsul-footer__label {
  margin: 0 0 14px !important;
}

.konsul-map .konsul-map__categories-menu {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  grid-template-rows: auto auto;
  grid-auto-flow: row;
  column-gap: 32px !important;
  row-gap: 18px !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  align-items: start;
}

.konsul-map .konsul-map__categories-menu > a {
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap;
}

/* Политика и копирайт слева */
.konsul-footer__legal {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.konsul-footer__privacy {
  display: inline-block;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease;
}

.konsul-footer__privacy:hover,
.konsul-footer__privacy:focus {
  color: #f9bd32;
}

.konsul-footer__legal .konsul-footer__copy {
  margin-top: 14px !important;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

/* Только предупреждение об оферте справа */
.konsul-map__legal {
  width: 100%;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.konsul-map__legal .konsul-map__offer {
  max-width: 620px;
  margin: 0 auto !important;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

/* Мобильная версия */
@media (max-width: 600px) {
  .konsul-map .konsul-map__categories-menu {
    grid-template-columns: 1fr !important;
    row-gap: 14px !important;
  }

  .konsul-map .konsul-map__categories-menu > a {
    white-space: normal;
  }

  .konsul-map__legal {
    text-align: left;
  }
}

@media (min-width: 922px) {
  .konsul-map__legal .konsul-map__offer {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    white-space: nowrap;
    font-size: 13px;
  }
}


.cookie-banner__text a {
    text-decoration: underline !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}




/* Удаляем старые тексты, нарисованные через CSS */
body.blog #primary::before,
body.blog #main::before {
    content: none !important;
    display: none !important;
}

/* Настоящий семантический заголовок страницы блога */
body.blog .konsul-blog-intro__title {
    display: block;
    margin: 0 0 10px;
    padding: 0;
    color: #f4efe8;
    font-family: "Tenor Sans", serif;
    font-size: 76px;
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: 0.02em;
}

/* Настоящее текстовое описание */
body.blog .konsul-blog-intro__description {
    display: block;
    margin: 0 0 34px;
    padding: 0 0 34px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.74);
    font-family: Montserrat, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.65;
}

/* Планшеты */
@media (max-width: 921px) {
    body.blog .konsul-blog-intro__title {
        font-size: 56px;
        line-height: 1;
    }
}

/* Телефоны */
@media (max-width: 544px) {
    body.blog .konsul-blog-intro__title {
        font-size: 40px;
        line-height: 1.08;
    }

    body.blog .konsul-blog-intro__description {
        margin-bottom: 24px;
        padding-bottom: 24px;
        font-size: 16px;
        line-height: 1.55;
    }
}





/* =========================================================
   KONSUL: H1 И ТЕКСТ НА СТРАНИЦЕ КАТАЛОГА
   ========================================================= */

/*
 * Отключаем старый текст, который был добавлен
 * через .woocommerce-products-header::after.
 */
body.woocommerce-shop .woocommerce-products-header::after,
body.post-type-archive-product .woocommerce-products-header::after {
    content: none !important;
    display: none !important;
}


/* Общий блок заголовка каталога */
body.woocommerce-shop .woocommerce-products-header,
body.post-type-archive-product .woocommerce-products-header {
    position: relative;
    margin: 0 0 34px;
    padding: 8px 0 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent !important;
}


/* H1 страницы каталога */
body.woocommerce-shop
.woocommerce-products-header__title.page-title,
body.post-type-archive-product
.woocommerce-products-header__title.page-title {
    margin: 0 !important;
    max-width: 1050px;

    color: #f4efe8 !important;

    font-family: "Tenor Sans", serif;
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: 0.01em;
    text-transform: none;
    text-wrap: balance;
}


/* Настоящий HTML-текст под H1 */
body.woocommerce-shop .konsul-catalog-intro,
body.post-type-archive-product .konsul-catalog-intro {
    display: block;
    max-width: 760px;
    margin-top: 20px;

    color: rgba(255, 255, 255, 0.72);

    font-family: Montserrat, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;
}


/* Убираем стандартные отступы абзаца */
body.woocommerce-shop .konsul-catalog-intro p,
body.post-type-archive-product .konsul-catalog-intro p {
    margin: 0;
    padding: 0;
    color: inherit;
    font: inherit;
}


/* Планшеты */
@media (max-width: 921px) {
    body.woocommerce-shop
    .woocommerce-products-header__title.page-title,
    body.post-type-archive-product
    .woocommerce-products-header__title.page-title {
        font-size: clamp(36px, 7vw, 58px);
        line-height: 1.04;
    }

    body.woocommerce-shop .konsul-catalog-intro,
    body.post-type-archive-product .konsul-catalog-intro {
        max-width: 680px;
        margin-top: 16px;
        font-size: 16px;
        line-height: 1.6;
    }
}


/* Телефоны */
@media (max-width: 767px) {
    body.woocommerce-shop .woocommerce-products-header,
    body.post-type-archive-product .woocommerce-products-header {
        margin-bottom: 24px;
        padding: 6px 0 22px;
    }

    body.woocommerce-shop
    .woocommerce-products-header__title.page-title,
    body.post-type-archive-product
    .woocommerce-products-header__title.page-title {
        max-width: 100%;
        font-size: clamp(30px, 9vw, 44px);
        line-height: 1.08;
        letter-spacing: 0;
    }

    body.woocommerce-shop .konsul-catalog-intro,
    body.post-type-archive-product .konsul-catalog-intro {
        max-width: 100%;
        margin-top: 14px;
        font-size: 15px;
        line-height: 1.55;
    }
}


/* Маленькие телефоны */
@media (max-width: 420px) {
    body.woocommerce-shop
    .woocommerce-products-header__title.page-title,
    body.post-type-archive-product
    .woocommerce-products-header__title.page-title {
        font-size: 30px;
    }

    body.woocommerce-shop .konsul-catalog-intro,
    body.post-type-archive-product .konsul-catalog-intro {
        font-size: 14px;
        line-height: 1.55;
    }
}





/* =========================================================
   ИСПРАВЛЕНИЕ ШАПКИ КАТАЛОГА WOOCOMMERCE
   ========================================================= */

/*
 * Страница каталога является archive, но она не должна
 * наследовать трёхколоночную сетку блога.
 */
body.post-type-archive-product #primary > .site-main,
body.tax-product_cat #primary > .site-main {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    align-items: initial !important;
    width: 100% !important;
    max-width: 100% !important;
}


/* Основная колонка каталога */
body.post-type-archive-product #primary,
body.tax-product_cat #primary {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: visible !important;
}


/* WooCommerce-контейнер занимает всю основную колонку */
body.post-type-archive-product #primary .ast-woocommerce-container,
body.tax-product_cat #primary .ast-woocommerce-container {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}


/* Шапка каталога */
body.woocommerce-shop #primary .woocommerce-products-header {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 34px !important;
    padding: 8px 0 30px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}


/* Удаляем старое описание из псевдоэлемента */
body.woocommerce-shop #primary .woocommerce-products-header::after {
    content: none !important;
    display: none !important;
}


/* H1 каталога */
body.woocommerce-shop #primary
.woocommerce-products-header__title.page-title {
    display: block !important;
    width: 100% !important;
    max-width: 1050px !important;
    margin: 0 !important;
    padding: 0 !important;

    color: #f4efe8 !important;
    font-family: "Tenor Sans", serif !important;
    font-size: clamp(42px, 4vw, 58px) !important;
    font-weight: 400 !important;
    line-height: 1.1 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    text-wrap: balance;
}


/* Новый текст под H1 */
body.woocommerce-shop #primary .konsul-catalog-intro {
    display: block !important;
    width: 100% !important;
    max-width: 850px !important;
    margin: 22px 0 0 !important;
    padding: 0 !important;

    color: rgba(255, 255, 255, 0.76) !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}


/* Сбрасываем стили темы у абзаца */
body.woocommerce-shop #primary .konsul-catalog-intro p {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;

    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}


/* Планшеты */
@media (max-width: 921px) {
    body.woocommerce-shop #primary
    .woocommerce-products-header__title.page-title {
        max-width: 800px !important;
        font-size: clamp(36px, 6vw, 48px) !important;
        line-height: 1.12 !important;
    }

    body.woocommerce-shop #primary .konsul-catalog-intro {
        max-width: 720px !important;
        margin-top: 18px !important;
        font-size: 16px !important;
        line-height: 1.65 !important;
    }
}


/* Телефоны */
@media (max-width: 767px) {
    body.woocommerce-shop #primary .woocommerce-products-header {
        margin-bottom: 24px !important;
        padding-bottom: 22px !important;
    }

    body.woocommerce-shop #primary
    .woocommerce-products-header__title.page-title {
        max-width: 100% !important;
        font-size: clamp(30px, 9vw, 40px) !important;
        line-height: 1.12 !important;
        letter-spacing: 0 !important;
        text-wrap: pretty;
    }

    body.woocommerce-shop #primary .konsul-catalog-intro {
        max-width: 100% !important;
        margin-top: 16px !important;
        font-size: 15px !important;
        line-height: 1.6 !important;
    }
}

/* =========================================================
   ШИРОКАЯ СЕТКА ТОВАРОВ — 3 КАРТОЧКИ НА ПК
   ========================================================= */

@media (min-width: 922px) {
    body.post-type-archive-product #primary ul.products,
    body.tax-product_cat #primary ul.products {
        display: grid !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 24px !important;

        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    body.post-type-archive-product #primary ul.products li.product,
    body.tax-product_cat #primary ul.products li.product {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
}



/* =========================================================
   KONSUL / СТРАНИЦА «О НАС»
   URL: /o-nas/
   Изолированные стили: не затрагивают каталог и статьи
   ========================================================= */

body:has(.konsul-about-page) {
  --konsul-about-bg: #0d141d;
  --konsul-about-bg-soft: #111a26;
  --konsul-about-bg-deep: #0a1018;
  --konsul-about-card: rgba(255, 255, 255, 0.045);
  --konsul-about-card-hover: rgba(255, 255, 255, 0.06);
  --konsul-about-text: #f4efe8;
  --konsul-about-muted: rgba(244, 239, 232, 0.75);
  --konsul-about-border: rgba(255, 255, 255, 0.09);
  --konsul-about-gold: #f5d27a;
  --konsul-about-gold-deep: #d8a93d;
  --konsul-about-header-bg:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0) 24%),
    radial-gradient(circle at 82% 8%, rgba(139, 104, 54, 0.14) 0%, rgba(139, 104, 54, 0) 24%),
    linear-gradient(180deg, #121923 0%, #0f1722 48%, #111926 100%);

  background: var(--konsul-about-bg) !important;
  color: var(--konsul-about-text) !important;
}

body:has(.konsul-about-page) #page,
body:has(.konsul-about-page) .site,
body:has(.konsul-about-page) .site-content,
body:has(.konsul-about-page) .content-area,
body:has(.konsul-about-page) .site-main,
body:has(.konsul-about-page) .ast-container,
body:has(.konsul-about-page) article.page,
body:has(.konsul-about-page) .entry-content {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body:has(.konsul-about-page) #secondary {
  display: none !important;
}

body:has(.konsul-about-page) #primary {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

body:has(.konsul-about-page) #content > .ast-container {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body:has(.konsul-about-page) article.page,
body:has(.konsul-about-page) .ast-article-single,
body:has(.konsul-about-page) .entry-content {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Стандартный заголовок Astra скрывается: H1 уже есть в первом экране. */
body:has(.konsul-about-page) .entry-header {
  display: none !important;
}

/*
 * Тёмная шапка по рабочей схеме каталога и блога.
 * Ширина сетки Astra не меняется: логотип, меню и кнопка остаются
 * в штатных позициях на ПК.
 */
body:has(.konsul-about-page) #masthead,
body:has(.konsul-about-page) .site-header,
body:has(.konsul-about-page) #masthead #ast-desktop-header,
body:has(.konsul-about-page) #masthead .ast-below-header-wrap,
body:has(.konsul-about-page) #masthead .ast-below-header-bar,
body:has(.konsul-about-page) #masthead .ast-main-header-wrap,
body:has(.konsul-about-page) #masthead .main-header-bar-wrap,
body:has(.konsul-about-page) #masthead .ast-primary-header-bar,
body:has(.konsul-about-page) #masthead .main-header-bar,
body:has(.konsul-about-page) #masthead .site-primary-header-wrap {
  background: var(--konsul-about-header-bg) !important;
  border: 0 !important;
  box-shadow: none !important;
}

body:has(.konsul-about-page) #masthead .site-below-header-wrap,
body:has(.konsul-about-page) #masthead .ast-builder-grid-row,
body:has(.konsul-about-page) #masthead .site-header-section,
body:has(.konsul-about-page) #masthead .ast-builder-layout-element,
body:has(.konsul-about-page) #masthead .ast-builder-menu,
body:has(.konsul-about-page) #masthead .ast-header-html {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body:has(.konsul-about-page) #masthead::before,
body:has(.konsul-about-page) #masthead::after,
body:has(.konsul-about-page) #masthead .site-header::before,
body:has(.konsul-about-page) #masthead .site-header::after,
body:has(.konsul-about-page) #masthead .main-header-bar::before,
body:has(.konsul-about-page) #masthead .main-header-bar::after,
body:has(.konsul-about-page) #masthead .site-primary-header-wrap::before,
body:has(.konsul-about-page) #masthead .site-primary-header-wrap::after {
  display: none !important;
  content: none !important;
}

body:has(.konsul-about-page) #masthead .main-header-menu .menu-link,
body:has(.konsul-about-page) #masthead .ast-header-navigation a {
  color: rgba(255, 255, 255, 0.88) !important;
}

body:has(.konsul-about-page) #masthead .main-header-menu .menu-link:hover,
body:has(.konsul-about-page) #masthead .ast-header-navigation a:hover {
  color: #ffffff !important;
}

.konsul-about-page,
.konsul-about-page *,
.konsul-about-page *::before,
.konsul-about-page *::after {
  box-sizing: border-box;
}

.konsul-about-page {
  position: relative;
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 calc(50% - 50vw) !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 4%, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0) 24%),
    radial-gradient(circle at 86% 3%, rgba(139, 104, 54, 0.14) 0%, rgba(139, 104, 54, 0) 22%),
    linear-gradient(180deg, #121923 0%, #0d141d 34%, #101824 100%);
  color: var(--konsul-about-text, #f4efe8);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.72;
}

.konsul-about-page img {
  max-width: 100%;
}

.konsul-about-page p {
  margin: 0 0 1.2em;
  color: var(--konsul-about-muted, rgba(244, 239, 232, 0.75));
  font: inherit;
}

.konsul-about-page h1,
.konsul-about-page h2,
.konsul-about-page h3 {
  margin: 0;
  color: var(--konsul-about-text, #f4efe8);
  font-family: "Tenor Sans", serif;
  font-weight: 400;
  text-transform: none;
}

.konsul-about-page h2 {
  font-size: clamp(34px, 4.3vw, 64px);
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.konsul-about-page h3 {
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.16;
}

.konsul-about-page a {
  text-decoration: none;
}

.konsul-about-container {
  width: min(1280px, 92vw);
  margin: 0 auto;
}

.konsul-about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 18px;
  color: rgba(245, 210, 122, 0.82);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.konsul-about-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--konsul-about-gold-deep, #d8a93d);
  box-shadow: 0 0 14px rgba(216, 169, 61, 0.24);
}

/* ===== Первый экран ===== */

.konsul-about-hero {
  position: relative;
  padding: clamp(72px, 8vw, 118px) 0 clamp(78px, 9vw, 128px);
}

.konsul-about-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(1280px, 92vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.konsul-about-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: center;
}

.konsul-about-hero__content {
  max-width: 700px;
}

.konsul-about-hero__title {
  max-width: 760px;
  font-size: clamp(46px, 5.6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.018em;
}

.konsul-about-hero__lead {
  max-width: 700px;
  margin: 26px 0 0 !important;
  color: rgba(244, 239, 232, 0.86) !important;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.65;
}

.konsul-about-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}

.konsul-about-fact {
  min-width: 0;
  padding: 17px 16px;
  border: 1px solid var(--konsul-about-border, rgba(255, 255, 255, 0.09));
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.konsul-about-fact__label,
.konsul-about-fact__value {
  display: block;
}

.konsul-about-fact__label {
  margin-bottom: 7px;
  color: rgba(244, 239, 232, 0.48);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.konsul-about-fact__value {
  color: rgba(244, 239, 232, 0.94);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.konsul-about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.konsul-about-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.konsul-about-button--primary,
.konsul-about-button--primary:visited {
  color: #0f1722 !important;
  border: 1px solid var(--konsul-about-gold, #f5d27a);
  background: linear-gradient(180deg, #f5d27a 0%, #d8a93d 100%);
}

.konsul-about-button--secondary,
.konsul-about-button--secondary:visited {
  color: #f4efe8 !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.035);
}

.konsul-about-button:hover {
  transform: translateY(-2px);
}

.konsul-about-button--secondary:hover {
  border-color: rgba(245, 210, 122, 0.44);
  background: rgba(255, 255, 255, 0.06);
}

.konsul-about-button:focus-visible,
.konsul-about-text-link:focus-visible,
.konsul-about-faq__item summary:focus-visible {
  outline: 2px solid var(--konsul-about-gold, #f5d27a);
  outline-offset: 4px;
}

.konsul-about-hero__media,
.konsul-about-media-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--konsul-about-border, rgba(255, 255, 255, 0.09));
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.konsul-about-hero__media::after,
.konsul-about-media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 18%, rgba(0, 0, 0, 0.14));
}

.konsul-about-hero__media img,
.konsul-about-media-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.konsul-about-hero__media {
  aspect-ratio: 4 / 3;
}

/* ===== Общие секции ===== */

.konsul-about-section {
  position: relative;
  padding: clamp(76px, 8vw, 118px) 0;
}

.konsul-about-section--soft {
  background:
    radial-gradient(circle at 86% 18%, rgba(139, 104, 54, 0.09), transparent 26%),
    rgba(255, 255, 255, 0.018);
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.konsul-about-section--deep {
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 16%, rgba(245, 210, 122, 0.075), transparent 26%),
    linear-gradient(180deg, #0b111a 0%, #0a1018 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.konsul-about-section-heading {
  max-width: 850px;
  margin-bottom: 40px;
}

.konsul-about-section-heading p {
  max-width: 720px;
  margin: 20px 0 0;
  font-size: 18px;
}

.konsul-about-intro {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(44px, 7vw, 106px);
  align-items: start;
}

.konsul-about-intro__heading {
  position: sticky;
  top: 110px;
}

.konsul-about-intro__text {
  max-width: 760px;
}

.konsul-about-intro__text > p {
  font-size: 18px;
  line-height: 1.78;
}

.konsul-about-quote {
  margin: 34px 0 0;
  padding: 26px 28px;
  border-left: 3px solid var(--konsul-about-gold-deep, #d8a93d);
  border-radius: 0 22px 22px 0;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(244, 239, 232, 0.92);
  font-family: "Tenor Sans", serif;
  font-size: clamp(23px, 2.3vw, 34px);
  line-height: 1.4;
}

/* ===== Процесс ===== */

.konsul-about-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.konsul-about-step {
  min-width: 0;
  padding: clamp(24px, 2.7vw, 34px);
  border: 1px solid var(--konsul-about-border, rgba(255, 255, 255, 0.09));
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(245, 210, 122, 0.08), transparent 38%),
    var(--konsul-about-card, rgba(255, 255, 255, 0.045));
}

.konsul-about-step__number {
  display: block;
  margin-bottom: 34px;
  color: var(--konsul-about-gold, #f5d27a);
  font-family: "Tenor Sans", serif;
  font-size: 42px;
  line-height: 1;
}

.konsul-about-step h3 {
  margin-bottom: 14px;
}

.konsul-about-step p {
  margin-bottom: 0;
}

/* ===== Ассортимент ===== */

.konsul-about-assortment,
.konsul-about-atelier,
.konsul-about-location {
  display: grid;
  grid-template-columns: minmax(380px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(42px, 6.5vw, 92px);
  align-items: center;
}

.konsul-about-media-card {
  aspect-ratio: 4 / 3;
}

.konsul-about-assortment__content > h2,
.konsul-about-atelier__content > h2,
.konsul-about-location__content > h2 {
  margin-bottom: 24px;
}

.konsul-about-assortment__lead {
  font-size: 18px;
}

.konsul-about-scenarios {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.konsul-about-scenario {
  padding: 19px 17px;
  border: 1px solid var(--konsul-about-border, rgba(255, 255, 255, 0.09));
  border-radius: 19px;
  background: var(--konsul-about-card, rgba(255, 255, 255, 0.045));
}

.konsul-about-scenario h3 {
  margin-bottom: 9px;
  color: var(--konsul-about-gold, #f5d27a);
  font-size: 21px;
}

.konsul-about-scenario p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.konsul-about-text-link,
.konsul-about-text-link:visited {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(245, 210, 122, 0.42);
  color: var(--konsul-about-gold, #f5d27a) !important;
  font-weight: 700;
}

.konsul-about-text-link:hover {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.56);
}

/* ===== Ателье ===== */

.konsul-about-atelier {
  position: relative;
  display: block;
  min-height: 650px;
}

.konsul-about-atelier__content {
  position: relative;
  z-index: 3;
  width: min(780px, 64%);
  padding-right: 26px;
}

.konsul-about-atelier__visual {
  position: absolute;
  top: calc(-1 * clamp(76px, 8vw, 118px));
  right: calc((min(1280px, 92vw) - 100vw) / 2);
  bottom: calc(-1 * clamp(76px, 8vw, 118px));
  left: 38%;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.konsul-about-atelier__visual::before {
  content: "";
  position: absolute;
  inset: 6% 2% 2% 10%;
  z-index: 0;
  background:
    radial-gradient(ellipse at 76% 46%, rgba(245, 210, 122, 0.1), transparent 46%),
    radial-gradient(ellipse at 72% 56%, rgba(255, 255, 255, 0.045), transparent 60%);
}

.konsul-about-atelier__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, #0a1018 0%, rgba(10, 16, 24, 0.84) 16%, rgba(10, 16, 24, 0.36) 43%, rgba(10, 16, 24, 0.12) 78%),
    linear-gradient(180deg, #0a1018 0%, rgba(10, 16, 24, 0.18) 17%, rgba(10, 16, 24, 0.08) 68%, #0a1018 100%);
}

.konsul-about-atelier__visual img {
  position: absolute;
  right: -3%;
  bottom: -2%;
  z-index: 1;
  width: auto;
  max-width: none;
  height: 132%;
  object-fit: contain;
  object-position: right bottom;
  opacity: 0.82;
  transform: translateX(-13%);
  filter: brightness(0.78) contrast(0.96) drop-shadow(0 26px 34px rgba(0, 0, 0, 0.34));
}

.konsul-about-atelier__content > p {
  max-width: 700px;
  font-size: 18px;
}

.konsul-about-atelier__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.konsul-about-atelier__points > div {
  padding: 18px;
  border-top: 1px solid rgba(245, 210, 122, 0.34);
  background: rgba(255, 255, 255, 0.025);
}

.konsul-about-atelier__points span {
  display: block;
  margin-bottom: 8px;
  color: var(--konsul-about-gold, #f5d27a);
  font-weight: 700;
}

.konsul-about-atelier__points p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

/* ===== Адрес и контакты ===== */

.konsul-about-location {
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
}

.konsul-about-location__content > p {
  max-width: 720px;
  font-size: 18px;
}

.konsul-about-contact-card {
  display: grid;
  gap: 0;
  margin: 0;
  padding: clamp(26px, 3.4vw, 40px);
  border: 1px solid rgba(245, 210, 122, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 10%, rgba(245, 210, 122, 0.12), transparent 36%),
    rgba(255, 255, 255, 0.04);
  font-style: normal;
}

.konsul-about-contact-card__item {
  padding: 19px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.konsul-about-contact-card__item:first-child {
  padding-top: 0;
}

.konsul-about-contact-card__item span,
.konsul-about-contact-card__item strong,
.konsul-about-contact-card__item a {
  display: block;
}

.konsul-about-contact-card__item span {
  margin-bottom: 8px;
  color: rgba(244, 239, 232, 0.48);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.konsul-about-contact-card__item strong,
.konsul-about-contact-card__item a,
.konsul-about-contact-card__item a:visited {
  color: rgba(244, 239, 232, 0.94) !important;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
}

.konsul-about-contact-card > .konsul-about-button {
  margin-top: 24px;
}

/* ===== Доверие ===== */

.konsul-about-trust {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.konsul-about-trust__card {
  position: relative;
  padding: clamp(26px, 3.8vw, 44px);
  padding-top: clamp(92px, 7vw, 108px);
  border: 1px solid rgba(245, 210, 122, 0.23);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(245, 210, 122, 0.1), transparent 38%),
    rgba(255, 255, 255, 0.04);
}

.konsul-about-rating-badge {
  position: absolute;
  top: clamp(26px, 3vw, 38px);
  right: clamp(26px, 3.8vw, 44px);
  width: 150px;
  height: 50px;
  overflow: hidden;
  border-radius: 9px;
}

.konsul-about-rating-badge iframe {
  display: block;
  width: 150px;
  height: 50px;
  border: 0;
}

.konsul-about-trust__card p {
  margin-bottom: 22px;
  color: rgba(244, 239, 232, 0.86);
  font-size: 18px;
}

/* ===== FAQ ===== */

.konsul-about-faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.konsul-about-faq__item {
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--konsul-about-border, rgba(255, 255, 255, 0.09));
  border-radius: 20px;
  background: var(--konsul-about-card, rgba(255, 255, 255, 0.045));
}

.konsul-about-faq__item[open] {
  border-color: rgba(245, 210, 122, 0.28);
  background: var(--konsul-about-card-hover, rgba(255, 255, 255, 0.06));
}

.konsul-about-faq__item summary {
  position: relative;
  padding: 22px 60px 22px 22px;
  color: rgba(244, 239, 232, 0.94);
  font-family: "Tenor Sans", serif;
  font-size: 21px;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.konsul-about-faq__item summary::-webkit-details-marker {
  display: none;
}

.konsul-about-faq__item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  border: 1px solid rgba(245, 210, 122, 0.3);
  border-radius: 50%;
  color: var(--konsul-about-gold, #f5d27a);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 19px;
  line-height: 1;
}

.konsul-about-faq__item[open] summary::after {
  content: "−";
}

.konsul-about-faq__item > div {
  padding: 0 22px 22px;
}

.konsul-about-faq__item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.68;
}

/* ===== Финальный CTA ===== */

.konsul-about-cta {
  padding: clamp(76px, 8vw, 112px) 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(245, 210, 122, 0.16), transparent 32%),
    linear-gradient(135deg, #131c28 0%, #0c131d 100%);
  border-top: 1px solid rgba(245, 210, 122, 0.16);
}

.konsul-about-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.konsul-about-cta__inner h2 {
  max-width: 820px;
}

.konsul-about-cta__inner p {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: 18px;
}

.konsul-about-actions--cta {
  min-width: 240px;
  margin: 0;
}

.konsul-about-actions--cta .konsul-about-button {
  width: 100%;
}

/* ===== Планшеты ===== */

@media (max-width: 1100px) {
  .konsul-about-hero__grid,
  .konsul-about-intro,
  .konsul-about-assortment,
  .konsul-about-atelier,
  .konsul-about-location,
  .konsul-about-trust,
  .konsul-about-cta__inner {
    grid-template-columns: 1fr;
  }

  .konsul-about-hero__content,
  .konsul-about-intro__text,
  .konsul-about-section-heading {
    max-width: 860px;
  }

  .konsul-about-hero__media,
  .konsul-about-media-card {
    width: min(820px, 100%);
  }

  .konsul-about-intro__heading {
    position: static;
  }

  .konsul-about-steps {
    grid-template-columns: 1fr;
  }

  .konsul-about-step__number {
    margin-bottom: 20px;
  }

  .konsul-about-assortment__content {
    order: 1;
  }

  .konsul-about-assortment > .konsul-about-media-card {
    order: 2;
  }

  .konsul-about-atelier__content,
  .konsul-about-location__content {
    max-width: 860px;
  }

  .konsul-about-atelier {
    min-height: 620px;
  }

  .konsul-about-atelier__content {
    width: min(760px, 72%);
    max-width: none;
  }

  .konsul-about-atelier__visual {
    left: 31%;
  }

  .konsul-about-atelier__visual img {
    height: 114%;
  }

  .konsul-about-contact-card {
    max-width: 680px;
  }

  .konsul-about-actions--cta {
    max-width: 560px;
  }
}

@media (max-width: 921px) {
  body:has(.konsul-about-page) .ast-mobile-header-wrap,
  body:has(.konsul-about-page) .ast-mobile-header-content,
  body:has(.konsul-about-page) .ast-mobile-header-bar,
  body:has(.konsul-about-page) .ast-mobile-popup-inner,
  body:has(.konsul-about-page) .ast-builder-menu-mobile .main-navigation,
  body:has(.konsul-about-page) .ast-builder-menu-mobile .main-header-menu,
  body:has(.konsul-about-page) .ast-builder-menu-mobile .sub-menu {
    background: #111926 !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body:has(.konsul-about-page) .ast-builder-menu-mobile .menu-link,
  body:has(.konsul-about-page) .ast-mobile-popup-content a,
  body:has(.konsul-about-page) .menu-toggle,
  body:has(.konsul-about-page) .ast-mobile-svg {
    color: #f4efe8 !important;
    fill: #f4efe8 !important;
  }
}

/* ===== Телефоны ===== */

@media (max-width: 767px) {
  .konsul-about-page {
    font-size: 16px;
    line-height: 1.68;
  }

  .konsul-about-container {
    width: min(100% - 30px, 1280px);
  }

  .konsul-about-hero {
    padding: 58px 0 70px;
  }

  .konsul-about-hero__grid {
    gap: 34px;
  }

  .konsul-about-hero__title {
    font-size: clamp(38px, 11vw, 54px);
    line-height: 1.03;
  }

  .konsul-about-hero__lead {
    margin-top: 20px !important;
    font-size: 17px;
    line-height: 1.62;
  }

  .konsul-about-eyebrow {
    margin-bottom: 14px;
    font-size: 10px;
    letter-spacing: 0.17em;
  }

  .konsul-about-facts,
  .konsul-about-scenarios,
  .konsul-about-atelier__points,
  .konsul-about-faq {
    grid-template-columns: 1fr;
  }

  .konsul-about-facts {
    gap: 9px;
    margin-top: 26px;
  }

  .konsul-about-fact {
    padding: 15px;
  }

  .konsul-about-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .konsul-about-button {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
  }

  /* Фото первого экрана остаётся только на ПК и планшете. */
  .konsul-about-hero__media {
    display: none;
  }

  .konsul-about-hero__media,
  .konsul-about-media-card {
    border-radius: 22px;
  }

  .konsul-about-section {
    padding: 66px 0;
  }

  .konsul-about-page h2 {
    font-size: clamp(32px, 9.2vw, 44px);
    line-height: 1.08;
  }

  .konsul-about-section-heading {
    margin-bottom: 28px;
  }

  .konsul-about-section-heading p,
  .konsul-about-intro__text > p,
  .konsul-about-assortment__lead,
  .konsul-about-atelier__content > p,
  .konsul-about-location__content > p,
  .konsul-about-trust__card p,
  .konsul-about-cta__inner p {
    font-size: 16px;
  }

  .konsul-about-quote {
    padding: 22px 20px;
    border-radius: 0 18px 18px 0;
    font-size: 22px;
  }

  .konsul-about-step,
  .konsul-about-trust__card,
  .konsul-about-contact-card {
    padding: 22px 19px;
    border-radius: 22px;
  }

  .konsul-about-rating-badge {
    position: static;
    margin: 0 0 20px auto;
  }

  .konsul-about-atelier {
    min-height: 0;
    padding-bottom: 0;
  }

  .konsul-about-atelier__content {
    width: 100%;
    padding-right: 0;
  }

  .konsul-about-atelier__visual {
    top: -66px;
    right: -15px;
    bottom: -66px;
    left: -15px;
    height: auto;
  }

  .konsul-about-atelier__visual::after {
    background:
      linear-gradient(90deg, rgba(10, 16, 24, 0.92) 0%, rgba(10, 16, 24, 0.72) 42%, rgba(10, 16, 24, 0.34) 100%),
      linear-gradient(180deg, rgba(10, 16, 24, 0.55) 0%, rgba(10, 16, 24, 0.18) 25%, rgba(10, 16, 24, 0.2) 72%, rgba(10, 16, 24, 0.62) 100%);
  }

  .konsul-about-atelier__visual img {
    right: -8%;
    bottom: -4%;
    height: 114%;
    opacity: 0.58;
    transform: none;
    filter: brightness(0.54) contrast(0.92) grayscale(0.12) drop-shadow(0 22px 30px rgba(0, 0, 0, 0.3));
  }

  .konsul-about-step__number {
    font-size: 34px;
  }

  .konsul-about-scenario {
    padding: 18px;
  }

  .konsul-about-contact-card__item strong,
  .konsul-about-contact-card__item a {
    font-size: 17px;
  }

  .konsul-about-faq__item {
    border-radius: 18px;
  }

  .konsul-about-faq__item summary {
    padding: 19px 54px 19px 18px;
    font-size: 19px;
  }

  .konsul-about-faq__item summary::after {
    right: 16px;
  }

  .konsul-about-faq__item > div {
    padding: 0 18px 19px;
  }

  .konsul-about-cta {
    padding: 68px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .konsul-about-page *,
  .konsul-about-page *::before,
  .konsul-about-page *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}



/*
 * Добавить в конец konsul-custom.css.
 * Все новые правила изолированы внутри .konsul-article.
 */

.konsul-article .konsul-caption-visible {
  display: block !important;
}

.konsul-article .konsul-lookbook {
  display: grid;
  gap: 24px;
  margin: 32px 0;
}

.konsul-article .konsul-look-card {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
  gap: clamp(24px, 3.5vw, 48px);
  align-items: center;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--konsul-border, rgba(255, 255, 255, .12));
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 8%, rgba(195, 155, 87, .1), transparent 36%),
    var(--konsul-card, rgba(255, 255, 255, .04));
  scroll-margin-top: 110px;
}

.konsul-article .konsul-look-card__content,
.konsul-article .konsul-look-card__products {
  min-width: 0;
}

.konsul-article .konsul-look-card__content h3 {
  margin-top: 0 !important;
}

.konsul-article .konsul-look-card__list {
  margin-bottom: 0 !important;
}

.konsul-article .konsul-look-card__products {
  display: grid;
  gap: 12px;
}

.konsul-article .konsul-look-card__products--four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.konsul-article .konsul-look-card__products--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.konsul-article .konsul-look-card__product {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  aspect-ratio: 1 / 1.12;
  overflow: hidden;
  border: 1px solid var(--konsul-border, rgba(255, 255, 255, .12));
  border-bottom: 1px solid var(--konsul-border, rgba(255, 255, 255, .12)) !important;
  border-radius: 18px;
  background: #f4f0e8;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.konsul-article .konsul-look-card__product:hover,
.konsul-article .konsul-look-card__product:focus-visible {
  transform: translateY(-3px);
  border-color: var(--konsul-gold, #c39b57) !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .18);
}

.konsul-article .konsul-look-card__product:focus-visible {
  outline: 2px solid var(--konsul-gold, #c39b57);
  outline-offset: 3px;
}

.konsul-article .konsul-look-card__image {
  display: block;
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain;
}

.konsul-article .konsul-look-card__note {
  margin: 28px 0 0 !important;
  padding: 18px 20px;
  border: 1px solid var(--konsul-border, rgba(255, 255, 255, .12));
  border-radius: 20px;
  background: rgba(195, 155, 87, .08);
}

.konsul-article .konsul-autumn-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  margin: 32px 0 !important;
  padding: 0 !important;
  list-style: none;
  counter-reset: konsul-autumn-check;
}

.konsul-article .konsul-autumn-checklist > li {
  position: relative;
  min-height: 76px;
  margin: 0 !important;
  padding: 18px 18px 18px 64px !important;
  border: 1px solid var(--konsul-border, rgba(255, 255, 255, .12));
  border-radius: 20px;
  background: var(--konsul-card, rgba(255, 255, 255, .04));
  counter-increment: konsul-autumn-check;
}

.konsul-article .konsul-autumn-checklist > li::before {
  content: counter(konsul-autumn-check);
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(195, 155, 87, .55);
  border-radius: 50%;
  color: var(--konsul-gold, #c39b57);
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 1024px) {
  .konsul-article .konsul-look-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .konsul-article .konsul-look-card__products {
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
  }

  .konsul-article .konsul-autumn-checklist {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .konsul-article .konsul-lookbook {
    gap: 18px;
    margin: 24px 0;
  }

  .konsul-article .konsul-look-card {
    gap: 18px;
    padding: 18px;
    border-radius: 20px;
  }

  .konsul-article .konsul-look-card__products {
    gap: 8px;
  }

  .konsul-article .konsul-look-card__product {
    border-radius: 14px;
  }

  .konsul-article .konsul-look-card__image {
    padding: 5px;
  }

  .konsul-article .konsul-look-card__note {
    margin-top: 22px !important;
    padding: 16px;
    border-radius: 16px;
  }

  .konsul-article .konsul-autumn-checklist {
    gap: 12px;
    margin: 24px 0 !important;
  }

  .konsul-article .konsul-autumn-checklist > li {
    min-height: 68px;
    padding: 16px 16px 16px 58px !important;
    border-radius: 16px;
  }

  .konsul-article .konsul-autumn-checklist > li::before {
    top: 16px;
    left: 16px;
    width: 27px;
    height: 27px;
  }
}
