/* Ваши кастомные стили */
section#text-3 {
    position: fixed;
    background: #fff;
    top: 50%;
    left: 0px;
    padding: 15px;
    box-shadow: 2px 2px 10px rgba(0,0,0,.3);
}

#mk-page-introduce.intro-left {
    display: none;
}
/* ========================================
   КНОПКИ ПРАЙС И КОНТАКТЫ (НОВЫЕ)
   ======================================== */

.custom-btn-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px 30px -15px;
}

.custom-btn-col {
    width: 50%;
    box-sizing: border-box;
    padding: 0 15px;
}

.custom-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 20px 30px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-sizing: border-box;
    cursor: pointer;
}

.custom-btn i {
    font-size: 22px;
    transition: transform 0.3s ease;
}

/* Кнопка "Скачать прайс лист" */
.custom-btn-price {
    background: #222222;
    color: #ffffff !important;
    border-color: #222222;
}

.custom-btn-price i {
    color: #ffcc00;
}

.custom-btn-price:hover {
    background: #444444;
    border-color: #444444;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.25);
}

.custom-btn-price:hover i {
    transform: scale(1.15) rotate(-6deg);
}

/* Кнопка "Свяжитесь с нами" */
.custom-btn-contact {
    background: #dd3333;
    color: #ffffff !important;
    border-color: #dd3333;
}

.custom-btn-contact i {
    color: #ffffff;
}

.custom-btn-contact:hover {
    background: #b12929;
    border-color: #b12929;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(221,51,51,0.4);
}

.custom-btn-contact:hover i {
    transform: scale(1.15) rotate(6deg);
}

/* Адаптив */
@media (max-width: 768px) {
    .custom-btn-col {
        width: 100%;
    }
    
    .custom-btn {
        font-size: 16px;
        padding: 16px 20px;
    }
    
    .custom-btn i {
        font-size: 18px;
    }
}
/* Кнопки */
.custom-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 20px 30px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-sizing: border-box;
    cursor: pointer;
}

.custom-btn-price {
    background: #222222;
    color: #ffffff !important;
    border-color: #222222;
}

.custom-btn-contact {
    background: #dd3333;
    color: #ffffff !important;
    border-color: #dd3333;
}

/* Иконка на кнопке "Скачать прайс" */
.custom-btn-price i {
    color: #ffcc00 !important;  /* жёлтая, если хочешь */
}

/* Иконка на кнопке "Свяжитесь с нами" */
.custom-btn-contact i {
    color: #ffffff !important;  /* белая */
}
/* ========================================
   404 СТРАНИЦА
   ======================================== */

.error-404-wrapper {
    text-align: center;
    padding: 40px 20px 60px;
}

.error-404-title {
    font-size: 120px;
    color: #dd3333;
    margin: 0;
    line-height: 1;
}

.error-404-subtitle {
    font-size: 32px;
    color: #393836;
    margin: 20px 0 10px;
}

.error-404-text {
    font-size: 18px;
    color: #777;
    max-width: 600px;
    margin: 0 auto 30px;
}

.error-404-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.error-404-btn {
    display: inline-block;
    padding: 15px 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none !important;
    transition: background .3s;
}

.error-404-btn i {
    margin-right: 8px;
}

.error-404-btn-home {
    background: #dd3333;
    color: #ffffff !important;
}

.error-404-btn-home:hover {
    background: #b12929;
    color: #ffffff !important;
}

.error-404-btn-catalog {
    background: #222222;
    color: #ffffff !important;
}

.error-404-btn-catalog:hover {
    background: #444444;
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .error-404-title {
        font-size: 80px;
    }
    
    .error-404-subtitle {
        font-size: 24px;
    }
    
    .error-404-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
}

/* ============================================
   ИЗОЛИРОВАННЫЙ МОДУЛЬ "НАШИ УСЛУГИ"
   ============================================ */

.services-module-2026 {
    all: initial;
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.3;
    color: #393836;
}

.services-module-2026 .mk-page-section {
    display: block;
    width: 100%;
}

.services-module-2026 .vc-column {
    width: 100%;
    float: left;
    box-sizing: border-box;
    padding: 0 15px;
}

.services-module-2026 .mk-fancy-title {
    font-size: 40px;
    color: #393836;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
    margin-bottom: 40px;
    font-weight: normal;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.3;
}

.services-module-2026 .mk-fancy-title strong {
    font-weight: bold;
}

.services-module-2026 .mk-imagebox {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px 40px;
}

.services-module-2026 .mk-imagebox-item {
    width: 25%;
    padding: 5px;
    box-sizing: border-box;
}

.services-module-2026 .mk-imagebox-card {
    background: #1b4b6f;
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.services-module-2026 .mk-imagebox-img {
    height: 180px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.services-module-2026 .mk-imagebox-content {
    padding: 20px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.services-module-2026 .mk-imagebox-title {
    margin: 0 0 15px;
    font-size: 22px;
    color: #ffffff;
    line-height: 1.3;
    font-weight: normal;
}

.services-module-2026 .mk-imgbox-btn {
    display: inline-block;
    padding: 10px 18px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s ease;
    align-self: flex-start;
    border: none;
    cursor: pointer;
}

.services-module-2026 .mk-imgbox-btn[data-color="blue"] {
    background: #123e5f;
}
.services-module-2026 .mk-imgbox-btn[data-color="blue"]:hover {
    background: #f07b96;
}

.services-module-2026 .mk-imgbox-btn[data-color="yellow"] {
    background: #e49c23;
}
.services-module-2026 .mk-imgbox-btn[data-color="yellow"]:hover {
    background: #8a71bb;
}

.services-module-2026 .mk-imgbox-btn[data-color="green"] {
    background: #7d8f1c;
}
.services-module-2026 .mk-imgbox-btn[data-color="green"]:hover {
    background: #215244;
}

.services-module-2026 .mk-imgbox-btn[data-color="orange"] {
    background: #ba6300;
}
.services-module-2026 .mk-imgbox-btn[data-color="orange"]:hover {
    background: #753a00;
}

.services-module-2026 .mk-imagebox-item:nth-child(1) .mk-imagebox-card {
    background: #1b4b6f;
}
.services-module-2026 .mk-imagebox-item:nth-child(2) .mk-imagebox-card {
    background: #f3ac34;
}
.services-module-2026 .mk-imagebox-item:nth-child(3) .mk-imagebox-card {
    background: #8ea220;
}
.services-module-2026 .mk-imagebox-item:nth-child(4) .mk-imagebox-card {
    background: #dd9933;
}

@media (max-width: 992px) {
    .services-module-2026 .mk-imagebox-item {
        width: 50% !important;
    }
}

@media (max-width: 576px) {
    .services-module-2026 .mk-imagebox-item {
        width: 100% !important;
    }
    
    .services-module-2026 .mk-fancy-title {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .services-module-2026 .mk-imagebox-title {
        font-size: 18px;
    }
}

.shadow-gallery {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.shadow-gallery .gallery-item {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}

.shadow-gallery .gallery-item img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

/* ================================================================
   СТРАНИЦА СО СТАТЬЯМИ
   ================================================================ */

.articles-custom {
    padding: 20px 0;
}

.articles-custom .article-item {
    padding: 30px 0 20px;
    border-bottom: 2px solid #f0f0f0;
    transition: all 0.2s ease;
}

.articles-custom .article-item:last-child {
    border-bottom: none;
}

.articles-custom .article-item:hover {
    padding-left: 10px;
}

.articles-custom .article-item h2 {
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: 700;
    color: #404040;
    text-transform: none;
}

.articles-custom .article-item h2 a {
    color: #404040;
    transition: color 0.2s ease;
}

.articles-custom .article-item h2 a:hover {
    color: #dd3333;
    text-decoration: none;
}

.articles-custom .article-item .article-excerpt {
    font-size: 16px;
    line-height: 1.7;
    color: #777777;
    margin-bottom: 12px;
}

.articles-custom .article-item .read-more-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #dd3333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    position: relative;
}

.articles-custom .article-item .read-more-link::after {
    content: " →";
    transition: transform 0.2s ease;
    display: inline-block;
}

.articles-custom .article-item .read-more-link:hover {
    color: #b32424;
}

.articles-custom .article-item .read-more-link:hover::after {
    transform: translateX(4px);
}

.articles-custom .article-item .article-meta {
    font-size: 13px;
    color: #999999;
    margin-bottom: 8px;
    font-style: italic;
}

.articles-custom .article-item .article-meta span {
    margin-right: 15px;
}

.articles-custom .article-item .article-meta i {
    margin-right: 4px;
    font-size: 14px;
}

.articles-custom .article-item .article-thumb {
    float: left;
    margin: 0 20px 10px 0;
    max-width: 200px;
    border-radius: 4px;
    overflow: hidden;
}

.articles-custom .article-item .article-thumb img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.articles-custom .article-item .article-thumb img:hover {
    transform: scale(1.03);
}

.articles-custom > h1 {
    font-size: 32px;
    font-weight: 700;
    color: #404040;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 15px;
    border-bottom: 3px solid #dd3333;
    margin-bottom: 30px;
}

@media handheld, only screen and (max-width: 768px) {
    .articles-custom .article-item {
        padding: 20px 0 15px;
    }
    .articles-custom .article-item h2 {
        font-size: 18px;
    }
    .articles-custom .article-item .article-excerpt {
        font-size: 14px;
    }
    .articles-custom .article-item .article-thumb {
        float: none;
        max-width: 100%;
        margin: 0 0 15px 0;
    }
    .articles-custom > h1 {
        font-size: 24px;
    }
}

@media handheld, only screen and (max-width: 480px) {
    .articles-custom .article-item h2 {
        font-size: 16px;
    }
    .articles-custom .article-item .article-excerpt {
        font-size: 13px;
    }
    .articles-custom .article-item .read-more-link {
        font-size: 12px;
    }
}

/* ================================================================
   ПОРТФОЛИО — ГАЛЕРЕЯ (3 КОЛОНКИ)
   ================================================================ */

.item-holder {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #f0f0f0;
}

.mk-gallery-item {
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-hover {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    pointer-events: none;
}

.mk-gallery-item:hover .gallery-hover {
    background: rgba(0, 0, 0, 0.35);
}

.mk-gallery-item:hover {
    transform: scale(1.03);
}

@media (max-width: 992px) {
    .mk-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 2px;
    }
}

@media (max-width: 480px) {
    .mk-gallery {
        grid-template-columns: 1fr;
        gap: 2px;
    }
    .item-holder {
        aspect-ratio: 16 / 10;
    }
}

/* ================================================================
   КОНТАКТЫ — СТРАНИЦА
   ================================================================ */

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin: 30px 0 40px;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 20px;
    background: #f9f9f9;
    border-radius: 6px;
    border-left: 3px solid #dd3333;
}

.contact-item i {
    font-size: 22px;
    color: #dd3333;
    min-width: 30px;
    margin-top: 2px;
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-item strong {
    color: #333;
    font-size: 14px;
    margin-bottom: 2px;
}

.contact-item span {
    color: #666;
    font-size: 15px;
}

.contact-item span a {
    color: #dd3333;
    text-decoration: none;
}

.contact-item span a:hover {
    text-decoration: underline;
}

.contacts-map iframe {
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* ================================================================
   ФОРМА ОБРАТНОЙ СВЯЗИ
   ================================================================ */

.mk-contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 16px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e8e8e8;
    background: #f8f8f8;
    color: #333;
    box-sizing: border-box;
    font-size: 15px;
    border-radius: 4px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #dd3333;
    box-shadow: 0 0 0 3px rgba(221,51,51,0.1);
    background: #fff;
    outline: none;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.captcha-group {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.captcha-group label {
    color: #555;
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 0 !important;
}

.captcha-group input {
    width: 80px !important;
    display: inline-block !important;
}

.form-submit {
    display: inline-block;
    padding: 16px 40px;
    background: #dd3333;
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background: #b12929;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(221,51,51,0.35);
}

#form-result.success {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
}

#form-result.error {
    background: #ffebee;
    border: 1px solid #ef9a9a;
    color: #c62828;
}

@media (max-width: 992px) {
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .contacts-map iframe {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .contact-item {
        padding: 12px 16px;
    }
    .contact-item i {
        font-size: 18px;
        min-width: 24px;
    }
    .contact-item span {
        font-size: 14px;
    }
    .contacts-map iframe {
        height: 250px;
    }
    .form-submit {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contacts-grid {
        gap: 20px;
    }
    .contact-item {
        padding: 10px 14px;
    }
    .form-input,
    .form-textarea {
        padding: 12px 14px;
        font-size: 14px;
    }
    .captcha-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .captcha-group input {
        width: 100% !important;
    }
}

/* ================================================================
   ГЛАВНАЯ — СЛАЙДЕР
   ================================================================ */

.custom-mk-edge-slider {
    height: 400px;
    background: #000000;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.custom-mk-edge-slider .edge-slides-wrapper {
    height: 100%;
    position: relative;
}

.custom-mk-edge-slider .edge-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    transition: opacity 700ms ease;
}

.custom-mk-edge-slider .edge-slide.active {
    opacity: 1;
    z-index: 2;
}

.custom-mk-edge-slider .edge-slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    padding: 20px;
}

.custom-mk-edge-slider .edge-slide-overlay .edge-title {
    margin: 0;
    font-size: clamp(22px, 4vw, 42px);
    text-transform: uppercase;
}

.custom-mk-edge-slider .edge-pagination {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.custom-mk-edge-slider .edge-pagination span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background 0.3s;
}

.custom-mk-edge-slider .edge-pagination span.active {
    background: #ffffff;
}

.custom-mk-edge-slider .edge-prev,
.custom-mk-edge-slider .edge-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    border: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    transition: background 0.3s;
}

.custom-mk-edge-slider .edge-prev:hover,
.custom-mk-edge-slider .edge-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

.custom-mk-edge-slider .edge-prev {
    left: 12px;
}

.custom-mk-edge-slider .edge-next {
    right: 12px;
}

/* ================================================================
   ГЛАВНАЯ — УСЛУГИ (imagebox)
   ================================================================ */

.mk-imagebox {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px 40px;
}

.mk-imagebox-item {
    width: 25%;
    padding: 5px;
    box-sizing: border-box;
}

.mk-imagebox-item > div {
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mk-imagebox-item .imagebox-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mk-imagebox-item .imagebox-content {
    padding: 20px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mk-imagebox-item .imagebox-title {
    margin: 0 0 15px;
    font-size: 22px !important;
    color: #ffffff !important;
    line-height: 1.3;
    font-weight: normal !important;
    text-align: left;
}

.mk-imagebox-item .mk-imgbox-btn {
    display: inline-block;
    padding: 10px 18px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s;
    align-self: flex-start;
}

.mk-imagebox-item .color-blue { background: #1b4b6f; }
.mk-imagebox-item .color-blue .mk-imgbox-btn { background: #123e5f; }
.mk-imagebox-item .color-blue .mk-imgbox-btn:hover { background: #f07b96; }

.mk-imagebox-item .color-yellow { background: #f3ac34; }
.mk-imagebox-item .color-yellow .mk-imgbox-btn { background: #e49c23; }
.mk-imagebox-item .color-yellow .mk-imgbox-btn:hover { background: #8a71bb; }

.mk-imagebox-item .color-green { background: #8ea220; }
.mk-imagebox-item .color-green .mk-imgbox-btn { background: #7d8f1c; }
.mk-imagebox-item .color-green .mk-imgbox-btn:hover { background: #215244; }

.mk-imagebox-item .color-orange { background: #dd9933; }
.mk-imagebox-item .color-orange .mk-imgbox-btn { background: #ba6300; }
.mk-imagebox-item .color-orange .mk-imgbox-btn:hover { background: #753a00; }

.mk-gallery {
    display: grid;
    gap: 1px;
    margin-bottom: 0;
}

.mk-gallery .item-holder {
    position: relative;
    overflow: hidden;
}

.mk-gallery .item-holder .gallery-image {
    display: block;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.mk-gallery .item-holder .gallery-hover {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s;
}

.mk-gallery .item-holder:hover .gallery-hover {
    background: rgba(0, 0, 0, 0.35);
}

.mk-gallery.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

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

.mk-table {
    overflow-x: auto;
    margin-bottom: 25px;
}

.mk-table table {
    width: 100%;
    border-collapse: collapse;
}

.mk-table table td {
    padding: 10px 15px;
    border: 1px solid #ddd;
    text-align: center;
}

.mk-table table td strong {
    color: #800000;
}

.mk-fancy-title {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.3;
}

.mk-fancy-title strong {
    font-weight: bold;
}

.mk-fancy-title.text-center {
    text-align: center;
}

.mk-fancy-title.size-40 {
    font-size: 40px;
    color: #393836;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 40px;
    margin-bottom: 40px;
    font-weight: normal;
}

.vc-column-text {
    margin-bottom: 20px;
}

.vc-column-text p {
    text-align: justify;
}

.vc-column-text h1,
.vc-column-text h2 {
    margin-top: 20px;
    margin-bottom: 15px;
}

.wp-caption {
    max-width: 100%;
    text-align: center;
    margin: 20px auto;
}

.wp-caption img {
    max-width: 100%;
    height: auto;
}

.wp-caption-text {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

@media (max-width: 992px) {
    .mk-imagebox-item {
        width: 50% !important;
    }
    .mk-gallery.grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .mk-gallery.grid-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .mk-imagebox-item {
        width: 100% !important;
    }
    .mk-gallery.grid-4 {
        grid-template-columns: 1fr !important;
    }
    .mk-gallery.grid-2 {
        grid-template-columns: 1fr !important;
    }
    .custom-mk-edge-slider {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .custom-mk-edge-slider .edge-prev,
    .custom-mk-edge-slider .edge-next {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    .custom-mk-edge-slider .edge-prev {
        left: 6px;
    }
    .custom-mk-edge-slider .edge-next {
        right: 6px;
    }
}

/* ================================================================
   КНОПКА "НАВЕРХ"
   ================================================================ */

.mk-go-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 22px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.mk-go-top.show {
    opacity: 1;
    visibility: visible;
}

.mk-go-top:hover {
    background: #dd3333;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(221, 51, 51, 0.4);
}

.mk-go-top i {
    font-size: 24px;
    line-height: 50px;
    color: #ffffff;
    display: inline-block;
}

@media (max-width: 768px) {
    .mk-go-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        line-height: 44px;
        font-size: 18px;
    }
    .mk-go-top i {
        font-size: 20px;
        line-height: 44px;
    }
}
/* ================================================================
   МОБИЛЬНОЕ МЕНЮ - УПРОЩЕННАЯ ВЕРСИЯ
   ================================================================ */

.mk-nav-responsive-link {
    display: none !important;
}

.my-menu-toggle {
    display: none !important;
    cursor: pointer !important;
    padding: 12px !important;
    z-index: 999999 !important;
    float: right !important;
    background: transparent !important;
    border: none !important;
}

.my-hamburger {
    width: 28px !important;
    height: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.my-hamburger span {
    display: block !important;
    width: 28px !important;
    height: 3px !important;
    background: #333 !important;
    border-radius: 2px !important;
    transition: all 0.3s ease !important;
}

.my-menu-toggle.active .my-hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px) !important;
}
.my-menu-toggle.active .my-hamburger span:nth-child(2) {
    opacity: 0 !important;
}
.my-menu-toggle.active .my-hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px) !important;
}

.my-mobile-wrap {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 90% !important;
    height: 100vh !important;
    background: #ffffff !important;
    z-index: 99999 !important;
    padding: 80px 20px 30px !important;
    overflow-y: auto !important;
}

.my-mobile-wrap.active {
    display: block !important;
}

.my-menu-close {
    position: absolute !important;
    top: 15px !important;
    right: 20px !important;
    font-size: 32px !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    color: #333 !important;
    z-index: 999999 !important;
    padding: 10px !important;
    line-height: 1 !important;
}

.my-mobile-nav {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.my-mobile-nav > li {
    border-bottom: 1px solid #eee !important;
}

.my-mobile-nav a {
    display: block !important;
    padding: 15px 0 !important;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}

.my-mobile-nav a:hover {
    color: #dd3333 !important;
}

.my-sub-menu {
    display: none !important;
    list-style: none !important;
    padding: 0 0 0 20px !important;
    margin: 0 !important;
    background: #f9f9f9 !important;
}

.my-sub-menu.open {
    display: block !important;
}

.my-sub-menu a {
    padding: 12px 0 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #666 !important;
}

@media screen and (max-width: 1024px) {
    .my-menu-toggle {
        display: block !important;
    }
    .mk-header-nav-container {
        display: none !important;
    }
}

@media screen and (min-width: 1025px) {
    .my-menu-toggle {
        display: none !important;
    }
    .my-mobile-wrap {
        display: none !important;
    }
    .my-mobile-wrap.active {
        display: none !important;
    }
}
/* ================================================================
   МОБИЛЬНОЕ МЕНЮ — ФИНАЛЬНАЯ ВЕРСИЯ
   ================================================================ */

/* Скрываем старую кнопку темы */
.mk-nav-responsive-link {
    display: none !important;
}

/* Переопределяем сетку хедера для мобилок */
.header-grid.mk-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.header-grid.mk-grid .header-logo {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    float: none !important;
    width: auto !important;
    flex: 1 1 auto !important;
}

.header-grid.mk-grid .mk-header-nav-container {
    flex: 0 1 auto !important;
}

/* Кнопка гамбургер (SVG) */
.my-menu-toggle {
    display: none !important;
    cursor: pointer !important;
    padding: 12px !important;
    z-index: 999999 !important;
    background: transparent !important;
    border: none !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
    order: 10 !important;
}

.my-menu-toggle svg {
    display: block !important;
    width: 28px !important;
    height: 20px !important;
}

.my-menu-toggle svg rect {
    transition: all 0.3s ease !important;
}

.my-menu-toggle.active #line1 {
    transform: rotate(45deg) translate(6px, 6px) !important;
    transform-origin: center center !important;
}
.my-menu-toggle.active #line2 {
    opacity: 0 !important;
}
.my-menu-toggle.active #line3 {
    transform: rotate(-45deg) translate(6px, -6px) !important;
    transform-origin: center center !important;
}

/* Меню */
.my-mobile-wrap {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 90% !important;
    max-width: 500px !important;
    height: 100vh !important;
    background: #ffffff !important;
    z-index: 99999 !important;
    padding: 70px 25px 30px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-shadow: -5px 0 30px rgba(0,0,0,0.2) !important;
    transition: right 0.3s ease !important;
}

.my-mobile-wrap.active {
    display: block !important;
    right: 0 !important;
}

/* Крестик */
.my-menu-close {
    position: absolute !important;
    top: 15px !important;
    right: 20px !important;
    font-size: 32px !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    color: #333 !important;
    z-index: 999999 !important;
    padding: 10px !important;
    line-height: 1 !important;
}

.my-menu-close:hover {
    transform: rotate(90deg) !important;
}

/* Навигация */
.my-mobile-nav {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.my-mobile-nav > li {
    border-bottom: 1px solid #eee !important;
}

.my-mobile-nav a {
    display: block !important;
    padding: 15px 0 !important;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}

.my-mobile-nav a:hover {
    color: #dd3333 !important;
}

.my-sub-menu {
    display: none !important;
    list-style: none !important;
    padding: 0 0 0 20px !important;
    margin: 0 !important;
    background: #f9f9f9 !important;
}

.my-sub-menu.open {
    display: block !important;
}

.my-sub-menu a {
    padding: 12px 0 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #666 !important;
}


/* ================================================================
   МОБИЛЬНОЕ МЕНЮ — МЕДИА-ЗАПРОСЫ
   ================================================================ */

/* ТОЛЬКО МОБИЛКИ (до 1024px) */
@media screen and (max-width: 1024px) {
    .header-grid.mk-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }

    .header-grid.mk-grid .header-logo {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        float: none !important;
        width: auto !important;
        flex: 1 1 auto !important;
    }

    .header-grid.mk-grid .mk-header-nav-container {
        flex: 0 1 auto !important;
        display: none !important;
    }

    .my-menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-left: auto !important;
        order: 10 !important;
        flex: 0 0 auto !important;
    }
}

/* ТОЛЬКО ДЕСКТОПЫ (от 1025px) */
@media screen and (min-width: 1025px) {
    .header-grid.mk-grid {
        display: block !important;
    }

    .header-grid.mk-grid .header-logo {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        float: left !important;
        flex: none !important;
        width: auto !important;
    }

    .header-grid.mk-grid .mk-header-nav-container {
        flex: none !important;
        display: block !important;
    }

    .my-menu-toggle {
        display: none !important;
    }

    .my-mobile-wrap {
        display: none !important;
    }
    .my-mobile-wrap.active {
        display: none !important;
    }
}
/* ================================================================
   ФИКС КНОПКИ И ПРОКРУТКИ
   ================================================================ */

/* Убираем горизонтальную прокрутку */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

/* Фикс кнопки на мобилках */
@media screen and (max-width: 1024px) {
    .mk-header-inner .mk-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Логотип - оставляем как есть, просто даём ему место */
    .mk-header-inner .mk-grid .header-logo {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        flex: 1 0 auto !important;
        max-width: 65% !important;
        float: none !important;
    }
    
    .mk-header-inner .mk-grid .header-logo img {
        max-height: 50px !important;
        width: auto !important;
        height: auto !important;
    }
    
    /* Навигацию скрываем */
    .mk-header-inner .mk-grid .mk-header-nav-container {
        display: none !important;
        flex: 0 0 auto !important;
    }
    
    /* Кнопка - фиксированный размер, без вылезания */
    .my-menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 44px !important;
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        margin: 0 !important;
        min-width: 44px !important;
        min-height: 44px !important;
        order: 10 !important;
    }
    
    .my-menu-toggle svg {
        width: 24px !important;
        height: 18px !important;
        flex-shrink: 0 !important;
    }
    
    /* Старую кнопку скрываем */
    .mk-nav-responsive-link {
        display: none !important;
    }
}

/* Десктопы - всё как было */
@media screen and (min-width: 1025px) {
    .mk-header-inner .mk-grid {
        display: block !important;
        padding: 0 !important;
    }
    
    .mk-header-inner .mk-grid .header-logo {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        float: left !important;
        flex: none !important;
        max-width: 100% !important;
    }
    
    .mk-header-inner .mk-grid .mk-header-nav-container {
        display: block !important;
    }
    
    .my-menu-toggle {
        display: none !important;
    }
    
    .my-mobile-wrap {
        display: none !important;
    }
    .my-mobile-wrap.active {
        display: none !important;
    }
}
/* ================================================================
   АДАПТИВ: ТАБЛИЦА + ГАЛЕРЕЯ (2 колонки)
   ================================================================ */

/* На мобилках таблица сверху, галерея снизу */
@media (max-width: 768px) {
    .vc-row-inner {
        flex-direction: column !important;
    }

    .vc-row-inner .vc-column {
        width: 100% !important;
        float: none !important;
        padding: 0 15px !important;
    }

    .vc-row-inner .vc-column:first-child {
        margin-bottom: 20px;
    }

    /* Галерея — 2 колонки */
    .vc-row-inner .mk-gallery.grid-2 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2px !important;
    }

    .vc-row-inner .mk-gallery.grid-2 .item-holder {
        aspect-ratio: 4 / 3 !important;
    }

    .vc-row-inner .mk-gallery.grid-2 .mk-gallery-item {
        height: 100% !important;
        min-height: 180px;
    }
}

@media (max-width: 480px) {
    .vc-row-inner .mk-gallery.grid-2 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2px !important;
    }

    .vc-row-inner .mk-gallery.grid-2 .item-holder {
        aspect-ratio: 4 / 3 !important;
    }

    .vc-row-inner .mk-gallery.grid-2 .mk-gallery-item {
        height: 100% !important;
        min-height: 140px;
    }
}


/* ================================================================
   АДАПТИВ: ПОСЛЕДНИЕ РАБОТЫ (4 колонки) — ОТСТУПЫ
   ================================================================ */

/* Добавляем отступы блоку */
.mk-fancy-title.size-40 + .mk-gallery.grid-4 {
    margin-top: 10px;
    margin-bottom: 30px;
}

/* На мобилках уменьшаем отступы */
@media (max-width: 768px) {
    .mk-fancy-title.size-40 + .mk-gallery.grid-4 {
        margin-top: 5px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .mk-fancy-title.size-40 + .mk-gallery.grid-4 {
        margin-top: 0;
        margin-bottom: 15px;
    }
}


/* ================================================================
   АДАПТИВ: КНОПКИ ПРАЙС И КОНТАКТЫ — ОТСТУПЫ
   ================================================================ */

.custom-btn-row {
    margin: 20px -15px 30px -15px;
}

/* На мобилках кнопки друг под другом с отступами */
@media (max-width: 768px) {
    .custom-btn-row {
        flex-direction: column;
        gap: 12px;
        margin: 15px 0 25px 0;
    }

    .custom-btn-col {
        width: 100%;
        padding: 0;
    }

    .custom-btn {
        padding: 14px 20px;
        font-size: 15px;
    }

    .custom-btn i {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .custom-btn-row {
        gap: 10px;
        margin: 10px 0 20px 0;
    }

    .custom-btn {
        padding: 12px 16px;
        font-size: 14px;
    }

    .custom-btn i {
        font-size: 16px;
    }
}
/* ================================================================
   ГАЛЕРЕЯ — ОТСТУПЫ МЕЖДУ КАРТИНКАМИ (ФИКС)
   ================================================================ */

.mk-gallery {
    display: grid;
    gap: 8px; /* ← увеличил отступ */
    margin-bottom: 0;
}

.mk-gallery.grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.mk-gallery.grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.mk-gallery .item-holder {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f0f0f0;
    border-radius: 4px;
}

.mk-gallery .item-holder .mk-gallery-item {
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mk-gallery .item-holder .mk-gallery-item .gallery-hover {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    pointer-events: none;
    border-radius: 4px;
}

.mk-gallery .item-holder .mk-gallery-item:hover .gallery-hover {
    background: rgba(0, 0, 0, 0.35);
}

.mk-gallery .item-holder .mk-gallery-item:hover {
    transform: scale(1.03);
}

/* ================================================================
   АДАПТИВ: ГАЛЕРЕЯ
   ================================================================ */

@media (max-width: 992px) {
    .mk-gallery.grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
}

@media (max-width: 768px) {
    .mk-gallery.grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }
    .mk-gallery.grid-2 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }
}

@media (max-width: 480px) {
    .mk-gallery.grid-4 {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }
    .mk-gallery.grid-2 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }
    .mk-gallery .item-holder {
        aspect-ratio: 16 / 10;
    }
}
/* ================================================================
   ЛОГОТИП (SVG) — ЖЁСТКИЕ РАЗМЕРЫ
   ================================================================ */

/* Жёстко ограничиваем размер SVG-логотипа */
.header-logo a svg {
    display: block !important;
    width: auto !important;
    max-width: 290px !important;
    max-height: 50px !important;
    height: auto !important;
}

/* Выравнивание по центру */
.header-logo a {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

.header-logo {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}
/* На мобилках делаем ещё меньше */
@media (max-width: 780px) {
    .header-logo a svg {
        max-width: 90% !important;
    }
}

/* ================================================================
   ЛОГОТИП (SVG) — ЖЁСТКИЕ РАЗМЕРЫ
   ================================================================ */

/* Жёстко ограничиваем размер SVG-логотипа */
.footer-logo a svg {
    padding-top: 15px;
    display: block !important;
    width: auto !important;
    max-width: 290px !important;
    max-height: 50px !important;
    height: auto !important;
}

/* Выравнивание по центру */
.footer-logo a {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

.footer-logo {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}
/* На мобилках делаем ещё меньше */
@media (max-width: 780px) {
    .footer-logo a svg {
        max-width: 90% !important;
    }
}
/* ================================================================
   ХЛЕБНЫЕ КРОШКИ
   ================================================================ */

.breadcrumbs {
    font-size: 14px;
    color: #999;
    padding: 10px 0;
}

.breadcrumbs a {
    color: #2e2e2e;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #dd3333;
    text-decoration: underline;
}

.breadcrumbs .breadcrumb-sep {
    color: #ccc;
    margin: 0 8px;
    font-size: 14px;
}

.breadcrumbs span[itemprop="name"]:last-child {
    color: #666;
}
/* ================================================================
   ПРОДУКЦИЯ — СТРАНИЦА
   ================================================================ */

/* Общие отступы */
.vc-column {
    width: 100%;
    float: left;
    box-sizing: border-box;
    padding: 0 15px;
}

.mk-divider-space {
    height: 0;
    margin-top: 15px;
    margin-bottom: 15px;
    clear: both;
}

/* Заголовок страницы */
.page-title {
    font-size: 36px;
    color: #404040;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* Секция продукта */
.product-section {
    margin-bottom: 10px;
}

.product-title {
    text-align: center;
    font-weight: bold;
    font-size: 30px;
    color: #404040;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.product-desc {
    text-align: justify;
    font-size: 16px;
    color: #777777;
    line-height: 1.66em;
    margin-bottom: 20px;
}

/* Две колонки: таблица + картинка */
.product-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.product-col {
    width: 50%;
    float: left;
    box-sizing: border-box;
    padding: 0 15px;
}

/* Таблицы */
.product-col .mk-table {
    overflow-x: auto;
    margin-bottom: 25px;
}

.product-col .mk-table table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.product-col .mk-table table td {
    padding: 10px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

.product-col .mk-table table td strong {
    color: #800000;
}

/* Картинки */
.product-image {
    margin-bottom: 10px;
    text-align: left;
}

.product-image img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* ================================================================
   АДАПТИВ
   ================================================================ */

@media (max-width: 992px) {
    .product-col {
        width: 100% !important;
        float: none !important;
    }
    
    .product-col:first-child {
        margin-bottom: 20px;
    }
    
    .product-image img {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .product-title {
        font-size: 22px;
    }
    
    .product-desc {
        font-size: 14px;
    }
    
    .product-image img {
        height: 180px;
    }
    
    .product-col .mk-table table td {
        padding: 6px 10px;
        font-size: 13px;
    }
}