/*
 * editor-styles.css — Toptrail
 *
 * Стилі для Gutenberg редактора.
 * Підключається через add_editor_style() в functions.php.
 *
 * Важливо: в редакторі всі селектори автоматично отримують
 * префікс .editor-styles-wrapper, тому :root змінні треба
 * визначати тут явно, а не покладатися на style.css фронтенду.
 */

/* ============================================================
   CSS VARIABLES — повторюємо з style.css
   ============================================================ */
.editor-styles-wrapper {
  --cream:        #F5F2EC;
  --cream-2:      #EDEAE3;
  --forest:       #1E2E1F;
  --forest-2:     #2D3F2E;
  --orange:       #E8831A;
  --orange-hover: #D07516;
  --dark:         #111111;
  --text-dark:    #1A1A1A;
  --text-mid:     #474747;
  --text-light:   #888888;
  --white:        #FFFFFF;
  --border:       #E0DBD3;
  --border-dark:  #CCC7BE;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.09);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.13);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.16);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Montserrat', -apple-system, sans-serif;

  --t-fast: 0.18s ease;
  --t-base: 0.28s ease;

  font-family: var(--sans);
  color: var(--text-dark);
  background: #F5F1EB;
}

/* ============================================================
   ГЛОБАЛЬНИЙ ФІКС — обмежуємо всі SVG і img за замовчуванням
   ============================================================ */
.editor-styles-wrapper svg {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

.editor-styles-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   HERO BLOCK
   ============================================================ */
.editor-styles-wrapper .hero {
  position: relative;
  min-height: 520px;
  background: var(--forest);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 48px 48px 56px;
}

/* Background poster in editor */
.editor-styles-wrapper .hero-bg-poster {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
}

/* Hide video in editor — poster is enough */
.editor-styles-wrapper .hero-bg-video {
  display: none;
}

.editor-styles-wrapper .hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.editor-styles-wrapper .hero-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 500;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.editor-styles-wrapper .hero-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 32px;
}

.editor-styles-wrapper .hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero car selector button */
.editor-styles-wrapper .hero-car-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.97);
  border: none;
  border-radius: var(--r-md);
  padding: 4px 14px 4px 6px;
  min-width: 248px;
  cursor: pointer;
}

.editor-styles-wrapper .hero-van-icon {
  width: 52px;
  height: 36px;
  border-radius: 7px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.editor-styles-wrapper .hero-van-img {
  width: 52px !important;
  height: 36px !important;
  object-fit: contain;
  display: block;
}

.editor-styles-wrapper .hero-sel-label {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  flex: 1;
}

/* ← Ось головний фікс: обмежуємо chevron SVG */
.editor-styles-wrapper .hero-sel-chevron {
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0;
  color: var(--text-light);
}

/* Hero dropdown — приховуємо в редакторі */
.editor-styles-wrapper .hero-car-dropdown {
  display: none;
}

/* Hero di images */
.editor-styles-wrapper .hero-di-img img {
  width: 52px !important;
  height: 36px !important;
  object-fit: contain;
}

.editor-styles-wrapper .hero-di-check {
  width: 15px !important;
  height: 15px !important;
}

/* CTA button */
.editor-styles-wrapper .btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  overflow: hidden;
  cursor: pointer;
}

.editor-styles-wrapper .btn-text {
  padding: 14px 18px 14px 22px;
}

.editor-styles-wrapper .btn-circle {
  width: 48px;
  height: 48px;
  background: rgba(0,0,0,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3px;
  flex-shrink: 0;
}

.editor-styles-wrapper .btn-circle svg {
  width: 18px !important;
  height: 18px !important;
}

/* Trust stars */
.editor-styles-wrapper .hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.editor-styles-wrapper .hero-stars {
  display: flex;
  align-items: center;
  gap: 3px;
}

.editor-styles-wrapper .hero-stars svg {
  width: 16px !important;
  height: 16px !important;
}

.editor-styles-wrapper .hero-trust-text {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}

/* ============================================================
   CATEGORIES GRID
   ============================================================ */
.editor-styles-wrapper .categories-section {
  padding: 48px 0;
}

.editor-styles-wrapper .categories-inner {
  max-width: 100%;
}

.editor-styles-wrapper .categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.editor-styles-wrapper .cat-card {
  position: relative;
  height: 280px;
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  background: var(--cream-2);
}

.editor-styles-wrapper .cat-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.editor-styles-wrapper .cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 60%);
}

.editor-styles-wrapper .cat-card-body {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.editor-styles-wrapper .cat-card-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
}

.editor-styles-wrapper .cat-card-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 1;
}

.editor-styles-wrapper .cat-card-arrow svg {
  width: 16px !important;
  height: 16px !important;
}

/* ============================================================
   CONFIGURATOR PROMO
   ============================================================ */
.editor-styles-wrapper .configurator-section {
  padding: 64px 0;
  background: var(--white);
}

.editor-styles-wrapper .configurator-inner {
  max-width: 100%;
}

.editor-styles-wrapper .config-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 48px;
}

.editor-styles-wrapper .config-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.editor-styles-wrapper .config-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 28px 20px;
  background: var(--cream);
  border-radius: var(--r-xl);
}

.editor-styles-wrapper .config-feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.editor-styles-wrapper .config-feature-icon img,
.editor-styles-wrapper .config-feature-icon svg {
  width: 52px !important;
  height: 52px !important;
  object-fit: contain;
}

.editor-styles-wrapper .config-feature-title {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.editor-styles-wrapper .config-feature-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.5;
}

.editor-styles-wrapper .config-van-area {
  position: relative;
  display: flex;
  justify-content: center;
}

.editor-styles-wrapper .config-van-area > img {
  max-width: 480px !important;
  height: auto !important;
  margin: 0 auto;
}

.editor-styles-wrapper .config-count-badge {
  position: absolute;
  right: 0;
  bottom: 20px;
  background: var(--forest);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 20px 24px;
  text-align: center;
}

.editor-styles-wrapper .config-count-number {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
}

.editor-styles-wrapper .config-count-label {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 4px;
}

/* ============================================================
   PRODUCTS SLIDER
   ============================================================ */
.editor-styles-wrapper .products-section {
  padding: 48px 0 64px;
}

.editor-styles-wrapper .products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  margin-bottom: 28px;
}

.editor-styles-wrapper .products-title {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 500;
  color: var(--text-dark);
}

.editor-styles-wrapper .view-all {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
}

.editor-styles-wrapper .view-all svg {
  width: 14px !important;
  height: 14px !important;
}

/* In editor show as simple grid instead of Swiper */
.editor-styles-wrapper .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  padding: 0 40px;
}

.editor-styles-wrapper .swiper-slide {
  width: auto !important;
}

.editor-styles-wrapper .product-slide-card {
  display: block;
  text-decoration: none;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--white);
  border: 1.5px solid var(--border);
}

.editor-styles-wrapper .product-slide-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream-2);
}

.editor-styles-wrapper .product-slide-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.editor-styles-wrapper .product-slide-body {
  padding: 16px;
}

.editor-styles-wrapper .product-slide-model {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  margin-bottom: 6px;
}

.editor-styles-wrapper .product-slide-title {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.35;
}

.editor-styles-wrapper .product-slide-price {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.editor-styles-wrapper .swiper-btn-next-products,
.editor-styles-wrapper .swiper-products-pagination {
  display: none;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.editor-styles-wrapper .testimonials-section {
  padding: 64px 40px;
  background: var(--cream);
  overflow: hidden;
}

.editor-styles-wrapper .testimonials-header {
  text-align: center;
  margin-bottom: 40px;
}

.editor-styles-wrapper .testimonials-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.editor-styles-wrapper .testimonials-sub {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

.editor-styles-wrapper .testimonials-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* In editor show rows as flex wrapping grid */
.editor-styles-wrapper .testimonials-rows .swiper-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  grid-template-columns: none;
}

.editor-styles-wrapper .testimonials-rows .swiper-slide {
  flex: 0 0 calc(33% - 8px);
  min-width: 220px;
}

.editor-styles-wrapper .review-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.editor-styles-wrapper .review-stars {
  display: flex;
  gap: 3px;
}

.editor-styles-wrapper .review-stars svg {
  width: 16px !important;
  height: 16px !important;
}

.editor-styles-wrapper .star-full  { fill: #F5A623; }
.editor-styles-wrapper .star-empty { fill: var(--border); }

.editor-styles-wrapper .review-text {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.65;
  flex: 1;
}

.editor-styles-wrapper .review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.editor-styles-wrapper .review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream-2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.editor-styles-wrapper .review-avatar-placeholder svg {
  width: 20px !important;
  height: 20px !important;
  color: var(--text-light);
}

.editor-styles-wrapper .review-author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.editor-styles-wrapper .about-section {
  padding: 64px 40px;
  background: var(--white);
}

.editor-styles-wrapper .about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 100%;
}

.editor-styles-wrapper .about-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.editor-styles-wrapper .about-body {
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 28px;
}

.editor-styles-wrapper .btn-pill-forest {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  background: var(--forest);
  color: #fff;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}

.editor-styles-wrapper .about-img {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--cream-2);
}

.editor-styles-wrapper .about-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.editor-styles-wrapper .faq-section {
  padding: 64px 40px;
  background: var(--cream);
}

.editor-styles-wrapper .faq-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  max-width: 100%;
}

.editor-styles-wrapper .faq-side-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 14px;
}

.editor-styles-wrapper .faq-side-desc {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.65;
}

.editor-styles-wrapper .faq-list {
  display: flex;
  flex-direction: column;
}

.editor-styles-wrapper .faq-item {
  border-bottom: 1.5px solid var(--border);
  overflow: hidden;
}

.editor-styles-wrapper .faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
}

.editor-styles-wrapper .faq-q-chevron {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
  color: var(--text-light);
}

.editor-styles-wrapper .faq-a {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.7;
  padding-bottom: 16px;
  display: none;
}

.editor-styles-wrapper .faq-item.open .faq-a { display: block; }

.editor-styles-wrapper .faq-item.open .faq-q-chevron {
  transform: rotate(180deg);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.editor-styles-wrapper .cta-section {
  position: relative;
  background: var(--forest);
  border-radius: var(--r-xl);
  margin: 0 20px;
  overflow: hidden;
}

.editor-styles-wrapper .cta-topo { display: none; }

.editor-styles-wrapper .cta-inner {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: 32px;
  align-items: center;
  padding: 56px 48px;
  max-width: 100%;
}

.editor-styles-wrapper .cta-side-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: rgba(255,255,255,0.06);
}

.editor-styles-wrapper .cta-side-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.editor-styles-wrapper .cta-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 500;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.editor-styles-wrapper .cta-body {
  font-size: 14.5px;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 28px;
}

.editor-styles-wrapper .btn-orange-pill {
  display: inline-flex;
  align-items: center;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  cursor: pointer;
}

.editor-styles-wrapper .pill-text {
  padding: 13px 18px 13px 22px;
}

.editor-styles-wrapper .pill-circle {
  width: 44px;
  height: 44px;
  background: rgba(0,0,0,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3px;
  flex-shrink: 0;
}

.editor-styles-wrapper .pill-circle svg {
  width: 14px !important;
  height: 14px !important;
}

/* ============================================================
   JOURNAL / BLOG
   ============================================================ */
.editor-styles-wrapper .journal-section {
  padding: 64px 40px;
  background: var(--white);
}

.editor-styles-wrapper .journal-inner {
  max-width: 100%;
}

.editor-styles-wrapper .journal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.editor-styles-wrapper .journal-title {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 500;
  color: var(--text-dark);
}

.editor-styles-wrapper .journal-view-all {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
}

.editor-styles-wrapper .journal-view-all svg {
  width: 13px !important;
  height: 13px !important;
}

.editor-styles-wrapper .journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.editor-styles-wrapper .journal-card {
  display: block;
  text-decoration: none;
}

.editor-styles-wrapper .journal-card-img {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--cream-2);
  margin-bottom: 16px;
}

.editor-styles-wrapper .journal-card-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.editor-styles-wrapper .journal-card-date {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.editor-styles-wrapper .journal-card-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.35;
}

/* ============================================================
   INSTAGRAM / SOCIAL
   ============================================================ */
.editor-styles-wrapper .social-section {
  padding: 48px 0 64px;
  background: var(--white);
}

.editor-styles-wrapper .social-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding: 0 40px;
}

.editor-styles-wrapper .social-title {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 500;
  color: var(--text-dark);
}

.editor-styles-wrapper .social-ig-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
}

.editor-styles-wrapper .social-ig-link svg {
  width: 18px !important;
  height: 18px !important;
}

/* Manual gallery in editor */
.editor-styles-wrapper .social-swiper-wrap .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  padding: 0 40px;
}

.editor-styles-wrapper .social-photo-link img {
  width: 100% !important;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-md);
}

/* ============================================================
   HEADER CAR SELECTOR (в блоці hero)
   ============================================================ */
.editor-styles-wrapper .van-icon-placeholder {
  width: 40px;
  height: 28px;
  overflow: hidden;
  flex-shrink: 0;
}

.editor-styles-wrapper .selector-van-img {
  width: 40px !important;
  height: 28px !important;
  object-fit: contain;
}

.editor-styles-wrapper .sel-chevron {
  width: 14px !important;
  height: 14px !important;
}

.editor-styles-wrapper .di-img img {
  width: 44px !important;
  height: 30px !important;
  object-fit: contain;
}

.editor-styles-wrapper .di-check {
  width: 14px !important;
  height: 14px !important;
}

/* ============================================================
   ЗАГАЛЬНІ УТИЛІТИ
   ============================================================ */
.editor-styles-wrapper .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Placeholder blocks (коли зображення не завантажені) */
.editor-styles-wrapper [style*="Upload"] {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-2);
  color: var(--text-light);
  font-size: 12px;
  border-radius: var(--r-md);
  border: 2px dashed var(--border);
}


/* ============================================================
   PAGE HERO (toptrail-page-hero)
   ============================================================ */
.editor-styles-wrapper .page-hero {
  padding: 48px 40px;
  text-align: center;
  background: var(--cream);
}
.editor-styles-wrapper .page-hero-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: -0.6px;
  margin-bottom: 12px;
}
.editor-styles-wrapper .page-hero-desc {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
}


/* ============================================================
   ABOUT HERO (toptrail-about-hero)
   ============================================================ */
.editor-styles-wrapper .about-hero-section {
  background: var(--cream);
  padding: 48px 40px 0;
}
.editor-styles-wrapper .about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 100%;
}
.editor-styles-wrapper .about-hero-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.editor-styles-wrapper .about-hero-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
}
.editor-styles-wrapper .about-hero-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 140px;
  gap: 10px;
}
.editor-styles-wrapper .hero-photo-main {
  grid-row: 1 / 3;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--cream-2);
}
.editor-styles-wrapper .hero-photo-top,
.editor-styles-wrapper .hero-photo-bottom {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--cream-2);
}
.editor-styles-wrapper .hero-photo-main img,
.editor-styles-wrapper .hero-photo-top img,
.editor-styles-wrapper .hero-photo-bottom img {
  width: 100% !important; height: 100% !important; object-fit: cover;
}


/* ============================================================
   MISSION SECTION (toptrail-mission)
   ============================================================ */
.editor-styles-wrapper .mission-section {
  background: var(--forest);
  padding: 64px 40px;
}
.editor-styles-wrapper .mission-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.editor-styles-wrapper .mission-photo-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--forest-2);
}
.editor-styles-wrapper .mission-photo-card img { width: 100% !important; height: 100% !important; object-fit: cover; }
.editor-styles-wrapper .mission-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--orange); margin-bottom: 14px;
}
.editor-styles-wrapper .mission-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 500; color: var(--white);
  letter-spacing: -0.4px; margin-bottom: 16px;
}
.editor-styles-wrapper .mission-body { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.8; margin-bottom: 32px; }
.editor-styles-wrapper .mission-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.editor-styles-wrapper .stat-value { font-family: var(--serif); font-size: 32px; font-weight: 500; color: var(--white); }
.editor-styles-wrapper .stat-label { font-size: 12px; color: rgba(255,255,255,0.45); }
.editor-styles-wrapper .mission-notch { display: none; }


/* ============================================================
   GALLERY (toptrail-gallery)
   ============================================================ */
.editor-styles-wrapper .gallery-section {
  padding: 48px 40px;
  text-align: center;
}
.editor-styles-wrapper .gallery-section-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--orange); margin-bottom: 10px;
}
.editor-styles-wrapper .gallery-section-title {
  font-family: var(--serif); font-size: 32px; font-weight: 500; color: var(--text-dark); margin-bottom: 10px;
}
.editor-styles-wrapper .gallery-section-desc { font-size: 14px; color: var(--text-light); margin-bottom: 32px; }
.editor-styles-wrapper .gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 280px 200px;
  gap: 12px;
}
.editor-styles-wrapper .gallery-item-tall { grid-row: 1/3; border-radius: var(--r-xl); overflow: hidden; background: var(--cream-2); }
.editor-styles-wrapper .gallery-item-right-top,
.editor-styles-wrapper .gallery-item-right-bottom { border-radius: var(--r-xl); overflow: hidden; background: var(--cream-2); }
.editor-styles-wrapper .gallery-grid img { width: 100% !important; height: 100% !important; object-fit: cover; }


/* ============================================================
   BLOG GRID (toptrail-blog-grid)
   ============================================================ */
.editor-styles-wrapper .blog-hero { padding: 40px 40px 24px; text-align: center; }
.editor-styles-wrapper .blog-hero-title { font-family: var(--serif); font-size: 40px; font-weight: 500; color: var(--text-dark); margin-bottom: 10px; }
.editor-styles-wrapper .blog-hero-desc { font-size: 14px; color: var(--text-mid); }
.editor-styles-wrapper .blog-tabs-wrap { border-bottom: 1.5px solid var(--border); padding: 0 40px; }
.editor-styles-wrapper .blog-tabs { display: flex; }
.editor-styles-wrapper .blog-tab { padding: 12px 18px; font-size: 13px; font-weight: 500; color: var(--text-light); border-bottom: 2.5px solid transparent; }
.editor-styles-wrapper .blog-tab.active { color: var(--text-dark); border-bottom-color: var(--orange); }
.editor-styles-wrapper .blog-area { padding: 40px; }
.editor-styles-wrapper .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.editor-styles-wrapper .blog-card-img { border-radius: var(--r-xl); aspect-ratio: 4/3; background: var(--cream-2); margin-bottom: 12px; overflow: hidden; }
.editor-styles-wrapper .blog-card-img img { width: 100% !important; height: 100% !important; object-fit: cover; }
.editor-styles-wrapper .blog-card-tag { font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.editor-styles-wrapper .blog-card-title { font-family: var(--serif); font-size: 18px; font-weight: 500; color: var(--text-dark); line-height: 1.35; margin-bottom: 6px; }
.editor-styles-wrapper .blog-card-date { font-size: 12px; color: var(--text-light); }
.editor-styles-wrapper .blog-empty { color: var(--text-light); padding: 32px 0; }


/* ============================================================
   FAQ PAGE (toptrail-faq-page)
   ============================================================ */
.editor-styles-wrapper .faq-tabs-wrap { border-bottom: 1.5px solid var(--border); padding: 0 40px; background: var(--white); }
.editor-styles-wrapper .faq-tabs { display: flex; }
.editor-styles-wrapper .faq-tab { padding: 14px 20px; font-size: 13px; font-weight: 500; color: var(--text-light); border-bottom: 2.5px solid transparent; white-space: nowrap; }
.editor-styles-wrapper .faq-tab.active { color: var(--text-dark); border-bottom-color: var(--orange); }
.editor-styles-wrapper .faq-page-body { padding: 40px; }
.editor-styles-wrapper .faq-group { display: grid; grid-template-columns: 240px 1fr; gap: 48px; padding: 40px 0; }
.editor-styles-wrapper .faq-group-left h2 { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--text-dark); margin-bottom: 8px; }
.editor-styles-wrapper .faq-group-left p { font-size: 13px; color: var(--text-light); }
.editor-styles-wrapper .faq-item { border-bottom: 1px solid var(--border); }
.editor-styles-wrapper .faq-q { padding: 16px 0; font-size: 14px; font-weight: 500; color: var(--text-dark); display: flex; justify-content: space-between; gap: 12px; }
.editor-styles-wrapper .faq-a { font-size: 13px; color: var(--text-mid); line-height: 1.75; padding-bottom: 16px; }
.editor-styles-wrapper .faq-group-divider { border: none; border-top: 1.5px solid var(--border); }


/* ============================================================
   CONTACTS (toptrail-contacts)
   ============================================================ */
.editor-styles-wrapper .contacts-hero { padding: 48px 40px; }
.editor-styles-wrapper .contacts-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.editor-styles-wrapper .contacts-title { font-family: var(--serif); font-size: clamp(28px, 4vw, 48px); font-weight: 500; color: var(--text-dark); margin-bottom: 14px; }
.editor-styles-wrapper .contacts-desc { font-size: 14px; color: var(--text-mid); line-height: 1.75; margin-bottom: 24px; }
.editor-styles-wrapper .contacts-detail-label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-light); margin-bottom: 4px; }
.editor-styles-wrapper .contacts-detail-value { font-size: 20px; font-weight: 600; font-family: var(--serif); color: var(--text-dark); }
.editor-styles-wrapper .contacts-divider { border: none; border-top: 1.5px solid var(--border); margin: 20px 0; }
.editor-styles-wrapper .contacts-bank-title { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-light); margin-bottom: 10px; }
.editor-styles-wrapper .contacts-bank-list { list-style: none; padding: 0; margin: 0; }
.editor-styles-wrapper .contacts-bank-list li { font-size: 13px; color: var(--text-mid); margin-bottom: 4px; }
.editor-styles-wrapper .contacts-hero-photo { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/5; background: var(--cream-2); }
.editor-styles-wrapper .contacts-hero-photo img { width: 100% !important; height: 100% !important; object-fit: cover; }


/* ============================================================
   CONTACT BLOCK (toptrail-contact-form) — dual-mode editor styles
   Inline section + Modal overlay preview
   ============================================================ */

/* ── Shared dark block ─────────────────────────────────────── */
.editor-styles-wrapper .contact-block {
  position: relative;
  background: var(--forest);
  overflow: hidden;
  color: var(--white);
}

/* Inline mode: padding like the frontend */
.editor-styles-wrapper .contact-block:not(.contact-block--modal) {
  padding: 0;
}

.editor-styles-wrapper .contact-block:not(.contact-block--modal)
.contact-block__scroll {
  display: flex;
  justify-content: center;
  padding: 72px 40px 80px;
  position: relative;
  z-index: 1;
}

/* Modal mode: show as a contained preview card in editor */
.editor-styles-wrapper .contact-block--modal {
  border-radius: var(--r-xl);
  min-height: 560px;
  margin: 0;
}

.editor-styles-wrapper .contact-block--modal .contact-block__scroll {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 64px 40px 56px;
  min-height: 560px;
  position: relative;
  z-index: 1;
}

/* Modal badge in top-right */
.editor-styles-wrapper .contact-block--modal::before {
  content: 'Modal overlay';
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 20;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 4px 10px;
  pointer-events: none;
}

/* ── Topographic SVG background ────────────────────────────── */
.editor-styles-wrapper .contact-block__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.editor-styles-wrapper .contact-topo-svg {
  width: 100%;
  height: 100%;
  display: block;
  color: rgba(255,255,255,0.05);
}

/* ── Close button preview (modal only) ─────────────────────── */
.editor-styles-wrapper .contact-block__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: none;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  pointer-events: none;
}

/* ── Inner content container ───────────────────────────────── */
.editor-styles-wrapper .contact-block__inner {
  width: 100%;
  max-width: 480px;
  text-align: center;
}

/* ── Header typography ─────────────────────────────────────── */
.editor-styles-wrapper .contact-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}

.editor-styles-wrapper .contact-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.4px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.editor-styles-wrapper .contact-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 32px;
}

/* ── Step shell — show only step 1 in editor ───────────────── */
.editor-styles-wrapper .cf-step--hidden {
  display: none !important;
}

/* Override: reveal step 1 shell always in editor */
.editor-styles-wrapper .cf-step-shell[data-shell="1"] {
  display: block !important;
}

/* ── Fields slot ───────────────────────────────────────────── */
.editor-styles-wrapper .cf-fields-slot {
  text-align: left;
  margin-bottom: 20px;
}

/* CF7 <p> wrappers */
.editor-styles-wrapper .cf-fields-slot p {
  margin: 0 0 12px !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Labels */
.editor-styles-wrapper .cf-fields-slot p > label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 7px;
}

/* Inputs */
.editor-styles-wrapper .cf-fields-slot input:not([type=submit]):not([type=checkbox]):not([type=hidden]),
.editor-styles-wrapper .cf-fields-slot textarea,
.editor-styles-wrapper .cf-fields-slot select {
  display: block;
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.13);
  border-radius: var(--r-md);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--white);
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

.editor-styles-wrapper .cf-fields-slot textarea {
  resize: none;
  min-height: 130px;
}

.editor-styles-wrapper .cf-fields-slot select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='rgba(255,255,255,0.45)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

/* Placeholder colour */
.editor-styles-wrapper .cf-fields-slot input::placeholder,
.editor-styles-wrapper .cf-fields-slot textarea::placeholder {
  color: rgba(255,255,255,0.28);
}

/* 3-col measurement row */
.editor-styles-wrapper .cf-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.editor-styles-wrapper .cf-field-row p {
  margin-bottom: 0 !important;
}

/* Acceptance / checkbox */
.editor-styles-wrapper .cf-fields-slot .wpcf7-acceptance,
.editor-styles-wrapper .cf-fields-slot .wpcf7-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.editor-styles-wrapper .cf-fields-slot .wpcf7-list-item input[type=checkbox] {
  width: 18px !important;
  height: 18px !important;
  border-radius: 4px !important;
  border: 1.5px solid rgba(255,255,255,0.25) !important;
  background: transparent !important;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--orange);
}

.editor-styles-wrapper .cf-fields-slot .wpcf7-acceptance label,
.editor-styles-wrapper .cf-fields-slot .wpcf7-acceptance .wpcf7-list-item-label {
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* ── Navigation ─────────────────────────────────────────────── */
.editor-styles-wrapper .cf-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

/* Step 1 only has Next → center it */
.editor-styles-wrapper .cf-step-shell[data-shell="1"] .cf-nav {
  justify-content: center;
}

.editor-styles-wrapper .cf-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  background: none;
  border: none;
  cursor: default;
  pointer-events: none;
  padding: 0;
}

.editor-styles-wrapper .btn-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 40px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  cursor: default;
  pointer-events: none;
  text-decoration: none;
}

/* ── Progress dots ──────────────────────────────────────────── */
.editor-styles-wrapper .cf-steps {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.editor-styles-wrapper .cf-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  border: none;
}

.editor-styles-wrapper .cf-dot.active {
  background: var(--orange);
  transform: scale(1.25);
}

/* ── Thank You preview ──────────────────────────────────────── */
.editor-styles-wrapper .cf-thankyou {
  padding: 40px 0 48px;
  text-align: center;
}

.editor-styles-wrapper .thankyou-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}

.editor-styles-wrapper .thankyou-title {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 12px;
}

.editor-styles-wrapper .thankyou-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 28px;
}

/* ── Step 3 image panel (cf_step3_image) ────────────────────── */
/* PHP renders .contact-step3-split when step3 image is set.
   In editor it shows as a split preview. */
.editor-styles-wrapper .contact-step3-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.editor-styles-wrapper .contact-step3-image {
  position: relative;
  overflow: hidden;
  background: var(--forest-2);
}

.editor-styles-wrapper .contact-step3-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.editor-styles-wrapper .contact-step3-image-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%);
  pointer-events: none;
}

.editor-styles-wrapper .contact-step3-image-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 6px;
}

.editor-styles-wrapper .contact-step3-image-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.editor-styles-wrapper .contact-step3-image-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-top: 10px;
  text-decoration: none;
  opacity: 0.85;
}

/* Right side of split (form panel) */
.editor-styles-wrapper .contact-step3-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 40px;
  position: relative;
  z-index: 1;
}

/* ── Hidden CF7 form ────────────────────────────────────────── */
.editor-styles-wrapper .cf7-hidden-form { display: none !important; }

/* ── Dev placeholder ────────────────────────────────────────── */
.editor-styles-wrapper .cf7-placeholder-hint {
  color: rgba(255,255,255,0.35);
  font-size: 13px;
  text-align: center;
  padding: 24px 0;
  font-family: var(--sans);
}

.editor-styles-wrapper .cf7-placeholder-hint code {
  opacity: 0.5;
  font-size: 12px;
  font-family: monospace;
}

/* ============================================================
   ADDITIONS — missing editor styles
   ============================================================ */

/* ── CTA block (toptrail-cta) ────────────────────────────────── */
.editor-styles-wrapper .cta-photo {
  width: 200px;
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255,255,255,0.06);
}
.editor-styles-wrapper .cta-photo--left  { align-self: flex-start; }
.editor-styles-wrapper .cta-photo--right { align-self: flex-end; margin-top: 60px; }
.editor-styles-wrapper .cta-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
.editor-styles-wrapper .cta-content {
  text-align: center;
  flex: 1;
  padding: 0 16px;
}
.editor-styles-wrapper .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  min-width: 136px;
  padding: 0 28px;
  background: var(--orange);
  color: #fff;
  border-radius: 56px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: default;
}

/* ── Products slider — trust bar ─────────────────────────────── */
.editor-styles-wrapper .products-swiper-wrap {
  padding: 0 40px;
  margin-bottom: 24px;
}
.editor-styles-wrapper .trust-bar {
  padding: 40px 40px 0;
  border-top: 1px solid var(--border);
  margin-top: 32px;
}
.editor-styles-wrapper .trust-inner {
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.editor-styles-wrapper .trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 120px;
}
.editor-styles-wrapper .trust-item-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.editor-styles-wrapper .trust-item-icon img {
  width: 36px !important;
  height: 36px !important;
  object-fit: contain;
}
.editor-styles-wrapper .trust-item-label {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  line-height: 1.3;
}

/* ── FAQ Page (toptrail-faq-page) ────────────────────────────── */
.editor-styles-wrapper .faq-header {
  background: #f5f1eb;
  padding: 48px 40px 56px;
  text-align: center;
}
.editor-styles-wrapper .faq-header-inner {
  max-width: 100%;
}
.editor-styles-wrapper .faq-page-title {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 500;
  color: #222;
  line-height: 1.2;
  margin-bottom: 14px;
}
.editor-styles-wrapper .faq-page-desc {
  font-family: var(--sans);
  font-size: 16px;
  color: #222;
  margin-bottom: 32px;
  line-height: 1.5;
}
/* tabs already styled above — inherit */
.editor-styles-wrapper .faq-body {
  background: #fff;
}
.editor-styles-wrapper .faq-group {
  background: #ffffff;
  padding: 48px 40px;
}
.editor-styles-wrapper .faq-group--alt {
  background: #fdf9f4;
}
.editor-styles-wrapper .faq-group-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  max-width: 100%;
  margin: 0 auto;
}
.editor-styles-wrapper .faq-group-left {
  position: static; /* не sticky в редакторі */
}
.editor-styles-wrapper .faq-group-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: #222;
  line-height: 1.25;
  margin-bottom: 10px;
}
.editor-styles-wrapper .faq-group-desc {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.65;
}
.editor-styles-wrapper .faq-group-list {
  width: 100%;
}
.editor-styles-wrapper .faq-group-list .faq-item {
  border-bottom: 1px solid #e6e6e6;
}
.editor-styles-wrapper .faq-group-list .faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: #222;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.editor-styles-wrapper .faq-chevron {
  width: 22px !important;
  height: 22px !important;
  flex-shrink: 0;
  color: var(--text-light);
}
.editor-styles-wrapper .faq-group-list .faq-a {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  padding-bottom: 16px;
}
/* Show first answer open in editor */
.editor-styles-wrapper .faq-group-list .faq-item.is-open .faq-a {
  display: block;
}

/* ── Contact Form (toptrail-contact-form) ────────────────────── */

/* CF7 rendered form inside block */
.editor-styles-wrapper .cf-multistep-wrap {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

/* CF7 steps — show step 1 only in editor */
.editor-styles-wrapper .cf-step {
  width: 100%;
}

/* All steps hidden by default — first one shown via :first-of-type below */
.editor-styles-wrapper .cf-step[data-step="2"],
.editor-styles-wrapper .cf-step[data-step="3"] {
  display: none;
}

/* Step 3 split layout */
.editor-styles-wrapper .cf-step3-left {
  background: var(--forest-2);
  overflow: hidden;
  min-height: 300px;
  position: relative;
}
.editor-styles-wrapper .cf-step3-image-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.editor-styles-wrapper .cf-step3-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

/* Measurement row (3 cols) */
.editor-styles-wrapper .cf-measure-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

/* Nav panels */
.editor-styles-wrapper .cf-step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}
.editor-styles-wrapper .cf-step-nav[data-nav-step="2"] {
  display: none; /* hide step 2 nav in editor */
}

/* Progress dots */
.editor-styles-wrapper .cf-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.editor-styles-wrapper .cf-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
}
.editor-styles-wrapper .cf-dot.active {
  background: var(--orange);
}

/* Step 4 — hidden in editor */
.editor-styles-wrapper .cf-thankyou,
.editor-styles-wrapper .cf-error-msg {
  display: none;
}

/* Step 4 thank you styling (if revealed) */
.editor-styles-wrapper .cf-s4-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.editor-styles-wrapper .cf-s4-title {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 12px;
  text-align: center;
}
.editor-styles-wrapper .cf-s4-desc {
  font-family: var(--sans);
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  text-align: center;
  margin-bottom: 24px;
}
.editor-styles-wrapper .cf-retry-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  cursor: default;
}

/* WC CF7 form fields inside contact block */
.editor-styles-wrapper .contact-block .wpcf7-form {
  width: 100%;
}
.editor-styles-wrapper .contact-block .wpcf7-form p {
  margin: 0 0 12px;
}
.editor-styles-wrapper .contact-block .wpcf7-form input:not([type=submit]):not([type=checkbox]),
.editor-styles-wrapper .contact-block .wpcf7-form textarea,
.editor-styles-wrapper .contact-block .wpcf7-form select {
  display: block;
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.13);
  border-radius: var(--r-md);
  font-family: var(--sans);
  font-size: 14px;
  color: #fff;
  box-sizing: border-box;
  -webkit-appearance: none;
}
.editor-styles-wrapper .contact-block .wpcf7-form textarea {
  min-height: 120px;
  resize: none;
}
.editor-styles-wrapper .contact-block .wpcf7-form input::placeholder,
.editor-styles-wrapper .contact-block .wpcf7-form textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.editor-styles-wrapper .contact-block .wpcf7-form [type=submit] {
  display: none; /* hidden — our custom button shows */
}

/* Blog pagination — already styled via .blog-pagination
   but add basic flex alignment */
.editor-styles-wrapper .blog-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}
.editor-styles-wrapper .blog-page-info {
  font-size: 13px;
  color: var(--text-light);
}
.editor-styles-wrapper .blog-page-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
}
.editor-styles-wrapper .page-num,
.editor-styles-wrapper .page-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-dark);
  text-decoration: none;
  background: transparent;
  border: 1.5px solid var(--border);
}
.editor-styles-wrapper .page-num.active {
  background: var(--text-dark);
  color: #fff;
  border-color: var(--text-dark);
}
.editor-styles-wrapper .page-arrow svg {
  width: 14px !important;
  height: 14px !important;
}
