:root {
  --container: 1440px;
  --mint: #eaf4f3;
  --teal: #1ba87e;
  --teal-dark: #148a68;
  --hero-1: #173130;
  --hero-2: #1b423f;
  --yellow: #fcf60e;
  --ink: #171918;
  --ink-soft: #5a6765;
  --shop-bg: #ffffff;
  --footer: #171918;
  --red: #e4232d;
  --white: #ffffff;
  --radius: 14px;
  --font: "Inter", sans-serif;
  --display: "Inter", sans-serif;
  --header-h: 88px;
}

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

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
}

main {
  flex: 1 0 auto;
}

.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--mint) 0%, var(--white) 55%);
}

.error-page__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.error-page__title {
  margin: 0;
  max-width: 22ch;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}

body.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 15px;
}

.narrow {
  width: 100%;
  margin-inline: auto;
  padding: 0 15px;
}

.site-header {
  background: var(--mint);
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header-h);
}

.header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__left,
.header__right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img,
.logo__img {
  height: 52px;
  width: auto;
}

.site-header .logo__img--desktop {
  display: block;
}

.site-header .logo__img--mobile {
  display: none;
}

.logo--footer img {
  display: block;
  height: 56px;
  width: auto;
}

.header__phones,
.footer__phones {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-weight: 700;
  font-size: 15px;
}

.nav {
  display: flex;
  gap: 28px;
  font-weight: 600;
  font-size: 15px;
}

.nav a:hover,
.nav__link:hover { color: var(--teal); }

.nav__link--active { color: var(--teal); }

.header__cart {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: var(--teal);
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.header__cart[hidden] {
  display: none;
}

.header__cart span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  flex-shrink: 0;
}

.header__cart strong {
  font-size: 14px;
  font-weight: 800;
}

.header__cart em {
  font-style: normal;
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
}

.header__cart em .woocommerce-Price-amount,
.header__cart em .woocommerce-Price-amount bdi {
  white-space: nowrap;
  flex-direction: row;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials--teal a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: #fff;
  transition: background 0.18s ease;
}

.socials--teal a:hover { background: var(--teal-dark); }

.socials--teal svg {
  display: block;
  flex-shrink: 0;
}

.socials--yellow a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.burger {
  display: none;
  width: 28px;
  height: 20px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 0 0 7px;
  background: var(--ink);
}

.burger span:last-child {
  margin-bottom: 0;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: #f3f7f6;
  padding: 18px 20px 28px;
  display: flex;
  flex-direction: column;
  overflow: auto;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.mobile-menu__close {
  border: 0;
  background: transparent;
  font-size: 32px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  padding: 0 4px;
}

.mobile-menu__cart {
  margin-bottom: 22px;
  align-self: flex-end;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: right;
  font-weight: 700;
  font-size: 16px;
}

.mobile-menu__nav a:hover {
  color: var(--teal);
}

.mobile-menu__phones {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
}

.mobile-menu__socials {
  padding-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--block { width: 100%; }

.btn--yellow {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}

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

.btn--teal:hover { background: var(--teal-dark); border-color: var(--teal-dark); }

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

.btn--outline:hover {
  background: var(--teal);
  color: #fff;
}

.btn--yellow:hover {
  background: #efe40b;
  border-color: #efe40b;
}

.hero {
  background: #1a3a3a;
  color: #fff;
  overflow: hidden;
}

.hero-swiper,
.hero__slide {
  position: relative;
}

.hero__bg {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.hero__content {
  display: flex;
  width: 100%;
}

.hero__text {
  max-width: 660px;
  width: 100%;
}

.hero__content h1 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: 64px;
  font-weight: 700;
}

.hero__content p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
}

.hero__pagination {
  bottom: 18px !important;
}

.hero__pagination .swiper-pagination-bullet {
  background: #fff;
}

.consult-bar {
  background: var(--mint);
}

.consult-bar__inner {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.consult-bar p {
  margin: 0;
  color: var(--teal);
  font-size: 28px;
  font-weight: 700;
  font-family: var(--display);
}

.consult-bar .btn {
  font-weight: 700;
}

.shop {
  background: var(--shop-bg);
  color: var(--ink);
  padding: 64px 0 40px;
}

.shop__intro {
  text-align: center;
  margin-bottom: 42px;
}

.shop__intro h2 {
  margin: 0;
  color: #171918;
  font-family: var(--display);
  font-size: 36px;
  font-weight: 800;
}

.category {
  margin-bottom: 48px;
}

.category h3 {
  margin: 0 0 10px;
  color: var(--teal);
  font-family: var(--display);
  font-size: 28px;
  font-weight: 800;
}

.category__desc {
  margin: 0 0 22px;
  color: var(--ink-soft);
}

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

.card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  flex: 0 1 calc((100% - 40px) / 3);
  min-width: 0;
  gap: 16px;
  padding: 16px;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  border: 1px solid #94d2bd;
}

.card__media {
  flex: 0 0 160px;
  width: 160px;
  height: auto;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.card h4 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
}

.card__subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 800;
}

.price s {
  color: #9aa6a3;
  font-size: 16px;
  font-weight: 600;
}

.card .btn {
  width: 100%;
  min-height: 42px;
}

.card .added_to_cart.wc-forward {
  display: none !important;
}

.advantages {
  background: #fff;
  padding: 10px 0 56px;
}

.advantages__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.advantages__list li {
  flex: 1 1 280px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 84px;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
}

.advantages__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

.reviews {
  background: var(--mint);
  padding: 64px 0;
}

.reviews h2,
.faq h2 {
  margin: 0 0 28px;
  text-align: center;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
}

.reviews-swiper {
  overflow: hidden;
  padding-bottom: 42px;
}

.reviews-swiper .swiper-pagination-bullet {
  background: var(--teal);
}

.reviews-swiper .swiper-slide {
  height: auto;
}

.review {
  background: #fff;
  border: 1px solid rgba(27, 168, 126, 0.35);
  border-radius: 14px;
  padding: 18px;
  min-height: 196px;
  height: 100%;
}

.review__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review__top strong { color: var(--teal); }

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #d7f0e7;
  color: var(--teal-dark);
  font-weight: 800;
}

.avatar--photo {
  object-fit: cover;
  padding: 0;
  display: block;
}

.review p {
  margin: 0;
  color: var(--ink-soft);
}

.faq {
  background: #f7faf9;
  padding: 64px 0 72px;
}

.faq h2 { color: var(--teal); }

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

.accordion__item {
  background: var(--teal);
  color: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid transparent;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.accordion__item.is-open {
  background: #fff;
  color: var(--teal-dark);
  border-color: #d9e7e3;
}

.accordion__trigger {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font-weight: 800;
  padding: 16px 52px 16px 18px;
  position: relative;
}

.accordion__trigger::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.35s ease;
}

.accordion__item.is-open .accordion__trigger::after {
  transform: translateY(-20%) rotate(225deg);
}

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.accordion__item.is-open .accordion__panel {
  grid-template-rows: 1fr;
}

.accordion__content {
  overflow: hidden;
}

.accordion__content p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--ink-soft);
}

.site-footer {
  margin-top: auto;
  background: var(--footer);
  color: #fff;
  padding: 48px 0 28px;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  font-weight: 600;
}

.footer__cta {
  text-align: center;
  margin-bottom: 28px;
}

.footer__cta p {
  margin: 0 auto;
  max-width: 56ch;
  font-weight: 800;
  font-size: 18px;
}

.footer__copy {
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
}

.footer__copy p { margin: 0; }

.cart-empty {
  text-align: center;
  color: var(--ink-soft);
  padding: 40px 8px;
}

.booking {
  padding: 48px 0 72px;
  background: #fff;
}

.booking__intro {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 36px;
}

.booking__photo {
  flex: 0 0 480px;
  width: 480px;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

.booking__text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  color: var(--ink-soft);
}

.booking__text p {
  margin: 0 0 16px;
}

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

.booking__lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: 32px;
  padding: 28px 32px;
  border-radius: 16px;
  background: var(--teal);
  color: #fff;
}

.booking__lead-text {
  margin: 0;
  max-width: 620px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  align-self: center;
}

.booking__form {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.booking__input {
  min-width: 240px;
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
}

/* Contact Form 7 — booking lead */
.booking-cf7 {
  width: 100%;
  max-width: 420px;
  justify-self: end;
  align-self: center;
}

.booking-cf7 .wpcf7 {
  margin: 0;
  width: 100%;
}

.booking-cf7 .wpcf7-form {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.booking-cf7 .wpcf7-form > p {
  margin: 0;
}

.booking-cf7 .booking__form,
.booking-cf7 .booking__form--cf7 {
  display: block;
  width: 100%;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    max-height 0.4s ease;
}

.booking-cf7 .booking__form > p,
.booking-cf7 .booking__form--cf7 > p {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 12px;
  row-gap: 6px;
  margin: 0;
  width: 100%;
}

.booking-cf7 .booking__form br,
.booking-cf7 .booking__form--cf7 br {
  display: none;
}

.booking-cf7 .wpcf7-form-control-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.booking-cf7 .booking__input,
.booking-cf7 .wpcf7-tel {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  box-sizing: border-box;
}

.booking-cf7 .wpcf7-submit {
  justify-self: start;
  min-height: 46px;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  white-space: nowrap;
}

/* Hide CF7 spinner — keep layout stable */
.booking-cf7 .wpcf7-spinner {
  display: none !important;
}

.booking-cf7 .wpcf7-not-valid-tip {
  display: none;
}

.booking-cf7 .wpcf7 form .wpcf7-response-output,
.booking-cf7 .wpcf7-response-output {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 0 solid transparent !important;
  font-size: 13px;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  box-sizing: border-box;
  width: 100%;
  text-align: left;
  transform: translateY(-8px);
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    max-height 0.45s ease,
    margin 0.35s ease,
    padding 0.4s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    background-color 0.35s ease,
    visibility 0s linear 0.4s;
}

.booking-cf7 .wpcf7 form.invalid .wpcf7-response-output,
.booking-cf7 .wpcf7 form.unaccepted .wpcf7-response-output,
.booking-cf7 .wpcf7 form.failed .wpcf7-response-output,
.booking-cf7 .wpcf7 form.aborted .wpcf7-response-output,
.booking-cf7 .wpcf7 form.spam .wpcf7-response-output,
.booking-cf7 .wpcf7 form.sent .wpcf7-response-output {
  margin: 10px 0 0 !important;
  max-height: 140px;
  opacity: 1;
  padding: 10px 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  transition:
    opacity 0.4s ease,
    max-height 0.45s ease,
    margin 0.35s ease,
    padding 0.4s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    background-color 0.35s ease,
    visibility 0s linear 0s;
}

.booking-cf7 .booking__form.is-faded,
.booking-cf7 .booking__form--cf7.is-faded {
  opacity: 0;
  transform: translateY(-6px);
  max-height: 0;
  pointer-events: none;
}

.booking__privacy {
  margin: 18px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
}

.booking__success {
  margin: 12px 0 0;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--teal);
}

.field {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid #d5dddb;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.field::placeholder { color: #9aa6a3; }

.field:focus {
  border-color: var(--teal);
}

.field--area {
  min-height: 140px;
  padding: 16px 18px;
  resize: vertical;
}

select.field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23171918' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.qty__btn {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.qty--muted .qty__btn {
  background: #9aa3a1;
  pointer-events: none;
}

.qty__value {
  min-width: 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
}

.modal[hidden] { display: none; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.modal.is-open {
  opacity: 1;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 25, 24, 0.45);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.modal.is-open .modal__backdrop {
  opacity: 1;
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: 36px 32px 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(23, 25, 24, 0.18);
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.modal.is-open .modal__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal__dialog--one-click {
  width: min(100%, 480px);
  padding: 40px 36px 28px;
}

.modal__dialog--success {
  width: min(100%, 560px);
  text-align: center;
  padding: 52px 48px 40px;
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal__title {
  margin: 0 0 20px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.modal__dialog--success .modal__title {
  margin-bottom: 18px;
  font-size: 30px;
}

.modal__lead {
  margin: -6px 0 24px;
  text-align: center;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}

.modal__text {
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
}

.modal__product {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.modal__thumb {
  width: 70px;
  height: 94px;
  object-fit: contain;
  flex-shrink: 0;
}

.modal__product-info { flex: 1 1 auto; min-width: 0; }

.modal__product-name {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.modal__product-meta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.modal__price {
  font-size: 18px;
  font-weight: 700;
}

.modal__actions { margin-top: 4px; }

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal__form .field {
  min-height: 50px;
}

/* Contact Form 7 inside one-click modal */
.one-click-cf7 .wpcf7 {
  margin: 0;
}

.one-click-cf7 .wpcf7-form {
  margin: 0;
}

.one-click-cf7 .wpcf7-form p {
  margin: 0;
}

.one-click-cf7 .modal__form--cf7,
.one-click-cf7 .modal__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.one-click-cf7 .wpcf7-form-control-wrap {
  display: block;
}

.one-click-cf7 .wpcf7-tel,
.one-click-cf7 input.field {
  width: 100%;
  min-height: 50px;
}

.one-click-cf7 .wpcf7-submit {
  width: 100%;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.one-click-cf7 .wpcf7-spinner {
  position: absolute;
}

.one-click-cf7 .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #c0392b;
}

.one-click-cf7 .wpcf7-response-output {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.4;
}

.one-click-cf7 .wpcf7 form.sent .wpcf7-response-output {
  display: none;
}

.modal__note {
  margin: 16px 0 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.modal__status {
  margin-top: 8px;
  padding: 16px 18px;
  border: 1px solid var(--teal);
  border-radius: 12px;
  background: #eaf7f3;
  color: var(--teal);
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.modal.is-done .modal__actions { display: none; }

.modal.is-done .qty__btn {
  background: #9aa3a1;
  pointer-events: none;
}

.checkout {
  padding: 40px 0 80px;
  background: #fff;
}

.checkout__title {
  margin: 0 0 32px;
  font-size: 36px;
  font-weight: 800;
}

.checkout--order-success {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.checkout--order-success > .container,
.container--order-success {
  width: 100%;
  display: flex;
  justify-content: center;
}

.order-success {
  width: min(100%, 560px);
  margin: 0 auto;
}

.order-success__card {
  width: 100%;
  padding: 52px 48px 40px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(20, 40, 35, 0.08);
  text-align: center;
}

.order-success__title {
  margin: 0 0 18px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
}

.order-success__text {
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
}

.order-success__instructions {
  margin: -12px 0 28px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #eaf7f3;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.order-success__instructions p:last-child {
  margin-bottom: 0;
}

.order-success__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.order-success__card .btn + .btn {
  margin-top: 10px;
}

@media (max-width: 600px) {
  .order-success__card {
    padding: 36px 22px 28px;
    box-shadow: none;
  }

  .order-success__title {
    font-size: 24px;
  }
}

.checkout__layout {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.checkout__form {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checkout__row {
  display: flex;
  gap: 14px;
}

.checkout__pays {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.checkout__pay {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 20px;
  border: 1px solid var(--teal);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
}

.checkout__pay:has(input:checked) {
  background: #e8f7f2;
}

.checkout__pay input {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0;
}

.checkout__pay input:checked::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
}

.checkout__summary {
  flex: 0 0 60%;
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checkout__items {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.checkout__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e6eeec;
}

.checkout__item-img {
  width: 64px;
  height: 86px;
  object-fit: contain;
  flex-shrink: 0;
}

.checkout__item-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.checkout__item-name {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
}

.checkout__item-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.checkout__item-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.checkout__item-prices {
  display: flex;
  align-items: center;
  gap: 16px;
}

.checkout__item-price,
.checkout__item-sum {
  font-size: 16px;
  white-space: nowrap;
}

.checkout__item-sum { font-weight: 800; }

.checkout__item-remove {
  border: 0;
  background: transparent;
  color: #8b9492;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.checkout__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 4px;
  font-size: 18px;
  font-weight: 700;
}

.checkout__total strong {
  font-size: 22px;
  font-weight: 800;
  white-space: nowrap;
}

.checkout__submit {
  align-self: flex-end;
  min-width: 260px;
}

.checkout__empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--ink);
}

.checkout__empty p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.5;
}

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

.checkout__empty a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline;
}

.checkout__layout.is-empty .checkout__form,
.checkout__layout.is-empty [data-checkout-total-wrap],
.checkout__layout.is-empty [data-checkout-submit] {
  display: none;
}

.checkout__layout.is-empty .checkout__summary {
  flex: 1 1 auto;
  width: 100%;
}

/* WooCommerce checkout inside theme template */
.checkout--woocommerce .woocommerce {
  margin-top: 8px;
}

.checkout--woocommerce .woocommerce-NoticeGroup,
.checkout--woocommerce .woocommerce-NoticeGroup-checkout,
.checkout--woocommerce .woocommerce-notices-wrapper {
  flex: 1 0 100%;
  width: 100%;
  max-width: 100%;
  margin: 0 0 20px;
  order: -1;
}

.checkout--woocommerce .woocommerce-info,
.checkout--woocommerce .woocommerce-message,
.checkout--woocommerce .woocommerce-error {
  margin: 0;
  border: 0;
  border-radius: 12px;
  padding: 14px 18px;
  background: #fff4e5;
  color: var(--ink);
  list-style: none;
}

.checkout--woocommerce .woocommerce-error li {
  margin: 0 0 6px;
}

.checkout--woocommerce .woocommerce-error li:last-child {
  margin-bottom: 0;
}

.checkout--woocommerce .woocommerce-info a,
.checkout--woocommerce .cart-empty + .return-to-shop a,
.checkout--woocommerce .return-to-shop .button {
  color: var(--teal);
  font-weight: 700;
}

.checkout--woocommerce .return-to-shop .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white) !important;
  text-decoration: none;
  border: none;
}

.checkout--woocommerce form.checkout,
.checkout--woocommerce form.checkout__layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
}

.checkout--woocommerce .checkout__form {
  flex: 1 1 38%;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checkout--woocommerce .checkout__summary {
  flex: 1 1 54%;
  min-width: 300px;
  width: auto;
  gap: 16px;
}

.checkout--woocommerce .col2-set {
  width: 100%;
  float: none;
}

.checkout--woocommerce .col2-set .col-1,
.checkout--woocommerce .col2-set .col-2 {
  width: 100%;
  float: none;
}

.checkout--woocommerce .woocommerce-billing-fields h3,
.checkout--woocommerce .woocommerce-additional-fields h3 {
  display: none;
}

.checkout--woocommerce .woocommerce-billing-fields__field-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.checkout--woocommerce .form-row {
  margin: 0;
  padding: 0;
  float: none !important;
  width: 100%;
}

.checkout--woocommerce .form-row-first,
.checkout--woocommerce .form-row-last {
  width: calc((100% - 14px) / 2);
}

.checkout--woocommerce .form-row label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.checkout--woocommerce .form-row .required {
  display: none;
}

.checkout--woocommerce .input-text,
.checkout--woocommerce select,
.checkout--woocommerce textarea,
.checkout--woocommerce .select2-selection--single {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid #d5dddb;
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  box-shadow: none;
  outline: none;
}

.checkout--woocommerce .input-text::placeholder,
.checkout--woocommerce textarea::placeholder {
  color: #9aa6a3;
}

.checkout--woocommerce .input-text:focus,
.checkout--woocommerce select:focus,
.checkout--woocommerce textarea:focus {
  border-color: var(--teal);
}

.checkout--woocommerce textarea,
.checkout--woocommerce .form-row.notes textarea {
  min-height: 140px;
  padding: 16px 18px;
  resize: vertical;
}

.checkout--woocommerce .form-row.woocommerce-invalid .input-text,
.checkout--woocommerce .form-row.woocommerce-invalid select,
.checkout--woocommerce .form-row.woocommerce-invalid textarea,
.checkout--woocommerce .form-row.woocommerce-invalid .select2-selection {
  border-color: var(--red);
  border-left-width: 1px;
}

.checkout--woocommerce .form-row.woocommerce-validated .input-text,
.checkout--woocommerce .form-row.woocommerce-validated select,
.checkout--woocommerce .form-row.woocommerce-validated textarea,
.checkout--woocommerce .form-row.woocommerce-validated .select2-selection {
  border-color: #d5dddb;
  border-left-width: 1px;
}

.checkout--woocommerce .checkout__pays {
  margin-top: 6px;
}

.checkout--woocommerce #order_review {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.checkout--woocommerce .blockUI,
.checkout--woocommerce .blockOverlay,
.checkout--woocommerce .blockMsg {
  display: none !important;
}

.checkout--woocommerce .checkout__items {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.checkout--woocommerce .checkout__item-img,
.checkout--woocommerce .checkout__item img {
  width: 64px;
  height: 86px;
  object-fit: contain;
  flex-shrink: 0;
}

.checkout--woocommerce .checkout__item-img--empty {
  display: inline-block;
  background: #eef3f2;
  border-radius: 8px;
}

.checkout--woocommerce .checkout__total {
  width: 100%;
  margin-top: 8px;
  padding-top: 16px;
}

.checkout--woocommerce .checkout__total strong,
.checkout--woocommerce .checkout__total .woocommerce-Price-amount,
.checkout--woocommerce .checkout__total .amount {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}

.checkout--woocommerce .checkout__total small,
.checkout--woocommerce .checkout__total .includes_tax {
  display: none;
}

.checkout--woocommerce .woocommerce-checkout-payment {
  margin-top: 20px;
  background: transparent;
  border: 0;
  padding: 0;
}

.checkout--woocommerce .checkout__place-order {
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
}

.checkout--woocommerce .checkout__pays {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checkout--woocommerce .checkout__pays > li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checkout--woocommerce .checkout__pays .payment_box {
  margin: 8px 0 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #f7fbfa;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}

.checkout--woocommerce .checkout__pays .payment_box p:last-child {
  margin-bottom: 0;
}

.checkout--woocommerce .woocommerce-checkout-payment .place-order {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
}

.checkout--woocommerce .checkout__place-order .checkout__submit,
.checkout--woocommerce #place_order,
.checkout--woocommerce .checkout__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 260px;
  min-height: 46px;
  margin: 0;
  padding: 0 22px;
  border: 1px solid var(--teal);
  border-radius: 10px;
  background: var(--teal);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.checkout--woocommerce #place_order:hover,
.checkout--woocommerce .checkout__submit:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.checkout--woocommerce .checkout__item-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}

.checkout--woocommerce .checkout__item-remove:hover {
  color: var(--red);
  background: #fdecec;
}

@media (max-width: 900px) {
  .checkout--woocommerce form.checkout,
  .checkout--woocommerce form.checkout__layout {
    flex-direction: column;
    gap: 28px;
  }

  .checkout--woocommerce .checkout__form,
  .checkout--woocommerce .checkout__summary {
    flex: 1 1 auto;
    width: 100%;
  }

  .checkout--woocommerce .form-row-first,
  .checkout--woocommerce .form-row-last {
    width: 100%;
  }

  .checkout--woocommerce .checkout__place-order {
    justify-content: stretch;
  }

  .checkout--woocommerce #place_order,
  .checkout--woocommerce .checkout__submit {
    width: 100%;
    min-width: 0;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 1100px) {
  :root { --header-h: 72px; }

  .nav--desktop,
  .header__right .socials--teal {
    display: none;
  }

  .burger { display: block; }

  .site-header .logo__img--desktop {
    display: none;
  }

  .site-header .logo__img--mobile {
    display: block;
    height: 44px;
    width: auto;
  }

  .socials {
    justify-content: flex-end;
  }

  .card {
    flex: 0 1 calc((100% - 20px) / 2);
  }

  .hero__text {
    max-width: 100%;
  }

  .hero,
  .hero-swiper,
  .hero-swiper .swiper-wrapper,
  .hero__slide {
    height: calc(100dvh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
  }

  .hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero__text .btn {
    width: 100%;
  }

  .consult-bar {
    padding: 40px 0 50px;
  }

  .consult-bar__inner {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }

  .consult-bar p {
    text-align: center;
    font-size: 26px;
  }

  .consult-bar .btn {
    width: 100%;
    font-weight: 700;
  }

  .booking__intro,
  .booking__lead {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .booking__form,
  .booking-cf7 .booking__form,
  .booking-cf7 .booking__form--cf7,
  .booking-cf7 .booking__form > p,
  .booking-cf7 .booking__form--cf7 > p {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .booking-cf7 {
    justify-self: stretch;
    max-width: none;
    width: 100%;
  }

  .booking__photo {
    flex-basis: auto;
    width: 100%;
  }

  .booking__input,
  .booking-cf7 .booking__input,
  .booking-cf7 .wpcf7-tel {
    min-width: 0;
    max-width: none;
    width: 100%;
  }

  .booking-cf7 .wpcf7-submit {
    width: 100%;
  }

  .checkout__layout,
  .checkout__row {
    flex-direction: column;
  }

  .checkout__form {
    width: 100%;
  }

  .checkout__summary {
    flex: 1 1 auto;
    width: 100%;
  }

  .checkout__submit {
    align-self: stretch;
    min-width: 0;
  }

  .checkout__total {
    font-size: 16px;
  }

  .checkout__total strong {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .header__left { gap: 10px; }
  .header__phones { font-size: 12px; }
  .hero__content h1 { font-size: 36px; }

  .products {
    gap: 12px;
  }

  .card {
    flex: 0 1 calc((100% - 12px) / 2);
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  .card__media {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    height: 140px;
    min-height: 140px;
    margin-inline: 0;
  }

  .card__body {
    gap: 8px;
  }

  .card h4 {
    font-size: 14px;
    line-height: 1.3;
  }

  .card__subtitle {
    font-size: 12px;
    line-height: 1.35;
  }

  .price {
    font-size: 16px;
    flex-wrap: wrap;
    gap: 4px;
  }

  .price s {
    font-size: 12px;
  }

  .card .btn {
    min-height: 36px;
    padding: 0 10px;
    font-size: 12px;
  }

  .site-header .logo__img--mobile { height: 40px; }
  .shop {
    padding: 40px 0 40px;
  }

  .shop__intro h2 {
    font-size: 26px;
  }

  .category h3 {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
  }

  .category__desc {
    font-size: 14px;
    text-align: center;
  }

  .category:last-child {
    margin: 0;
  }

  .advantages__list li {
    min-height: 0;
    padding: 0;
    font-weight: 700;
  }

  .reviews {
    padding: 40px 0;
  }

  .reviews h2 {
    font-size: 26px;
    font-weight: 700;
  }

  .faq {
    padding: 40px 0 60px;
  }

  .faq h2 {
    font-size: 26px;
    font-weight: 700;
  }

  .footer__brand {
    width: 100%;
    justify-content: space-between;
  }

  .footer__cta p {
    font-size: 16px;
    font-weight: 700;
  }

  .site-footer {
    padding: 60px 0;
  }

  .footer__nav {
    gap: 10px;
  }

  .site-footer .socials {
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .checkout__title {
    font-size: 26px;
    font-weight: 700;
  }

  .checkout {
    padding: 40px 0 60px;
  }

  .checkout__item {
    align-items: flex-start;
    gap: 12px;
  }

  .checkout__item-img {
    width: 36%;
    max-width: 140px;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .checkout__item-body {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }

  .checkout__item-name {
    flex: 0 0 auto;
  }

  .checkout__item-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }

  .checkout__item-row .qty {
    gap: 18px;
  }

  .checkout__item-meta {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .checkout__item-prices {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 0 1 auto;
  }

  .checkout__item-price,
  .checkout__item-sum {
    white-space: nowrap;
  }

  .checkout__item-remove {
    margin-left: auto;
  }

  .modal__title { font-size: 24px; }
  .modal__dialog,
  .modal__dialog--one-click,
  .modal__dialog--success { padding: 28px 18px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
