/*!
Theme Name: wellmed
Theme URI: http://underscores.me/
Author: stroka99
Author URI: http://underscores.me/
Description: Description
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: wellmed
*/

/* Reset and base styles  */
* {
    padding: 0px;
    margin: 0px;
    border: none;
}

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

:focus,
:active {
    outline: none;
}

a:focus,
a:active {
    outline: none;
}

/* Links */
a,
a:link,
a:visited {
    color: inherit;
    text-decoration: none;
    display: inline-block;
}

a:hover {
    color: inherit;
    /* text-decoration: underline; */
}

@media (hover: none) and (pointer: coarse) {
    a:hover {
        text-decoration: none;
    }
}

/* Common */
aside,
nav,
footer,
header,
section,
main {
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}

ul,
ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

img,
svg {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

address {
    font-style: normal;
}

/* Form */
input,
textarea,
button,
select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}

input::-ms-clear {
    display: none;
}

button,
input[type='submit'] {
    display: inline-block;
    box-shadow: none;
    background-color: transparent;
    background: none;
    cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
    outline: none;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

label {
    cursor: pointer;
    margin-bottom: 2px;
}

legend {
    display: block;
}

/* root */
:root {
    --blue: #007bff;
    --light-blue: #bddaf9;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --dark-red: #c82333;
    --light-red: #fcbcc2;
    --orange: #fc5400;
    --dark-orange: #ec4400;
    --yellow: #ffc107;
    --green: #28a745;
    --light-green: #bdf9cb;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #ffffff;
    --gray: #6c757d;
    --gray-dark: #343a40;

    --primary: #007bff;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;

    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --gray-150: #f1f3f5;
    --black: #000000;

    /* theme settings colors */
    --color-1: #36b8c3;
    --color-2: #009999;
    --color-3: #dc3545;
    --color-4: #c82333;
    --color-5: #fc5400;
    --color-6: #ec4400;

    --light-1: #f8f9fa;
    --light-2: #dee2e6;

    --grey-1: #999999;
    --grey-4: #777777;
    --dark-4: #777777;
}

/* main styles */
html,
body {
    height: 100%;
}

html {
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
        Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    color: var(--gray-900);
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.5rem;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-smooth: antialiased;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
    max-height: 100vh;
}

.site {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.site-main {
    padding-bottom: 96px;
}

article {
    width: 100%;
}

.hidden {
    display: none;
}

.mw {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 6px;
    display: flex;
    flex-wrap: wrap;
}

.row {
    padding: 0 6px;
    display: flex;
    width: 100%;
}

.w20 {
    width: 20%;
    padding: 12px;
}

.w80 {
    width: 80%;
    padding: 12px;
}

.d-flex {
    display: flex;
}

.jc-sb {
    justify-content: space-between;
}

.border-bottom {
    border-bottom: 1px solid var(--gray-300) !important;
}

p {
    margin-bottom: 1rem;
}

input,
textarea {
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    line-height: 16px;
    padding: 0.375rem 0.75rem;
    min-height: 40px;
    width: 100%;
    background-color: var(--white);
}

[class*='line-clamp-'] {
    display: -webkit-box !important;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.line-clamp-1 {
    -webkit-line-clamp: 1;
}

.line-clamp-2,
.swiper .woocommerce-loop-product__title {
    -webkit-line-clamp: 2;
}

.line-clamp-3 {
    -webkit-line-clamp: 3;
}

img.size-full {
    max-width: inherit;
    width: auto;
}

img.size-medium {
    max-width: 700px;
}

img.size-thumbnail {
    max-width: 300px;
}

img.aligncenter {
    margin: 0 auto;
}

.alignleft {
    float: left;
    margin-right: 12px;
}

.alignright {
    float: right;
    margin-left: 12px;
}

/* Galleries
--------------------------------------------- */
.gallery {
    margin-bottom: 1.5em;
    display: grid;
    grid-gap: 1.5em;
}

.gallery img {
    width: 100%;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.gallery-columns-2,
.gallery-columns-3,
.gallery-columns-4,
.gallery-columns-5,
.gallery-columns-6,
.gallery-columns-7,
.gallery-columns-8,
.gallery-columns-9 {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 600px) {
    .gallery-columns-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-columns-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-columns-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .gallery-columns-5 {
        grid-template-columns: repeat(5, 1fr);
    }

    .gallery-columns-6 {
        grid-template-columns: repeat(6, 1fr);
    }

    .gallery-columns-7 {
        grid-template-columns: repeat(7, 1fr);
    }

    .gallery-columns-8 {
        grid-template-columns: repeat(8, 1fr);
    }

    .gallery-columns-9 {
        grid-template-columns: repeat(9, 1fr);
    }
}

.gallery-caption {
    display: block;
}

h1 {
    font-size: 2rem;
    line-height: normal;
    font-weight: bold;
    margin-bottom: 22px;
}

header h1 {
    margin: 0;
}

h2 {
    font-size: 1.25rem;
    line-height: normal;
    font-weight: bold;
    margin-bottom: 1.2em;
}

.content h2 {
    font-size: 22px;
    line-height: normal;
    font-weight: bold;
    margin-bottom: 1.2em;
}

.icon-18 {
    max-width: 18px;
}

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

.top-row {
    padding: 6px 0;
}

.top-row > .mw {
    justify-content: space-between;
}

.top-row > .mw > .row {
    justify-content: space-between;
}

.lang-block {
    display: flex;
    align-items: center;
    padding: 3px 0px;
    border-radius: 4px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    margin-right: 12px;
}

.lang-select {
    display: block;
    position: relative;
    z-index: 3;
    margin: 0 6px;
    padding-right: 18px;
    background-image: url(./img/icons/arrow-down.svg);
    background-repeat: no-repeat;
    background-position: center right;
    cursor: pointer;
}

body.nav-open .lang-select {
    display: flex !important;
    align-items: center;
    margin-right: auto;
}

.lang-select a {
    line-height: 1;
    line-height: normal;
    font-size: 14px;
    color: var(--gray-800);
}

.lang-select a strong {
    text-transform: uppercase;
    color: var(--gray-600);
    font-weight: normal;
}

.lang-select a span {
    display: none;
}

.lang-select.active .lang {
    display: block;
}

.current-lang {
    position: relative;
    top: auto;
    z-index: 10;
}

.lang {
    position: absolute;
    top: 26px;
    z-index: 2;
    background: var(--gray-100);
    padding: 6px 0;
    left: -7px;
    border-radius: 0 0 4px 4px;
    display: none;
    border: 1px solid var(--gray-200);
    border-top: 0;
    width: calc(100% + 14px);
}

body.nav-open .lang-select.is-open .lang {
    display: block;
}

.lang a {
    width: 100%;
    display: block;
    padding: 0 6px;
    color: var(--gray-600);
}

.lang a:hover {
    color: var(--color-1);
}

.primary-navigation {
    margin-right: auto;
    display: none;
}

.primary-navigation .menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.top-row .primary-navigation .menu li {
    padding: 0px 6px;
}

.top-row .primary-navigation .menu a {
    font-size: 12px;
    line-height: 1;
    color: var(--gray-600);
    padding: 8px 0 0px 0;
    border-bottom: 1px dotted var(--gray-600);
    white-space: nowrap;
}

.top-row .primary-navigation .menu a:hover {
    color: var(--gray-800);
}

#site-navigation-mob.primary-navigation {
    display: block;
}

#main-nav-mob .primary-navigation .menu {
    justify-content: flex-start;
}

#main-nav-mob .primary-navigation .menu li {
    padding: unset;
    width: 100%;
}

#main-nav-mob .primary-navigation .menu a {
    font-size: unset;
    line-height: unset;
    color: unset;
}

.user-navigation ul.menu a {
    font-size: 14px;
    line-height: 1;
    color: var(--gray-600);
}

.user-navigation ul.menu a:hover {
    color: var(--gray-800);
    background-color: var(--gray-200);
}

.user-navigation ul.menu > li:first-child > a {
    padding: 8px 30px;
    border-radius: 4px;
    background-color: var(--gray-100);
    border: 1px solid var(--gray-200);
    background-image: url(./img/icons/user.svg), url(./img/icons/arrow-down.svg);
    background-position: 6px 50%, calc(100% - 6px) 50%;
    background-size: 18px 18px;
    background-repeat: no-repeat;
    white-space: nowrap;
}

.user-navigation ul.menu .menu-item-has-children {
    position: relative;
}

.user-navigation ul.menu .sub-menu {
    position: absolute;
    z-index: 22;
    display: none;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    background: var(--white);
    right: 0;
    min-width: 210px;
    padding: 12px 0;
}

.user-navigation ul.menu .sub-menu.is-open {
    display: block;
}

.user-navigation ul.menu .sub-menu a {
    padding: 8px 12px;
    background: var(--white);
    display: block;
    text-align: right;
    color: var(--gray-900);
}

.user-navigation ul.menu .sub-menu a:hover {
    background-color: var(--gray-100);
    color: var(--color-2);
}

.mid-row .mw > .row {
    justify-content: space-between;
    padding: 12px 6px;
    flex-wrap: wrap;
}

.mid-row .mw > .row > div {
    width: 100%;
}

.mid-row .mw > .row > .left-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.burger,
.header-cart-mob {
    width: 36px;
    min-width: 36px;
    height: 36px;
    padding: 6px;
    cursor: pointer;
}

#main-nav-mob {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 30;
    transition: 0.3s;
    will-change: auto;
}

#main-nav-mob.is-open {
    left: 0%;
}

#main-nav-mob > div.nav-mob-block {
    background-color: var(--white);
    height: 100%;
    width: calc(100% - 20px);
    max-width: 320px;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

#main-nav-mob > .close-nav {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    max-width: 100%;
}

#main-nav-mob .nav-mob-block .close-nav {
    width: 100%;
    height: auto;
    padding: 9.5px 16px;
    cursor: pointer;
    display: flex;
    border-bottom: 1px solid var(--gray-300);
    font-size: 16px;
    font-weight: bold;
    align-items: center;
    text-transform: uppercase;
    color: var(--gray-900);
    line-height: 24px;
}

#main-nav-mob .icon {
    width: 24px;
    margin-right: 16px;
    fill: #adb5bd;
}

#main-nav-mob .nav-inner {
    width: 100%;
    height: 100%;
    overflow: auto;
}

#main-nav-mob .nav-inner > div {
    padding-bottom: 200px;
}

#main-nav-mob h4 {
    font-size: 16px;
    line-height: 24px;
    border-bottom: 1px solid var(--gray-300);
    padding: 12px 16px 12px 20px;
    font-weight: bold;
    background: var(--gray-100);
}

#main-nav-mob li {
    position: relative;
}

#main-nav-mob a {
    padding: 12px 56px;
    border-bottom: 1px solid var(--gray-300);
    width: 100%;
    background-image: url(./img/icons/arrow-right.svg);
    background-repeat: no-repeat;
    background-position: 16px center;
    background-size: 24px;
}

#main-nav-mob .sub-cat a,
#main-nav-mob .sub-menu a {
    background-image: url(./img/icons/arrow-right-sub-cat.svg);
}

#main-nav-mob a.menu-item-has-children {
    padding: 12px 56px;
}

#main-nav-mob .toggle-cat {
    width: 49px;
    height: 41px;
    position: absolute;
    right: 0;
    top: 0;
    background-image: url(./img/icons/icn-plus.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px;
    border-left: 1px solid var(--gray-300);
    margin: 4px 0;
    cursor: pointer;
}

#main-nav-mob .is-open .toggle-cat {
    background-image: url(./img/icons/icn-minus.svg);
}

#main-nav-mob .sub-cat,
#main-nav-mob .sub-menu {
    display: none;
}

#main-nav-mob .is-open .sub-cat,
#main-nav-mob .is-open .sub-menu {
    display: block;
    padding-left: 16px;
}
/* end */

.header-cart-mob {
    position: relative;
}

.header-cart-mob > div {
    position: absolute;
    right: 1px;
    top: 0px;
    font-size: 8px !important;
    color: var(--white);
    background: var(--color-3);
    line-height: initial;
    border-radius: 100%;
    padding: 3px;
    width: 16px;
    height: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.logo {
    width: 100%;
    max-width: 220px;
    height: auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
    margin: 0 !important;
}

.site-header .logo > a {
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 11;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}

.site-header .logo > a > span {
    display: block;
    overflow: hidden;
    height: 0;
    width: 100%;
    position: absolute;
}

.site-header .logo > a > svg {
    height: auto;
    height: 44px;
    width: auto;
}

.mid-row .right-block {
    display: flex;
    flex-direction: column;
	padding-top: 12px;
}

.mid-row .right-block > div {
    display: flex;
}

.mid-row .right-block > div:first-child {
    justify-content: center;
    flex-wrap: wrap;
}

.search-block {
    width: 100%;
    position: relative;
    z-index: 21;
}

.search-block > .search {
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
}

.search-block > .search > div.search-label {
    color: var(--gray-600);
    font-size: 14px;
    padding: 0 12px;
    background-color: var(--gray-100);
    line-height: 1;
    display: flex;
    align-items: center;
    border-right: 1px solid var(--gray-300);
}

.search-block > .search > div:nth-child(2) {
    margin-right: auto;
    width: 100%;
    display: flex;
    align-items: center;
}

.woocommerce-product-search {
    display: flex;
    width: 100%;
    position: relative;
}

.search-block > .search input {
    font-size: 16px;
    padding: 12px;
    display: block;
    width: 100%;
    border: 0;
    height: 42px;
    position: relative;
    z-index: 13;
    border-radius: 4px 0 0 4px;
}

.search-block > .search button {
    padding: 12px;
    width: 52px;
    min-width: 52px;
    height: 42px;
    background-color: var(--gray-100);
    background-image: url(./img/icons/search.svg);
    background-repeat: no-repeat;
    background-position: center;
    border-left: 1px solid var(--gray-300);
}

#woocommerce-product-search-results .search-results-block {
    position: absolute;
    z-index: 11;
    background: var(--white);
    width: calc(100% - 50px);
    top: calc(100% - 3px);
    left: -1px;
    border: 1px solid var(--gray-300);
    border-radius: 0 0 4px 4px;
    display: flex;
    flex-direction: column;
}

.woocommerce-product-search.loading input {
    background: var(--gray-100);
}

#woocommerce-product-search-results .search-result {
    display: flex;
    padding: 12px;
}

#woocommerce-product-search-results .search-result .image {
    width: 96px;
}

#woocommerce-product-search-results .search-result .product-title {
    font-size: 16px;
    font-weight: bold;
}

#search-tags-block {
    display: none;
}

.search-tags {
    margin: 6px 12px;
}

.search-tags a {
    font-size: 14px;
    color: var(--gray-600);
    margin-right: 12px;
}

.search-tags a:hover {
    color: var(--color-2);
}

.mid-row .phones-block {
    display: none;
}

.phones-block {
    width: auto;
    padding: 2px 18px 2px 42px;
    background-image: url(./img/icons/phone-dark.svg);
    background-position: 10px center;
    background-size: 22px 22px;
    background-repeat: no-repeat;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    background-color: var(--gray-100);
    margin: 0 12px;
}

.phones-block a {
    font-weight: bold;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.phones-block a:hover {
    text-decoration: underline;
    color: var(--color-2);
}

.phones-block .h-contacts {
    font-size: 10px;
    line-height: 1;
    white-space: nowrap;
}

.header-cart {
    width: 0%;
    cursor: pointer;
    display: flex;
    justify-content: flex-end;
}

.header-cart > div.header-cart-button {
    display: none;
    flex-direction: column;
    justify-content: center;
    padding: 6px 30px 6px 42px;
    color: var(--white);
    border-radius: 4px;
    width: 210px;
    font-size: 12px;
    line-height: 16px;
    background-color: var(--color-5);
    background-image: url(./img/icons/cart-white.svg),
        url(./img/icons/arrow-down-white.svg);
    background-position: 12px 50%, calc(100% - 6px) 50%;
    background-size: 18px 18px;
    background-repeat: no-repeat;
    transition: 0.3s;
    white-space: nowrap;
}

.header-cart:hover > div.header-cart-button {
    background-color: var(--color-6);
}

.bottom-row {
    display: none;
    background: var(--color-1);
    border-top: 1px solid var(--color-1);
    border-bottom: 1px solid var(--color-1);
}

header #main-navigation {
    width: 100%;
}

header #main-menu,
header .product-categories {
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    position: relative;
    z-index: 20;
}

header #main-menu {
    align-items: center;
    justify-content: flex-start;
}

header #main-menu li,
header .product-categories li {
    flex-grow: 1;
    position: relative;
}

header #main-menu li {
    flex-grow: unset;
}

header #main-menu > li,
header .product-categories > li {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

header #main-menu > li:first-child {
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

header #main-menu > li:last-child,
header .product-categories > li:last-child {
    border-right: 0px;
}

header #main-menu li.current-menu-item,
header .product-categories li.current-cat {
    background-color: var(--color-2);
}

header #main-menu li:hover,
header .product-categories li:hover {
    background-color: var(--white);
}

header #main-menu > li:last-child,
header .product-categories > li:last-child {
    background-color: var(--color-3);
    margin-left: auto;
}

header #main-menu li:last-child:hover,
header .product-categories li:last-child:hover {
    background-color: var(--color-4);
}

header #main-menu li:last-child:hover a,
header .product-categories li:last-child:hover a {
    color: var(--white) !important;
}

header #main-menu a,
header .product-categories a {
    color: var(--white);
    padding: 12px 6px;
    width: 100%;
    text-align: center;
    font-weight: bold;
}

header #main-menu a {
    padding: 12px 32px;
}

header #main-menu li:hover a,
header .product-categories li:hover a {
    color: var(--gray-900);
}

header #main-menu > li > .sub-menu,
header .product-categories > li > .sub-cat {
    display: none;
    flex-direction: column;
    position: absolute;
    z-index: 1;
    top: 100%;
    left: -1px;
    background: var(--white);
    border: 1px solid var(--color-1);
    width: calc(100% + 2px);
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 4px 4px;
}

header #main-menu > li:hover > .sub-menu,
header .product-categories > li:hover > .sub-cat {
    display: flex;
}

header #main-menu li .sub-menu a,
header .product-categories li .sub-cat a {
    color: var(--gray-900);
    text-align: left;
    font-size: 14px;
    font-weight: normal;
    line-height: 14px;
    padding-top: 13px;
}

header #main-menu li .sub-menu a:hover,
header .product-categories li .sub-cat a:hover {
    background-color: var(--gray-100);
    color: var(--color-2) !important;
}

header #main-menu .sub-menu li,
header .product-categories .sub-cat li {
    border-bottom: 1px solid var(--gray-300);
}

header #main-menu .sub-menu li:last-child,
header .product-categories .sub-cat li:last-child {
    border: 0;
}

/* mini cart */
body.mc-is-open {
    overflow: hidden;
}

.mini-cart-block {
    position: fixed;
    z-index: 90;
    background: var(--white);
    top: 0;
    padding: 24px;
    border: 1px solid var(--gray-300);
    width: 100%;
    max-width: 400px;
    right: -400px;
    height: 100%;
    transition: 0.3s;
    will-change: auto;
}

.mc-is-open .mini-cart-block {
    right: 0;
}

#overlay {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 23;
    width: 0vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    will-change: auto;
    transition: 0.1s opacity;
    opacity: 0;
}

.mc-is-open #overlay,
.overlay-on #overlay {
    opacity: 1;
    width: 100vw;
}

.widget_shopping_cart_content {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: calc(100% - 24px);
}

.woocommerce-mini-cart.cart_list.product_list_widget {
    max-height: 100%;
    overflow: auto;
    margin: 24px auto;
    width: 100%;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.mini_cart_item {
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    padding: 24px 24px 12px;
    margin-bottom: 24px;
    background: var(--gray-100);
    justify-content: flex-start;
    flex-direction: column;
    max-width: 100%;
    position: relative;
}

.mini_cart_item a {
    font-weight: bold;
}

.mini_cart_item a.remove_from_cart_button {
    position: absolute;
    left: 0px;
    top: 12px;
}

.mini_cart_item a:not(.remove) {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.mini_cart_item a i {
    font-style: normal;
}

.mini_cart_item a img {
    width: 100%;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    background: var(--white);
    margin: 0 auto 12px;
}

.mini_cart_ite > a:last-of-type {
    font-weight: bold;
}

.woocommerce-mini-cart__total.total {
    margin-top: auto;
}

.woocommerce-mini-cart__buttons.buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0;
    flex-direction: column;
    gap: 12px;
}

.woocommerce-mini-cart__buttons .button {
    height: 44px;
    background: var(--color-5);
    color: var(--white) !important;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
}

.close-mini-cart {
    width: 28px;
    height: 28px;
    background: var(--gray-100);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    margin-left: auto;
    cursor: pointer;
    border: 1px solid var(--gray-300);
}

/* end mini cart */

/* home */
#home-page {
    display: flex;
    flex-direction: column;
}

#home-page #sec-1 {
    order: 1;
}

#home-page #sec-2 {
    order: 6;
}

#home-page #main-promo-products {
    order: 2;
}

#home-page #popular-categories {
    order: 3;
}

#home-page .image-banner {
    order: 4;
}

#home-page .posts-section {
    order: 5;
}

#footer-content {
    order: 7;
}

#sec-1 {
    margin: 12px 0;
}

.sidebar {
    display: none;
    padding: 12px;
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 28%;
}

#pop-cat {
    position: sticky;
    top: 86px;
}

#pop-cat button {
    background-color: var(--color-3);
    width: 100%;
    padding: 10px 6px 10px 12px;
    border-radius: 4px 4px 0px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#pop-cat button .icon {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

#pop-cat button .title {
    color: var(--white);
    font-size: 14px;
    font-weight: bold;
    padding: 0 6px;
    display: flex;
    line-height: 1;
    align-items: center;
    margin-right: auto;
    white-space: nowrap;
}

#thematic-menu {
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--gray-300);
    border-right: 1px solid var(--gray-300);
    border-bottom: 1px solid var(--gray-300);
    border-radius: 0 0 4px 4px;
}

#thematic-menu > li {
    display: flex;
    border-top: 1px solid var(--gray-300);
    background-color: var(--gray-100);
    position: relative;
}

#thematic-menu > li:hover {
    background-color: var(--white);
}

#thematic-menu > li:first-child {
    border-top: 0;
}

#thematic-menu > li > a {
    width: 100%;
    color: var(--gray-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 6px 6px 12px;
}

#thematic-menu .menu-icon-holder {
    margin-right: 12px;
    margin-bottom: auto;
    width: 24px;
    min-width: 24px;
}

#thematic-menu .menu-icon-holder svg,
#thematic-menu .menu-icon-holder svg path {
    fill: var(--gray-500);
    transition: 0.3s;
}

#thematic-menu .arrow-right-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--gray-500);
    transition: 0.3s;
}

#thematic-menu .sub-menu > li > a:hover svg,
#thematic-menu .sub-menu > li > a:hover svg path,
#thematic-menu > li > a:hover svg,
#thematic-menu > li > a:hover svg path {
    fill: var(--color-2) !important;
}

#thematic-menu .cat-name {
    margin-right: auto;
    transition: 0.3s;
    line-height: 28px;
    font-size: 14px;
}

#thematic-menu .sub-menu > li > a:hover .cat-name,
#thematic-menu > li > a:hover .cat-name {
    color: var(--color-2);
}

#thematic-menu .sub-menu {
    display: none;
    position: absolute;
    left: 100%;
    background: var(--white);
    flex-direction: column;
    border: 1px solid var(--gray-300);
    width: 100%;
    top: 0px;
    border-radius: 0px 4px 4px 0;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

#thematic-menu > li:hover > .sub-menu {
    display: flex;
}

#thematic-menu .sub-menu li a {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-300);
    margin: 0 12px;
}

#thematic-menu .sub-menu > li:last-child a {
    border-bottom: 0 !important;
}

#thematic-menu li.color-red a {
    color: var(--color-3);
    font-weight: bold;
}

#thematic-menu li.color-red .menu-icon-holder svg,
#thematic-menu li.color-red .menu-icon-holder svg path {
    fill: var(--color-3);
}

.swiper {
    width: 100%;
}

.swiper-slide img {
    display: block;
    width: 100%;
}

#home-main-slider {
    width: 100%;
    padding: 6px;
}

.main-slider {
    border: 1px solid var(--gray-300);
    border-radius: 5px;
    overflow: hidden;
    padding: 6px;
}

.main-slider .swiper {
    border-radius: 4px;
    overflow: hidden;
}

.main-slider .swiper .image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-slider .swiper-button-next,
.main-slider .swiper-button-prev {
    color: var(--color-3);
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    top: 22px;
    background: rgba(255, 255, 255, 0.5);
    padding: 24px;
    opacity: 0;
    transition: 0.3s opacity;
}

.main-slider:hover .swiper-button-next,
.main-slider:hover .swiper-button-prev {
    opacity: 1;
}

.main-slider .swiper-button-prev {
    left: 0;
}
.main-slider .swiper-button-next {
    right: 0;
}

.main-slider .swiper-pagination-bullet.swiper-pagination-bullet-active {
    border-color: var(--color-3);
}

/* sec2 */
#sec-2 {
    padding: 12px 0;
}

.benefit {
    display: flex;
    justify-content: space-between;
}

.benefit .item {
    width: 100%;
    padding: 12px 6px;
}

.benefit .item > div {
    border: 1px solid var(--gray-300);
    background: var(--gray-100);
    border-radius: 4px;
    overflow: hidden;
    padding: 6px 12px;
    height: 100%;
}

.benefit .title {
    display: flex;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 1px solid var(--gray-300);
    align-items: center;
    padding: 6px 0;
}

.benefit .title,
.benefit a {
    color: var(--color-3);
}

.benefit a:hover {
    text-decoration: underline;
}

.benefit .title .icon {
    width: 30px;
    height: 30px;
    margin: 0 6px;
}

.benefit .title .icon svg {
    max-width: 100%;
    max-height: 100%;
}

.benefit .title .icon svg,
.benefit .title .icon svg path {
    fill: var(--color-3);
}

.benefit .text {
    font-size: 14px;
    padding: 6px 0 0;
    text-align: justify;
}

/* sec3 */
#main-promo-products {
    padding: 24px 0;
}

.slider_tabs {
    width: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    background: var(--white);
    position: relative;
}

.st-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gray-300);
    background: var(--gray-100);
}

.tabs {
    display: flex;
    padding: 12px 6px;
    overflow: auto;
}
.tabs-title .nav-tab {
    font-size: 18px;
    font-weight: bold;
    padding: 0 10px;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
}

.tabs-title .nav-tab.active,
.tabs-title .nav-tab:hover {
    color: var(--color-3);
}

.tabs-content .tabs-panel {
    display: none;
}

.tabs-content .tabs-panel.active {
    display: block;
}

.swiper-slider-nav {
    display: none;
    margin: 0 12px;
    position: relative;
}

.swiper-slider-nav.active {
    display: flex;
}

.swiper-slider-nav > div {
    width: 28px;
    height: 28px;
    margin: 6px;
    border-radius: 15px !important;
    border: 2px solid var(--gray-500) !important;
    padding: 2px !important;
    position: relative;
    right: auto;
    left: auto;
}

.swiper-slider-nav > div::after {
    display: none !important;
}

.swiper-slider-nav > div svg {
    fill: var(--gray-500);
}

.st-bottom {
    border-top: 1px solid var(--gray-300);
    background: var(--gray-100);
    padding: 6px 12px;
}

.pagination-slider {
    display: flex;
    margin: 0 auto;
    padding: 12px;
    justify-content: center;
}

.swiper-pagination {
    display: flex;
    justify-content: center;
}

.tabs-panel .swiper-pagination {
    bottom: 12px !important;
}

.swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: var(--white) !important;
    border-radius: 100% !important;
    margin: 0 6px !important;
    border: 2px solid #000;
    cursor: pointer;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
    border-color: var(--blue);
}

.products-slider .swiper-wrapper {
    display: flex;
}

.products-slider .swiper-slide {
    padding: 6px;
    border-right: 1px solid var(--gray-300);
    height: auto;
}

/* product item */
.product-item {
    display: flex;
    flex-direction: column;
    padding: 6px;
    height: 100%;
}

.product-item .p-mid {
    padding: 6px;
}

.product-item .title a:hover {
    color: var(--color-3);
}

.price .amount {
    padding: 6px 0;
}

.product-item .price,
.price bdi {
    font-weight: bold;
    font-size: 18px;
    padding: 6px 0;
    line-height: 1;
}

.product-item .price.discount,
.price ins {
    color: var(--color-3);
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    padding: 6px 0;
    line-height: 1;
}

.product-item .old-price,
.price del {
    color: var(--gray-600);
    text-decoration: line-through;
    font-size: 16px;
    line-height: 1;
    font-weight: bold;
    margin-right: 12px;
}

.product-item .p-bottom {
    padding: 6px;
}

.button,
.product-item .add-to-cart,
.product > a.added_to_cart {
    display: flex;
    background: var(--color-5);
    color: var(--white) !important;
    text-decoration: none !important;
    width: auto;
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 4px;
    margin: 0;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
}

.button:hover,
.product-item .add-to-cart:hover {
    background: var(--color-6);
}

.product-item .add-to-cart {
    width: 100%;
    margin: 0 auto;
    text-transform: uppercase;
}

.product-item .add-to-cart .icon {
    width: 24px;
    height: 24px;
    fill: var(--white);
    margin-right: 12px;
}

.product-item .add-to-cart > span:last-child {
    padding: 3px 0 0;
}

.product > a.button.added {
    display: none !important;
}

.product > a.added_to_cart {
    color: var(--gray-900) !important;
    background: var(--gray-200);
}

.product > a.added_to_cart {
    background: var(--gray-300);
}

#main-promo-products .product span.onsale {
    left: 0;
    top: 0;
    border-radius: 4px;
}

#main-promo-products .swiper-slider-nav {
    display: none;
}

/* sec4 */
#popular-categories {
    padding: 24px 0;
    background: var(--gray-100);
    margin: 24px 0;
}

#popular-categories h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 0;
}

#popular-categories .row {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

#popular-categories .swiper-slider-nav {
    display: flex;
    margin-right: 0;
}

.popular-categories {
    padding: 6px;
}

.popular-categories .row {
    gap: 24px;
    flex-wrap: wrap;
}

.popular-categories .item {
    width: calc((100% - 96px) / 5);
    height: auto;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    background: var(--white);
}

.popular-categories .image img {
    object-fit: contain;
    padding: 6px;
    max-width: 100%;
}

.popular-categories .image a {
    display: flex;
    height: 100%;
    max-height: 240px;
    overflow: hidden;
}

.popular-categories .title {
    padding: 6px 6px 18px;
    text-align: center;
    font-weight: bold;
    display: flex;
    justify-content: center;
    width: 100%;
}

.popular-categories .item:hover .title {
    color: var(--color-3);
}

/* banner-slider */
.image-banner {
    margin: 48px 0;
}

.banner-slider {
    border: 1px solid var(--gray-300);
    padding: 6px;
    border-radius: 4px;
    width: 100%;
    position: relative;
}

.banner-slider .swiper {
    border-radius: 4px;
}

.banner-slider .image {
    overflow: hidden;
    display: block;
}

.banner-slider .image img {
    object-fit: cover;
    min-height: 85px;
}

/* sec5 */
.posts-section {
    padding: 24px 0;
    margin: 24px 0 48px;
}

.posts-section h2 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 6px;
}

.posts-section h2 a {
    color: var(--color-3);
}

.posts-section h2 a:hover {
    text-decoration: underline;
}

.popular-articles {
    padding: 12px 5px;
}

.popular-articles .row {
    gap: 24px;
    flex-wrap: nowrap;
    overflow: auto;
    padding-bottom: 6px;
}

.popular-articles .item {
    width: 100%;
    min-width: 260px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    background: var(--white);
}

.popular-articles .item:first-child {
    width: 100%;
}

.artcle-posts a.image {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 6px;
}

.artcle-posts a.image img {
    object-fit: cover;
    display: flex;
    height: 100%;
    border-radius: 4px;
    aspect-ratio: 16/10;
}

.info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1;
    font-size: 12px;
    color: var(--gray-600);
    padding: 3px 6px;
}

.info .read-more {
    margin-right: 6px;
    border-radius: 4px;
    padding: 3px 6px;
    background: var(--gray-100);
    align-items: center;
    justify-content: center;
}

.info .views {
    margin-right: auto;
    padding: 3px 6px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    line-height: 1;
    border-radius: 4px;
}

.info .views .icon-18 {
    margin-right: 6px;
}

.info .icon-18 svg {
    fill: var(--gray-500);
    width: 18px;
    height: 18px;
}

.info .date {
    background: var(--gray-100);
    padding: 6px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--gray-600);
}

.artcle-posts .title {
    padding: 3px 6px 6px;
    display: flex;
    width: 100%;
    font-size: 14px;
}

.artcle-posts .item .image:hover {
    text-decoration: underline;
}

.popular-articles.artcle-posts .item a:hover {
    text-decoration: underline;
}

.lightbox-content {
    max-width: 100%;
}

.lightbox-content img {
    max-width: 80%;
}

.lightbox-content i {
    max-width: 10%;
}

/* breadcrumb */
.kama_breadcrumbs {
    margin: 18px 0;
    font-size: 14px;
}

.kama_breadcrumbs a {
    color: var(--gray-900) !important;
}

.kama_breadcrumbs a:hover {
    color: var(--color-2);
    text-decoration: underline;
}

.kama_breadcrumbs span.kb_title {
    color: var(--gray-700);
}
/* end breadcrumb */

/* Shop */
#shop-block {
    width: 100%;
}

.woocommerce-result-count {
    display: none;
}
/* end Shop */

/* 404 */
.page-header,
.entry-header {
    margin-top: 24px;
    flex-direction: column;
    width: 100%;
}
/* end */

/* articles */
.cat-artcles .page-header {
    flex-direction: column;
}

.cat-artcles .content {
    margin-bottom: 48px;
    gap: 24px;
}

.cat-artcles .artcle-posts {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    width: 100%;
}

.cat-artcles .artcle-posts > .item {
    width: 100%;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    background: var(--white);
}

.cat-artcles a.image {
    padding: 12px;
}

.cat-artcles a.image h2 {
    margin: 12px 0 0;
}

.cat-artcles .excerpt {
    padding: 0 12px;
}

.cat-artcles .info {
    padding: 12px;
}

.cat-artcles .read-more {
    display: flex;
}

.cat-artcles .read-more > span:first-child {
    margin-right: 6px;
}

.cat-artcles .read-more:hover > span:last-child {
    text-decoration: underline;
}

.cat-artcles .sidebar {
    width: 100%;
    min-width: 440px;
    max-width: 30%;
    padding: 0;
}

#last-articles {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    position: sticky;
    top: 86px;
}

#last-articles .artcle-item {
    display: flex;
    padding: 12px 0;
    border-top: 1px solid var(--gray-300);
}

#last-articles .artcle-item > div:first-child {
    max-width: 110px;
    min-width: 110px;
    margin-right: 12px;
}

#last-articles .artcle-item > div:first-child img {
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 4px;
    display: flex;
}

#last-articles .artcle-item > div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#last-articles .artcle-item:first-child {
    border-top: 0;
    padding-top: 0;
}

#last-articles .artcle-item:last-child {
    padding-bottom: 0;
}

#last-articles .artcle-item a.title {
    line-height: 1.35rem;
    font-weight: bold;
}

#last-articles .artcle-item a:hover {
    text-decoration: underline;
}

#last-articles .info {
    padding: 12px 0 0;
}

.navigation.posts-navigation {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
}

.navigation.posts-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 12px;
}

.navigation.posts-navigation .nav-links > div {
    width: 100%;
}

.navigation.posts-navigation .nav-links a {
    width: 100%;
    padding: 12px;
    background: var(--gray-100);
    border-radius: 4px;
    border: 1px solid var(--gray-300);
    font-weight: bold;
    text-align: center;
}

.navigation.posts-navigation .nav-links a:hover {
    background: var(--gray-150);
}
/* end articles */

/* article */
.single-post .artcle-post .info {
    padding: 0 12px;
    width: calc(100% - 24px);
    position: absolute;
    bottom: 24px;
    z-index: 1;
}

.single-post .artcle-post .info > * {
    background: var(--white) !important;
}

.artcle-post .post > .image {
    padding: 12px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    margin-bottom: 12px;
    overflow: hidden;
    position: relative;
}

.artcle-post .post > .image > img {
    border-radius: 4px;
}

.navigation.post-navigation {
    padding: 0 12px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    background: var(--gray-100);
    margin-top: 48px;
}

.navigation.post-navigation .nav-links > div {
    margin: 12px 0;
}

.nav-subtitle {
    font-weight: bold;
}

.nav-title {
    color: var(--gray-700);
}

.navigation.post-navigation .nav-links a:hover .nav-title {
    text-decoration: underline;
}
/* end article */

/* reviews */
.reviews-section {
    padding: 24px 0;
    margin: 48px 0;
}

.reviews-section h2 a {
    color: var(--color-3);
}

.reviews-section h2 a:hover,
.reviews-block .item .title:hover,
.reviews-block .item .author:hover {
    text-decoration: underline;
}

.page-template-reviews-page .reviews-block {
    margin-bottom: 20vh;
}

.reviews-block > div {
    gap: 24px;
    flex-wrap: wrap;
}

.single-product .reviews-block > div {
    padding: 0;
}

.reviews-block .item {
    width: 100%;
    min-width: 260px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    background: var(--gray-100);
}

.reviews-block .item .image {
    position: relative;
}

.reviews-block .item .image > img {
    border-radius: 4px 4px 0 0;
    border-bottom: 1px solid var(--gray-300);
    object-fit: cover;
    display: flex;
    height: 100%;
    aspect-ratio: 16/10;
    width: 100%;
    max-width: 100% !important;
}

.reviews-block .item .avatar {
    width: 100px;
    height: 100px;
    position: absolute;
    bottom: -25px;
    left: calc(50% - 50px);
}

.reviews-block .item .avatar img {
    border-radius: 100%;
    overflow: hidden;
    border: 4px solid var(--white);
    width: 100%;
}

.reviews-block .item .author {
    font-weight: bold;
    text-align: center;
    margin: 25px 0 0;
    padding: 0 6px;
    width: 100%;
}

.reviews-block .item .rating {
    display: flex;
    justify-content: center;
    margin: 6px;
}

.reviews-block .item .rating ul {
    cursor: unset !important;
}

.reviews-block .item .rating .star-rating li i {
    cursor: unset !important;
    width: 15px;
    height: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reviews-block .item .star-rating::before {
    display: none;
}

.reviews-block .item .star-rating li i::before {
    color: var(--yellow);
    font-size: 16px !important;
}

.reviews-block .item .star-rating li i.fa-star-o::before,
.reviews-block .item .star-rating li i.fa-star-half-o::before {
    font-size: 14px !important;
    margin-top: -2px;
}

.reviews-block .item .title {
    text-align: center;
    line-height: 1.25em;
    padding: 6px 6px 0px;
    width: 100%;
    margin-bottom: 12px;
}

/* review post */

.review-post > .review {
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    background: var(--gray-100);
}

.review-post .image {
    position: relative;
    display: flex;
    justify-content: center;
}

.review-post .image > img {
    object-fit: cover;
    object-position: center 35%;
    height: 100%;
    display: flex;
    width: 100%;
    max-width: unset;
    aspect-ratio: 3/1;
    border-radius: 4px 4px 0 0;
    border-bottom: 1px solid var(--gray-300);
}

.review-post .avatar {
    width: 25vw;
    height: 30vw;
    max-width: 200px;
    max-height: 200px;
    position: absolute;
    bottom: -50%;
}

.review-post .avatar img {
    border-radius: 100%;
    overflow: hidden;
    border: 4px solid var(--white);
    width: 100%;
}

.review-post .author {
    margin: 74px 12px 24px;
    text-align: center;
}

.review-post .rating {
    display: flex;
    justify-content: center;
    margin: 24px 12px;
}

.review-post .rating ul,
.review-post .rating .star-rating li i {
    cursor: unset !important;
}

.review-post .star-rating::before {
    display: none;
}

.review-post .star-rating li i::before {
    color: var(--yellow);
    font-size: 26px !important;
}

.review-post .star-rating li i.fa-star-o::before,
.review-post .star-rating li i.fa-star-half-o::before {
    font-size: 24px !important;
}

.review-post .entry-content {
    padding: 0 12px;
    max-width: 960px;
    margin: 0 auto;
    text-align: justify;
}

/* end review post */
/* end reviews */

/* single post content.php */
.entry-content {
    width: 100%;
}

.entry-content p img {
    width: 100%;
    max-width: 100% !important;
    margin-bottom: 12px;
}

@media (min-width: 600px) {
    .entry-content p img {
        max-width: 50% !important;
    }
}

@media (min-width: 992px) {
    .entry-content p img {
        max-width: unset;
        width: auto;
    }
}
/* end single post content.php */

/* contacts page */
.page-template-contact-page-php .entry-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.page-template-contact-page-php .entry-content > div {
    width: 100%;
}

.page-template-contact-page-php .entry-content > div.contacts {
    display: flex;
    flex-direction: column;
}

.page-template-contact-page-php h2 {
    font-size: 24px;
    margin-bottom: 12px;
}

.contacts-block > h2 {
    margin-top: 13px;
}

.contacts-block > div {
    margin-bottom: 24px;
}

.contacts .icon-18 {
    float: left;
    margin-right: 8px;
    max-width: 24px;
    padding: 3px;
}

.contacts .address p {
    margin-bottom: 6px;
}

.socaial-block {
    margin: 24px 0;
    margin-top: auto;
    width: 100%;
    display: inline-flex;
    flex-direction: column;
    padding: 12px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    background: var(--gray-100);
}

.socaial-buttons {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 3px;
    width: 100%;
    flex-wrap: wrap;
}

.socaial-buttons a {
    display: flex;
    border-radius: 100%;
    overflow: hidden;
    width: 36px;
}

.contact-form {
    padding: 12px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    background: var(--gray-100);
}

/*
* Внешний вид формы
*/
#wm_feedback {
    margin: 20px 0 0;
    position: relative;
}

#wm_feedback > div {
    flex-wrap: wrap;
}

#wm_name,
#wm_email,
#wm_subject,
#wm_comments {
    display: inline-block;
    width: 100%;
    border-radius: 4px;
    border: 1px solid var(--gray-300);
    margin-bottom: 12px;
}

#wm_feedback .button {
    border: none;
    color: var(--white);
    font-size: 1em;
    display: inherit;
    margin: 12px auto 0;
    border-radius: 4px;
    background-color: var(--color-5);
}

#wm_feedback input[type='text']:focus,
#wm_feedback input[type='password']:focus,
#wm_feedback input[type='email']:focus,
#wm_feedback textarea:focus {
    color: var(--gray-600);
}

.error-text {
    background: var(--light-red);
    padding: 12px 0px;
    text-align: center;
    color: var(--white);
}

.error-name,
.error-email,
.error-comments {
    display: inline-block;
    font-size: 11px;
    position: absolute;
    top: -30px;
    color: var(--white);
    border: 1px solid var(--color-3);
    padding: 5px 10px;
    line-height: 1.1;
    background: var(--color-3);
    box-shadow: 0 0 3px 0px rgba(0, 0, 0, 0.3);
}

.error-name:after,
.error-email:after,
.error-comments:after {
    content: '';
    position: absolute;
    left: 20px;
    bottom: -10px;
    border: 5px solid transparent;
    border-top: 5px solid var(--color-3);
}

.error-comments {
    top: 16%;
    left: 0;
}

.error-name {
    left: 0;
}

.error-email {
    right: 4%;
}

.message-success {
    background: var(--color-1);
    color: var(--white);
    padding: 12px;
    text-align: center;
    margin: 12px auto;
    border-radius: 4px;
}

#wm_feedback .error {
    border: 1px solid var(--color-3);
}

#wm_feedback .required {
    color: var(--gray-900);
}

#wm_feedback .required:after {
    content: '*';
    position: absolute;
    left: 20px;
    bottom: -10px;
}

#wm_name:focus::-moz-placeholder,
#wm_name:focus:-moz-placeholder,
#wm_name:focus:-ms-input-placeholder,
#wm_email:focus::-webkit-input-placeholder,
#wm_email:focus::-moz-placeholder,
#wm_email:focus:-moz-placeholder,
#wm_email:focus:-ms-input-placeholder,
#wm_comments:focus::-webkit-input-placeholder,
#wm_comments:focus::-moz-placeholder,
#wm_comments:focus:-moz-placeholder,
#wm_comments:focus:-ms-input-placeholder,
#wm_subject:focus::-webkit-input-placeholder,
#wm_subject:focus::-moz-placeholder,
#wm_subject:focus:-moz-placeholder,
#wm_subject:focus:-ms-input-placeholder {
    color: transparent;
}
/* end contacts page */

/* footer */
#footer {
    background-color: var(--color-2);
    margin-top: auto;
}

.map {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.map > .mw {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
    padding: 0;
}

.m-contacts {
    height: 100%;
    width: 100%;
    color: var(--white);
    font-size: 16px;
    line-height: 1;
    padding: 24px;
    justify-content: center;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
}

.m-contacts h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 18px;
}

.m-contacts a {
    display: inline-flex;
    margin-bottom: 12px;
    line-height: 18px;
}

.m-contacts a:hover {
    text-decoration: underline;
}

.m-contacts .icon-18 {
    display: flex;
    width: 18px;
    min-width: 18px;
    height: 18px;
    fill: var(--white);
    margin-right: 6px;
    float: left;
}

.expand-block {
    width: 100%;
}

.expand-text {
    padding: 24px 12px;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    background: var(--gray-100);
    text-align: justify;
}

.expand-text .text {
    padding-top: 12px;
    max-height: 180px;
    overflow: hidden;
    position: relative;
}

.expand-text .text::after {
    display: block;
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 36px;
    background: linear-gradient(
        to top,
        var(--gray-100) 0,
        rgba(248, 249, 250, 0) 100%
    );
}

.is-open.expand-text .text {
    max-height: unset;
}

.is-open.expand-text .icon-18 {
    transform: rotate(180deg);
    margin-top: 3px;
}

.is-open.expand-text .text::after,
.expand-block:not(.show-btn) .text::after {
    display: none;
}

.btn-collapse-text {
    display: none;
    align-items: center;
    color: var(--color-3);
    cursor: pointer;
}

.show-btn.expand-block .btn-collapse-text {
    display: inline-flex;
}

.btn-collapse-text > span:first-child {
    border-bottom: 1px dashed;
}

.footer-nav {
    padding: 60px 12px 0;
    color: var(--white);
}

.footer-nav .row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 24px 0 0;
    gap: 12px;
}

.footer-nav .row > div {
    width: 100%;
    padding: 12px 0px 24px;
}

.footer-nav .row > div:first-child {
    width: 100%;
}

.footer-nav .h4 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 12px;
}

.footer-nav .text {
    line-height: 20px;
    padding-right: 24px;
    font-size: 15px;
}

.logo-footer {
    background: var(--white);
    padding: 10px 12px;
    border-radius: 4px;
    max-width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.footer-nav a {
    color: var(--white) !important;
    font-size: 16px;
    text-decoration: none;
    line-height: 22px;
}

footer #user-menu > li:first-child > a {
    display: none;
}

.footer-nav a:hover {
    text-decoration: underline;
}

#footer .socaial-block {
    padding: 0;
    background: none;
    border: 0;
}

#footer .socaial-buttons {
    gap: 4px;
    justify-content: inherit;
}

#scroll-to-top {
    display: none;
    width: 34px;
    height: 34px;
    position: fixed;
    z-index: 22;
    right: 12px;
    bottom: 12px;
    border-radius: 4px;
    border: 1px solid var(--gray-300);
    background-color: var(--gray-100);
    padding: 4px;
    cursor: pointer;
}

.copy {
    font-size: 12px;
    padding: 12px !important;
    width: 100%;
    justify-content: center;
    color: var(--white);
    border-top: 1px solid var(--white);
}

#fixed-header {
    position: fixed;
    z-index: 22;
    top: -100px;
    background: #fff;
    border-bottom: 1px solid #dee2e6;
    width: 100%;
    height: 50px;
    padding: 6px 0;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    transition: 0.6s top;
}

#fixed-header > .mw > .row {
    align-items: center;
    padding: 0 3px;
}

#fixed-header .burger {
    display: block;
}

#fixed-header .logo {
    max-width: 36px;
    padding: 0;
    margin: 0 12px !important;
    display: flex;
    align-items: center;
}

#fixed-header .logo > a {
    min-width: 36px;
    min-height: 36px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

#fixed-header .logo > a > svg {
    min-width: 209px;
}

#fixed-header .search-block {
    max-width: 798px;
    margin-right: 12px;
}

#fixed-header .search-block > .search > div.search-label {
    display: none;
}

#fixed-header .search-block > .search > div:last-child {
    padding: 0;
    background: none;
    width: 100%;
}

#fixed-header .search-block > .search input {
    font-size: 16px;
    padding: 6px;
    height: 36px;
    min-height: 36px;
    border-radius: 4px;
}

#fixed-header .search-block > .search button {
    display: none;
    width: 36px;
    min-width: 36px;
    height: 36px;
}

#fixed-header #woocommerce-product-search-results .search-results-block {
    width: calc(100% + 2px);
}

#fixed-header .lang-block {
    width: 36px;
    height: 36px;
}

#fixed-header .lang-select {
    padding: 0;
    background-image: none;
    margin: 0;
    width: 36px;
    height: 36px;
    justify-content: center;
    align-items: center;
    display: flex;
}

#fixed-header .lang {
    padding: 6px;
    width: calc(100% + 2px);
    left: -1px;
    top: calc(100% - 3px);
}

#fixed-header .lang-select a {
    text-align: center;
}

#fixed-header .lang a {
    padding: 0;
}

#fixed-header .lang-select a > * {
    color: var(--gray-600);
}

#fixed-header .user-navigation ul.menu > li:first-child > a {
    display: flex;
    align-items: center;
    font-size: 0;
    padding: 0;
    background-image: url(./img/icons/user.svg);
    background-position: center;
    display: flex;
    width: 36px;
    height: 36px;
}

#fixed-header .header-cart-mob {
    margin-right: 2px;
    margin-left: 6px;
}

@media (min-width: 321px) {
    .popular-articles .item {
        min-width: calc(100% - 48px);
    }
}

@media (min-width: 420px) {
    .posts-section h2 {
        font-size: 18px;
    }

    .socaial-block {
        width: fit-content;
    }

    .socaial-buttons {
        gap: 6px;
    }
}

@media (max-width: 479px) {
    #overlay {
        display: none;
    }

    #header {
        width: 100%;
        position: fixed;
        background: #fff;
        top: 0;
        z-index: 22;
        left: 0;
        box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    }

    .lang-block {
        margin-right: 6px;
    }

    .mini-cart-block {
        right: -480px;
        max-width: 480px;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .widget_shopping_cart_content {
        max-width: 370px;
    }

    .site-main {
        margin-top: 101px;
        padding-bottom: 48px;
    }

    .user-navigation ul.menu > li:first-child > a {
        height: 36px;
        font-size: 0;
        display: flex;
        padding: 8px 26px;
    }

    .top-row {
        border-bottom: 0 !important;
    }

    .top-row .search-block {
        margin-right: 6px;
    }

    .top-row .search-block > .search > div.search-label {
        display: none;
    }
    .top-row .search-block > .search > div:last-child {
        padding: 0;
        width: 100%;
        border: 0;
    }

    .top-row .search-block > .search input {
        padding: 0 6px;
        height: 34px;
        min-height: 32px;
    }

    .top-row .search-block > .search button {
        display: none;
        padding: 0 12px;
        width: 34px;
        min-width: 34px;
        height: 34px;
    }

    .top-row
        .search-block
        > .search
        #woocommerce-product-search-results
        .search-results-block {
        width: calc(100% + 2px);
        left: -1px;
        top: 31px;
    }

    .top-row
        .search-block
        > .search
        #woocommerce-product-search-results
        .search-result {
        padding: 12px 6px;
    }

    .top-row
        .search-block
        > .search
        #woocommerce-product-search-results
        .search-result
        .product-title {
        font-size: 14px;
    }

    .top-row #woocommerce-product-search-results .search-result .image {
        width: 52px;
    }

    .top-row .search-block > .search .product-item .old-price,
    .top-row .search-block > .search .price del {
        font-size: 14px;
    }

    .mid-row {
        background: var(--gray-100);
        border-top: 1px solid var(--gray-300) !important;
        border-bottom: 1px solid var(--gray-300) !important;
    }

    .mid-row .mw > .row {
        padding: 0;
    }

    .mid-row .right-block {
        padding: 0;
    }

    .mid-row .search-block {
        display: none;
    }

    h1 {
        font-size: 1.5rem;
        line-height: 1.5rem;
        margin-top: 6px;
        margin-bottom: 0;
    }

    .mw,
    .row {
        padding: 0 3px;
    }

    .w80 {
        padding: 0 3px;
    }

    .kama_breadcrumbs {
        margin: 3px 0;
        font-size: 12px;
    }

    .button,
    .product-item .add-to-cart,
    .product > a.added_to_cart {
        padding: 10px;
        font-size: 14px;
        line-height: 15px;
    }
    .product > a.added_to_cart {
        font-size: 12px;
    }

    #sec-1 {
        margin: 0;
    }

    #home-main-slider {
        padding: 3px;
    }

    #main-promo-products {
        padding: 6px 0;
    }

    .tabs-title .nav-tab {
        font-size: 15px;
        padding: 0px 8px;
    }

    .tabs-title .nav-tab {
        font-size: 15px;
        padding: 0px 10px;
    }

    .products-slider .swiper-slide {
        max-width: 50%;
    }

    #popular-categories {
        padding: 12px 0;
        margin: 18px 0;
    }

    .popular-categories .item {
        min-width: calc(50% - 12px);
    }

    #popular-categories h2 {
        font-size: 15px;
    }

    .popular-categories .title {
        padding: 6px;
        font-size: 14px !important;
        line-height: 1rem;
    }

    .image-banner {
        margin: 0;
    }

    .posts-section {
        padding: 12px 0;
        margin: 18px 0 0;
    }

    #sec-2 {
        padding: 0 0 12px;
    }

    .benefit .item {
        padding: 6px 3px;
    }

    body:not(.page-template-reviews-page) .reviews-block > div.row {
        flex-wrap: nowrap;
        overflow: auto;
        padding-bottom: 6px;
    }

    body:not(.page-template-reviews-page) .popular-articles .item,
    body:not(.page-template-reviews-page) .reviews-block .item {
        width: 100%;
        min-width: 290px;
        max-width: 291.2px;
    }

    .footer-nav {
        padding: 0 12px !important;
    }

    .footer-nav .row > div {
        padding: 6px 0;
    }

    .page-header,
    .entry-header {
        margin-top: 6px;
    }

    .copy {
        margin-top: 24px;
    }
}

@media (min-width: 480px) {
    /* smartphones, Android phones, landscape iPhone */
    .mw,
    .row {
        padding: 0 12px;
    }

    #fixed-header.is-fixed {
        top: 0px;
        display: block;
    }

    .top-row .search-block {
        display: none;
    }

    .mid-row .mw > .row,
    #home-main-slider,
    .benefit .item,
    .popular-categories,
    .popular-articles {
        padding: 12px;
    }

    .reviews-block .item {
        min-width: unset;
        width: calc((100% - 24px) / 2);
    }

    .navigation.posts-navigation .nav-links {
        flex-direction: row-reverse;
    }

    .navigation.posts-navigation .nav-links > div {
        width: auto;
    }

    .woocommerce-result-count {
        display: block;
    }

    .footer-nav .row > div {
        width: 50%;
        padding: 12px 0 24px;
    }

    #scroll-to-top {
        right: 24px;
        bottom: 24px;
    }
}

@media (min-width: 600px) {
    /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */

    .search-block > .search input {
        font-size: 12px;
    }

    .benefit .item,
    .popular-articles .item {
        width: calc(50% - 12px);
        flex: auto;
    }

    #main-promo-products .swiper-slider-nav.active {
        display: flex;
    }

    .reviews-block .item {
        width: calc((100% - 24px) / 2);
        min-width: unset;
    }

    .content h2 {
        font-size: 32px;
    }

    .review-post .avatar {
        bottom: -50px;
    }

    .navigation.posts-navigation .nav-links a {
        padding: 12px 24px;
    }
}

@media (min-width: 801px) {
    /* tablet, landscape iPad, lo-res laptops ands desktops */

    .header-cart {
        width: 20%;
    }

    .product-item .price,
    .price bdi,
    .product-item .price.discount,
    .price ins {
        font-size: 22px;
    }

    .product-item .old-price,
    .price del {
        font-size: 18px;
    }

    .primary-navigation {
        display: flex;
        align-items: center;
    }

    .primary-navigation .menu a {
        font-size: 14px;
    }

    #search-tags-block {
        display: flex;
        justify-content: center;
    }

    .benefit .item,
    .popular-articles .item,
    .popular-articles .item:first-child {
        width: calc((100% - 48px) / 3);
    }

    .posts-section h2 {
        margin-bottom: 1.2em;
    }

    .cat-artcles .artcle-posts > .item {
        width: calc(50% - 12px);
        display: flex;
    }

    .cat-artcles .artcle-posts > .item > div {
        display: flex;
        flex-direction: column;
    }

    .cat-artcles .artcle-posts > .item > div .entry-content {
        margin-top: auto;
    }

    .page-template-contact-page-php .entry-content {
        margin-top: 120px;
    }

    .page-template-contact-page-php .entry-content > div {
        width: calc(50% - 12px);
    }

    .socaial-block {
        margin: 0;
    }

    .socaial-buttons {
        justify-content: space-between;
    }

    .reviews-block .item {
        width: calc((100% - 48px) / 3);
    }

    #wm_name,
    #wm_email,
    #wm_subject,
    #wm_comments {
        width: calc(50% - 12px);
        margin: 0;
    }

    #wm_subject {
        width: 100%;
        margin: 12px 0;
    }

    #wm_comments {
        width: 100%;
    }

    #wm_feedback .button {
        margin: 12px 0 0;
    }

    .map {
        flex-direction: unset;
    }

    .map > .mw {
        position: absolute;
        padding: 0 12px;
    }

    .m-contacts {
        position: relative;
        top: 0;
        right: 12px;
        z-index: 11;
        min-width: 280px;
        max-width: 320px;
    }

    #fixed-header .logo {
        max-width: 206px;
    }

    #fixed-header .logo > a {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .mid-row .mw > .row > .left-block {
        position: relative !important;
    }
	
	.mid-row .right-block {
		padding-top: 0;
        margin-top: 0 !important;
    }

    .lang-select a strong {
        color: unset;
        font-weight: bold;
    }

    .lang-select a span {
        display: inline;
    }

    .lang-select {
        min-width: 110px;
    }

    .primary-navigation {
        margin-right: auto;
    }

    .primary-navigation .menu li {
        padding: 1px 12px;
    }

    .primary-navigation .menu a {
        font-size: 14px;
    }

    #search-tags-block {
        display: flex;
    }

    .mid-row .mw > .row {
        padding: 24px 12px 12px 12px;
    }

    .mid-row .mw > .row > .left-block.left-block {
        width: 20%;
        align-items: baseline;
        box-shadow: none !important;
        padding: 0;
    }

    .mid-row .mw > .row > .right-block {
        width: 80%;
    }

    .mid-row .right-block > div:first-child {
        justify-content: space-between;
        flex-wrap: unset;
    }

    .burger,
    .header-cart-mob {
        display: none;
    }

    .logo {
        max-width: unset;
        padding: 0 12px 0 0;
    }

    .mid-row .phones-block {
        display: block;
    }

    .header-cart {
        min-width: 175px;
    }

    .header-cart > div.header-cart-button {
        display: flex;
    }

    .search-block {
        margin-right: auto;
        padding: 0 12px 0 5px;
        width: 60%;
    }

    #search-tags-block {
        justify-content: flex-start;
    }

    .bottom-row {
        display: block;
    }

    #home-page {
        display: unset;
        flex-direction: unset;
    }

    #home-page > * {
        order: unset;
    }

    .sidebar {
        display: block;
    }

    #home-main-slider {
        max-width: 72%;
    }

    .main-slider .swiper-button-next,
    .main-slider .swiper-button-prev {
        display: flex;
    }

    .popular-articles .row {
        flex-wrap: wrap;
        overflow: unset;
        padding-bottom: unset;
    }

    .popular-articles .item {
        min-width: unset;
        max-width: unset;
    }

    .posts-section {
        margin: 48px 0;
    }

    .image-banner {
        margin: 72px 0 48px;
    }

    .cat-artcles .artcle-posts > .item {
        width: 100%;
        margin-bottom: 48px;
    }

    #shop-block {
        width: 72%;
    }

    #fixed-header {
        padding: 12px 0;
        height: 62px;
    }

    #fixed-header .search-block > .search input {
        font-size: 12px;
    }

    #fixed-header .search-block > .search > div.search-label {
        display: flex;
    }
    #fixed-header #woocommerce-product-search-results .search-results-block {
        width: calc(100% - 50px);
    }

    #fixed-header .search-block > .search button {
        display: flex;
        width: 52px;
        min-width: 52px;
    }

    #fixed-header .lang-block {
        width: auto;
        margin-left: auto;
    }

    #fixed-header .lang-select {
        margin: 0 6px 0 0px;
        padding-right: 18px;
        background-image: url(./img/icons/arrow-down.svg);
        width: 100%;
        min-width: 124px;
    }

    #fixed-header .lang {
        padding: 6px 0;
        width: calc(100% + 8px);
        left: -1px;
        top: calc(100% - 3px);
    }

    #fixed-header .lang-select a {
        text-align: left;
        padding: 0 6px;
        color: var(--gray-800);
    }

    #fixed-header .lang-select .lang a:hover {
        color: var(--color-1);
    }

    #fixed-header .header-cart-mob {
        display: block;
        margin-right: 12px;
    }
}

@media (min-width: 1025px) {
    /* big landscape tablets, laptops, and desktops */

    .phones-block .h-contacts {
        font-size: 10px;
    }

    .reviews-block .item {
        width: calc((100% - 96px) / 4);
    }
}

@media (min-width: 1181px) {
    .sidebar {
        width: 315px;
    }

    .products-slider .swiper-slide {
        max-width: 20%;
    }

    #pop-cat button {
        padding: 14px 6px 12px 12px;
    }

    #pop-cat button .title {
        font-size: unset;
        padding: 0 12px;
    }

    #thematic-menu > li > a {
        padding: 12px 6px 12px 12px;
    }

    #thematic-menu .cat-name {
        line-height: 24px;
    }

    #home-main-slider {
        width: calc(100% - 316px);
        max-width: unset;
    }

    .benefit,
    .popular-articles .row {
        flex-wrap: unset;
    }

    .benefit .item,
    .popular-articles .item {
        width: 100% !important;
    }

    .reviews-block .item {
        width: calc((100% - 96px) / 5);
    }

    #shop-block {
        width: calc(100% - 315px);
    }

    .footer-nav {
        padding: 60px 12px;
    }

    .footer-nav .row {
        flex-wrap: nowrap;
    }

    .footer-nav .row > div {
        width: 100%;
    }
}

@media (min-width: 1281px) {
    /* hi-res laptops and desktops */

    #fixed-header .user-navigation ul.menu > li:first-child > a {
        font-size: 14px;
        padding: 8px 30px;
        background-image: url(./img/icons/user.svg),
            url(./img/icons/arrow-down.svg);
        background-position: 6px 50%, calc(100% - 6px) 50%;
        width: auto;
    }
}

@media (min-width: 1600px) {
    .sidebar {
        width: 20%;
    }

    #home-main-slider {
        width: 80%;
    }

    #shop-block {
        width: 80%;
    }
}

/* temp */
#menu-item-56,
.woocommerce-MyAccount-navigation-link--downloads {
    display: none !important;
}
