/* =============================================
   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 {
        display: none;
    }
}


/* Новости */

.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%;
}
@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;
    }
}

/* Видео на странице товаров */
.gc-product-videos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 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;
    }
}

/* Мобильные табы */
@media (max-width: 767px) {
    .page-template-single-product .owl-nav{
        display: none;
    }
    .gc-tabs {
        margin-top: 20px;
    }
    .gc-tabs .tabs {
        display: block !important;
        border: 0 !important;
        background: #fff;
        padding: 0 18px;
        margin: 0;
        box-shadow: none !important;
    }
    .gc-tabs .tabs.owl-carousel {
        display: block !important;
    }
    .gc-tabs .owl-stage-outer,
    .gc-tabs .owl-stage,
    .gc-tabs .owl-item {
        width: 100% !important;
        transform: none !important;
        display: block !important;
        border: 0 !important;
        box-shadow: none !important;
    }
    .gc-tabs .owl-nav,
    .gc-tabs .owl-dots {
        display: none !important;
    }
    .gc-tabs .tabs-title {
        float: none !important;
        width: 100% !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-bottom: 1px solid #ddd !important;
        box-shadow: none !important;
        background: #fff !important;
    }
    .gc-tabs .gc-tab-link {
        position: relative;
        display: block;
        width: 100%;
        margin: 0 !important;
        padding: 16px 36px 16px 10px !important;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.3;
        text-align: center;
        color: #ff5a1f !important;
        background: #fff !important;
        border: 0 !important;
        border-top: 0 !important;
        border-bottom: 0 !important;
        box-shadow: none !important;
        outline: none !important;
        text-decoration: none;
    }
    .gc-tabs .gc-tab-link:hover,
    .gc-tabs .gc-tab-link:focus,
    .gc-tabs .tabs-title.is-active .gc-tab-link {
        color: #ff5a1f !important;
        background: #fff !important;
        border: 0 !important;
        box-shadow: none !important;
    }
    .gc-tabs .gc-tab-link::before {
        display: none !important;
        content: none !important;
    }
    .gc-tabs .gc-tab-link::after {
        content: "";
        position: absolute;
        right: 10px;
        top: 50%;
        width: 9px;
        height: 9px;
        border-right: 2px solid #ff5a1f;
        border-bottom: 2px solid #ff5a1f;
        transform: translateY(-65%) rotate(45deg);
        transition: transform 0.25s ease;
    }
    .tabs-panel tr,
    .gc-tabs .tabs-panel {
        border-bottom: 0px !important;
    }
    .gc-tabs .tabs-title.is-active .gc-tab-link::after {
        transform: translateY(-35%) rotate(225deg);
    }
    .gc-tabs .tabs-content {
        display: none !important;
        border: 0 !important;
        background: #fff;
        box-shadow: none !important;
    }
    .gc-tabs .tabs-panel {
        display: none !important;
        padding: 18px 10px 24px;
        margin: 0 !important;
        border: 0 !important;
        border-bottom: 1px solid #ddd !important;
        background: #fff;
        box-shadow: none !important;
    }
    .gc-tabs .tabs-panel.is-active,
    .gc-tabs .tabs-title.is-active + .tabs-panel {
        display: block !important;
    }
    .gc-product-videos {
        grid-template-columns: 1fr;
        gap: 18px;
        margin: 10px 0 20px;
    }
}