/* ============================================
   БАЗОВЫЕ СТИЛИ САЙТА (старое, не трогаем)
   ============================================ */

#wrapper-navbar nav {
    background-color: #fff;
    box-shadow: 0 1px 8px 0 rgba(0, 0, 0, .19);
}

.wp-block-file .wp-block-file__button{
	background-color:#0f406a !important;	padding: 10px 30px 10px 30px;
	font-size:18px;
	font-weight:500;
}
.wp-block-table table,
.wp-block-table th,
.wp-block-table td{
	padding: 7px;
  border: 1px solid black;
  border-collapse: collapse;
}
@media (min-width: 768px) {
	.delivery_areas_list{
		-moz-column-count: 2;
  	-webkit-column-count: 2;
  	column-count: 2;
		padding-left: 20px;
	}
}
@media (min-width: 992px) {
	.delivery_areas_list{
		-moz-column-count: 3;
  	-webkit-column-count: 3;
  	column-count: 3;
		padding-left: 20px;
	}
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output{
	border-color: #e4a045;
	font-size:14px;
	color:white;
	text-align:center;
}
.wpcf7 form.sent .wpcf7-response-output{
	font-size:14px;
	color:white;
	text-align:center;
}
.pulse::after,
.pulse::before {
	  content: '';
    position: absolute;
    border: 1px solid #3D64FF;
    left: 0;
    opacity: 0;
    right: 0;
    top: -20px;
    bottom: 0;
    border-radius: 10px;
    animation: pulse 2.5s linear infinite;
    z-index: -100;
}

.pulse::after {
  animation-delay: 1.25s;
}

#container-calc{
	margin-bottom: 30px;
}

@keyframes pulse {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1.05);
    opacity: 0;
  }
}

/* ============================================
   EBET Design System (старое)
   ============================================ */

/*M*/

.ebet-wrap > p,
.ebet-lead-intro,
.ebet-faq-item p,
.ebet-calc-note,
.ebet-cta-text {
    max-width: 900px;
}
.ebet-wrap h2 {
    color: #1486bf !important;
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 4px solid #189ecf;
    padding-left: 15px;
}
.ebet-wrap p {
    font-size: 16px;
    margin-bottom: 15px;
}
.ebet-wrap strong {
    color: #1486bf;
}
.ebet-lead {
    background: linear-gradient(135deg, #e6f4fb 0%, #c9e8f5 100%);
    border-left: 5px solid #189ecf;
    padding: 20px 25px;
    border-radius: 8px;
    font-size: 17px;
    margin: 25px 0;
}
.ebet-promo {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 5px solid #f59e0b;
    padding: 20px 25px;
    border-radius: 8px;
    font-size: 17px;
    margin: 25px 0;
}
.ebet-promo strong {
    color: #92400e;
}
.ebet-apps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 15px;
    margin: 25px 0;
}
.ebet-app-item {
    background: #f8fafc;
    border: 1px solid #939598;
    border-radius: 8px;
    padding: 15px 18px;
}
.ebet-check {
    color: #189ecf;
    font-weight: bold;
    margin-right: 8px;
}
.ebet-chip {
    background: #fffbeb;
    border-left: 5px solid #f59e0b;
    padding: 20px 25px;
    border-radius: 8px;
    font-size: 16px;
    margin: 25px 0;
}
.ebet-chip strong {
    color: #b45309;
}
/* ДОПИСКА: серый интро-текст под заголовками */
.ebet-lead-intro {
    font-size: 16px;
    color: #475569;
    margin: 0 0 20px;
    line-height: 1.6;
}

/* === ТАБЛИЦЫ === */
.ebet-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 25px 0;
}
.ebet-table {
    width: 100%;
    border-collapse: collapse !important;
    margin: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(20, 134, 191, 0.08);
    border: 1px solid #4b5563 !important;
    min-width: 600px;
}
.ebet-table thead {
    background: #1486bf;
    color: white;
}
.ebet-table th,
.ebet-table td {
    padding: 14px;
    text-align: left;
    border: 1px solid #cbd5e1;
}
.ebet-table th {
    font-weight: 600;
    border-bottom:0;
}
.ebet-price {
    font-weight: 700;
    color: #1486bf;
    font-size: 17px;
    white-space: nowrap; /* ДОПИСКА: цена не рвётся на строки */
}


.ebet-table a {
    color: #189ecf;
    text-decoration: underline;
    text-decoration-color: #189ecf;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: all 0.2s ease;
    position: relative;
    padding-right: 20px;
}
.ebet-table a:hover {
    color: #1486bf;
    text-decoration-color: #1486bf;
}
.ebet-table a::after {
    content: "→";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: bold;
    color: #189ecf;
    transition: transform 0.2s ease;
}
.ebet-table a:hover::after {
    transform: translateY(-50%) translateX(3px);
    color: #1486bf;
}


.ebet-specs {
    background: #e6f4fb;
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
}
.ebet-specs ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ebet-specs li {
    padding: 10px 0 10px 30px;
    position: relative;
    border-bottom: 1px dashed #939598;
}
.ebet-specs li:last-child {
    border-bottom: none;
}
.ebet-marker {
    color: #189ecf;
    font-weight: bold;
    position: absolute;
    left: 10px;
}
.ebet-pains {
    background: white;
    border: 2px solid #189ecf;
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
}
.ebet-pain-item {
    margin-bottom: 18px;
}
.ebet-pain-item:last-child {
    margin-bottom: 0;
}
.ebet-pain-item strong {
    display: block;
    color: #1486bf;
    font-size: 17px;
    margin-bottom: 5px;
}

.ebet-wrap a.ebet-cta,
a.ebet-cta {
    display: inline-block;
    background: linear-gradient(135deg, #189ecf 0%, #1486bf 100%);
    color: #ffffff !important;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 18px;
    margin: 30px 0;
    box-shadow: 0 4px 14px rgba(24, 158, 207, 0.4);
    text-align: center;
    transition: all 0.2s ease;
    padding-right: 40px !important;
}
.ebet-wrap a.ebet-cta::after,
a.ebet-cta::after {
    display: none !important;
    content: none !important;
}
.ebet-wrap a.ebet-cta:hover,
a.ebet-cta:hover {
    background: linear-gradient(135deg, #4db8e0 0%, #189ecf 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 158, 207, 0.5);
    text-decoration: none !important;
}
/* ДОПИСКА: компактная версия CTA (для верхнего блока АБН) */
.ebet-cta--compact {
    font-size: 16px;
    padding: 14px 30px !important;
}
.ebet-cta-wrap {
    text-align: center;
    margin: 40px 0;
}
.ebet-cta-wrap--top {
    margin: 30px 0;
}
.ebet-cta-text {
    font-size: 16px;
    margin-bottom: 20px;
}
.ebet-cta-sub {
    margin-top: 15px;
    font-size: 14px;
    color: #64748b;
}
.ebet-table a.btn,
.ebet-table a.price_table_open_popup_manually {
    color: #ffffff !important;
    text-decoration: none !important;
    padding-right: inherit !important;
}
.ebet-table a.btn::after,
.ebet-table a.price_table_open_popup_manually::after {
    display: none !important;
    content: none !important;
}
.ebet-table a.btn:hover,
.ebet-table a.price_table_open_popup_manually:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}
/*L*/
.ebet-wrap p a, 
.ebet-lead a, 
.ebet-chip a {
    color: #189ecf !important;
    text-decoration: underline !important;
    text-decoration-color: #189ecf;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.ebet-wrap p a:hover, 
.ebet-lead a:hover, 
.ebet-chip a:hover {
    color: #1486bf !important;
    text-decoration-color: #1486bf;
}

/*DS*/
.beton-istra-block {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  margin: 20px 0;
  box-shadow: 0 4px 20px rgba(10, 75, 117, 0.08);
  border: 1px solid #eef2f6;
}

.beton-istra-intro {
  font-size: 18px;
  line-height: 1.6;
  color: #34495e;
  margin-bottom: 30px;
  font-weight: 400;
}

.beton-istra-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.beton-istra-card {
  background: #f8fafc;
  padding: 25px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.beton-istra-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 0 8px 8px 0;
}

.beton-istra-card:nth-child(1)::before {
  background: linear-gradient(180deg, #e4a045 0%, #179dd0 100%);
}

.beton-istra-card:nth-child(2)::before {
  background: linear-gradient(180deg, #179dd0 0%, #e4a045 100%);
}

.beton-istra-card:nth-child(3)::before {
  background: linear-gradient(180deg, #e4a045 0%, #0a4b75 100%);
}

.beton-istra-card:nth-child(4)::before {
  background: linear-gradient(180deg, #0a4b75 0%, #e4a045 100%);
}

.beton-istra-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.beton-istra-title {
  font-size: 16px;
  font-weight: 700;
  color: #0a4b75;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.beton-istra-text {
  font-size: 14px;
  color: #5a6a7a;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .beton-istra-grid {
    grid-template-columns: 1fr;
  }
  
  .beton-istra-block {
    padding: 20px;
  }
  
  .beton-istra-intro {
    font-size: 16px;
  }
	.beton-istra-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  
  .beton-istra-icon {
    display: inline-flex;
    margin-bottom: 0;
    margin-right: 10px;
  }
  
  .beton-istra-title {
    flex: 1;
    margin: 0;
  }
  
  .beton-istra-text {
    width: 100%;
    margin-top: 12px;
  }
}

/*plus style brea*/
.custom-yoast-breadcrumbs {
  background: #f8fafc;
  padding: 12px 20px;
  border-radius: 6px;
  margin:0;
  font-size: 14px;
  border-left: 4px solid #e4a045;
  display: inline-block;
  max-width: 100%;
}

.custom-yoast-breadcrumbs a {
  color: #0a4b75;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.custom-yoast-breadcrumbs a:hover {
  color: #e4a045;
  text-decoration: underline;
}

.custom-yoast-breadcrumbs span {
  color: #5a6a7a;
}

.custom-yoast-breadcrumbs .breadcrumb_last {
  color: #0a4b75;
  font-weight: 700;
}

.custom-yoast-breadcrumbs span:not(:last-child)::after {
  content: " » ";
  color: #9aa5b1;
  margin: 0 8px;
}

@media (max-width: 768px) {
  .custom-yoast-breadcrumbs {
    padding: 10px 15px;
    font-size: 13px;
    margin: 0 0 15px 0;
  }
}

/* photo style */
.photo-report { margin: 50px 0; }

.photo-report h2 { color: #0a4b75; font-size: 1.6rem; margin-bottom: 12px; }

.photo-report-lead { color: #5a6a7a; font-size: 1rem; line-height: 1.6; margin-bottom: 25px; max-width: 800px; }

.photo-report figcaption { font-size: 0.8rem; color: #5a6a7a; padding: 8px 4px 0; line-height: 1.4; }

.photo-report .blocks-gallery-item figure { margin: 0; }

.photo-report img { border-radius: 8px; width: 100%; height: auto; display: block; }

.video-block video { width: 100%; border-radius: 12px; background: #000; }

.video-block figcaption { text-align: center; margin-top: 10px; }

/* true style */
.photo-report .blocks-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 25px 0 0;
    padding: 0;
    list-style: none;
}

.photo-report .blocks-gallery-item {
    margin: 0;
}

.photo-report .blocks-gallery-item figure {
    position: relative;
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 2px 10px rgba(10, 75, 117, 0.10);
}

.photo-report .blocks-gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.photo-report .blocks-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.photo-report .blocks-gallery-item figure:hover img {
    transform: scale(1.05);
}

.photo-report .blocks-gallery-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 32px 10px 9px;
    font-size: 0.8rem;
    line-height: 1.35;
    color: #fff;
    background: linear-gradient(180deg, rgba(6, 30, 48, 0) 0%, rgba(6, 30, 48, 0.65) 55%, rgba(6, 30, 48, 0.92) 100%);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}
.pm2{margin:-2em auto auto auto;}

@media (max-width: 992px) {
    .photo-report .blocks-gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .photo-report .blocks-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .photo-report .blocks-gallery-item figcaption { font-size: 0.7rem; padding: 20px 8px 6px; }
}

/* video */
.video-block {
    height: auto !important;
    margin: 0;
}

.video-block video {
    display: block;
    width: 100%;
    height: auto !important;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #000;
    border-radius: 12px;
}

/* neh */
.about-company h2 {
    font-size: 1.55rem;
    line-height: 1.35;
    color: #0a4b75;
    font-weight: 700;
    margin: 46px 0 16px;
}

.about-company p {
    font-size: 1.06rem;
    line-height: 1.75;
    color: #42505d;
    text-align: left;
    max-width: 920px;
    margin-bottom: 14px;
}

.about-company ul,
.about-company ol {
    max-width: 920px;
    padding-left: 22px;
}

.about-company li {
    font-size: 1.06rem;
    line-height: 1.65;
    color: #42505d;
    margin-bottom: 8px;
}

.about-company li::marker {
    color: #179dd0;
}

.about-company strong {
    color: #0a4b75;
}

body.home h2.text-center {
    font-size: 1.75rem;
    line-height: 1.3;
    color: #000;
    font-weight: 800;
    margin: 30px 0 20px;
}

.wp-block-table s{color:red}
.ebet-price s{color:red;display:block}


/* ============================================
   НОВОЕ: Блоки для страницы АБН (добавлено 29.09.2026)
   ============================================ */

/* --- МАТРИЦА ВЫБОРА СТРЕЛЫ --- */
.ebet-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
    margin: 25px 0;
}
.ebet-matrix-item {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-left: 4px solid #189ecf;
    border-radius: 8px;
    padding: 18px 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ebet-matrix-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 134, 191, 0.12);
}
.ebet-matrix-item strong {
    display: block;
    color: #1486bf;
    font-size: 16px;
    margin: 8px 0 6px;
}
.ebet-matrix-item small {
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
    display: block;
}
.ebet-matrix-badge {
    display: inline-block;
    background: #189ecf;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.3px;
}

/* --- КАРТОЧКИ НАСОСОВ --- */
.ebet-pump-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 2px 6px rgba(20, 134, 191, 0.05);
    transition: box-shadow 0.2s ease;
}
.ebet-pump-card:hover {
    box-shadow: 0 4px 16px rgba(20, 134, 191, 0.12);
}
.ebet-pump-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}
.ebet-pump-photo {
    flex: 0 0 220px;
}
.ebet-pump-photo-placeholder {
    background: #cbd5e1;
    border-radius: 8px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 13px;
    text-align: center;
    padding: 10px;
}
.ebet-pump-photo img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.ebet-pump-body {
    flex: 1;
    min-width: 260px;
}
.ebet-pump-title {
    margin: 0 0 12px;
    color: #1486bf;
    font-size: 20px;
    font-weight: 700;
}
.ebet-pump-operator {
    margin-bottom: 15px;
    font-size: 15px;
}
.ebet-pump-operator-name {
    color: #189ecf;
    font-weight: 600;
}
.ebet-pump-operator-story {
    color: #64748b;
    font-size: 14px;
    font-style: italic;
    line-height: 1.5;
    display: block;
    margin-top: 4px;
}
.ebet-pump-specs {
    background: #e6f4fb;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 15px 0;
}
.ebet-pump-specs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}
.ebet-pump-specs li {
    padding: 6px 0 6px 28px;
    position: relative;
    border-bottom: 1px dashed #cbd5e1;
}
.ebet-pump-specs li:last-child {
    border-bottom: none;
}
.ebet-pump-specs li .ebet-marker {
    position: absolute;
    left: 8px;
    top: 7px;
}
.ebet-pump-price {
    margin-top: 15px;
    padding: 15px 18px;
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    border-radius: 6px;
}
.ebet-pump-price-label {
    color: #b45309;
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}
.ebet-pump-price-value {
    font-size: 22px;
    font-weight: 700;
    color: #1486bf;
}
.ebet-pump-price small {
    color: #64748b;
    font-size: 13px;
    display: block;
    margin-top: 4px;
}
.ebet-pump-link {
    display: inline-block;
    margin-top: 15px;
    color: #189ecf !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}
.ebet-pump-link:hover {
    color: #1486bf !important;
}

/* --- СРАВНЕНИЕ (VS) --- */
.ebet-vs-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 25px 0;
}
.ebet-vs-pro,
.ebet-vs-cons {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    padding: 25px;
}
.ebet-vs-pro {
    background: #e6f4fb;
}
.ebet-vs-cons {
    background: #fef3c7;
}
.ebet-vs-title {
    margin: 0 0 15px;
    color: #1486bf;
    font-size: 18px;
    font-weight: 700;
}
.ebet-vs-title--warn {
    color: #b45309;
}
.ebet-vs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ebet-vs-item {
    padding: 8px 0;
    border-bottom: 1px dashed #cbd5e1;
    font-size: 15px;
}
.ebet-vs-item:last-child {
    border-bottom: none;
}
.ebet-vs-x {
    color: #dc2626;
    margin-right: 8px;
    font-weight: 700;
}

/* --- ШАГИ (STEPS) --- */
.ebet-steps {
    background: #f8fafc;
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
}
.ebet-step {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #cbd5e1;
}
.ebet-step--last {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.ebet-step-num {
    flex: 0 0 40px;
    height: 40px;
    background: #189ecf;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}
.ebet-step-body {
    flex: 1;
    font-size: 15px;
}
.ebet-step-title {
    display: block;
    color: #1486bf;
    font-size: 17px;
    margin-bottom: 5px;
}

/* --- КАЛЬКУЛЯТОР АБН --- */
.ebet-calc-box {
    background: #f8fafc;
    border: 2px solid #189ecf;
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
}
.ebet-calc-title {
    margin: 0 0 20px;
    color: #1486bf;
    font-size: 18px;
}
.ebet-calc-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}
.ebet-calc-field {
    flex: 1;
    min-width: 200px;
}
.ebet-calc-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 14px;
    color: #1e293b;
}
.ebet-calc-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 15px;
    background: #fff;
}
.ebet-calc-check {
    padding: 10px 0;
    font-size: 14px;
}
.ebet-calc-check input {
    margin-right: 8px;
}
.ebet-calc-result {
    background: white;
    border: 2px solid #e4a045;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}
.ebet-calc-result-label {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 5px;
}
.ebet-calc-result-value {
    font-size: 32px;
    color: #1486bf;
    font-weight: 700;
}
.ebet-calc-note {
    margin-top: 15px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 0;
}

/* --- FAQ (без аккордеона, все вопросы открыты) --- */
.ebet-faq-box {
    background: #f8fafc;
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
}
.ebet-faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #cbd5e1;
}
.ebet-faq-item--last {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.ebet-faq-q {
    display: block;
    color: #1486bf;
    font-size: 17px;
    margin-bottom: 8px;
    font-weight: 600;
}
.ebet-faq-item p {
    margin: 0;
    font-size: 15px;
    color: #334155;
}

/* ============================================
   АДАПТИВ ДЛЯ НОВЫХ БЛОКОВ (мобильные)
   ============================================ */
@media (max-width: 768px) {
    .ebet-wrap h2 {
        font-size: 22px;
    }
    .ebet-pump-layout {
        flex-direction: column;
    }
    .ebet-pump-photo {
        flex: 1 1 100%;
        width: 100%;
    }
    .ebet-pump-photo-placeholder,
    .ebet-pump-photo img {
        height: 200px;
        width: 100%;
    }
    .ebet-vs-wrap {
        flex-direction: column;
    }
    .ebet-vs-pro,
    .ebet-vs-cons {
        min-width: 100%;
    }
    .ebet-calc-fields {
        flex-direction: column;
    }
    .ebet-calc-result-value {
        font-size: 26px;
    }
    .ebet-matrix {
        grid-template-columns: 1fr;
    }
    .ebet-steps {
        padding: 20px 15px;
    }
    .ebet-step {
        gap: 12px;
    }
    .ebet-step-num {
        flex: 0 0 36px;
        height: 36px;
        font-size: 16px;
    }
}
.ebet-oldway { margin: 25px 0; }
.ebet-oldway img { width: 100%; height: auto; border-radius: 10px; display: block; }
.ebet-oldway figcaption { font-size: 0.85rem; color: #5a6a7a; line-height: 1.5; padding: 10px 4px 0; }
h2[id] { scroll-margin-top: 96px; }

/* === Футер: карточка географии доставки === */
.footer-geo-card{
  background: linear-gradient(135deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 100%);
  border: 1px solid rgba(255,255,255,.10);
  border-left: 4px solid #e4a045;
  border-radius: 10px;
  padding: 20px 22px;
}
.footer-geo-title{
  margin: 0 0 10px;
  font-weight: 700;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.5;
}
.footer-geo-list{
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: #d7e6f2;
}
.footer-geo-list a{
  color: #9fd6ef;
  text-decoration: underline;
  text-decoration-color: rgba(159,214,239,.55);
  text-underline-offset: 3px;
  transition: color .2s ease;
}
.footer-geo-list a:hover{
  color: #e4a045;
  text-decoration-color: #e4a045;
}
ul.footer-menu{
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.footer-menu li{
  margin: 0 0 8px 0;
  padding: 0;
}
ul.footer-menu a{
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Парковые карточки АБН: портретное фото оператора с машиной */
.ebet-pump-card--park .ebet-pump-photo{flex:0 0 240px}
.ebet-pump-card--park .ebet-pump-photo img,
.ebet-pump-card--park .ebet-pump-photo-placeholder{
  height:300px;
  object-fit:cover;
  object-position:50% 22%;   /* держим лицо и кабину в кадре */
}
@media (max-width:768px){
  .ebet-pump-card--park .ebet-pump-photo{flex:1 1 100%}
  .ebet-pump-card--park .ebet-pump-photo img{height:340px;width:100%}
}

.ebet-pump-note{font-size:14px;color:#475569;line-height:1.6;margin:12px 0 0;}

/* Карточка АБН с широким баннером-дроном */
.ebet-pump-banner{
  display:block;
  width:100%;
  height:340px;
  object-fit:cover;
  object-position:50% 55%;
  border-radius:8px;
  margin-bottom:20px;
}
@media (max-width:768px){
  .ebet-pump-banner{height:210px}
}

.ebet-wrap p:empty,
.ebet-pump-card p:empty{display:none;}

.ebet-pump-card a br{display:none;}

.ebet-pump-card p:has(> a > img),
.ebet-pump-card p:has(> img){margin:0;}

.ebet-pump-banner{margin:0 0 20px;}
/* Списки с кастомными маркерами (снимают стандартные буллеты) */
.ebet-wrap ul.ebet-list{list-style:none;padding-left:0;margin:0 0 16px}
.ebet-wrap ul.ebet-list li{position:relative;padding-left:1.7em;margin-bottom:8px}
.ebet-wrap ul.ebet-list li>.ebet-marker,
.ebet-wrap ul.ebet-list li>.ebet-check{position:absolute;left:0;top:2px}
.ebet-oldway { margin: 25px 0; }
.ebet-oldway img { width: 100%; height: auto; border-radius: 10px; display: block; }


/* === EUROSTROYBETON ERGONOMIC UI === */
.esb-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333333;
    line-height: 1.65;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}
.esb-wrapper * { box-sizing: border-box; }
.esb-wrapper h2 {
    font-size: 32px;
    color: #0a4b75;
    margin-top: 50px;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}
.esb-wrapper h3 { font-size: 24px; color: #0a4b75; margin-top: 30px; margin-bottom: 15px; font-weight: 700; }
.esb-wrapper h4 { font-size: 18px; color: #1e3a5f; margin: 0 0 12px 0; font-weight: 700; }
.esb-wrapper p { margin-bottom: 15px; font-size: 16px; color: #444444; }
.esb-wrapper a { color: #0d5a8a; text-decoration: underline; text-underline-offset: 3px; }
.esb-wrapper a:hover { color: #e4a045; }

/* Lead & Badges */
.esb-lead {
    font-size: 19px;
    color: #222;
    font-weight: 500;
    margin-bottom: 25px;
    border-left: 4px solid #e4a045;
    background: #fcfcfc;
    padding: 20px 25px;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.esb-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.esb-badge {
    background: #f0f4f8;
    border: 1px solid #d1dce6;
    color: #0a4b75;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}
.esb-badge:hover { background: #0a4b75; color: #fff; border-color: #0a4b75; }

/* Grids */
.esb-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.esb-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.esb-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Cards */
.esb-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.esb-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(10, 75, 117, 0.08); border-color: #0a4b75; }
.esb-card-icon { font-size: 36px; margin-bottom: 15px; display: block; }

/* Callouts */
.esb-callout {
    background: #fff8ec;
    border-left: 4px solid #e4a045;
    padding: 18px 24px;
    border-radius: 0 12px 12px 0;
    margin: 25px 0;
    font-size: 15px;
    color: #5c4316;
}
.esb-callout strong { color: #0a4b75; }

/* Guarantee Box */
.esb-guarantee {
    background: linear-gradient(135deg, #0a4b75 0%, #1166a3 100%);
    color: #ffffff;
    padding: 35px;
    border-radius: 16px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(10, 75, 117, 0.2);
}
.esb-guarantee::before {
    content: "🛡️";
    position: absolute;
    right: -20px;
    bottom: -40px;
    font-size: 180px;
    opacity: 0.06;
}
.esb-guarantee h3 { color: #e4a045; margin-top: 0; font-size: 24px; }
.esb-guarantee p { color: rgba(255,255,255,0.95); margin: 0; font-size: 17px; position: relative; z-index: 2; }

/* Steps */
.esb-step { text-align: center; padding: 20px; }
.esb-step-num {
    width: 56px; height: 56px;
    background: #e4a045;
    color: #fff; font-size: 24px; font-weight: 800;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 15px auto;
    box-shadow: 0 6px 15px rgba(228, 160, 69, 0.4);
}

/* Lists */
.esb-checklist { list-style: none; padding: 0; margin: 10px 0 0 0; }
.esb-checklist li {
    padding: 10px 0 10px 30px;
    position: relative;
    font-size: 15px;
    border-bottom: 1px dashed #eaeaea;
}
.esb-checklist li:last-child { border-bottom: none; }
.esb-checklist li::before {
    content: "✔";
    position: absolute; left: 0; top: 10px;
    color: #28a745; font-weight: bold; font-size: 16px;
}

/* Reasons */
.esb-reason {
    padding: 24px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.2s;
}
.esb-reason:hover { background: #fff; border-color: #e4a045; }
.esb-reason strong { display: block; font-size: 18px; color: #0a4b75; margin-bottom: 8px; }

/* Responsive */
@media (max-width: 768px) {
    .esb-grid-2, .esb-grid-3, .esb-grid-4 { grid-template-columns: 1fr; }
    .esb-wrapper h2 { font-size: 26px; }
    .esb-lead { font-size: 17px; padding: 15px; }
    .esb-guarantee { padding: 25px; }
}

/* Подложка контентной колонки: убирает «белое на белом» */
.esb-wrapper{
    background:#f5f7fa;
    border:1px solid #edf0f3;
    border-radius:16px;
    padding:36px 32px;
    box-shadow:0 2px 14px rgba(10,75,117,.05);
}
/* Внутренние светлые блоки выбеливаем, иначе сольются с подложкой */
.esb-wrapper .esb-lead{background:#ffffff;}
.esb-wrapper .esb-reason{background:#ffffff;border:1px solid #e3e8ee;}
.esb-wrapper .esb-card{border-color:#e3e8ee;}
/* На мобильных сжимаем поля, чтобы серый не съедал экран */
@media (max-width:768px){
    .esb-wrapper{padding:20px 14px;border-radius:12px;}
}


.wp-block-file__button {
    display: inline-block;
    background: linear-gradient(135deg, #0f406a 0%, #1a5a8a 100%);
    color: #ffffff !important;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    box-shadow: 0 6px 20px rgba(15, 64, 106, 0.3);
    transition: all 0.3s ease;
    text-align: center;
    margin: 15px 0;
}

.wp-block-file__button:hover {
    background: linear-gradient(135deg, #1a5a8a 0%, #2d7ab8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 64, 106, 0.4);
    color: #ffffff !important;
    text-decoration: none;
}





body, button, input, select, textarea,
h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.01em;
}


/* =========================================================
   ФИКС КОНТРАСТНОСТИ И ДОСТУПНОСТИ (По отчету PageSpeed)
   ========================================================= */

.wp-block-table .btn-primary {
    background-color: #705129;
    border-color: #e4a045;
}
.wp-block-table .btn-primary:hover {
    background-color: #e4a045;
    border-color: #e4a045;
}
/* Принудительно убираем прозрачность и задаем контрастный цвет */
table s, 
.wp-block-table s,
.ebet-table s {
    color: #555555 !important; /* Темно-серый цвет (проходит проверку) */
    opacity: 1 !important;     /* Убираем прозрачность, если она есть */
    text-decoration-color: #cc0000 !important; /* Яркая линия зачеркивания */
    font-weight: 500 !important;
}

/* =========================================================
   ЖЕСТКИЙ ФИКС КОНТРАСТА ДЛЯ КАЛЬКУЛЯТОРА
   ========================================================= */

/* 1. Делаем заголовки (Label) чисто белыми и жирными, чтобы они читались на синем фоне */
#priceCalc label {
    color: #ffffff !important; 
    font-weight: 700 !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6) !important; /* Добавляем тень для 100% читаемости */
}

/* 2. Делаем текст внутри выпадающих списков (Select2) чисто черным на белом фоне */
#priceCalc .select2-selection__rendered {
    color: #111111 !important;
    font-weight: 500 !important;
}

/* 3. Делаем цифры в поле количества (м3) черными */
#priceCalc input#btnValue {
    color: #111111 !important;
    font-weight: 700 !important;
}

/* 4. На всякий случай фиксим контраст для кнопок "-" и "+" */
#priceCalc .number-minus, 
#priceCalc .number-plus {
    color: #111111 !important;
    font-weight: bold !important;
}

/* Сохраняем визуальный размер для заголовков, которые мы сделали H2 */
h2.fixed-h2-size {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.2 !important;
    /* Если у вас для h2 были другие отступы, они не применятся, так как стоит !important */
}

/* Убираем встроенные стрелки у input type="number" (для всех браузеров) */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield; /* Для Firefox */
}

/* Увеличиваем кнопки + и - для Google (Touch targets) */
#priceCalc .number-minus,
#priceCalc .number-plus,
#priceCalc input#btnValue {
    min-width: 48px !important;
    min-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
}

/* Делаем ссылку "Перейти к содержимому" видимой при фокусе */
a.skip-link:focus {
    position: fixed !important;
    top: 10px !important;
    left: 10px !important;
    width: auto !important;
    height: auto !important;
    padding: 10px 20px !important;
    background: #0a4b75 !important; 
    color: #ffffff !important; 
    clip: auto !important;
    clip-path: none !important;
    z-index: 999999 !important;
    text-decoration: none !important;
    font-weight: bold !important;
    border-radius: 4px !important;
    outline: 2px solid #e4a045 !important;
}
/* Фикс контрастности подписей "гравий" и "гранит" в таблицах */
td div[style*="color:#e4a045"] {
    color: #000 !important;
}


/* =========================================
   НОВЫЙ ДИЗАЙН ТАБЛИЦ ЦЕН (Вариант 3)
   ========================================= */

.esb-price-section {
    --esb-blue: #0a4b75;
    --esb-gold: #e4a045;
    --esb-gray: #f8fafc;
    --esb-border: #e2e8f0;
    font-family: inherit;
    max-width: 900px;
    margin: 0 auto;
}

/* АККОРДЕОНЫ (на базе тега <details>) */
.esb-accordion {
    background: #fff;
    border: 1px solid var(--esb-border);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.esb-accordion:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.esb-accordion-header {
    background: var(--esb-blue);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 18px 25px;
    cursor: pointer;
    list-style: none; /* Убираем стандартную стрелку */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}
.esb-accordion-header::-webkit-details-marker {
    display: none; /* Убираем стрелку для Webkit */
}
.esb-accordion-header::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    color: var(--esb-gold);
    transition: transform 0.3s ease;
}
.esb-accordion[open] .esb-accordion-header::after {
    content: '−';
    transform: rotate(180deg);
}
.esb-accordion-body {
    padding: 25px;
    background: #fff;
}

/* ТАБЛИЦЫ */
.esb-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.esb-price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Чтобы не сжималась в кашу */
    font-size: 15px;
}
.esb-price-table th,
.esb-price-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--esb-border);
}
.esb-price-table th {
    background: var(--esb-gray);
    color: var(--esb-blue);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}
.esb-price-table tbody tr:hover {
    background: #f1f5f9;
}

/* Стили для цен */
.esb-price-table s {
    color: #94a3b8;
    font-size: 13px;
    margin-right: 4px;
    text-decoration-color: #ef4444;
}
.esb-price-table td {
    font-weight: 600;
    color: var(--esb-blue);
    white-space: nowrap;
}

/* Подсветка строк (Пескобетон / Раствор) */
.esb-row-highlight td {
    background-color: #fffbeb;
}
.esb-row-cement td {
    background-color: #f0fdf4;
}

/* Примечание */
.esb-note {
    margin-top: 20px;
    padding: 15px;
    background: #f8fafc;
    border-left: 4px solid var(--esb-gold);
    font-size: 14px;
    color: #475569;
    border-radius: 0 8px 8px 0;
    line-height: 1.6;
}

/* КНОПКА */
.esb-cta-wrapper {
    text-align: center;
    margin-top: 40px;
}
.esb-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--esb-gold) 0%, #cd903e 100%);
    color: #fff !important;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 18px 40px;
    border-radius: 8px;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(228, 160, 69, 0.4);
    transition: all 0.3s ease;
}
.esb-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(228, 160, 69, 0.6);
    background: linear-gradient(135deg, #cd903e 0%, var(--esb-gold) 100%);
}

/* АДАПТИВ */
@media (max-width: 768px) {
    .esb-accordion-header { font-size: 16px; padding: 15px 20px; }
    .esb-accordion-body { padding: 15px; }
    .esb-cta-btn { width: 100%; padding: 15px 20px; font-size: 14px; }
    .esb-note { font-size: 13px; }
}

/* Компактные кнопки в таблице */
.esb-table-btn {
    display: inline-block;
    background: linear-gradient(135deg, #0a4b75 0%, #1166a3 100%) !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    white-space: nowrap;
    border: none !important;
    box-shadow: 0 2px 6px rgba(10, 75, 117, 0.2);
    transition: all 0.2s ease;
}
.esb-table-btn:hover {
    background: linear-gradient(135deg, #e4a045 0%, #cd903e 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(228, 160, 69, 0.4);
}