/*!
Theme Name: mosg_theme
Author: velli
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: fast-vid

ЭТОТ ФАЙЛ НЕ УДАЛЯТЬ И КОММЕНТАРИИ НЕ СТИРАТЬ
*/

.cookies-modal {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	background-color: #FFF;
	background: #fff;
    box-shadow: 0 0 2rem 0 rgba(0, 0, 0, .3);
	padding: 2rem 3rem;
	width: 100%;
	max-width: 34rem;
	border-radius: .5rem;
	z-index: 10;
	transform: translateY(calc(100% + 3rem));
	opacity: 0;
	transition: all 0.3s ease;
}

.cookies-modal.active {
	opacity: 1;
	transform: translateY(0);
}

.cookies-modal__wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
}

.cookies-modal__wrapper p {
	width: 100%;
	text-align: center;
	font-weight: 500;
	font-size: 1.4rem;
	line-height: 1.25;
}

.cookies-modal__wrapper button {
	border: none;
	box-shadow: none;
	cursor: pointer;
	color: #FFF;
	background-color: #6c00ff;
    border-radius: 9.8rem;
	padding: 0.5rem 2rem;
	width: fit-content;
	font-weight: 600;
	font-size: 1.4rem;
	transition: all 0.3s ease;
}

.cookies-modal__wrapper button:hover {
	opacity: 0.8;
}

.cookies-modal__close {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	display: block;
	width: 2rem;
	height: 2rem;
	padding: 0.5rem;
	cursor: pointer;
}

.cookies-modal__close svg {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

@media only screen and (max-width: 610px) {
	.cookies-modal {
		bottom: 0;
		right: 0;
		max-width: 100%;
	}
	.cookies-modal__wrapper p {
		max-width: 42.5rem;
	}
}

.footer__inner {
	flex-wrap: wrap;
}

.gastro-module__intro-title span {
	letter-spacing: 0.01em;
}

.footer__links {
	display: flex;
	align-items: center;
	width: 100%;
	gap: 2rem;
	margin-top: 3rem;
}

.footer__links-item:hover {
	color: #6c00ff;
}

.error404 {
    font-size: 30px;
}

.project-info__gallery h2 {
    color: #101010 !important;
}

.service-card__content h3 {
    min-height: 5rem;
}

.catalog-card__prices li span {
    min-width: 8rem;
}

body.home .header__logo {
    display: none;
}

.header__nav-link {
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 156%;
    color: #101010;
    text-transform: uppercase !important;
}

.catalog__delivery {
	font-weight: 300;
	font-size: 2rem;
	line-height: 1;
	color: #6C00FF;
	margin-bottom: 3rem;
}

.catalog-card__in-stock {
	position: absolute;
	top: 2rem;
	right: 2rem;
	padding: 1rem;
	font-weight: 400;
	font-size: 1.2rem;
	line-height: 0.8rem;
	border-radius: 1rem;
	background-color: #33FF41;
	text-transform: uppercase;
	color: #000;
	z-index: 2;
}

@media only screen and (max-width: 610px) {
	.footer__links { 
		flex-direction: column;
		align-items: flex-start;
	}
	
	.catalog-card__in-stock {
		top: 1rem;
		right: 1rem;
		font-size: 0.6rem;
		line-height: 0.4rem;
		padding: 0.5rem;
	}
	.catalog__delivery {
		font-size: 1.5rem;
		line-height: 1.6rem;
	}
    body.home .header__logo {
        display: block;
    }
    .catalog {
        overflow: hidden;
    }
    .catalog__head {
        gap: 2rem;
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .catalog__grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }
    .catalog__categories {
        flex-direction: column;
    }
    .catalog__categories-list {
        position: relative;
        left: -1.2rem;
        width: calc(100% + 2.4rem);
        padding: 0 1.2rem;
        overflow: auto;
        gap: 0.5rem !important;
    }
    .catalog__categories.active .catalog__categories-list {
        grid-template-columns: 1fr !important;
    }
    .catalog__categories-more {
        width: 100%;
    }
    .delivery__map {
        overflow: auto !important;
        aspect-ratio: auto !important;
    }
    .delivery__map iframe {
        aspect-ratio: 11 / 8;
        height: auto !important;
    }
    .delivery__map-bage {
        position: static !important;
        width: 100% !important;
        height: auto !important;
    }
    .catalog-confirm {
        padding: 0 0 5rem !important;
    }
    .catalog-confirm__products {
        padding: 3rem 0 !important;
    }
    .catalog-confirm__product {
        gap: 2rem !important;
    }
    .catalog-confirm__product-index {
        white-space: nowrap;
    }
    .catalog-confirm__form {
        grid-template-columns: 1fr !important;
    }
    .catalog-confirm__form-row {
        flex-direction: column;
        gap: 3rem !important;
    }
    .catalog-confirm__form-row p {
        width: 100% !important;
    }
    .form-submit {
        width: 100% !important;
    }
    .catalog__category {
        border-radius: 1rem !important;
        gap: 1rem !important;
        flex-direction: column-reverse;
        align-items: center;
        min-width: 12rem !important;
        padding: 1rem !important;
    }
    .catalog__category-content h3 {
        font-size: 1.2rem !important;
        line-height: 100% !important;
        text-align: center !important;
    }
    .catalog__category-content p {
        margin-top: auto !important;
        font-weight: 400 !important;
        font-size: 1rem !important;
        line-height: 250% !important;
        text-align: center !important;
    }
    .catalog__categories.active .catalog__categories-list {
        display: flex !important;
        width: calc(100% + 2.4rem) !important;
    }
    .catalog__categories {
        gap: 1.2rem !important;
        margin-bottom: 2rem !important;
    }
    .catalog__categories-more {
        border-radius: 1rem !important;
        padding: 1rem !important;
        width: 100% !important;
        height: 3.1rem !important;
        min-height: auto !important;
        font-size: 1.4rem !important;
        line-height: 100% !important;
    }
    .catalog__row {
        position: relative;
        align-items: flex-end !important;
        margin-bottom: 2rem !important;
        min-height: 2.8rem;
    }
    .catalog__filters {
        flex-direction: column;
    }
    .catalog__filters-list {
        position: relative;
        left: -1.2rem;
        width: 100vw !important;
        padding: 0 1.2rem;
        overflow: auto;
        flex-wrap: nowrap !important;
        gap: 1rem !important;
    }
    .catalog__filter {
        white-space: nowrap;
        padding: 0.9rem 1.5rem !important;
        font-size: 1.2rem !important;
        line-height: 0.8rem !important;
        min-height: 2.8rem !important;
    }
    .catalog__filter-close {
        width: 1rem !important;
        height: 1rem !important;
    }
    .catalog__filters-reset {
        justify-content: center;
        padding: 0 !important;
        width: 11.4rem !important;
        min-height: 2.8rem !important;
        font-size: 1.2rem !important;
        line-height: 208% !important;
    }
    .catalog-card {
        padding: 1rem !important;
    }
    .catalog-card__swiper {
        max-width: 13.5rem !important;
        padding-bottom: 1.4rem !important;
        margin-bottom: 1.5rem !important;
    }
    .catalog-card__title {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    .catalog-card__prices {
        gap: 0.8rem !important;
        margin-bottom: 1.5rem !important;
        margin-top: auto;
    }
    .catalog-card__prices li {
        align-items: flex-start !important;
        gap: 1rem !important;
    }
    .catalog-card__prices li span {
        font-size: 0.8rem !important;
        min-width: 6rem !important;
    }
    .catalog-card__prices li span:first-child {
        font-size: 1rem !important;
    }
    .catalog-card__btn {
        padding: 0.5rem 1rem !important;
        width: 100%;
        height: 2.7rem;
        margin-top: 0 !important;
        font-size: 1.1rem !important;
        height: 2.8rem !important;
    }
    .catalog__cart {
        position: absolute;
        bottom: 0;
        right: 0;
        border-radius: 9.8rem !important;
        padding: 1rem 1.5rem !important;
        width: fit-content !important;
        height: 2.8rem !important;
        font-size: 1.2rem !important;
        line-height: 0.8rem !important;
        color: #6c00ff !important;
        min-height: 2.8rem !important;
        text-align: center !important;
    }
    .catalog-confirm__product-index {
        font-size: 1.2rem !important;
    }
    .catalog-confirm__product-title {
        font-size: 1.4rem !important;
    }
    .form-checkbox {
        font-size: 1rem !important;
        line-height: 130%;
        color: #767676;
    }
    .form-group br {
        display: none;
    }
    .form-group__label {
        margin-bottom: 1rem;
    }
    .catalog-card__swiper .swiper-pagination-bullet {
        width: 0.4rem !important;
        height: 0.4rem !important;
    }
}
