/* Базовые сбросы */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Общие стили */

html, body {
    height: 100%;
    font-family: Arial, sans-serif;
    font-size: 14px;
}
h1 {
	font-size: 24px;
}
h2 {
	font-size: 22px;
}
h3 {
	font-size: 20px;
}
h4 {
	font-size: 18px;
}
/* --- */

.wrapper {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    width: 100%;
    margin: 0 auto;
}
.container {
	margin: 0 auto;
	height: 100%;
	width: 100%;
}

.content-catalog {
	margin-top: 15px;
	display: grid;
    grid-template-columns: 270px auto;
    gap: 30px;
}
.content h1 {
	padding-bottom: 10px;
	margin-bottom: 30px;
	font-weight: 300;
	border-bottom: 1px solid #13435D;
}

/* Главная */

.screen_top {
	position: relative;
	height: 450px;
	background-image: linear-gradient(180deg, rgba(255,255,255, 0.5) 0%, rgba(255,255,255, 0.5) 100%), url(/assets/templates/base/img/bg_one_screen.webp);
	background-repeat: no-repeat;
	background-position: center;
	-webkit-background-size: cover;
	background-size: cover;
}
.screen_top .container {
	position: relative;
	height: 100%;
}
.screen_top_wrap {
	position: absolute;
	bottom: 100px;
}
.screen_top_title {
	font-size: 90px;
	font-weight: 300;
}
.screen_top_subtitle {
	font-size: 36px;
    font-weight: 300;
    /* text-transform: uppercase; */
}
.screen_top p {
	margin-bottom: 15px;
	font-size: 21px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}
.screen_top_btn a {
	display: inline-block;
	position: relative;
	overflow: hidden;
	padding: 15px;
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
	background: rgba(255,70,33,1);
	border-radius: 15px;
}
.flare {
    position: absolute;
    top: 0;
    height: 100%;
    width: 45px;
    transform: skewX(-45deg);
    animation: flareAnimation;
    left: -150%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    animation: flareAnimation 2s infinite linear;
}
@keyframes flareAnimation {
    0% {
        left: -150%;
    }
    100% {
        left: 150%;
    }
}

.home_page .footer {
	margin-top: 0;
}


.screen_catalog {
	padding-bottom: 60px;
	background: rgba(0,0,0,0.1);
}
.screen_catalog .container{
	min-height: 300px;
	padding-top: 30px;
}
.screen_catalog h2 {
	font-size: 40px;
    font-weight: 300;
}
.screen_catalog_list {
	padding-top: 30px;
	display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.screen_catalog_list a {
	display: inline-block;
    margin-top: 15px;
    padding: 7px;
    background: rgba(255,70,33,1);
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
}
.screen_catalog_list_item p {
	margin-bottom: 7px;
}
.screen_catalog .catalog-card {
	padding: 30px;
	background: #13435D;
}
.screen_catalog .catalog-card span {
	color: #fff;
	/* border-bottom: 1px solid rgba(0,0,0,0.1); */
}
.screen_catalog .catalog-card img {
	border-radius: 5px;
}
.screen_catalog .catalog-card a {
    display: inline-block;
    float: right;
    margin-top: 30px;
    overflow: hidden;
    padding: 15px;
    color: #fff;
    text-decoration: none;
    background: rgba(255,70,33,1);
    border-radius: 15px;
}


.screen_service .container{
	min-height: 300px;
	padding-top: 30px;
}
.screen_service h2 {
	font-size: 40px;
    font-weight: 300;
}
.screen_service_list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	padding: 30px 0;
}
.service_list_img {
	height: 240px;
	overflow: hidden;
	background-size: cover;
	border-radius: 30px;
}
.service_list_item {
	text-align: center;
}
.service_list_item p {
	margin-top: 15px;
	font-size: 14px;
	font-weight: 600;
}


.screen_delivery {
	min-height: 500px;
	padding: 60px 0;
	background-image: linear-gradient(rgba(0,0,0, 0.83) 0%, rgba(0,0,0, 0.83) 100%), url(/img/bg_delivery_list.webp);
	background-position: center;
    background-size: cover;
}
.screen_delivery_items {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}
.screen_delivery_item {
	display: flex;
	flex-direction: column;
	text-align: center;
}
.screen_delivery_title {
	margin-bottom: 15px;
	font-size: 40px;
	color: #fff;
	text-align: center;
}
.screen_delivery_subtitle {
	margin-bottom: 30px;
	font-size: 16px;
	color: #fff;
	text-align: center;
	line-height: 1.5;
}
.screen_delivery svg {
	display: inline-block;
    height: 48px;
    width: 48px;
	fill: #fff;
}
.screen_delivery_item_number {
	font-size: 90px;
	font-weight: 600;
	color: rgba(255,70,33,1);
}
.screen_delivery_item_title {
	margin-bottom: 15px;
	font-size: 30px;
	color: #fff;
}
.screen_delivery_item_subtitle {
	font-size: 18px;
	color: rgba(255,255,255,0.5);
}


/* Каталог */
.catalog-wrap {
	margin-bottom: 30px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
}
.catalog-card {
	display: block;
	padding: 15px;
	border: 1px solid #ddd;
	border-radius: 5px;
	text-decoration: none;
	text-align: center;
	font-size: 18px;
	font-weight: 600;
	color: #13435D;
}
.catalog-card span {
	display: block;
	margin-bottom: 30px;
	font-size: 20px;
}
.catalog-card img {
	max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}
.catalog-card:hover img {
	transform: scale(1.05);
}

/* Категории */
.category-wrap {
	margin-bottom: 30px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}
.category-card {
	display: block;
	height: 310px;
	padding: 5px;
	border: 1px solid #ddd;
	border-radius: 5px;
	text-align: center;
	/* font-size: 10px;
	font-weight: 600; */
	color: #13435D;
    transition: all 0.3s ease;
}
.category-card img {
	max-width: 100%;
    height: auto;
    object-fit: contain;
}
.category-card:hover {
	transform: scale(1.05);
}


/* Стили для header и footer */
.header {
    background-color: #f0f0f0;
    border-bottom: 1px solid #13435D;
}
.header-content {
    display: grid;
    grid-template-columns: 200px 1fr 250px;
    place-items: center;
    height: 100%;
    /* gap: 20px; */
}

.header-item, .footer-item {
    display: flex;
    flex-direction: column;
    justify-self: stretch;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 10px;
}
.footer-item {
	justify-content: start;
}
.footer-contact a{
	text-decoration: none;
	color: #000;
}
.footer-contact a:hover {
	color: #13435D;
}
.footer-logo {
	justify-content: center;
}

.header-item-logo a {
	margin-left: -10px;
}
.header-item-contact {
	flex-direction: column;
    align-items: end;
    gap: 5px;
    text-transform: lowercase;
}
.header-item-contact a {
	text-decoration: none;
	font-size: 18px;
	color: #000;
}

.nav {
	display: flex;
	justify-content: space-around;
	min-width: 500px;
	max-width: 600px;
	list-style: none;
	font-size: 20px;
}
.nav a {
    text-decoration: none;
    color: #000;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 50% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size .3s;
}
.nav a:hover,
.nav .active a {
    background-size: 100% 2px;
    color: #13435D;
}
.nav .fa-envelope-o {
	font-size: 20px;
	font-weight: 600;
}

.breadcrumb {
	display: flex;
	margin: 15px 0;
	list-style-type: none;
	font-size: 12px;
}
.breadcrumb-item {
	padding: 0 10px;
}
.breadcrumb-item:first-child {
	padding-left: 0;
}
.breadcrumb li a {
	text-decoration: none;
	color: #13435D!important;
}

/* Left menu */
.left-menu {
	list-style: none;
}
.left-menu a {
	position: relative;
	text-decoration: none;
	color: #000;
	transition: all 0.3s ease;
}
.sub-menu {
	margin-bottom: 10px;
	padding-left: 15px;
	list-style: none;
}
.sub-menu > li {
	padding-bottom: 5px;
}
.sub-menu > li > a {
	background: linear-gradient(black, black) no-repeat;
	background-size: 0 1px;
    background-position: 0 1em;
	transition: 0.5s;
}
.sub-menu > li > a:hover,
.sub-menu > li.active a{
	background-size: 100% 1px;
	color: #13435D;
}
.sub-menu > .active {
	padding-left: 15px;
}
.sub-menu > li > a:before {
	content: "";
	position: absolute;
	height: 1px;
	width: 100%;
	color: #000;
}
.left-menu-item > a{
	display: flex;
    justify-content: space-between;
	margin-bottom: 5px;
    padding: 10px;
    background: #13435D;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
}
.left-menu li a img {
	height: 16px;
	width: 16px;
	transition: transform 0.5s ease;
}
.left-menu li.active a img {
    transform: rotate(540deg);
}
.menu li ul {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
}
.menu li.active ul {
    max-height: 999px;
}

/* Карточка продукта */
.prod-item {
	display: grid;
    grid-template-columns: 300px 1fr;
    gap: 15px;
}
.prod-image img{
	max-width: 100%;
    height: auto;
    object-fit: contain;
}
.prod-charact table {
    border-collapse: collapse;
    width: 100%;
}
.prod-charact th, td {
    text-align: left;
	font-size: 12px;
	line-height: 1.5;
}

/* Tabs */
.tabs {
    width: 100%;
    /* max-width: 800px; */
    margin-top: 30px;
}
.tabs-nav {
    display: flex;
}
.tab-nav-item {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s;
}
.tab-nav-item.active {
    background: #fff;
    border-bottom: none;
}
.tab-content {
    display: none;
    padding: 20px;
    border: 1px solid #ddd;
    margin-top: -1px;
}
.tab-content img {
	max-width: 100%;
	height: auto;
}
.tab-content.active {
    display: block;
}
.tab-content table {
	width: auto;
	border-collapse: collapse;
}
.tab-content table tr:first-child td {
	padding: 7px 0;
	font-size: 14px;
	font-weight: 600;
	color: #13435D;
	/* border-bottom: 1px solid #ddd; */
}
.tab-content table tr {
	border-bottom: 1px solid #ddd;
	/* background: #ddd; */
}
.tab-content table tr td {
	padding: 5px 0;
}
/* End tabs */

/* Contact */
.content-contact {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
}
.content-contact p {
	margin-bottom: 15px;
}
.content-contact a {
	text-decoration: none;
    color: #000;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0% 1px;
    transition: background-size .3s;
}
.content-contact a:hover {
	background-size: 100% 1px;
    color: #13435D;
}
input, textarea {
	min-width: 100%;
	margin-bottom: 10px;
	padding: 5px;
	outline:none;
	/* border-radius: 3px; */
}
textarea {
	min-height: 100px;
}
.ajax_form .error {
	border: 2px solid brown;
}
.ajax_form button {
	padding: 10px 15px;
    background: #13435D;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.contact-form-filed-wrap {
	display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 15px;
}
	
/* Footer */
.footer {
	margin-top: 30px;
    background-color: #f0f0f0;
    border-top: 1px solid #13455D;
}

.footer-content {
	display: grid;
    grid-template-columns: 300px 1fr 200px;
    place-items: center;
    height: 100%;
}
.footer-item h4 {
    margin-bottom: 5px;
    border-bottom: 2px solid #13435D;
    color: #13435D;
}
/* End footer */

/* MobMenu */

/* Modal */
.ui-widget-header {
	background: #13435D !important;
	color: #fff !important;
}

/* Content */
.content {
    background-color: #fff;
    padding: 15px 0 30px;
}

/* Стили для логотипа */
.logo {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Адаптивные стили */
@media (max-width: 992px) {
    .header-content, .footer-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .header-item, .footer-item {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .header, .footer {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    .prod-item {
    	display: block;
    }
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
    .header, .footer {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}
