/*
 Theme Name:   Kadence Child
 Theme URI:    https://example.com/kadence-child/
 Description:  Kadence Child Theme
 Author:       Your Name
 Author URI:   https://example.com
 Template:     kadence
 Version:      1.0.2
 Tags:         customizable, modern, responsive-layout, gutenberg, header builder, footer builder
 Text Domain:  kadencechild
*/

/* Theme customization starts here
-------------------------------------------------------------- */

/* Стили для кнопки технического описания */
.es-manual-box .es-manual-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border: 1px solid #2196F3;
    border-radius: 8px;
    color: #2196F3;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.es-manual-box .es-manual-link:hover {
    background: #f5f5f5;
    text-decoration: none;
}

.es-manual-box .es-manual-link .icon-docs {
    width: 18px;
    height: 18px;
    display: inline-block;
}

/* Стили для калькулятора эффективности двигателя */
.es-motor-calculator {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: none;
    border-radius: 24px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 25px 80px rgba(34, 75, 119, 0.15), 0 0 0 1px rgba(34, 75, 119, 0.1), 0 0 100px rgba(34, 75, 119, 0.05);
    color: #1a202c;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out, glowPulse 4s ease-in-out infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 25px 80px rgba(34, 75, 119, 0.15), 0 0 0 1px rgba(34, 75, 119, 0.1), 0 0 100px rgba(34, 75, 119, 0.05);
    }

    50% {
        box-shadow: 0 25px 80px rgba(34, 75, 119, 0.25), 0 0 0 1px rgba(34, 75, 119, 0.2), 0 0 120px rgba(34, 75, 119, 0.15);
    }
}

.es-motor-calculator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, rgb(34, 75, 119) 0%, rgb(50, 95, 140) 30%, rgb(70, 115, 160) 60%, rgb(100, 140, 180) 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.es-motor-calculator::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(34, 75, 119, 0.08) 0%, transparent 70%);
    animation: rotateGlow 20s linear infinite;
    pointer-events: none;
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.es-motor-calculator h3 {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 36px 0;
    background: linear-gradient(135deg, rgb(34, 75, 119) 0%, rgb(50, 95, 140) 50%, rgb(70, 115, 160) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.8px;
    animation: gradientText 3s ease infinite;
    text-shadow: 0 0 30px rgba(34, 75, 119, 0.3);
    position: relative;
    z-index: 1;
}

@keyframes gradientText {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.es-motor-calculator__columns {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 20px;
}

.es-motor-calculator__column {
    flex: 1 1 280px;
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 8px 32px rgba(34, 75, 119, 0.12), 0 0 0 1px rgba(34, 75, 119, 0.08);
    border: 2px solid transparent;
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        border-color 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        background 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: visible;
    backdrop-filter: blur(10px);
}

.es-motor-calculator__column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgb(34, 75, 119) 0%, rgb(50, 95, 140) 50%, rgb(70, 115, 160) 100%);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: gradientShift 3s ease infinite;
}

.es-motor-calculator__column:hover {
    transform: translateY(-8px) scale(1.02);
}

.es-motor-calculator__column[data-motor="new"] {
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        border-color 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.es-motor-calculator__column[data-motor="new"]::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(240, 245, 255, 0.95) 0%, rgba(235, 242, 255, 0.98) 100%);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    border-radius: 20px;
    z-index: 0;
    animation: gradientShift 4s ease infinite;
}

.es-motor-calculator__column[data-motor="new"]:hover {
    box-shadow: 0 16px 48px rgba(34, 75, 119, 0.3), 0 0 0 1px rgba(34, 75, 119, 0.3), 0 0 60px rgba(34, 75, 119, 0.2);
    border-color: rgba(34, 75, 119, 0.4);
}

.es-motor-calculator__column[data-motor="new"]:hover::after {
    opacity: 1;
}

.es-motor-calculator__column[data-motor="new"]::before {
    background: linear-gradient(90deg, rgb(34, 75, 119) 0%, rgb(50, 95, 140) 50%, rgb(70, 115, 160) 100%);
    background-size: 200% 100%;
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
    opacity: 0;
    animation: gradientShift 3s ease infinite;
}

.es-motor-calculator__column[data-motor="new"]>* {
    position: relative;
    z-index: 2;
}

.es-motor-calculator__column[data-motor="old"] {
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        border-color 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.es-motor-calculator__column[data-motor="old"]::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 245, 247, 0.95) 0%, rgba(255, 240, 242, 0.98) 100%);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    border-radius: 20px;
    z-index: 0;
    animation: gradientShift 4s ease infinite;
}

.es-motor-calculator__column[data-motor="old"]:hover {
    box-shadow: 0 16px 48px rgba(245, 87, 108, 0.3), 0 0 0 1px rgba(245, 87, 108, 0.3), 0 0 60px rgba(245, 87, 108, 0.2);
    border-color: rgba(245, 87, 108, 0.4);
}

.es-motor-calculator__column[data-motor="old"]:hover::after {
    opacity: 1;
}

.es-motor-calculator__column[data-motor="old"]::before {
    background: linear-gradient(90deg, #f5576c 0%, #fa709a 50%, #f093fb 100%);
    background-size: 200% 100%;
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
    opacity: 0;
    animation: gradientShift 3s ease infinite;
}

.es-motor-calculator__column[data-motor="old"]>* {
    position: relative;
    z-index: 2;
}

.es-motor-calculator__column h4 {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    letter-spacing: -0.3px;
}

.es-motor-calculator__field {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
    font-size: 15px;
    position: relative;
    overflow: visible;
}

.es-motor-calculator__field span {
    margin-bottom: 10px;
    font-weight: 700;
    color: #2d3748;
    font-size: 14px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    position: relative;
    padding-left: 8px;
}

.es-motor-calculator__field span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background: linear-gradient(180deg, rgb(34, 75, 119) 0%, rgb(50, 95, 140) 100%);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.es-motor-calculator__field:focus-within span::before,
.es-motor-calculator__field:hover span::before {
    opacity: 1;
}

.es-motor-calculator__field::after {
    content: '';
    position: absolute;
    top: 34px;
    left: 0;
    right: 0;
    height: calc(100% - 34px);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    z-index: 1;
}

.es-motor-calculator__field input {
    padding: 18px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    font-size: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    transition: border-color 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: #2d3748;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), inset 0 1px 2px rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
}

.es-motor-calculator__field:hover input {
    border-color: #cbd5e0;
    box-shadow: 0 6px 20px rgba(34, 75, 119, 0.12), 0 0 0 1px rgba(34, 75, 119, 0.1), inset 0 1px 2px rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.es-motor-calculator__column[data-motor="new"] .es-motor-calculator__field::after {
    background: linear-gradient(135deg, rgba(240, 245, 255, 0.6) 0%, rgba(235, 242, 255, 0.8) 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.es-motor-calculator__column[data-motor="new"] .es-motor-calculator__field:hover::after {
    opacity: 1;
}

.es-motor-calculator__column[data-motor="new"] .es-motor-calculator__field:hover input {
    border-color: rgba(34, 75, 119, 0.3);
    box-shadow: 0 6px 20px rgba(34, 75, 119, 0.15), 0 0 0 1px rgba(34, 75, 119, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.es-motor-calculator__column[data-motor="old"] .es-motor-calculator__field::after {
    background: linear-gradient(135deg, rgba(255, 245, 247, 0.6) 0%, rgba(255, 240, 242, 0.8) 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.es-motor-calculator__column[data-motor="old"] .es-motor-calculator__field:hover::after {
    opacity: 1;
}

.es-motor-calculator__column[data-motor="old"] .es-motor-calculator__field:hover input {
    border-color: rgba(245, 87, 108, 0.3);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.15), 0 0 0 1px rgba(245, 87, 108, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.es-motor-calculator__field input:focus {
    outline: none;
    border-color: rgb(34, 75, 119);
    box-shadow: 0 0 0 8px rgba(34, 75, 119, 0.15), 0 12px 32px rgba(34, 75, 119, 0.25), 0 0 60px rgba(34, 75, 119, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.9);
    transform: translateY(-3px) scale(1.02);
    background: #ffffff;
    animation: inputPulse 2s ease infinite;
}

@keyframes inputPulse {

    0%,
    100% {
        box-shadow: 0 0 0 8px rgba(34, 75, 119, 0.15), 0 12px 32px rgba(34, 75, 119, 0.25), 0 0 60px rgba(34, 75, 119, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.9);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(34, 75, 119, 0.2), 0 12px 32px rgba(34, 75, 119, 0.3), 0 0 70px rgba(34, 75, 119, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.9);
    }
}

.es-motor-calculator__column[data-motor="new"] .es-motor-calculator__field input:focus {
    border-color: rgb(34, 75, 119);
    box-shadow: 0 0 0 8px rgba(34, 75, 119, 0.15), 0 12px 32px rgba(34, 75, 119, 0.25), 0 0 60px rgba(34, 75, 119, 0.15);
}

.es-motor-calculator__column[data-motor="old"] .es-motor-calculator__field input:focus {
    border-color: #f5576c;
    box-shadow: 0 0 0 8px rgba(245, 87, 108, 0.15), 0 12px 32px rgba(245, 87, 108, 0.25), 0 0 60px rgba(245, 87, 108, 0.15);
}

.es-motor-calculator__column[data-motor="old"] .es-motor-calculator__field span::before {
    background: linear-gradient(180deg, #f5576c 0%, #fa709a 100%);
}

.es-motor-calculator__results {
    margin-top: 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(34, 75, 119, 0.1);
}

.es-motor-calculator__results h3 {
    font-size: 24px;
    margin: 0 0 24px 0;
    color: #2d3748;
    background: none;
    -webkit-text-fill-color: #2d3748;
}

.es-motor-calculator__results table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 12px;
}

.es-motor-calculator__results thead {
    background: linear-gradient(135deg, rgb(34, 75, 119) 0%, rgb(50, 95, 140) 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.es-motor-calculator__results th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.es-motor-calculator__results th:nth-child(2),
.es-motor-calculator__results th:nth-child(3) {
    text-align: center;
}

.es-motor-calculator__results th:nth-child(2) {
    background: linear-gradient(135deg, rgb(34, 75, 119) 0%, rgb(50, 95, 140) 50%, rgb(70, 115, 160) 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.es-motor-calculator__results th:nth-child(3) {
    background: linear-gradient(135deg, #f5576c 0%, #fa709a 50%, #f093fb 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.es-motor-calculator__results td {
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    background: #ffffff;
    font-weight: 500;
    color: #4a5568;
    transition: background 0.2s ease;
}

.es-motor-calculator__results td [data-result] {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(34, 75, 119, 0.2);
}

.es-motor-calculator__results td:nth-child(2) [data-result] {
    color: rgb(34, 75, 119);
    text-shadow: 0 0 15px rgba(34, 75, 119, 0.4), 0 2px 8px rgba(50, 95, 140, 0.3);
}

.es-motor-calculator__results td:nth-child(3) [data-result] {
    color: #f5576c;
    text-shadow: 0 0 15px rgba(245, 87, 108, 0.4), 0 2px 8px rgba(250, 112, 154, 0.3);
}

.es-motor-calculator__results tbody tr:hover td:nth-child(2) {
    background: linear-gradient(135deg, rgba(34, 75, 119, 0.12) 0%, rgba(50, 95, 140, 0.12) 100%);
    background-size: 200% 100%;
    box-shadow: inset 0 0 20px rgba(34, 75, 119, 0.1);
    animation: gradientShift 4s ease infinite;
}

.es-motor-calculator__results tbody tr:hover td:nth-child(3) {
    background: linear-gradient(135deg, rgba(245, 87, 108, 0.12) 0%, rgba(250, 112, 154, 0.12) 100%);
    background-size: 200% 100%;
    box-shadow: inset 0 0 20px rgba(245, 87, 108, 0.1);
    animation: gradientShift 4s ease infinite;
}

.es-motor-calculator__results td:nth-child(2),
.es-motor-calculator__results td:nth-child(3) {
    text-align: center;
    position: relative;
}

.es-motor-calculator__results td:nth-child(2) {
    background: linear-gradient(135deg, rgba(240, 245, 255, 0.6) 0%, rgba(235, 242, 255, 0.8) 100%);
    background-size: 200% 100%;
    animation: gradientShift 4s ease infinite;
}

.es-motor-calculator__results td:nth-child(3) {
    background: linear-gradient(135deg, rgba(255, 245, 247, 0.6) 0%, rgba(255, 240, 242, 0.8) 100%);
    background-size: 200% 100%;
    animation: gradientShift 4s ease infinite;
}

.es-motor-calculator__results tbody tr:hover td {
    background: #f7fafc;
}

.es-motor-calculator__results tbody tr:last-child td {
    border-bottom: none;
}

.es-motor-calculator__metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.es-motor-calculator__metric {
    background: linear-gradient(135deg, rgb(34, 75, 119) 0%, rgb(50, 95, 140) 50%, rgb(70, 115, 160) 100%);
    background-size: 200% 100%;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 12px 40px rgba(34, 75, 119, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 60px rgba(34, 75, 119, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: metricGradient 4s ease infinite;
}

@keyframes metricGradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.es-motor-calculator__metric::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: rotateShine 8s linear infinite;
}

@keyframes rotateShine {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.es-motor-calculator__metric::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.es-motor-calculator__metric:hover {
    transform: translateY(-8px) scale(1.05) rotate(1deg);
    box-shadow: 0 20px 60px rgba(34, 75, 119, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 100px rgba(34, 75, 119, 0.3);
    animation: metricPulse 1.5s ease infinite;
}

@keyframes metricPulse {

    0%,
    100% {
        box-shadow: 0 20px 60px rgba(34, 75, 119, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 100px rgba(34, 75, 119, 0.3);
    }

    50% {
        box-shadow: 0 20px 60px rgba(34, 75, 119, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.3), 0 0 120px rgba(34, 75, 119, 0.4);
    }
}

.es-motor-calculator__metric:hover::before {
    opacity: 1;
}

.es-motor-calculator__metric:hover::after {
    opacity: 1;
}

.es-motor-calculator__metric-title {
    display: block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
}

.es-motor-calculator__metric-value {
    font-size: 36px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -1.5px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2), 0 0 40px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.es-motor-calculator__metric:hover .es-motor-calculator__metric-value {
    transform: scale(1.1);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 0 0 60px rgba(255, 255, 255, 0.4);
}

.es-motor-calculator__savings {
    margin-top: 48px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(34, 75, 119, 0.1);
}

.es-motor-calculator__savings h3 {
    font-size: 24px;
    margin: 0 0 28px 0;
    color: #2d3748;
    background: none;
    -webkit-text-fill-color: #2d3748;
}

.es-motor-calculator__savings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.es-motor-calculator__note {
    margin-top: 16px;
    font-size: 13px;
    color: #718096;
    font-style: italic;
}

.es-motor-calculator__info-button {
    margin-top: 24px;
    padding: 14px 24px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    color: rgb(34, 75, 119);
    cursor: pointer;
    transition: border-color 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        color 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.es-motor-calculator__info-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgb(34, 75, 119) 0%, rgb(50, 95, 140) 100%);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
    border-radius: 12px;
    animation: gradientShift 3s ease infinite;
}

.es-motor-calculator__info-button:hover::before {
    opacity: 1;
}

.es-motor-calculator__info-button:hover {
    border-color: rgb(34, 75, 119);
    color: #ffffff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(34, 75, 119, 0.35), 0 0 40px rgba(34, 75, 119, 0.15);
}

.es-motor-calculator__info {
    margin-top: 20px;
    padding: 24px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    font-size: 14px;
    color: #4a5568;
    line-height: 1.7;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.es-motor-calculator__info p {
    margin: 0 0 12px;
}

.es-motor-calculator__info p:last-child {
    margin-bottom: 0;
}

.es-motor-calculator__info strong {
    color: rgb(34, 75, 119);
    font-weight: 700;
}

.es-motor-calculator__print {
    margin-top: 24px;
    text-align: right;
}

.es-motor-calculator__print button {
    padding: 16px 32px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, rgb(34, 75, 119) 0%, rgb(50, 95, 140) 50%, rgb(70, 115, 160) 100%);
    background-size: 200% 100%;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(34, 75, 119, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 40px rgba(34, 75, 119, 0.2);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    animation: buttonGradient 3s ease infinite;
}

@keyframes buttonGradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.es-motor-calculator__print button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.es-motor-calculator__print button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 40px rgba(34, 75, 119, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.3), 0 0 60px rgba(34, 75, 119, 0.3);
    background: linear-gradient(135deg, rgb(50, 95, 140) 0%, rgb(34, 75, 119) 50%, rgb(70, 115, 160) 100%);
}

.es-motor-calculator__print button:hover::before {
    width: 300px;
    height: 300px;
}

.es-motor-calculator__print button:active {
    transform: translateY(-2px) scale(1.02);
}

.es-motor-calculator__print button:focus {
    outline: none;
    box-shadow: 0 0 0 6px rgba(34, 75, 119, 0.3), 0 12px 40px rgba(34, 75, 119, 0.5), 0 0 60px rgba(34, 75, 119, 0.3);
}

@media (max-width: 768px) {
    .es-motor-calculator {
        padding: 24px 20px;
        margin: 24px 0;
        border-radius: 16px;
    }

    .es-motor-calculator h3 {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .es-motor-calculator__columns {
        gap: 20px;
    }

    .es-motor-calculator__column {
        padding: 20px;
    }

    .es-motor-calculator__results,
    .es-motor-calculator__savings {
        padding: 20px;
    }

    .es-motor-calculator__metrics {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .es-motor-calculator__savings-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .es-motor-calculator__metric-value {
        font-size: 28px;
    }

    .es-motor-calculator__print {
        text-align: center;
    }

    .es-motor-calculator__print button {
        width: 100%;
    }
}

@media print {
    @page {
        size: A4 landscape;
        margin: 5mm;
    }

    /* Скрываем всё кроме калькулятора */
    body * {
        visibility: hidden;
    }

    .es-motor-calculator,
    .es-motor-calculator * {
        visibility: visible !important;
    }

    body {
        background: #fff !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .es-motor-calculator__info-button,
    .es-motor-calculator__print,
    .es-motor-calculator__info[hidden] {
        display: none !important;
        visibility: hidden !important;
    }

    /* Сбросить ВСЁ декоративное */
    .es-motor-calculator,
    .es-motor-calculator *,
    .es-motor-calculator *::before,
    .es-motor-calculator *::after {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        text-shadow: none !important;
        box-shadow: none !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .es-motor-calculator::before,
    .es-motor-calculator::after,
    .es-motor-calculator__column::before,
    .es-motor-calculator__column::after,
    .es-motor-calculator__field::after,
    .es-motor-calculator__metric::before,
    .es-motor-calculator__metric::after {
        display: none !important;
        content: none !important;
    }

    /* Контейнер */
    .es-motor-calculator {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px !important;
        margin: 0 !important;
        background: #fff !important;
        border: none !important;
        overflow: visible !important;
        font-size: 11px !important;
        color: #000 !important;
    }

    /* Принудительно чёрный цвет для ВСЕГО текста */
    .es-motor-calculator,
    .es-motor-calculator h3,
    .es-motor-calculator h4,
    .es-motor-calculator span,
    .es-motor-calculator td,
    .es-motor-calculator th,
    .es-motor-calculator label,
    .es-motor-calculator input,
    .es-motor-calculator p,
    .es-motor-calculator [data-result] {
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
    }

    .es-motor-calculator>h3 {
        font-size: 14px !important;
        margin: 0 0 8px 0 !important;
        background: none !important;
    }

    /* Колонки моторов — 2 рядом */
    .es-motor-calculator__columns {
        display: table !important;
        width: 100% !important;
        table-layout: fixed !important;
        margin-top: 4px !important;
    }

    .es-motor-calculator__column {
        display: table-cell !important;
        width: 48% !important;
        background: #fff !important;
        border: 1px solid #aaa !important;
        padding: 8px !important;
        vertical-align: top !important;
    }

    .es-motor-calculator__column>* {
        position: relative !important;
        z-index: auto !important;
    }

    .es-motor-calculator__column h4 {
        font-size: 12px !important;
        font-weight: bold !important;
        margin: 0 0 6px 0 !important;
    }

    .es-motor-calculator__field {
        margin-bottom: 4px !important;
    }

    .es-motor-calculator__field span {
        font-size: 9px !important;
        margin-bottom: 1px !important;
        padding-left: 0 !important;
        text-transform: none !important;
        display: block !important;
    }

    .es-motor-calculator__field span::before {
        display: none !important;
    }

    .es-motor-calculator__field input {
        padding: 2px 4px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        border: 1px solid #aaa !important;
        border-radius: 2px !important;
        background: #fff !important;
        width: 100% !important;
        -webkit-appearance: none !important;
        appearance: none !important;
    }

    /* Таблица результатов */
    .es-motor-calculator__results {
        margin-top: 8px !important;
        padding: 6px !important;
        background: #fff !important;
        border: 1px solid #aaa !important;
        overflow: visible !important;
    }

    .es-motor-calculator__results h3 {
        font-size: 12px !important;
        margin: 0 0 6px 0 !important;
        background: none !important;
    }

    .es-motor-calculator table {
        border-collapse: collapse !important;
        width: 100% !important;
    }

    .es-motor-calculator thead {
        background: #eee !important;
    }

    .es-motor-calculator th {
        padding: 4px 8px !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        background: #eee !important;
        border: 1px solid #aaa !important;
        text-align: left !important;
    }

    .es-motor-calculator td {
        padding: 4px 8px !important;
        font-size: 11px !important;
        font-weight: 500 !important;
        background: #fff !important;
        border: 1px solid #aaa !important;
    }

    /* Значения в таблице — видимые, жирные */
    .es-motor-calculator td [data-result],
    .es-motor-calculator td span[data-result],
    .es-motor-calculator .es-motor-calculator__results [data-result] {
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
        font-weight: 700 !important;
        font-size: 11px !important;
        display: inline !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Метрики */
    .es-motor-calculator__metrics {
        display: table !important;
        width: 100% !important;
        table-layout: fixed !important;
        margin-top: 8px !important;
    }

    .es-motor-calculator__metric {
        display: table-cell !important;
        background: #f5f5f5 !important;
        border: 1px solid #aaa !important;
        padding: 6px !important;
        vertical-align: top !important;
        text-align: center !important;
    }

    .es-motor-calculator__metric-title {
        font-size: 8px !important;
        margin-bottom: 2px !important;
        display: block !important;
    }

    .es-motor-calculator__metric-value {
        font-size: 16px !important;
        font-weight: 900 !important;
        line-height: 1.2 !important;
        display: block !important;
    }

    /* Блок экономии */
    .es-motor-calculator__savings {
        margin-top: 8px !important;
        padding: 6px 8px !important;
        background: #fff !important;
        border: 1px solid #aaa !important;
        overflow: visible !important;
    }

    .es-motor-calculator__savings h3 {
        font-size: 12px !important;
        margin: 0 0 4px 0 !important;
        background: none !important;
    }

    .es-motor-calculator__savings-grid {
        display: table !important;
        width: 100% !important;
        table-layout: fixed !important;
        margin-top: 4px !important;
    }

    .es-motor-calculator__savings-grid>.es-motor-calculator__field {
        display: table-cell !important;
        padding: 0 4px !important;
        vertical-align: top !important;
    }

    /* Инфо-панель если открыта */
    .es-motor-calculator__info:not([hidden]) {
        display: block !important;
        border: 1px solid #aaa !important;
        background: #fafafa !important;
        padding: 6px !important;
        font-size: 9px !important;
        margin-top: 4px !important;
        line-height: 1.4 !important;
    }

    .es-motor-calculator__info p {
        margin: 0 0 2px !important;
    }
}

/* ============================================
   Фильтры BeRocket наверху, каталог остается слева
   ============================================ */

/* Панель фильтров наверху */
.es-filters-top {
    width: 100%;
    margin: 16px 0 24px;
}

.es-filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
}

.es-filters-row .berocket_single_filter_widget {
    flex: 0 0 auto;
    width: auto !important;
    max-width: none !important;
    margin: 0;
    padding: 0;
}