:root {
    --white: #ffffff;
    --grey: #f1f1f1;
    --black: #000000;
    --font-color: #010101;
    --row-gap: 20px;
    --column-gap: 20px;
    --column-count: 4;
    --border-radius-size: 10px;
    --start-color: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Afacad-Regular';
    src: url('fonts/Afacad-Regular.ttf');
}

@font-face {
    font-family: 'Afacad-Medium';
    src: url('fonts/Afacad-Medium.ttf');
}

@font-face {
    font-family: 'Afacad-Bold';
    src: url('fonts/Afacad-Bold.ttf');
}


@font-face {
    font-family: 'Afacad-Medium';
    src: url('fonts/Afacad-Medium.ttf');
}

html,
body {
    font-size: 16px;
    -webkit-user-select: none; 
    -moz-user-select: none; 
    -ms-user-select: none; 
    user-select: none;
    -webkit-touch-callout: none;
}

body {
    font-family: 'Afacad-Regular', sans-serif;
    color: var(--font-color);
}

a,
a:hover,
a:active,
a:focus {
    text-decoration: none;
    outline: none;
}

ul,
li {
    list-style: none;
}

input,
textarea,
button {
    outline: none;
    box-shadow: none;
}

input::placeholder,
textarea::placeholder {
    font-family: 'Afacad-Regular', sans-serif;
    font-size: 1rem;
}

.container {
    padding: 0 15rem;
}

.bg-grey {
    background-color: var(--grey);
}

.section-padding-tb {
    padding: 5rem 0;
}

.section-padding-bt {
    padding-bottom: 5rem;
}

.theme-grid {
    display: grid;
    gap: var(--row-gap) var(--column-gap);
    grid-template-columns: repeat(var(--column-count), calc((100% - var(--column-gap) * (var(--column-count) - 1)) / var(--column-count)));
}

.theme-grid-2 {
    --column-count: 2;
}

.theme-grid-3 {
    --column-count: 3;
}

.theme-grid-4 {
    --column-count: 4;
}

.theme-grid-5 {
    --column-count: 5;
}

.theme-grid-6 {
    --column-count: 6;
}

.text-regular {
    font-family: 'Afacad-Regular', sans-serif;
}

.text-medium {
    font-family: 'Afacad-Medium', sans-serif;
}

.text-bold {
    font-family: 'Afacad-Bold', sans-serif;
}

.text-uppercase {
    text-transform: uppercase;
}

.text-center {
    text-align: center;
}

header {
    position: relative;
}

.header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    background: var(--white);
    z-index: 9999;
}

.theme-header {
    display: flex;
    justify-content: space-between;
    align-content: center;
    border-bottom: 1px solid #efefef;
}

.theme-header-logo {
    display: block;
    max-width: 6rem;
    padding: 1rem 0;
    transition: all .5s;
}

.header-sticky .theme-header-logo {
    max-width: 5rem;
    padding: .75rem 0;
}

.theme-header-logo img {
    display: block;
    width: 100%;
}

.theme-header-nav ul {
    display: flex;
    height: 100%;
    list-style: none;
}

.theme-header-nav ul li {
    position: relative;
}

.theme-header-nav ul li a {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-family: 'Afacad-Medium', sans-serif;
    color: var(--font-color);
    height: 100%;
    padding: 0 1.5rem;
}

.theme-header-nav ul li.active a {
    background-color: var(--font-color);
    color: var(--white);
}

.theme-header-nav ul li a:hover {
    background-color: var(--font-color);
    color: var(--white);
}

.theme-header-nav ul li.theme-nav-item-product {
    position: initial;
}

.theme-header-nav ul li .theme-nav-sublist {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    background-color: var(--white);
    visibility: hidden;
    opacity: 0;
    z-index: 9999;
    transition: all 0.3s ease-in-out;
}

.theme-header-nav ul li:hover .theme-nav-sublist {
    visibility: visible;
    opacity: 1;
}

.theme-header-nav ul li .theme-nav-sublist>ul {
    display: flex;
    flex-direction: column;
}

.theme-header-nav ul li .theme-nav-sublist>ul>li {
    position: relative;
}

.theme-header-nav ul li .theme-nav-sublist>ul>li>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
    padding-top: .625rem;
    padding-bottom: .625rem;
}

.theme-header-nav ul li.active .theme-nav-sublist>ul>li>a {
    background-color: var(--white);
    color: var(--font-color);
}

.theme-header-nav ul li .theme-nav-sublist>ul>li>a>span.arrow{
    display: block;
    width: .5rem ;
    height: .5rem ;
    border: 1px solid var(--black);
    border-left: 0 ;
    border-bottom: 0 ;
    transform: rotate(45deg);
}

.theme-header-nav ul li .theme-nav-sublist>ul>li>a:hover {
    background-color: var(--font-color);
    color: var(--white);
}

.theme-header-nav ul li .theme-nav-sublist>ul>li>a:hover>span.arrow{
    border-color: var(--white);
}

.theme-header-nav ul li .theme-nav-sublist>ul>li>.theme-nav-sublist-ul {
    position: absolute;
    top: 0;
    left: 100%;
    visibility: hidden;
    opacity: 0;
    transition: all .5s;
}

.theme-header-nav ul li:hover .theme-nav-sublist>ul>li:hover>.theme-nav-sublist-ul{
    visibility: visible;
    opacity: 1;
}

.theme-header-nav ul li .theme-nav-sublist>ul>li>.theme-nav-sublist-ul>ul {
    display: flex;
    flex-direction: column;
    border-left: 1px solid #efefef;
}

.theme-header-nav ul li .theme-nav-sublist>ul>li>.theme-nav-sublist-ul>ul>li>a {
    display: block;
    background: var(--white);
    color: var(--black);
    white-space: nowrap;
    padding-top: .625rem;
    padding-bottom: .625rem;
}

.theme-header-nav ul li .theme-nav-sublist>ul>li>.theme-nav-sublist-ul>ul>li>a:hover{
    background-color: var(--black);
    color: var(--white);
}

.theme-header-nav ul li .theme-nav-sub {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    background-color: var(--white);
    grid-template-columns: 15% 85%;
    width: 100%;
    visibility: hidden;
    opacity: 0;
    z-index: 9999;
    transition: all 0.3s ease-in-out;
}

.theme-header-nav ul li:hover .theme-nav-sub {
    visibility: visible;
    opacity: 1;
}

.theme-header-nav .theme-nav-sub ul.theme-nav-sub-list {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--font-color);
}

.theme-header-nav .theme-nav-sub ul.theme-nav-sub-list li a {
    display: block;
    background-color: transparent;
    color: var(--font-color);
    padding: 1rem;
}

.theme-header-nav .theme-nav-sub ul.theme-nav-sub-list li.active a {
    background-color: var(--font-color);
    color: var(--white);
}

.theme-header-nav .theme-nav-sub .theme-nav-sub-products {
    padding: 1.875rem 1.25rem;
}

.grid-item-product {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: var(--white);
    color: var(--font-color);
    padding: 1rem;
    border-radius: var(--border-radius-size);
}

.grid-item-product .grid-item-product-img {
    width: 100%;
    overflow: hidden;
}

.grid-item-product .grid-item-product-img img {
    display: block;
    width: 100%;
    max-width: 22.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease-in-out;
}

.grid-item-product:hover .grid-item-product-img img {
    transform: scale(1.1);
}

.grid-item-product .category {
    font-size: 1rem;
    margin-bottom: .3125rem;
}

.grid-item-product .title {
    font-size: 1.25rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.theme-nav-sub-products-tab {
    display: none;
}

.theme-nav-sub-products-tab.active {
    display: grid;
}

.theme-nav-sub-products-tab.theme-no-data.active {
    display: block;
    font-size: 1.5rem;
}

.theme-nav-sub-products-tab .grid-item-product {
    background-color: transparent;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid #efefef;
}

.theme-header-nav ul li.active .theme-nav-sub .theme-nav-sub-products-tab .grid-item-product,
.theme-nav-sub-products-tab .grid-item-product:hover {
    background-color: transparent;
    color: var(--font-color);
}

.theme-nav-sub-products-tab .grid-item-product .title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.theme-header-nav .theme-nav-search {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
}

.theme-header-nav .theme-nav-search img {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
}

.theme-header-nav .theme-nav-search .theme-nav-search-form {
    position: absolute;
    display: flex;
    top: calc(100% + 1px);
    right: 0;
    background-color: var(--white);
    padding: 1rem;
    visibility: hidden;
    opacity: 0;
    z-index: 9999;
    transition: all 0.3s ease-in-out;
}

.theme-header-nav .theme-nav-search .theme-nav-search-form.active {
    visibility: visible;
    opacity: 1;
}

.theme-header-nav .theme-nav-search .theme-nav-search-form input {
    border: 1px solid #efefef;
    padding: 0.5rem 1rem;
    outline: none;
    box-shadow: none;
}

.theme-header-nav .theme-nav-search .theme-nav-search-form .theme-nav-search-btn {
    background-color: #efefef;
    border: 0;
    padding: 0.5rem;
    outline: none;
}

.theme-mobile-btn {
    position: relative;
    display: none;
    width: 3.125rem;
}

.theme-mobile-btn span,
.theme-mobile-btn span::before,
.theme-mobile-btn span::after {
    display: block;
    background-color: var(--font-color);
    width: 3rem;
    height: .125rem;
    border-radius: 0.125rem;
    transition: all 0.3s ease-in-out;
}


.theme-mobile-btn span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.theme-mobile-btn span::before,
.theme-mobile-btn span::after {
    content: '';
}

.theme-mobile-btn span::before {
    margin-top: -1.25rem;
}

.theme-mobile-btn span::after {
    margin-top: 2.5rem;
}

.open .theme-mobile-btn span {
    background: transparent;
}

.open .theme-mobile-btn span::before {
    transform: rotate(45deg);
    margin-top: 0;
}

.open .theme-mobile-btn span::after {
    transform: rotate(-45deg);
    margin-top: -0.0625rem;
}

/* Banner */

.theme-static-banner {
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.theme-static-banner-img {
    display: block;
    width: 100%;
}

.theme-static-banner .theme-static-banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.theme-static-banner .theme-static-banner-content .theme-static-banner-title {
    font-size: 3.6rem;
    color: var(--white);
}

.theme-static-banner .theme-static-banner-content .theme-static-banner-description {
    font-size: 1.5rem;
    color: var(--white);
    padding: .625rem 0 0;
}

.theme-section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.theme-section-title .title {
    font-size: 3.6rem;
    padding-bottom: 3.125rem;
}

.theme-section-title:has(.description) .title {
    padding-bottom: 1.25rem;
}

.theme-section-title .description {
    font-size: 1.25rem;
    width: 60%;
    margin: 0 auto 3rem;
}

.theme-section-title .line {
    width: 5rem;
    border-top: 2px solid var(--font-color);
    margin-bottom: 3.5rem;
}

.icon-circle-bg {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.icon-mask-image {
    mask-size: cover;
    -webkit-mask-size: cover;
    mask-position: center;
    -webkit-mask-position: center;
    background-color: var(--font-color);
}

.theme-social-media {
    display: flex;
    align-items: center;
}

.theme-social-media .theme-social-media-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.theme-social-media .theme-social-media-item:not(:last-child) {
    margin-right: .625rem;
}

.theme-social-media .theme-social-media-item .theme-social-media-inner {
    width: 2.25rem;
    height: 2.25rem;
}

.theme-breadcrumb {
    display: flex;
    align-items: center;
    margin: 3rem auto;
    padding: 1rem 1rem 1rem 4rem;
    background: var(--white) url(../images/icon-home.png) no-repeat left 1.5rem center/1.25rem;
    border-radius: var(--border-radius-size);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.theme-breadcrumb a {
    display: block;
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--font-color);
    text-transform: uppercase;
}

.theme-breadcrumb a.active {
    color: #6c6c6c;
}

.theme-breadcrumb a::after {
    content: "/";
    font-size: 1rem;
    margin: 0 1.25rem;
}

.theme-breadcrumb a:last-child:after {
    content: '';
}

.pagination {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.pagination a {
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--font-color);
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.25rem;
    font-family: 'Afacad-Medium', sans-serif;
    border: 1px solid var(--white);
    border-radius: .3125rem;
}

.pagination a:not(:last-child) {
    margin-right: .625rem;
}

.pagination a.active,
.pagination a:hover {
    background-color: var(--font-color);
    color: var(--white);
}

.theme-form-elements {
    width: 60%;
    margin: 0 auto;
}

.theme-form .theme-form-row {
    display: flex;
    gap: 1.875rem;
}

.theme-form .theme-form-row:not(:last-child) {
    margin-bottom: 1.875rem;
}

.theme-form .theme-form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.theme-form .theme-form-group .theme-form-label {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: .625rem;
}

.theme-form .theme-form-group .theme-form-input {
    font-family: 'Afacad-Regular', sans-serif;
    padding: .625rem;
    outline: none;
    box-shadow: none;
    border: 1px solid #eeeeee;
    border-radius: .375rem;
}

.theme-form .theme-form-group .theme-form-textarea {
    font-family: 'Afacad-Regular', sans-serif;
    padding: .625rem;
    outline: none;
    box-shadow: none;
    border: 1px solid #eeeeee;
    border-radius: .375rem;
}

.theme-form .theme-form-row .theme-form-submit {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    background-color: var(--font-color);
    font-size: 1.125rem;
    color: var(--white);
    border: 0;
    padding: 1rem 0;
    border-radius: .3125rem;
}

.footer-logo {
    display: flex;
    justify-content: center;
    background: linear-gradient(to bottom, var(--start-color) 50%, var(--black) 50%);
}

.bg-grey .footer-logo {
    background: linear-gradient(to bottom, #f1f1f1 50%, var(--black) 50%);
}

.footer-logo a {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--white);
    width: 6.25rem;
    height: 6.25rem;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: .625rem;
}

.footer-logo a img {
    display: block;
    width: 100%;
}

.footer-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--font-color);
    padding: 3rem 0;
}

.footer-nav {
    display: flex;
    margin-bottom: 1.25rem;
}

.footer-nav li:not(:last-child) {
    margin-right: 1.875rem;
}

.footer-nav li a {
    font-size: 1.25rem;
    color: var(--white);
}

.footer-copyright {
    font-size: 1.25rem;
    color: var(--white);
    text-align: center;
}

.theme-layer-bg {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    z-index: 999999;
}


.theme-layer-bg.visible {
    visibility: visible;
    opacity: 1;
}

.theme-layer-form {
    width: 50%;
}

.theme-layer-form-close {
    display: flex;
    justify-content: flex-end;
}

.theme-layer-form-close .icon-mask-image {
    width: 3.125rem;
    height: 3.125rem;
    background-color: var(--white);
}

.theme-layer-form-content {
    color: var(--white);
    margin-top: 1.875rem;
}

.theme-layer-form-content .layer-form-title {
    font-size: 3rem;
    margin-bottom: .625rem;
}

.theme-layer-form-content .layer-form-description {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.theme-layer-form-content .theme-form-elements {
    width: 100%;
}

.theme-layer-form-content .theme-form .theme-form-row .theme-form-submit {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.theme-form-group-checkbox {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 1.875rem;
}

.theme-form-group-checkbox .item-checkbox input[type="checkbox"] {
    display: none;
}

.theme-form-group-checkbox .item-checkbox input[type="checkbox"]+label {}

.theme-form-group-checkbox .item-checkbox input[type="checkbox"]+label>span {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
}

.theme-form-group-checkbox .item-checkbox input[type="checkbox"]+label>span::before {
    content: "";
    display: block;
    background-color: var(--white);
    width: 1.25rem;
    height: 1.25rem;
    margin-right: .625rem;
}

.theme-form-group-checkbox .item-checkbox input[type="checkbox"]:checked+label>span::before {
    background: var(--white) url(../images/icon-green-tik.png) no-repeat center center/1.25rem;
}

.theme-float-btns {
    position: fixed;
    right: 1rem;
    bottom: 5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 99999;
}

.theme-float-btns .float-item-btn {
    --float-btn-size: 3.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--white);
    width: var(--float-btn-size);
    height: var(--float-btn-size);
    border-radius: .3125rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.5s ease-in;
}

.theme-float-btns .float-item-btn:hover {
    background-color: var(--font-color);
    width: auto;
    padding-left: 1rem;
}

.theme-float-btns .float-item-btn:not(:last-child) {
    margin-bottom: 1rem;
}

.theme-float-btns .float-item-btn .icon-mask-inner {
    display: block;
    background-color: var(--font-color);
    width: calc(var(--float-btn-size) / 2);
    height: calc(var(--float-btn-size) / 2);
}

.theme-float-btns .float-item-btn:hover .icon-mask-inner {
    background-color: var(--white);
}

.theme-float-btns .float-item-btn .float-item-btn-content {
    font-size: 1.25rem;
    color: var(--white);
    white-space: nowrap;
    max-width: 0;
    overflow: hidden;
}

.theme-float-btns .float-item-btn:hover .float-item-btn-content {
    padding: 0 1rem;
    max-width: 62.5rem;
}

.theme-float-btns .float-return-top {
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease-in;
}

.theme-float-btns .float-return-top.visible {
    visibility: visible;
    opacity: 1;
}

.theme-float-btns .float-return-top:hover {
    width: var(--float-btn-size);
    height: var(--float-btn-size);
    padding-left: 0;
}