/* =============================================
   Override – ваши последние доработки (после custom.css.map)
   ============================================= */

.sitemap_btn {
    background-image: url(../images/sitemap-icon.jpg);
}
.sitemap_btn:hover,
.catalog_btn:hover {
    filter: brightness(1);
}

.gc-single-post__img-wrap {
    margin-bottom: 20px;
}
.entry-content {
    margin-bottom: 20px;
}
.contact-info-list {
    margin-top: 75px;
}
.gc-footer-social-container {
    margin-top: 15px;
    margin-bottom: 5px;
}
.gc-search-mobile > .grid-container {
    max-width: 100%;
    padding: 0;
}

@media screen and (max-width: 767px) {
    .gc-header {
        position: relative;
        z-index: 50;
        background: #fff;
    }
    .gc-header .menu-grid-container {
        width: 100%;
    }
    .gc-header-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        width: 100%;
        min-height: 74px;
    }
    .gc-header-logo-wrap {
        flex: 0 0 auto;
        width: auto !important;
        max-width: none;
    }
    .gc-header-logo-wrap .gc-logo,
    .gc-header-logo-wrap h1 {
        margin: 0;
        line-height: 1;
    }
    .gc-header-logo-wrap img,
    .gc-header-logo-wrap .custom-logo {
        display: block;
        width: 40px;
        height: auto;
        max-height: 71px;
    }
    .gc-header-menu-wrap {
        flex: 0 0 auto;
        width: auto !important;
        max-width: none;
        margin-left: auto;
    }
    .gc-header-menu-wrap .title-bar {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        background: transparent;
        padding: 0;
        min-height: 0;
    }
    .gc-header-menu-wrap .menu-icon {
        margin: 0;
    }
    .gc-search-desktop {
        display: none !important;
    }
    .gc-search-mobile {
        display: block;
        position: relative;
        z-index: 40;
        background: #f3f3f3;
    }
    .gc-search-mobile .grid-container {
        padding: 0;
    }
    .gc-search-mobile form,
    .gc-search-mobile .search-form,
    .gc-search-mobile input[type="search"],
    .gc-search-mobile input[type="text"] {
        width: 100% !important;
        max-width: 100% !important;
    }
    .gc-search-mobile input[type="search"],
    .gc-search-mobile input[type="text"] {
        padding-left: 50px;
        display: block;
        height: 46px;
        border-radius: 25px;
        border: none;
        background: #fff;
        padding-right: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    }
    .gc-breadcrumbs {
        font-size: 14px;
    }
}


/* Новости */

.gc-page-title {
    margin: 20px 0 20px;
    font-size: 35px;
    font-weight: 300;
    text-transform: uppercase;
    color: #253044;
}
.news-grid {
    row-gap: 30px;
}
.post-card {
    display: flex;
    flex-direction: column;
}
.post-card-image {
    display: block;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    height: 220px;
}
.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: .4s;
}
.post-card:hover .post-card-image img {
    transform: scale(1.05);
}
.post-card-body {
    background: #fff;
    padding: 20px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 280px;
}
.post-card-cat {
    margin-bottom: 15px;
}
.post-card-cat a {
    color: #ff6b1a;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}
.post-card-title {
    margin: 0 0 15px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 500;
}
.post-card-title a {
    color: #222;
    text-decoration: none;
}
.post-card-title a:hover {
    color: #ff6b1a;
}
.post-card-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    flex-grow: 1;
}
.post-card-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ececec;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.post-card-date {
    color: #9b9b9b;
    font-size: 14px;
}
.post-card-btn {
    color: #ff6b1a;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.post-card-btn:hover {
    color: #d95a15;
}
.gc-news-pagination-wrap {
    margin-top: 50px;
}
.gc-news-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.gc-news-page-btn {
    width: 42px;
    height: 42px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    cursor: pointer;
    border-radius: 4px;
    transition: .3s;
}
.gc-news-page-btn:hover {
    background: #ff6b1a;
    border-color: #ff6b1a;
    color: #fff;
}
.gc-news-page-btn.active {
    background: #ff6b1a;
    border-color: #ff6b1a;
    color: #fff;
}
.gc-news-dots {
    display: flex;
    align-items: center;
    padding: 0 8px;
}
.news-grid {
    align-items: stretch;
}
.news-grid > .cell {
    display: flex;
}
.post-card {
    width: 100%;
}
.gc-publication-sidebar .gc-right-form {
    margin-top: 0;
}
@media screen and (max-width: 768px) {
    .gc-page-title {
        font-size: 30px;
        margin-bottom: 40px;
    }
    .post-card-image {
        height: 200px;
    }
    .post-card-body {
        min-height: auto;
    }
}

/* 404 page */
.error404 .gc-header,
.error404 .gc-footer,
.error404 .gc-breadcrumbs {
    display: block;
}

.error404 .gc-main {
    display: block;
    min-height: auto;
    margin: 0;
    padding-top: 0;
    background: #f7f8fa;
    font-family: inherit;
}

.error404 .gc-breadcrumbs {
    padding-top: 18px;
}

.error404 .gc-404 {
    margin: 0;
    padding: 28px 0 64px;
}

.error404 .gc-404__card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
    align-items: center;
    min-height: 430px;
    overflow: hidden;
    border: 1px solid #eceef2;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(37, 48, 68, .1);
}

.error404 .gc-404__content {
    position: relative;
    z-index: 2;
    padding: 52px 60px;
}

.error404 .gc-404__eyebrow {
    display: inline-flex;
    padding: 7px 14px;
    border-radius: 999px;
    background: #fff0e8;
    color: #c95817;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.error404 .gc-404__number {
    margin: 12px 0 -14px;
    color: #f0f1f4;
    font-size: clamp(76px, 9vw, 128px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.07em;
}

.error404 .gc-404__title {
    margin: 0 0 14px;
    color: #253044;
    font-size: clamp(30px, 3.3vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    text-transform: none;
}

.error404 .gc-404__text {
    max-width: 620px;
    margin: 0 0 26px;
    color: #626b7a;
    font-family: inherit;
    font-size: 17px;
    line-height: 1.65;
    text-align: left;
}

.error404 .gc-404__search {
    display: flex;
    max-width: 620px;
    margin: 0 0 22px;
}

.error404 .gc-404__search input {
    min-width: 0;
    height: 50px;
    margin: 0;
    padding: 0 18px;
    border: 1px solid #dfe2e7;
    border-right: 0;
    border-radius: 10px 0 0 10px;
    background: #fff;
    box-shadow: none;
}

.error404 .gc-404__search button {
    flex: 0 0 auto;
    height: 50px;
    margin: 0;
    padding: 0 24px;
    border: 0;
    border-radius: 0 10px 10px 0;
    background: #fd7f33;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.error404 .gc-404__search button:hover,
.error404 .gc-404__search button:focus {
    background: #df651c;
}

.error404 .gc-404__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.error404 a.gc-404__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 22px;
    border: 1px solid #fd7f33;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.error404 a.gc-404__button--primary {
    background: #fd7f33;
    color: #fff;
}

.error404 a.gc-404__button--secondary {
    background: #fff;
    color: #d9601a;
}

.error404 .gc-404__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    overflow: hidden;
    background: linear-gradient(145deg, #fff1e8 0%, #fd7f33 100%);
}

.error404 .gc-404__visual strong {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 150px;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 12px 30px rgba(135, 52, 5, .18);
}

.error404 .gc-404__ring,
.error404 .gc-404__dot {
    position: absolute;
    border-radius: 50%;
}

.error404 .gc-404__ring {
    border: 2px solid rgba(255, 255, 255, .38);
}

.error404 .gc-404__ring--large {
    width: 330px;
    height: 330px;
}

.error404 .gc-404__ring--small {
    width: 230px;
    height: 230px;
}

.error404 .gc-404__dot {
    top: 55px;
    right: 48px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, .72);
}

@media screen and (max-width: 768px) {
    .error404 .gc-404 {
        padding: 18px 0 40px;
    }

    .error404 .gc-404__card {
        grid-template-columns: 1fr;
        min-height: 0;
        border-radius: 18px;
    }

    .error404 .gc-404__content {
        padding: 34px 24px;
    }

    .error404 .gc-404__visual {
        min-height: 180px;
    }

    .error404 .gc-404__visual strong {
        font-size: 100px;
    }

    .error404 .gc-404__text {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .error404 .gc-404__search {
        display: grid;
        gap: 10px;
    }

    .error404 .gc-404__search input,
    .error404 .gc-404__search button {
        width: 100%;
        border: 1px solid #dfe2e7;
        border-radius: 10px;
    }

    .error404 .gc-404__search button {
        border-color: #fd7f33;
    }

    .error404 .gc-404__actions {
        display: grid;
    }
}

/* Видео на странице товаров */
.gc-home-intro {
    margin-bottom: 0;
    padding-top: 46px;
}

.gc-home-intro__content.is-collapsed > * {
    display: none !important;
}

.gc-home-intro__content.is-collapsed > h2:first-of-type,
.gc-home-intro__content.is-collapsed > p:first-of-type {
    display: block !important;
}

.gc-home-intro__actions {
    display: flex;
    justify-content: center;
    margin-top: 4px;
}

.gc-home-intro__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(234, 114, 47, .42);
    border-radius: 50%;
    background: #fff;
    color: #ea722f;
    box-shadow: 0 5px 16px rgba(32, 32, 32, .1);
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.gc-home-intro__toggle-icon {
    width: 10px;
    height: 10px;
    margin-top: -4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .25s ease, margin .25s ease;
}

.gc-home-intro__toggle[aria-expanded="true"] .gc-home-intro__toggle-icon {
    margin-top: 4px;
    transform: rotate(-135deg);
}

.gc-home-intro__toggle:hover,
.gc-home-intro__toggle:focus {
    border-color: #ea722f;
    background: #ea722f;
    color: #fff;
    box-shadow: 0 7px 18px rgba(234, 114, 47, .25);
    transform: translateY(-1px);
}

.gc-home-intro__toggle[hidden] {
    display: none;
}

.gc-home-products-title {
    margin: 24px 0 24px;
}

.gc-home-products-title + .gc-grid {
    margin-top: 0;
}

@media (max-width: 640px) {
    .gc-home-intro {
        padding-top: 30px;
    }

    .gc-home-products-title {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

.gc-product-videos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0px 0 30px;
}
.gc-product-video-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.gc-product-video-preview {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #000;
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}
.gc-product-video-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.gc-product-video-card:hover img {
    transform: scale(1.04);
}
.gc-product-video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 72px;
    height: 72px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}
.gc-product-video-play::before {
    content: "";
    position: absolute;
    left: 29px;
    top: 22px;
    border-left: 20px solid #ff6a00;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
}
.gc-product-video-title {
    padding: 16px 18px 18px;
    font-size: 16px;
    line-height: 1.45;
    color: #001b44;
    background: #fff;
}
.gc-product-video-card iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
@media (max-width: 1024px) {
    .gc-product-videos {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .gc-product-videos {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}
