/* google fonts */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

*, :before, :after {
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}

/* common styles */
body, html {
    min-width: 360px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

body {
    background-color: #fff;
    position: relative;
    font-family: "Manrope", serif;
    font-size: 16px;
    color: #383838;
    line-height: 1.3;
    font-weight: 400;
    margin: 0px;
}

body p {
    margin-top: 0px;
    margin-bottom: 15px;
}

td {
    font-family: "Manrope", serif;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 400;
}

h1, h2, h3, h4 {
    font-family: "Manrope", serif;
    margin-top: 0px;
    font-weight: 300;
}
h1 {
    font-size: 64px;
    margin-bottom: 20px;
}
h2 {
    font-size: 48px;
    margin-bottom: 20px;
}
h3 {
    font-size: 32px;
    margin-bottom: 15px;
}
h4 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 500;
}

a {
    color: #449AFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#wrapper {
    display: flex;
    flex-direction: column;
}

#header > .block-fix, 
.filtered-categories > section, 
.categories > .block-fix {
    transform: scale(0.85);
}

.block-fix {
    position: relative;
    margin: 0px auto;
    width: 100%;
    max-width: 1771px;
}

.block-fix {
    padding-left: 50px;
    padding-right: 50px;
}

#header {
    padding: 30px 0px;
    box-shadow: 0px 0px 20px 0px #558DB526;
}
#header > .block-fix {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#header .branding {
    display: flex;
    align-items: center;
}
#header .logo {
    display: block;
    width: 82px;
    height: 48px;
    margin-right: 30px;
    background-image: url(../images/logo.svg);
    background-repeat: no-repeat;
    background-position: center center;
}
#header .about {
    width: 160px;
    color: #617583;
    font-size: 12px;
    font-weight: 400;
}
#header .icons {
    display: flex;
    align-items: center;
}
#header .icons > a {
    position: relative;
    display: block;
    width: 48px;
    height: 48px;
    background-color: #EFF8FF;
    border-radius: 50%;
    margin-left: 20px;
    background-repeat: no-repeat;
    background-position: center center;
}
#header .icons > a.ico-filter {
    background-image: url(../images/ico_filter.svg);
}
#header .icons > a.ico-cart {
    background-image: url(../images/ico_cart.svg);
}
#header .icons > a.ico-cart > span {
    position: absolute;
    right: 0px;
    bottom: 0px;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    background-color: #449AFF;
    border-radius: 50%;
    color: #ffffff;
    font-weight: 600;
}

.filtered-categories .block-gallery {
    margin-top: 100px;
    margin-bottom: 100px;
    overflow: auto;
    text-align: center;
}
.filtered-categories  .wp-block-gallery {
    display: block !important;
    justify-content: center !important;
    align-items: center !important;
    /*display: flex;
    justify-content: center;*/
    /*padding-left: 50px;*/
}
.filtered-categories  .wp-block-gallery .wp-block-image {
    display: inline-block !important;
    width: auto !important;
    flex-grow: 0 !important;
    vertical-align: middle;

}
.filtered-categories .gallery img, 
.filtered-categories  .wp-block-gallery .wp-block-image img {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
}
.filtered-categories .items {
    display: flex;
    flex-wrap: wrap;
}
.filtered-categories .items > .item {
    position: relative;
    /*width: 335px;*/
    width: 20%;
    height: 323px;
    margin: 0px -1px -1px 0px;
    border: 1px solid #C1C7CD;
    cursor: pointer;
}
.filtered-categories .items > .item .data {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}
.filtered-categories .items > .item .data p > span {
    color: #697E98;
}
.filtered-categories .items > .item .data h4 {
    height: 73px;
    max-height: 73px;
    overflow-y: hidden;
}
.filtered-categories .items > .item .data .params:hover > h4 {
    color: #449AFF;
}
.filtered-categories .items > .item .price {
    font-size: 36px;
    font-weight: 300;
}
.filtered-categories .items > .item p.price {
    margin-top: -15px;
    margin-bottom: 20px;
    line-height: 1;
}
.filtered-categories .items > .item .img {
    display: none;
    /*background-color: ;*/
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto 100%;
}
/*.filtered-categories .items > .item .img > img {
    display: block;
    height: 100%;
    width: auto;
}*/
.filtered-categories .items > .item .data .btn {
    display: flex;
    justify-content: center;
    align-items: center;
}
.filtered-categories .items > .item .data .btn > span, 
table.products .cart a > span {
    display: block;
    width: 23px;
    height: 22px;
    margin-right: 5px;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(../images/btn_cart.svg);
}
.filtered-categories .items > .item .data .btn:hover > span {
    background-image: url(../images/btn_cart_hover.svg);
}

.categories {
    margin-top: 100px;
    padding-top: 50px;
    padding-bottom: 100px;
    background-color: #E4F4FF;
}
.categories .category {
    margin-top: 40px;
}
table.products {
    width: 100%;
    border-collapse: collapse;
    padding: 0px;
}
.popup-cart table.products {
    background-color: #F0F6FB;
    margin-bottom: 30px;
}
table.products th {
    border-width: 0px;
    padding: 10px;
    color: #697E98;
    text-align: left;
    font-weight: 400;
}
.popup-cart table.products th {
    background-color: #FFFFFF;
}
table.products th.articul {
    width: 15%;
}
table.products th.color, 
table.products th.price, 
table.products th.action {
    width: 10%;
}
table.products th.name {
    width: 55%;
}
table.products td {
    border-width: 0px;
    padding: 15px 10px 15px 15px;
    color: #697E98;
}
.popup-cart table.products td {
    padding: 3px 10px 3px 15px;
}
table.products tr:nth-child(odd) td {
    background-color: #FFFFFFB2;
}
.popup-cart table.products tr:nth-child(odd) td {
    background: none;
}
.popup-cart table.products tr:nth-child(even) td {
    background-color: #FFFFFFB2;
}
table.products .cart a {
    display: flex;
    align-items: center;
    font-weight: 600;
    white-space: nowrap;
}
table.products .actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
table.products .actions > .quantity {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 10px;
    height: 42px;
}
table.products .actions > .quantity > a {
    display: block;
    background-color: #449AFF;
    border-radius: 50%;
    color: #ffffff;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
}
table.products .actions > .quantity > input {
    border-width: 0px;
    height: 100%;
    text-align: center;
    width: 30px;
    margin: 0px 10px;
    padding: 0px;
}
table.products .actions > .ico-delete {
    display: block;
    margin-left: 30px;
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(../images/ico_delete.svg);
}
.popup-cart table.products td > label {
    display: none;
}

.popup-cart .order {
    display: none;
    margin-top: 30px;
}

.popup-cart .buttons {
    margin-top: 30px;
}

.popup {
	position: fixed;
	width: 100%;
	height: 100%;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = #50000000, endColorstr = #50000000);
    background-color: rgba(0,0,0,0.5);
	top: 0px;
	left: 0px;
	display: none;
	z-index: 950;
}
.popup > .popup-wrapper {
	position: absolute;
	top: 0px;
	left: 0px;
	justify-content: center;
	align-items: center;
    display: flex;
    width: 100%;
    height: 100%;
    /*height: auto;*/
    min-height: 100vh;
}
.popup .popup-content {
    position: relative;
    width: 360px;
    padding: 25px;
    background-color: #fff;
    border-radius: 10px;
}
.popup.popup-cart .popup-content {
    width: 100%;
    max-width: 1200px;
    max-height: 100vh;
    overflow: auto;
}
.popup.popup-response .popup-content {
    width: 410px;
}
.popup.popup-response .timeline {
    position: absolute;
    left: 0px;
    bottom: 0px;
    content: " ";
    width: 100%;
    height: 10px;
    border-radius: 0px 0px 0px 10px;
}
.popup.popup-response .timeline.end {
    border-radius: 0px 0px 10px 10px;
}
.popup.popup-response .timeline > .bg {
    background-color: #449AFF;
    width: 0px;
    height: 100%;
    border-radius: 0px 0px 10px 10px;
}

.popup-content h4 {
    font-size: 16px;
    font-weight: 600;
}

.frm-row {
    margin-top: 15px;
}
.popup-cart .frm-row {
    display: flex;
}
.buttons {
    margin-top: 40px;
    display: flex;
    align-items: center;
}
.buttons .btn, .buttons button {
    display: block;
    margin-right: 15px;
}
.frm-row label {
    color: #617583;
    font-size: 12px;
}
.popup-cart .frm-row label {
    margin-bottom: 3px;
}

.frm-item {
    display: flex;
    flex-direction: column;
    margin-right: 20px;
}

/* forms */
form {
	margin: 0px;
}

input, select, textarea, button
{
    background: #ffffff;
    border: 1px solid #AFC1CE;
    border-radius: 5px;
	height: 42px;
	color: #2B2B2B;
	text-align: left;
    padding: 0px 15px 0px 15px;
    font-size: 16px;
	font-family: "Manrope", serif;
}
/*input:focus, textarea:focus {
    border: 1px solid rgba(69, 137, 239, 0.5);
}*/

select
{
	padding-right: 0px;
	line-height: 40px;
}

textarea
{
	padding: 10px 15px;
    height: 100px;
    resize: none;
}

input.chk, .popup input.chk, 
input[type="checkbox"], input[type="radio"] {
    margin-top: 0px;
	padding: 0px;
	width: auto;
	height: auto;
}

.btn, button {
	background: none;
	width: auto;
    height: auto;
	border: 1px solid #449AFF;
	border-radius: 5px;
	padding: 10px 20px;
	cursor: pointer;
	text-align: center;

    display: inline-block;
    color: #449AFF;
    /*background: #4589EF;*/
	text-decoration: none;
    font-weight: 600;
}
.btn.full, button.full {
    color: #ffffff;
    background: #449AFF;
}
.btn:hover, button:hover {
    color: #ffffff;
    background: #449AFF;
    text-decoration: none;
}
.btn.full:hover, button.full:hover {
    background: none;
    color: #449AFF;
    text-decoration: none;
}

.el-err, .err-el {
	border: 1px solid #FF7575;
}

/* custom styles */
body .mobile, body .tablet {
    display: none;
}

.error {
    color: #FF7575;
}

strong {
    font-weight: 700;
}

.full-width {
    width: 100%;
}

.hidden {
    display: none;
}
.flex {
    display: flex;
}