/*
 * Стили общей разметки (layout).
 * Контейнер .col-full, помощник .full-width (на всю ширину экрана),
 * хедер сайта (включая прозрачный хедер главной .site-header--home)
 * и выезжающая строка поиска в хедере.
 */
.site-content {
    overflow: hidden;
}

.site-main, .content-area {
    margin-bottom: 0;
}

.site-main .storefront-sorting:last-child {
    margin-top: 2.617924em;;
}

.page-template-template-homepage:not(.has-post-thumbnail) .site-main {
    padding-top: 0;
}

.col-full {
    max-width: 140em;
    padding: 0 7em;
    margin: 0 auto;
}
@media screen and (max-width: 1280px) {
    .col-full {
        padding: 0 3em;
    }
}
@media screen and (max-width: 782px) {
    .col-full {
        padding: 0 1em;
    }
}

.full-width {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.site-header {
    padding-top: 0;
    padding-bottom: 0;
    height: var(--mobile-header-height);
    width: 100%;
    position: relative;
    z-index: 20;
}
@media (min-width: 768px) {
    .site-header {
        height: auto;
    }
}

.site-header--home {
    background: transparent;
    border-bottom-color: transparent;
    transition: .3s;
    position: fixed;
}

.site-header--home.active {
    background: var(--color-black);
    border-bottom-color: var(--color-white);
}

.site-header .site-search {
    position: absolute;
    left: 0;
    right: 0;
    transition: all, ease, .2s;
    padding: 1em;
    display: block;
    width: 100% !important;
    background-color: inherit;
    z-index: 10;
    transform: translateY(-100%);
    opacity: 0;
}

.site-header .site-search form {
    margin-bottom: 0;
}

.site-header .site-search.active {
    transform: translateY(0);
    opacity: 1; 
}

.wpcvs-terms {
    justify-content: center;
}

.wpcvs-terms .wpcvs-term {
    margin: 0;
}